A JMAP client library for Python. https://jmap.io
Project description
A JMAP client library for Python
jmapc is in initial development.
Currently implemented:
- Basic models
- Request methods:
Core/echo
Email/get
Email/query
Identity/get
Thread/get
Mailbox/get
Mailbox/query
- Combined requests with support for result references
- Basic JMAP method response error handling
- Unit tests for basic functionality and methods
Todo list:
- Implement
EmailSubmission
methods for sending email - Write documentation
Examples
First, run poetry install
to set up your local repository.
Any of the examples can be invoked with poetry run
:
JMAP_HOST=jmap.example.com \
JMAP_USER=ness \
JMAP_PASSWORD=pk_fire \
poetry run examples/identity_get.py
If successful, examples/identity_get.py
should output something like:
Identity 12345 is for Ness at ness@onett.example.com
Identity 67890 is for Ness at ness-alternate@onett.example.com
Development
Prerequisites: Poetry
- Setup:
poetry install
- Run all tests:
poetry run poe test
- Fix linting errors:
poetry run poe lint
Created from smkent/cookie-python using cookiecutter
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jmapc-0.0.2.tar.gz
(21.7 kB
view hashes)
Built Distribution
jmapc-0.0.2-py3-none-any.whl
(24.9 kB
view hashes)