├── tests ├── __init__.py ├── test_client.py └── test_endpoints.py ├── VERSION.txt ├── MANIFEST.in ├── .gitignore ├── bin ├── deploy ├── runtests.ps1 ├── runtests └── Jenkinsfile ├── intrinio ├── __init__.py ├── client.py └── endpoints.py ├── requirements.txt ├── .travis.yml ├── tox.ini ├── Vagrantfile ├── Jenkinsfile ├── CHANGELOG.md ├── setup.py ├── LICENSE └── README.md /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /VERSION.txt: -------------------------------------------------------------------------------- 1 | 0.2.1 2 | -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include *.txt *.md 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .* 2 | __pycache__ 3 | *egg-info 4 | *.pyc 5 | dist 6 | build 7 | tmp 8 | -------------------------------------------------------------------------------- /bin/deploy: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | python setup.py sdist bdist_wheel 4 | twine upload dist/intrinio-*.tar.gz 5 | 6 | -------------------------------------------------------------------------------- /intrinio/__init__.py: -------------------------------------------------------------------------------- 1 | from intrinio.client import username, password, get, get_page 2 | from intrinio.endpoints import * -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | requests==2.32.4 2 | pandas==0.23.0 3 | 4 | pytest==3.6.1 5 | pytest-cov==2.5.1 6 | pytest-watch==4.2.0 7 | tox==3.0.0 8 | detox==0.12 9 | pypandoc==1.4 10 | rope==0.11.0 11 | twine==1.11.0 12 | -------------------------------------------------------------------------------- /bin/runtests.ps1: -------------------------------------------------------------------------------- 1 | mkdir -f -p tmp | Out-Null 2 | 3 | py.test -rw --doctest-modules --junitxml=tmp/tests.xml --cov=intrinio --cov-report term-missing --cov-report xml:tmp/coverage.xml --cov-report html:tmp/coverage.html --ignore=setup.py . 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: python 2 | python: 3 | - '2.7' 4 | - '3.6' 5 | before_install: 6 | - sudo apt-get -qq update 7 | cache: 8 | directories: 9 | - $HOME/.cache/intrinio 10 | install: pip install -r requirements.txt 11 | script: bin/runtests 12 | 13 | -------------------------------------------------------------------------------- /bin/runtests: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | mkdir -p tmp 4 | 5 | py.test -rw --doctest-modules \ 6 | --junitxml=tmp/tests.xml \ 7 | --cov=intrinio \ 8 | --cov-report term-missing \ 9 | --cov-report xml:tmp/coverage.xml \ 10 | --cov-report html:tmp/coverage.html \ 11 | --ignore=setup.py \ 12 | . 13 | -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- 1 | # Tox (http://tox.testrun.org/) is a tool for running tests 2 | # in multiple virtualenvs. This configuration file will run the 3 | # test suite on all supported python versions. To use it, "pip install tox" 4 | # and then run "tox" from this directory. 5 | 6 | [tox] 7 | envlist = py27, py36 8 | 9 | [testenv] 10 | passenv = * 11 | commands = py.test 12 | deps = 13 | -rrequirements.txt 14 | 15 | -------------------------------------------------------------------------------- /Vagrantfile: -------------------------------------------------------------------------------- 1 | # -*- mode: ruby -*- 2 | # vi: set ft=ruby : 3 | 4 | $PROVISION_SCRIPT = <