Dunning cash flow is wrapper for Twikey REST APIs : Automatic payments for recurring customers
Project description
dunning-cash-flow
Dunning cash flow is wrapper for Twikey REST APIs : Automatic payments for recurring customers.
Dunning cash flow is part of another project aiming at providing Dunning services.
Dunning services is subscription Analytics and Insights: One click and you get hundreds of valuable metrics and business insights for Twikey.
- ALT-F1 SPRL http://www.alt-f1.be
- Twikey https://www.twikey.com
usage
-
install the package from the pypi.org :
- install :
pip install dunning-cash-flow
- upgrade :
pip install dunning-cash-flow --upgrade
- install :
-
install the package from the test.pypi.org :
- install :
pip install -i https://test.pypi.org/simple/ dunning-cash-flow
- upgrade :
pip install -i https://test.pypi.org/simple/ dunning-cash-flow --upgrade
- install :
dependencies
- countries_utils : https://pypi.org/project/countries_utils
- requests : https://pypi.org/project/requests
Build the package
-
build the setup.py
python setup.py sdist bdist_wheel
-
upload the library on TEST pypi.org
python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
- Source : https://test.pypi.org/project/dunning-cash-flow
-
upload the library on PROD pypi.org
python -m twine upload dist/*
- Source : https://pypi.org/project/dunning-cash-flow
test the library
-
set the environment variable with yout Twikey Token
set TwikeyApiToken=<40 chars>
-
cd dunning_cash_flow
-
pipenv install
-
pipenv run python dunning_cash_flow_unittest.py
-
locate the package
python -c "import dunning_cash_flow as _; print(_.__path__)"
-
list functions inside the module
- the package
python -c "import dunning_cash_flow as _; print(dir(_))"
- the package
Documentation
- Packaging Python Projects https://packaging.python.org/tutorials/packaging-projects/
- Managing Application Dependencies https://packaging.python.org/tutorials/managing-dependencies/#managing-dependencies
- Packaging and distributing projects https://packaging.python.org/guides/distributing-packages-using-setuptools/#distributing-packages
License
Copyright (c) ALT-F1 SPRL, Abdelkrim Boujraf. All rights reserved.
Licensed under the EUPL License, Version 1.2.
See LICENSE in the project root for license information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dunning_cash_flow-1.0.0.tar.gz
.
File metadata
- Download URL: dunning_cash_flow-1.0.0.tar.gz
- Upload date:
- Size: 44.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bb7f5c86202cf198a497342677dbe101379f0bbc47fe699313418e7d68e94e7 |
|
MD5 | 1b578d492960757bc1e315807c05fe5c |
|
BLAKE2b-256 | 692faf22da893bd473035cb2c770f11d67920c9cf968505910a8f99eacaf10c1 |
File details
Details for the file dunning_cash_flow-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: dunning_cash_flow-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 12.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 507076633a9e0993e4d06a283274a73ade2e822f1e06a753b383c44d1dbe1b8d |
|
MD5 | 0d753bb482d4d1057b50a2788aa37ade |
|
BLAKE2b-256 | d0fbe8264289eef7a193c469c269c1c27f3034746b415e137f8c50daa2cd1400 |