bcra-connector 0.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bcra_connector-0.4.0/.github/CODE_OF_CONDUCT.md +134 -0
- bcra_connector-0.4.0/.github/CONTRIBUTING.md +131 -0
- bcra_connector-0.4.0/.github/ISSUE_TEMPLATE/bug.yaml +109 -0
- bcra_connector-0.4.0/.github/ISSUE_TEMPLATE/config.yaml +11 -0
- bcra_connector-0.4.0/.github/ISSUE_TEMPLATE/docs.yaml +71 -0
- bcra_connector-0.4.0/.github/ISSUE_TEMPLATE/feature.yaml +76 -0
- bcra_connector-0.4.0/.github/PULL_REQUEST_TEMPLATE.md +30 -0
- bcra_connector-0.4.0/.github/SECURITY.md +36 -0
- bcra_connector-0.4.0/.github/workflows/test-and-publish.yaml +109 -0
- bcra_connector-0.4.0/.gitignore +169 -0
- bcra_connector-0.4.0/.readthedocs.yaml +23 -0
- bcra_connector-0.4.0/CHANGELOG.md +155 -0
- bcra_connector-0.4.0/LICENSE +21 -0
- bcra_connector-0.4.0/MANIFEST.in +6 -0
- bcra_connector-0.4.0/PKG-INFO +135 -0
- bcra_connector-0.4.0/README.md +61 -0
- bcra_connector-0.4.0/docs/requirements.txt +3 -0
- bcra_connector-0.4.0/docs/source/api_reference.rst +226 -0
- bcra_connector-0.4.0/docs/source/changelog.rst +165 -0
- bcra_connector-0.4.0/docs/source/conf.py +42 -0
- bcra_connector-0.4.0/docs/source/configuration.rst +74 -0
- bcra_connector-0.4.0/docs/source/contributing.rst +43 -0
- bcra_connector-0.4.0/docs/source/examples.rst +67 -0
- bcra_connector-0.4.0/docs/source/index.rst +40 -0
- bcra_connector-0.4.0/docs/source/installation.rst +108 -0
- bcra_connector-0.4.0/docs/source/usage.rst +129 -0
- bcra_connector-0.4.0/examples/01_get_principales_variables.py +68 -0
- bcra_connector-0.4.0/examples/02_get_datos_variable.py +71 -0
- bcra_connector-0.4.0/examples/03_get_latest_value.py +66 -0
- bcra_connector-0.4.0/examples/04_error_handling.py +76 -0
- bcra_connector-0.4.0/examples/05_connector_configuration.py +69 -0
- bcra_connector-0.4.0/pyproject.toml +109 -0
- bcra_connector-0.4.0/requirements.txt +7 -0
- bcra_connector-0.4.0/src/bcra_connector/__about__.py +3 -0
- bcra_connector-0.4.0/src/bcra_connector/__init__.py +46 -0
- bcra_connector-0.4.0/src/bcra_connector/_version.py +4 -0
- bcra_connector-0.4.0/src/bcra_connector/bcra_connector.py +592 -0
- bcra_connector-0.4.0/src/bcra_connector/cheques/__init__.py +17 -0
- bcra_connector-0.4.0/src/bcra_connector/cheques/cheques.py +156 -0
- bcra_connector-0.4.0/src/bcra_connector/estadisticas_cambiarias/__init__.py +23 -0
- bcra_connector-0.4.0/src/bcra_connector/estadisticas_cambiarias/estadisticas_cambiarias.py +208 -0
- bcra_connector-0.4.0/src/bcra_connector/principales_variables/__init__.py +3 -0
- bcra_connector-0.4.0/src/bcra_connector/principales_variables/principales_variables.py +80 -0
- bcra_connector-0.4.0/src/bcra_connector/rate_limiter.py +118 -0
- bcra_connector-0.4.0/src/bcra_connector/timeout_config.py +58 -0
- bcra_connector-0.4.0/tests/bcra_connector_tests.py +154 -0
- bcra_connector-0.4.0/tests/cheques_tests.py +137 -0
- bcra_connector-0.4.0/tests/estadisticas_cambiarias_tests.py +170 -0
- bcra_connector-0.4.0/tests/principales_variables_tests.py +56 -0
- bcra_connector-0.4.0/tests/rate_limiter_tests.py +96 -0
- bcra_connector-0.4.0/tests/timeout_tests.py +61 -0
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
|
|
2
|
+
# Contributor Covenant Code of Conduct
|
|
3
|
+
|
|
4
|
+
## Our Pledge
|
|
5
|
+
|
|
6
|
+
We as members, contributors, and leaders pledge to make participation in our
|
|
7
|
+
community a harassment-free experience for everyone, regardless of age, body
|
|
8
|
+
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
|
9
|
+
identity and expression, level of experience, education, socio-economic status,
|
|
10
|
+
nationality, personal appearance, race, caste, color, religion, or sexual
|
|
11
|
+
identity and orientation.
|
|
12
|
+
|
|
13
|
+
We pledge to act and interact in ways that contribute to an open, welcoming,
|
|
14
|
+
diverse, inclusive, and healthy community.
|
|
15
|
+
|
|
16
|
+
## Our Standards
|
|
17
|
+
|
|
18
|
+
Examples of behavior that contributes to a positive environment for our
|
|
19
|
+
community include:
|
|
20
|
+
|
|
21
|
+
* Demonstrating empathy and kindness toward other people
|
|
22
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
|
23
|
+
* Giving and gracefully accepting constructive feedback
|
|
24
|
+
* Accepting responsibility and apologizing to those affected by our mistakes,
|
|
25
|
+
and learning from the experience
|
|
26
|
+
* Focusing on what is best not just for us as individuals, but for the overall
|
|
27
|
+
community
|
|
28
|
+
|
|
29
|
+
Examples of unacceptable behavior include:
|
|
30
|
+
|
|
31
|
+
* The use of sexualized language or imagery, and sexual attention or advances of
|
|
32
|
+
any kind
|
|
33
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
34
|
+
* Public or private harassment
|
|
35
|
+
* Publishing others' private information, such as a physical or email address,
|
|
36
|
+
without their explicit permission
|
|
37
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
|
38
|
+
professional setting
|
|
39
|
+
|
|
40
|
+
## Enforcement Responsibilities
|
|
41
|
+
|
|
42
|
+
Community leaders are responsible for clarifying and enforcing our standards of
|
|
43
|
+
acceptable behavior and will take appropriate and fair corrective action in
|
|
44
|
+
response to any behavior that they deem inappropriate, threatening, offensive,
|
|
45
|
+
or harmful.
|
|
46
|
+
|
|
47
|
+
Community leaders have the right and responsibility to remove, edit, or reject
|
|
48
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
|
49
|
+
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
|
50
|
+
decisions when appropriate.
|
|
51
|
+
|
|
52
|
+
## Scope
|
|
53
|
+
|
|
54
|
+
This Code of Conduct applies within all community spaces, and also applies when
|
|
55
|
+
an individual is officially representing the community in public spaces.
|
|
56
|
+
Examples of representing our community include using an official email address,
|
|
57
|
+
posting via an official social media account, or acting as an appointed
|
|
58
|
+
representative at an online or offline event.
|
|
59
|
+
|
|
60
|
+
## Enforcement
|
|
61
|
+
|
|
62
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
63
|
+
reported to the community leaders responsible for enforcement at
|
|
64
|
+
**pablo.peitsch@gmail.com**
|
|
65
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
|
66
|
+
|
|
67
|
+
All community leaders are obligated to respect the privacy and security of the
|
|
68
|
+
reporter of any incident.
|
|
69
|
+
|
|
70
|
+
## Enforcement Guidelines
|
|
71
|
+
|
|
72
|
+
Community leaders will follow these Community Impact Guidelines in determining
|
|
73
|
+
the consequences for any action they deem in violation of this Code of Conduct:
|
|
74
|
+
|
|
75
|
+
### 1. Correction
|
|
76
|
+
|
|
77
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed
|
|
78
|
+
unprofessional or unwelcome in the community.
|
|
79
|
+
|
|
80
|
+
**Consequence**: A private, written warning from community leaders, providing
|
|
81
|
+
clarity around the nature of the violation and an explanation of why the
|
|
82
|
+
behavior was inappropriate. A public apology may be requested.
|
|
83
|
+
|
|
84
|
+
### 2. Warning
|
|
85
|
+
|
|
86
|
+
**Community Impact**: A violation through a single incident or series of
|
|
87
|
+
actions.
|
|
88
|
+
|
|
89
|
+
**Consequence**: A warning with consequences for continued behavior. No
|
|
90
|
+
interaction with the people involved, including unsolicited interaction with
|
|
91
|
+
those enforcing the Code of Conduct, for a specified period of time. This
|
|
92
|
+
includes avoiding interactions in community spaces as well as external channels
|
|
93
|
+
like social media. Violating these terms may lead to a temporary or permanent
|
|
94
|
+
ban.
|
|
95
|
+
|
|
96
|
+
### 3. Temporary Ban
|
|
97
|
+
|
|
98
|
+
**Community Impact**: A serious violation of community standards, including
|
|
99
|
+
sustained inappropriate behavior.
|
|
100
|
+
|
|
101
|
+
**Consequence**: A temporary ban from any sort of interaction or public
|
|
102
|
+
communication with the community for a specified period of time. No public or
|
|
103
|
+
private interaction with the people involved, including unsolicited interaction
|
|
104
|
+
with those enforcing the Code of Conduct, is allowed during this period.
|
|
105
|
+
Violating these terms may lead to a permanent ban.
|
|
106
|
+
|
|
107
|
+
### 4. Permanent Ban
|
|
108
|
+
|
|
109
|
+
**Community Impact**: Demonstrating a pattern of violation of community
|
|
110
|
+
standards, including sustained inappropriate behavior, harassment of an
|
|
111
|
+
individual, or aggression toward or disparagement of classes of individuals.
|
|
112
|
+
|
|
113
|
+
**Consequence**: A permanent ban from any sort of public interaction within the
|
|
114
|
+
community.
|
|
115
|
+
|
|
116
|
+
## Attribution
|
|
117
|
+
|
|
118
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
119
|
+
version 2.1, available at
|
|
120
|
+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
|
121
|
+
|
|
122
|
+
Community Impact Guidelines were inspired by
|
|
123
|
+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
|
124
|
+
|
|
125
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
|
126
|
+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
|
|
127
|
+
[https://www.contributor-covenant.org/translations][translations].
|
|
128
|
+
|
|
129
|
+
[homepage]: https://www.contributor-covenant.org
|
|
130
|
+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
|
131
|
+
[Mozilla CoC]: https://github.com/mozilla/diversity
|
|
132
|
+
[FAQ]: https://www.contributor-covenant.org/faq
|
|
133
|
+
[translations]: https://www.contributor-covenant.org/translations
|
|
134
|
+
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
# Contributing Guidelines
|
|
2
|
+
|
|
3
|
+
*Pull requests, bug reports, and all other forms of contribution are welcomed and highly encouraged!* :octocat:
|
|
4
|
+
|
|
5
|
+
### Contents
|
|
6
|
+
|
|
7
|
+
- [Our Standards](#balance_scale-our-standards)
|
|
8
|
+
- [Getting Help](#thinking-getting-help)
|
|
9
|
+
- [Reporting Issues](#lady_beetle-reporting-issues)
|
|
10
|
+
- [Feature Proposals](#sparkles-feature-proposals)
|
|
11
|
+
- [Issue Triage](#microscope-issue-triage)
|
|
12
|
+
- [Pull Requests](#rocket-pull-requests)
|
|
13
|
+
- [Commit Guidelines](#pencil2-commit-guidelines)
|
|
14
|
+
- [Review Process](#eyes-review-process)
|
|
15
|
+
- [Code Style & Standards](#art-code-style--standards)
|
|
16
|
+
- [Developer's Certificate](#scroll-developers-certificate)
|
|
17
|
+
|
|
18
|
+
> **This guide sets clear expectations for everyone involved with the project so that we can improve it together while creating a welcoming space for everyone to participate.**
|
|
19
|
+
|
|
20
|
+
## :balance_scale: Our Standards
|
|
21
|
+
|
|
22
|
+
Please review our [Code of Conduct](CODE_OF_CONDUCT.md). It is in effect at all times. We expect it to be honored by everyone who contributes to this project. Acting like an asshole will not be tolerated.
|
|
23
|
+
|
|
24
|
+
## :thinking: Getting Help
|
|
25
|
+
|
|
26
|
+
Before opening an issue, check the [documentation](https://bcra-connector.readthedocs.io/). GitHub issues are for bugs and feature requests, not questions or debugging help.
|
|
27
|
+
|
|
28
|
+
## :lady_beetle: Reporting Issues
|
|
29
|
+
|
|
30
|
+
Before [creating an issue](https://help.github.com/en/github/managing-your-work-on-github/creating-an-issue), check if you are using the latest version of the project.
|
|
31
|
+
|
|
32
|
+
### :shield: Security Issues
|
|
33
|
+
|
|
34
|
+
Review our [Security Policy](SECURITY.md). **Do not** file public issues for security vulnerabilities.
|
|
35
|
+
|
|
36
|
+
### :bug: Bug Reports
|
|
37
|
+
|
|
38
|
+
Send detailed issue reports when you encounter bugs. A well-written bug report helps us immensely. :v:
|
|
39
|
+
|
|
40
|
+
Since you are most likely a developer, **provide a ticket that you would like to receive**.
|
|
41
|
+
|
|
42
|
+
- **Check the documentation** first
|
|
43
|
+
- **Avoid duplicates!** Search existing issues
|
|
44
|
+
- **Use reactions** instead of "+1" comments
|
|
45
|
+
- **Complete the template** fully
|
|
46
|
+
- **Use [GitHub-flavored Markdown](https://help.github.com/en/github/writing-on-github/basic-writing-and-formatting-syntax)**
|
|
47
|
+
|
|
48
|
+
## :sparkles: Feature Proposals
|
|
49
|
+
|
|
50
|
+
Feature proposals are welcome! We'll consider all requests but cannot guarantee acceptance. We aim to avoid [feature creep](https://en.wikipedia.org/wiki/Feature_creep).
|
|
51
|
+
|
|
52
|
+
- **Search first** for similar proposals
|
|
53
|
+
- **Complete the template** thoroughly
|
|
54
|
+
- **Be specific** about implementation details
|
|
55
|
+
|
|
56
|
+
## :microscope: Issue Triage
|
|
57
|
+
|
|
58
|
+
Help us by reproducing bug reports and providing additional information on issues. Any assistance in resolving issues is appreciated!
|
|
59
|
+
|
|
60
|
+
## :rocket: Pull Requests
|
|
61
|
+
|
|
62
|
+
We **love** pull requests! Before submitting significant changes, open an issue to discuss your proposal.
|
|
63
|
+
|
|
64
|
+
For accepted PRs, you'll be invited to become a project collaborator with **push access**. :tada:
|
|
65
|
+
|
|
66
|
+
*All contributions are licensed under the project's license.*
|
|
67
|
+
|
|
68
|
+
- **Keep it small.** One change per PR
|
|
69
|
+
- **Discuss big changes** first
|
|
70
|
+
- **Write clear code** over clever code
|
|
71
|
+
- **Follow project style**
|
|
72
|
+
- **Add tests**
|
|
73
|
+
- **Update documentation**
|
|
74
|
+
- **Update CHANGELOG**
|
|
75
|
+
- **Target default branch**
|
|
76
|
+
- **Resolve conflicts**
|
|
77
|
+
- **Fix CI failures**
|
|
78
|
+
|
|
79
|
+
## :pencil2: Commit Guidelines
|
|
80
|
+
|
|
81
|
+
Follow these [commit message guidelines](https://chris.beams.io/posts/git-commit/):
|
|
82
|
+
|
|
83
|
+
```
|
|
84
|
+
[TAG] Concise change description in 50 chars or less
|
|
85
|
+
|
|
86
|
+
More detailed explanation if needed. Wrap at 72 characters. Focus
|
|
87
|
+
on WHY this change is being made rather than WHAT was changed.
|
|
88
|
+
|
|
89
|
+
The code itself shows what changed; use this space to explain
|
|
90
|
+
motivation and context.
|
|
91
|
+
|
|
92
|
+
- Bullet points welcome
|
|
93
|
+
- Use hyphens or asterisks
|
|
94
|
+
|
|
95
|
+
Resolves: #123
|
|
96
|
+
See also: #456
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## :eyes: Review Process
|
|
100
|
+
|
|
101
|
+
- **Focus on the code**, not the person
|
|
102
|
+
- **Don't take it personally**
|
|
103
|
+
- **Aim for quality**
|
|
104
|
+
|
|
105
|
+
## :art: Code Style & Standards
|
|
106
|
+
|
|
107
|
+
For Python code:
|
|
108
|
+
- Follow PEP 8
|
|
109
|
+
- Use type hints
|
|
110
|
+
- Write clear docstrings
|
|
111
|
+
- Use `black` formatter
|
|
112
|
+
- Use `isort`
|
|
113
|
+
- Pass `mypy` checks
|
|
114
|
+
|
|
115
|
+
## :scroll: Developer's Certificate
|
|
116
|
+
|
|
117
|
+
*Developer's Certificate of Origin 1.1*
|
|
118
|
+
|
|
119
|
+
By contributing, you certify that:
|
|
120
|
+
|
|
121
|
+
> 1. Your contribution is your original work and you have the right to submit it under the project's license
|
|
122
|
+
> 2. Your contribution is based on previous work under an appropriate open source license
|
|
123
|
+
> 3. The contribution was provided to you by someone who certified 1 or 2
|
|
124
|
+
> 4. You understand this contribution is public and will be maintained indefinitely
|
|
125
|
+
|
|
126
|
+
## The Contributor's Token :key:
|
|
127
|
+
|
|
128
|
+
If you've read these guidelines (thank you!), include the ⚡ lightning emoji at the start of your pull requests and issues. You're awesome! :100:
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
*These contributing guidelines are based on the excellent work by Jesse Squires ([@jessesquires](https://github.com/jessesquires)).*
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
name: Bug Report
|
|
2
|
+
description: Report an issue you encountered with BCRA Connector
|
|
3
|
+
title: "[Bug]: "
|
|
4
|
+
labels: ["bug", "triage"]
|
|
5
|
+
body:
|
|
6
|
+
- type: markdown
|
|
7
|
+
attributes:
|
|
8
|
+
value: |
|
|
9
|
+
Thanks for taking the time to fill out this bug report!
|
|
10
|
+
Please include the ⚡ emoji at the start of your title if you've read our contributing guidelines.
|
|
11
|
+
- type: checkboxes
|
|
12
|
+
id: terms
|
|
13
|
+
attributes:
|
|
14
|
+
label: Guidelines
|
|
15
|
+
description: By submitting this issue, you agree to follow our [Contributing Guidelines](https://github.com/PPeitsch/bcra-connector/blob/main/.github/CONTRIBUTING.md)
|
|
16
|
+
options:
|
|
17
|
+
- label: I agree to follow this project's Contributing Guidelines
|
|
18
|
+
required: true
|
|
19
|
+
- label: I have searched for similar issues before creating this one
|
|
20
|
+
required: true
|
|
21
|
+
|
|
22
|
+
- type: input
|
|
23
|
+
id: version
|
|
24
|
+
attributes:
|
|
25
|
+
label: BCRA Connector Version
|
|
26
|
+
description: What version of BCRA Connector are you using?
|
|
27
|
+
placeholder: "0.3.3"
|
|
28
|
+
validations:
|
|
29
|
+
required: true
|
|
30
|
+
|
|
31
|
+
- type: input
|
|
32
|
+
id: python-version
|
|
33
|
+
attributes:
|
|
34
|
+
label: Python Version
|
|
35
|
+
description: Which Python version(s) have you tested with?
|
|
36
|
+
placeholder: "Python 3.9, 3.10, 3.11"
|
|
37
|
+
validations:
|
|
38
|
+
required: true
|
|
39
|
+
|
|
40
|
+
- type: input
|
|
41
|
+
id: os
|
|
42
|
+
attributes:
|
|
43
|
+
label: Operating System
|
|
44
|
+
description: Which OS are you using?
|
|
45
|
+
placeholder: "Ubuntu 22.04, Windows 11, macOS 13.0"
|
|
46
|
+
validations:
|
|
47
|
+
required: true
|
|
48
|
+
|
|
49
|
+
- type: textarea
|
|
50
|
+
id: description
|
|
51
|
+
attributes:
|
|
52
|
+
label: Bug Description
|
|
53
|
+
description: Clearly and concisely describe the bug
|
|
54
|
+
placeholder: Tell us what went wrong
|
|
55
|
+
validations:
|
|
56
|
+
required: true
|
|
57
|
+
|
|
58
|
+
- type: textarea
|
|
59
|
+
id: reproduction
|
|
60
|
+
attributes:
|
|
61
|
+
label: Steps to Reproduce
|
|
62
|
+
description: Steps to reproduce the behavior
|
|
63
|
+
value: |
|
|
64
|
+
```python
|
|
65
|
+
# Include a minimal code example that demonstrates the issue
|
|
66
|
+
from bcra_connector import BCRAConnector
|
|
67
|
+
|
|
68
|
+
connector = BCRAConnector()
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
1.
|
|
72
|
+
2.
|
|
73
|
+
3.
|
|
74
|
+
validations:
|
|
75
|
+
required: true
|
|
76
|
+
|
|
77
|
+
- type: textarea
|
|
78
|
+
id: expected
|
|
79
|
+
attributes:
|
|
80
|
+
label: Expected Behavior
|
|
81
|
+
description: What did you expect to happen?
|
|
82
|
+
validations:
|
|
83
|
+
required: true
|
|
84
|
+
|
|
85
|
+
- type: textarea
|
|
86
|
+
id: actual
|
|
87
|
+
attributes:
|
|
88
|
+
label: Actual Behavior
|
|
89
|
+
description: What actually happened?
|
|
90
|
+
validations:
|
|
91
|
+
required: true
|
|
92
|
+
|
|
93
|
+
- type: textarea
|
|
94
|
+
id: error
|
|
95
|
+
attributes:
|
|
96
|
+
label: Error Message & Stack Trace
|
|
97
|
+
description: If applicable, paste the full error message and stack trace
|
|
98
|
+
render: python
|
|
99
|
+
validations:
|
|
100
|
+
required: false
|
|
101
|
+
|
|
102
|
+
- type: textarea
|
|
103
|
+
id: additional
|
|
104
|
+
attributes:
|
|
105
|
+
label: Additional Context
|
|
106
|
+
description: Add any other relevant context about the problem
|
|
107
|
+
placeholder: "Dependency versions, environment details, related issues, etc."
|
|
108
|
+
validations:
|
|
109
|
+
required: false
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
blank_issues_enabled: false
|
|
2
|
+
contact_links:
|
|
3
|
+
- name: 📚 Documentation
|
|
4
|
+
url: https://bcra-connector.readthedocs.io/
|
|
5
|
+
about: Check our documentation before creating an issue
|
|
6
|
+
- name: 💬 Discussions
|
|
7
|
+
url: https://github.com/PPeitsch/bcra-connector/discussions
|
|
8
|
+
about: Please ask and answer questions here
|
|
9
|
+
- name: 🔒 Security Issues
|
|
10
|
+
url: https://github.com/PPeitsch/bcra-connector/security/policy
|
|
11
|
+
about: Please report security vulnerabilities directly to the maintainers
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
name: Documentation Issue
|
|
2
|
+
description: Report issues with BCRA Connector documentation
|
|
3
|
+
title: "[Docs]: "
|
|
4
|
+
labels: ["documentation"]
|
|
5
|
+
body:
|
|
6
|
+
- type: markdown
|
|
7
|
+
attributes:
|
|
8
|
+
value: |
|
|
9
|
+
Thanks for helping us improve our documentation!
|
|
10
|
+
Please include the ⚡ emoji at the start of your title if you've read our contributing guidelines.
|
|
11
|
+
- type: checkboxes
|
|
12
|
+
id: terms
|
|
13
|
+
attributes:
|
|
14
|
+
label: Guidelines
|
|
15
|
+
description: By submitting this issue, you agree to follow our [Contributing Guidelines](https://github.com/PPeitsch/bcra-connector/blob/main/.github/CONTRIBUTING.md)
|
|
16
|
+
options:
|
|
17
|
+
- label: I agree to follow this project's Contributing Guidelines
|
|
18
|
+
required: true
|
|
19
|
+
- label: I have checked that this issue hasn't been reported before
|
|
20
|
+
required: true
|
|
21
|
+
|
|
22
|
+
- type: dropdown
|
|
23
|
+
id: type
|
|
24
|
+
attributes:
|
|
25
|
+
label: Issue Type
|
|
26
|
+
description: What type of documentation issue is this?
|
|
27
|
+
options:
|
|
28
|
+
- Missing documentation
|
|
29
|
+
- Incorrect documentation
|
|
30
|
+
- Unclear documentation
|
|
31
|
+
- Outdated documentation
|
|
32
|
+
- Example code issue
|
|
33
|
+
- Other
|
|
34
|
+
validations:
|
|
35
|
+
required: true
|
|
36
|
+
|
|
37
|
+
- type: input
|
|
38
|
+
id: location
|
|
39
|
+
attributes:
|
|
40
|
+
label: Documentation Location
|
|
41
|
+
description: Where is the documentation issue located?
|
|
42
|
+
placeholder: "URL, file path, or section name"
|
|
43
|
+
validations:
|
|
44
|
+
required: true
|
|
45
|
+
|
|
46
|
+
- type: textarea
|
|
47
|
+
id: current
|
|
48
|
+
attributes:
|
|
49
|
+
label: Current Documentation
|
|
50
|
+
description: What does the current documentation say?
|
|
51
|
+
placeholder: Quote the current documentation here
|
|
52
|
+
validations:
|
|
53
|
+
required: false
|
|
54
|
+
|
|
55
|
+
- type: textarea
|
|
56
|
+
id: suggested
|
|
57
|
+
attributes:
|
|
58
|
+
label: Suggested Changes
|
|
59
|
+
description: How should the documentation be improved?
|
|
60
|
+
placeholder: Describe your suggested changes or additions
|
|
61
|
+
validations:
|
|
62
|
+
required: true
|
|
63
|
+
|
|
64
|
+
- type: textarea
|
|
65
|
+
id: additional
|
|
66
|
+
attributes:
|
|
67
|
+
label: Additional Context
|
|
68
|
+
description: Any other context about the documentation issue?
|
|
69
|
+
placeholder: Add any other relevant information here
|
|
70
|
+
validations:
|
|
71
|
+
required: false
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
name: Feature Request
|
|
2
|
+
description: Suggest a new feature or enhancement for BCRA Connector
|
|
3
|
+
title: "[Feature]: "
|
|
4
|
+
labels: ["enhancement"]
|
|
5
|
+
body:
|
|
6
|
+
- type: markdown
|
|
7
|
+
attributes:
|
|
8
|
+
value: |
|
|
9
|
+
Thanks for taking the time to suggest a new feature!
|
|
10
|
+
Please include the ⚡ emoji at the start of your title if you've read our contributing guidelines.
|
|
11
|
+
- type: checkboxes
|
|
12
|
+
id: terms
|
|
13
|
+
attributes:
|
|
14
|
+
label: Guidelines
|
|
15
|
+
description: By submitting this issue, you agree to follow our [Contributing Guidelines](https://github.com/PPeitsch/bcra-connector/blob/main/.github/CONTRIBUTING.md)
|
|
16
|
+
options:
|
|
17
|
+
- label: I agree to follow this project's Contributing Guidelines
|
|
18
|
+
required: true
|
|
19
|
+
- label: I have searched for similar feature requests
|
|
20
|
+
required: true
|
|
21
|
+
- label: I understand that this is a request and implementation is not guaranteed
|
|
22
|
+
required: true
|
|
23
|
+
|
|
24
|
+
- type: textarea
|
|
25
|
+
id: problem
|
|
26
|
+
attributes:
|
|
27
|
+
label: Problem Description
|
|
28
|
+
description: Is your feature request related to a problem? Please describe.
|
|
29
|
+
placeholder: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
|
30
|
+
validations:
|
|
31
|
+
required: true
|
|
32
|
+
|
|
33
|
+
- type: textarea
|
|
34
|
+
id: solution
|
|
35
|
+
attributes:
|
|
36
|
+
label: Proposed Solution
|
|
37
|
+
description: Describe the solution you'd like
|
|
38
|
+
placeholder: |
|
|
39
|
+
A clear and concise description of what you want to happen.
|
|
40
|
+
|
|
41
|
+
```python
|
|
42
|
+
# Example usage of your proposed feature:
|
|
43
|
+
from bcra_connector import BCRAConnector
|
|
44
|
+
|
|
45
|
+
connector = BCRAConnector()
|
|
46
|
+
result = connector.your_new_feature()
|
|
47
|
+
```
|
|
48
|
+
validations:
|
|
49
|
+
required: true
|
|
50
|
+
|
|
51
|
+
- type: textarea
|
|
52
|
+
id: alternatives
|
|
53
|
+
attributes:
|
|
54
|
+
label: Alternative Solutions
|
|
55
|
+
description: Describe any alternative solutions you've considered
|
|
56
|
+
placeholder: What are the other approaches that could solve this?
|
|
57
|
+
validations:
|
|
58
|
+
required: true
|
|
59
|
+
|
|
60
|
+
- type: textarea
|
|
61
|
+
id: context
|
|
62
|
+
attributes:
|
|
63
|
+
label: Additional Context
|
|
64
|
+
description: Any other context, examples, or references for this feature?
|
|
65
|
+
placeholder: Add any other context, code examples, or references
|
|
66
|
+
validations:
|
|
67
|
+
required: false
|
|
68
|
+
|
|
69
|
+
- type: textarea
|
|
70
|
+
id: implementation
|
|
71
|
+
attributes:
|
|
72
|
+
label: Implementation Details
|
|
73
|
+
description: If you have ideas about how to implement this feature, share them here
|
|
74
|
+
placeholder: Technical details, API design, etc.
|
|
75
|
+
validations:
|
|
76
|
+
required: false
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
⚡ ⚡ *Have you read the [Contributing Guidelines](https://github.com/PPeitsch/bcra-connector/blob/main/.github/CONTRIBUTING.md)?*
|
|
2
|
+
|
|
3
|
+
Fixes #
|
|
4
|
+
|
|
5
|
+
## Description
|
|
6
|
+
|
|
7
|
+
*Clearly and concisely describe the changes in this pull request.*
|
|
8
|
+
|
|
9
|
+
## Type of Change
|
|
10
|
+
|
|
11
|
+
- [ ] Bug fix (non-breaking change that fixes an issue)
|
|
12
|
+
- [ ] New feature (non-breaking change that adds functionality)
|
|
13
|
+
- [ ] Breaking change (fix or feature that would break existing functionality)
|
|
14
|
+
- [ ] Documentation update
|
|
15
|
+
- [ ] Performance improvement
|
|
16
|
+
- [ ] Code style update (formatting, renaming)
|
|
17
|
+
- [ ] Refactoring (no functional changes)
|
|
18
|
+
- [ ] CI/CD related changes
|
|
19
|
+
- [ ] Other (please describe):
|
|
20
|
+
|
|
21
|
+
## Checklist
|
|
22
|
+
|
|
23
|
+
- [ ] I have followed the project's coding style guidelines
|
|
24
|
+
- [ ] I have added tests that prove my fix/feature works
|
|
25
|
+
- [ ] All existing tests pass locally
|
|
26
|
+
- [ ] I have updated the documentation accordingly
|
|
27
|
+
- [ ] I have added appropriate type hints
|
|
28
|
+
- [ ] I have updated the CHANGELOG.md
|
|
29
|
+
- [ ] My changes generate no new warnings or errors
|
|
30
|
+
- [ ] I have checked my code with `black`, `isort`, and `mypy`
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Security Policy
|
|
2
|
+
|
|
3
|
+
## Supported Versions
|
|
4
|
+
|
|
5
|
+
Currently supported versions of BCRA API Connector with security updates:
|
|
6
|
+
|
|
7
|
+
| Version | Supported |
|
|
8
|
+
| ------- | ------------------ |
|
|
9
|
+
| 0.3.x | :white_check_mark: |
|
|
10
|
+
| < 0.3.0 | :x: |
|
|
11
|
+
|
|
12
|
+
## Reporting a Vulnerability
|
|
13
|
+
|
|
14
|
+
We take the security of BCRA API Connector seriously. If you believe you have found a security vulnerability, please report it to us as described below.
|
|
15
|
+
|
|
16
|
+
**Please do not report security vulnerabilities through public GitHub issues.**
|
|
17
|
+
|
|
18
|
+
Instead, please report them via email to [pablo.peitsch@gmail.com](mailto:pablo.peitsch@gmail.com).
|
|
19
|
+
|
|
20
|
+
You should receive a response within 48 hours. If for some reason you do not, please follow up via email to ensure we received your original message.
|
|
21
|
+
|
|
22
|
+
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
|
|
23
|
+
|
|
24
|
+
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
|
|
25
|
+
* Full paths of source file(s) related to the manifestation of the issue
|
|
26
|
+
* The location of the affected source code (tag/branch/commit or direct URL)
|
|
27
|
+
* Any special configuration required to reproduce the issue
|
|
28
|
+
* Step-by-step instructions to reproduce the issue
|
|
29
|
+
* Proof-of-concept or exploit code (if possible)
|
|
30
|
+
* Impact of the issue, including how an attacker might exploit the issue
|
|
31
|
+
|
|
32
|
+
This information will help us triage your report more quickly.
|
|
33
|
+
|
|
34
|
+
## Preferred Languages
|
|
35
|
+
|
|
36
|
+
We prefer all communications to be in English, Spanish.
|