-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from jfallt/release-0.0.6
Release 0.0.6
- Loading branch information
Showing
19 changed files
with
597 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# This workflow will upload a Python Package using Twine when a release is created | ||
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries | ||
|
||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
|
||
name: Upload Python Package | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
deploy: | ||
|
||
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: | | ||
python -m pip install --upgrade pip | ||
pip install build | ||
- name: Build package | ||
run: python -m build | ||
- name: Publish package | ||
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Tests | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os}} | ||
strategy: | ||
matrix: | ||
os: [windows-latest] | ||
python-version: ['3.9'] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install tox tox-gh-actions | ||
echo '${{ secrets.private }}' > private.pem | ||
- name: Test with tox | ||
run: > | ||
tox -- -x --user ${{ secrets.user }} | ||
--pw ${{ secrets.pw }} | ||
--clientId ${{ secrets.client_id }} | ||
--tokenUrl ${{ secrets.token_url }} | ||
--apiUrl ${{ secrets.api_url }} | ||
--apiUrlAnalytics ${{ secrets.api_url_analytics }} | ||
--assertionType '${{ secrets.assertion_type }}' | ||
--scope '${{ secrets.scope }}' | ||
--profileIdType ${{ secrets.profile_id_type }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[build-system] | ||
requires = ["setuptools>=42.0", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "--cov=burgissApiWrapper" | ||
testpaths = [ | ||
"tests", | ||
] | ||
|
||
[tool.mypy] | ||
mypy_path = "src" | ||
check_untyped_defs = true | ||
disallow_any_generics = false | ||
ignore_missing_imports = true | ||
no_implicit_optional = true | ||
show_error_codes = true | ||
strict_equality = true | ||
warn_redundant_casts = true | ||
warn_return_any = true | ||
warn_unreachable = true | ||
warn_unused_configs = true | ||
no_implicit_reexport = true |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
tox==3.24.4 | ||
pytest==6.2.5 | ||
pytest-cov==3.0.0 | ||
pytest-rerunfailures==10.2 | ||
mypy==0.910 | ||
mypy-extensions==0.4.3 | ||
flake8==4.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
[metadata] | ||
name = burgiss-api | ||
version = 0.0.6 | ||
description = An api wrapper package for financial data provided by Burgiss | ||
long_description = A package that makes it easy to make requests to the Burgiss API by simplifying the JWT token auth. Additional functionality includes data transformations. | ||
author = Jared Fallt | ||
author_email = [email protected] | ||
license = MIT | ||
classifiers = | ||
Development Status :: 3 - Alpha | ||
Intended Audience :: Developers | ||
License :: OSI Approved :: MIT License | ||
Programming Language :: Python :: 3 | ||
|
||
[options] | ||
packages = | ||
burgissApiWrapper | ||
install_requires = | ||
atomicwrites>=1.4.0 | ||
attrs>=21.2.0 | ||
certifi>=2021.5.30 | ||
cffi>=1.14.6 | ||
charset-normalizer>=2.0.4 | ||
colorama>=0.4.4 | ||
cryptography>=3.4.8 | ||
idna>=3.2 | ||
iniconfig>=1.1.1 | ||
numpy>=1.21.2 | ||
packaging>=21.0 | ||
pandas>=1.3.3 | ||
pluggy>=1.0.0 | ||
py>=1.10.0 | ||
pycparser>=2.20 | ||
PyJWT>=2.1.0 | ||
pyodbc>=4.0.32 | ||
pyOpenSSL>=20.0.1 | ||
pyparsing>=2.4.7 | ||
python-dateutil>=2.8.2 | ||
pytz>=2021.1 | ||
requests>=2.26.0 | ||
six>=1.16.0 | ||
toml>=0.10.2 | ||
urllib3>=1.26.6 | ||
package_dir= | ||
=src | ||
zip_safe = no | ||
|
||
[options.extras_require] | ||
testing = | ||
pytest>=6.2.5 | ||
pytest-cov>=3.0.0 | ||
mypy>=0.910 | ||
flake>=4.0.1 | ||
tox>=3.24.4 | ||
|
||
[options.package_data] | ||
burgissApiWrapper = py.typed | ||
|
||
[flake8] | ||
max-line-length = 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,4 @@ | ||
from pkg_resources import Requirement, resource_filename | ||
from setuptools import setup, find_packages | ||
import pathlib | ||
from setuptools import setup | ||
|
||
# The directory containing this file | ||
HERE = pathlib.Path(__file__).parent | ||
|
||
# The text of the README file | ||
README = (HERE / "README.md").read_text() | ||
|
||
|
||
VERSION = '0.0.5' | ||
DESCRIPTION = 'An api wrapper package for Burgiss' | ||
LONG_DESCRIPTION = 'A package that makes it easy to make requests to the Burgiss API by simplifying the JWT token auth. Additional functionality includes data transformations.' | ||
|
||
setup( | ||
name="burgiss-api", | ||
version=VERSION, | ||
description=DESCRIPTION, | ||
long_description=LONG_DESCRIPTION, | ||
author="Jared Fallt", | ||
author_email="[email protected]", | ||
license='MIT', | ||
packages=find_packages(), | ||
install_requires=[], | ||
keywords='burgiss', | ||
classifiers=[ | ||
"Development Status :: 3 - Alpha", | ||
"Intended Audience :: Developers", | ||
'License :: OSI Approved :: MIT License', | ||
"Programming Language :: Python :: 3", | ||
] | ||
) | ||
if __name__ == "__main__": | ||
setup() |
Empty file.
Oops, something went wrong.