Skip to main content

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 frozen Webhook containing its id, account_id, and url.
  • await user_account.list_account_webhooks(account_id) returns every Webhook registered 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)

Source distribution for monzopy 1.8.0
File Size Uploaded
monzopy-1.8.0.tar.gz 20.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for monzopy 1.8.0
File Interpreter ABI Platform
monzopy-1.8.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.8.0 This release

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.10

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page