Skip to main content

PyPI version Python versions License

Build status Test coverage

Python library that nicely wraps Monzo public API and allows you to use it directly from your Python project.

Installation

>From PyPI:

$ pip install pymonzo

Usage

To use the library you have to provide it with you Monzo access token. You can either do that by exporting it as an environment variable ($ export MONZO_ACCESS_TOKEN="YOUR_ACTUAL_ACCESS_TOKEN") or by passing it explicitly to MonzoAPI() class.

Roadmap

The library currently does not implement feed items, webhooks and attachments endpoints - I plan to add them in the future, but they were’t essential to my current needs and they could be completely different in the future - per docs: > The Monzo API is under active development. Breaking changes should be expected.

I want to implement all API functionality as soon as it comes out of beta and stabilizes.

The major addition I do want to add before that is better authentication support - currently access tokens can be taken only from the developer playground and work for just a couple of hours before expiring which is really annoying. I chatted with Monzo devs in their Slack accout and currently there’s no way to get and regresh the access token for background only applications (without OAuth authorization code grant and a website that is).

API

There’s no documentation as of now, but the code is commented and should be pretty straightforward to use.

But feel free to ask me via email or GitHub issues if anything is unclear.

Tests

Package was tested with the help of py.test and tox on Python 2.7, 3.4 and 3.5 (see tox.ini).

To run tests yourself you need to set environment variables with access token before running tox inside the repository:

$ export MONZO_ACCESS_TOKEN="YOUR_ACTUAL_ACCESS_TOKEN"
$ tox

Contributions

Package source code is available at GitHub.

Feel free to use, ask, fork, star, report bugs, fix them, suggest enhancements, add functionality and point out any mistakes.

Authors

Developed and maintained by Paweł Adamczak.

Released under MIT License.

Release files for pymonzo 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pymonzo 0.1.1
File Size Uploaded
pymonzo-0.1.1.tar.gz 6.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pymonzo 0.1.1
File Interpreter ABI Platform
pymonzo-0.1.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 14.6 kB

Release files / pymonzo-0.1.1.tar.gz

Download URL pymonzo-0.1.1.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
14d7c54fa7fa9e61f504b8d9df83d84d09b3d00a880ac41771f1101ced7350e8
BLAKE2b-256 checksum
How to use checksums
7158c4d739f7cebd372a957d552a56edb6f7de9f9c538aca09a16dd188dc04c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pymonzo-0.1.1-py2.py3-none-any.whl

Download URL pymonzo-0.1.1-py2.py3-none-any.whl
Size 7.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
502e2e8d8ac364434d30c0b6bc6b20fe638325e2a9f3fa1f6151c52bc7455eb1
BLAKE2b-256 checksum
How to use checksums
c37d97fc2b1035b591a6b3d0bbbfee246106bd8d4133bdac46e14bda0b3fb267
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

2.2.1

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.0

2 release files

0.11.0

2 release files

0.10.3

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

This release

0.1.1 This release

2 release files

0.1.0

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