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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

monzopy-1.8.0.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

monzopy-1.8.0-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file monzopy-1.8.0.tar.gz.

File metadata

  • Download URL: monzopy-1.8.0.tar.gz
  • Upload date:
  • Size: 20.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for monzopy-1.8.0.tar.gz
Algorithm Hash digest
SHA256 39b314e3f89c7149bd903364f5c1d6dcc58bd80555b88ef714e7cfc34595c80d
MD5 0825f1a44ca0283f8a11ca67d2a13920
BLAKE2b-256 d330a59f204f8426cf247e318df33c9bfc516e9890b6a1e0bfda5e4bee5a00bc

See more details on using hashes here.

File details

Details for the file monzopy-1.8.0-py3-none-any.whl.

File metadata

  • Download URL: monzopy-1.8.0-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for monzopy-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9922e0694f1d3239e77452c55e8cdc6dcf6ce33ecc36d16c02228981c5479b44
MD5 8e6f2636a3be2b73a995b08a841e36c0
BLAKE2b-256 af83186d1d1bfd9dcce8d1df935b9df28319b66deced464db01bad6f6ac3cb9c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.8.0 This release

2 files

1.7.0

2 files

1.6.0

2 files

1.5.1

2 files

1.5.0

2 files

1.4.2

2 files

1.4.1

2 files

1.4.0

2 files

1.3.2

2 files

1.3.1

2 files

1.3.0

2 files

1.2.0

2 files

1.1.0

2 files

1.0.10

2 files

1.0.9

2 files

1.0.8

2 files

1.0.7

2 files

1.0.6

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page