monzopy
A simple async python wrapper for the Monzo API, used primarily by the Monzo Home Assistant integration.
Transactions
await user_account.annotate_transaction(transaction_id, metadata) adds or updates
transaction metadata and returns the updated transaction. Set a value to an empty
string to delete that key. Updating the notes key also updates the transaction's
top-level notes property.
Feed items
await user_account.create_feed_item(account_id, title, image_url, ...) creates a
basic item in an account's Monzo feed. It accepts optional body text, a URL to open
when tapped, and background, title, and body colours.
Webhooks
UserAccount provides ownership-safe primitives for managing webhooks on a specific
Monzo account:
await user_account.register_webhook(account_id, url)registers a webhook and returns a frozenWebhookcontaining itsid,account_id, andurl.await user_account.list_account_webhooks(account_id)returns everyWebhookregistered for that account.await user_account.delete_webhook(webhook_id)deletes a webhook by ID.
The existing register_webhooks, list_webhooks, and unregister_webhooks
methods remain available for compatibility. They operate across all known accounts;
list_webhooks continues to return webhook ID strings and supports optional hostname
filtering.
Metadata
Release files for monzopy 1.8.0
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 |
|---|---|---|---|---|
| monzopy-1.8.0.tar.gz | 20.8 kB | Without provenance | Details for monzopy-1.8.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| monzopy-1.8.0-py3-none-any.whl | Python 3 | none | any | Details for monzopy-1.8.0-py3-none-any.whl |
Total release size: 38.7 kB
Release files / monzopy-1.8.0.tar.gz
| Download URL | monzopy-1.8.0.tar.gz |
|---|---|
| Size | 20.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39b314e3f89c7149bd903364f5c1d6dcc58bd80555b88ef714e7cfc34595c80d
|
|
BLAKE2b-256 checksum How to use checksums |
d330a59f204f8426cf247e318df33c9bfc516e9890b6a1e0bfda5e4bee5a00bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / monzopy-1.8.0-py3-none-any.whl
| Download URL | monzopy-1.8.0-py3-none-any.whl |
|---|---|
| Size | 17.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9922e0694f1d3239e77452c55e8cdc6dcf6ce33ecc36d16c02228981c5479b44
|
|
BLAKE2b-256 checksum How to use checksums |
af83186d1d1bfd9dcce8d1df935b9df28319b66deced464db01bad6f6ac3cb9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for monzopy 1.8.0
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.