PyMono
pymono is a python wrapper for Mono
- Account
- Transactions
- Statements
- Credits
- Debits
- Bvn Lookup
Getting Started
- Register on Mono website and get your Authorization key.
- Setup your mono connect with your mono public key
- Set Your "MONO-SEC-KEY" env
Installing
pip install Py-mono
Usage
Environment Key
os.environ['MONO-SEC-KEY'] = " "
Usage
Import
from pymono import Mono
Exchange Key or Authenticaton
Set your mono-code accpeted from mono-connect widget.
mono= Mono('mono-code')
(data,status) = mono.Auth()
User Id
set the user id to get other function working
mono.SetUserId(data.get("id"))
Account
The user account details is returned
mono.getAccount()
Transactions
| params | example |
|---|---|
| start | "1-10-2020" |
| end | "7-11-2020" |
| narration | uber etc |
| types | debit, credit |
| paginate | true ,false |
#Get all the transactions without filter
mono.getTransactions()
#Parameter accepted to filter Transaction
mono.getTransactions(start="",end=" ",narration="",types="",paginate="")
Statement
The user statement of account is returned
It accept parameter to filter statement
| params | example |
|---|---|
| month | last6month,last12month |
| output | json, pdf |
mono.getStatement()
# statement with filter
mono.getStatement("last12month","pdf")
Credits
get credits details if user
mono.getCredits()
Debits
mono.getDebits()
Identity
mono.getIdentity()
BVN Lookup
| params | example |
|---|---|
| bvn | 2256244 |
mono.bvn_lookup(bvn)
Sanbox to test mono-connect
LICENSE
Contribution guides
Todo
- Webhook Support
Metadata
Release files for Py-Mono 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Py-Mono-0.0.1.tar.gz | 5.0 kB | Without provenance | Details for Py-Mono-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Py_Mono-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for Py_Mono-0.0.1-py3-none-any.whl |
Total release size: 11.8 kB
Release files / Py-Mono-0.0.1.tar.gz
| Download URL | Py-Mono-0.0.1.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60e60e12fc1e308a2a17ece06dda6d95836ab774f15a8aacc956be6445367050
|
|
BLAKE2b-256 checksum How to use checksums |
f8dea312900f6f76d31b08adc9be4c37dc7396f7a42dee5a3b27c002829477f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.7
|
Release files / Py_Mono-0.0.1-py3-none-any.whl
| Download URL | Py_Mono-0.0.1-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d88d5a0fae54e1fc27f3088d1962166d81e5f9a0244726b859fa1d3f28b449c1
|
|
BLAKE2b-256 checksum How to use checksums |
a8c5f4940363350b95cc394da79ce1fe3f499d5ac0203f6f99de850b8e21003c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.7
|
Security for Py-Mono 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.