An open API service indexing awesome lists of open source software.

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

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.