From 7743c596039ef034b86b4f737a8b74c0bcd77096 Mon Sep 17 00:00:00 2001 From: "gitauto-ai[bot]" <161652217+gitauto-ai[bot]@users.noreply.github.com> Date: Mon, 22 Jul 2024 00:07:21 +0000 Subject: [PATCH 1/5] Update setup.py --- setup.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..21b1d5b0 --- /dev/null +++ b/setup.py @@ -0,0 +1,19 @@ +from setuptools import setup, find_packages + +setup( + name='bancos_brasileiros', + version='0.1.0', + author='Author Name', + author_email='author@example.com', + description='A description of the project', + long_description=open('README.md').read(), + long_description_content_type='text/markdown', + url='https://github.com/username/repo', + packages=find_packages(), + classifiers=[ + 'Programming Language :: Python :: 3', + 'License :: OSI Approved :: MIT License', + 'Operating System :: OS Independent', + ], + python_requires='>=3.6', +) \ No newline at end of file From b16b48190e688f1ae33aa32dad8f66598b740336 Mon Sep 17 00:00:00 2001 From: "gitauto-ai[bot]" <161652217+gitauto-ai[bot]@users.noreply.github.com> Date: Mon, 22 Jul 2024 00:07:22 +0000 Subject: [PATCH 2/5] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 5b4ce77f..da2b4a7b 100644 --- a/README.md +++ b/README.md @@ -156,6 +156,14 @@ For those unfamiliar with Brazilian financial/regulatory entities: --- ## Updates +## Installation + +You can install the package using pip: + +```bash +pip install bancos_brasileiros +``` + The data is automatically updated daily using a [tool](https://github.com/guibranco/BancosBrasileiros-MergeTool) that collects information from lists of official sources. From 4c724b7c1e597eeaca30b662057ac916c9703249 Mon Sep 17 00:00:00 2001 From: "gitauto-ai[bot]" <161652217+gitauto-ai[bot]@users.noreply.github.com> Date: Mon, 22 Jul 2024 00:07:23 +0000 Subject: [PATCH 3/5] Update .pypirc --- .pypirc | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .pypirc diff --git a/.pypirc b/.pypirc new file mode 100644 index 00000000..26dae235 --- /dev/null +++ b/.pypirc @@ -0,0 +1,8 @@ +[distutils] +index-servers = + pypi + +[pypi] +username = your-username +password = your-password + From 6c75e92ff919f3191d8bd422b87f32aa4a34ec01 Mon Sep 17 00:00:00 2001 From: "gitauto-ai[bot]" <161652217+gitauto-ai[bot]@users.noreply.github.com> Date: Mon, 22 Jul 2024 00:07:24 +0000 Subject: [PATCH 4/5] Update .github/workflows/publish.yml --- .github/workflows/publish.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 00000000..639275c8 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,25 @@ +name: Publish to PyPI + +on: + release: + types: [created] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.x + - name: Install dependencies + run: pip install setuptools wheel twine + - name: Build package + run: python setup.py sdist bdist_wheel + - name: Publish package + env: + TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} + TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + run: twine upload dist/* From 3801928eb73529e8dda51b0533a8f0f62f0c3435 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Mon, 22 Jul 2024 00:07:35 +0000 Subject: [PATCH 5/5] style: format code with ClangFormat, dotnet-format, Go fmt, Gofumpt, isort, PHP CS Fixer, RuboCop, Ruff Formatter, Rustfmt, StandardRB and swift-format This commit fixes the style issues introduced in 6c75e92 according to the output from ClangFormat, dotnet-format, Go fmt, Gofumpt, isort, PHP CS Fixer, RuboCop, Ruff Formatter, Rustfmt, StandardRB and swift-format. Details: https://github.com/guibranco/BancosBrasileiros/pull/430 --- setup.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/setup.py b/setup.py index 21b1d5b0..b8a79a28 100644 --- a/setup.py +++ b/setup.py @@ -1,19 +1,19 @@ -from setuptools import setup, find_packages +from setuptools import find_packages, setup setup( - name='bancos_brasileiros', - version='0.1.0', - author='Author Name', - author_email='author@example.com', - description='A description of the project', - long_description=open('README.md').read(), - long_description_content_type='text/markdown', - url='https://github.com/username/repo', + name="bancos_brasileiros", + version="0.1.0", + author="Author Name", + author_email="author@example.com", + description="A description of the project", + long_description=open("README.md").read(), + long_description_content_type="text/markdown", + url="https://github.com/username/repo", packages=find_packages(), classifiers=[ - 'Programming Language :: Python :: 3', - 'License :: OSI Approved :: MIT License', - 'Operating System :: OS Independent', + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", ], - python_requires='>=3.6', -) \ No newline at end of file + python_requires=">=3.6", +)