https://github.com/alt-f1/dunning-cash-flow
Dunning cash flow is wrapper for Twikey REST APIs : Automatic payments for recurring customers
https://github.com/alt-f1/dunning-cash-flow
Last synced: 7 months ago
JSON representation
Dunning cash flow is wrapper for Twikey REST APIs : Automatic payments for recurring customers
- Host: GitHub
- URL: https://github.com/alt-f1/dunning-cash-flow
- Owner: ALT-F1
- License: other
- Created: 2019-12-22T17:21:45.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T03:21:21.000Z (almost 3 years ago)
- Last Synced: 2025-01-21T00:15:05.116Z (9 months ago)
- Language: Python
- Size: 397 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
* Twikey## usage
* install the package from the **pypi.org** :
* install : `pip install dunning-cash-flow`
* upgrade : `pip install dunning-cash-flow --upgrade`* 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`## dependencies
* countries_utils :
* 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 :* upload the library on PROD **pypi.org**
* `python -m twine upload dist/*`
* Source :## 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(_))"`## Documentation
* Packaging Python Projects
* Managing Application Dependencies
* Packaging and distributing projects## 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.