Skip to main content

pragmail python

pragmail is a library for retrieving email messages for other useful software applications.

It extends Python's built-in modules for internet protocols and support, maintaining the same degree of user flexibility.

Example usage:

>>> import pragmail
>>> client = pragmail.Client("imap.domain.com")
>>> client.login("username", "password")
('OK', [b'username authenticated (Success)'])
>>> client.select("INBOX")
('OK', [b'1357'])
>>> client.imap4.search(None, 'FROM', '"John Smith"')
('OK', [b'245 248 257 259'])
>>> client.imap4.close()
('OK', [b'Returned to authenticated state. (Success)'])
>>> client.imap4.logout()
('BYE', [b'LOGOUT Requested'])

pragmail also equips you with several utility functions and a few useful methods for managing retrieved email messages. Please refer to the documentation for details.

Installing

pragmail can be installed with pip:

$ python -m pip install pragmail

You can get the latest source code from GitHub:

$ git clone git://github.com/huenique/pragmail.git
$ cd pragmail/
$ poetry install

Documentation

Usage and reference documentation is found here.

Contributing

Check the contributing guide to learn more about the development process and how you can test your changes.

Metadata

Release files for pragmail 0.2.5

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

Source distribution (sdist)

Source distribution for pragmail 0.2.5
File Size Uploaded Provenance Actions
pragmail-0.2.5.tar.gz 10.6 kB Without provenance Details for pragmail-0.2.5.tar.gz

Built distribution (wheel)

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

Total release size: 22.7 kB

Release files / pragmail-0.2.5.tar.gz

Download URL pragmail-0.2.5.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c87a9c8d509a406a604ef552285648ea52ab948f4ca4d89ae0b1d230b479b006
BLAKE2b-256 checksum
How to use checksums
164f22233b0ca0e0a6e64dc4055e6e58655a27b696e0a63b17c669526f2d9d68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.10.1 Windows/10

Release files / pragmail-0.2.5-py3-none-any.whl

Download URL pragmail-0.2.5-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf856843f5c4d16ce9c28ff3af311d493a773ae21d536302129b4095879df2a5
BLAKE2b-256 checksum
How to use checksums
bb0cc36cfdec645d32ba0cf373b0421273476608744a04f3bd7e95e6c0f0e01c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.10.1 Windows/10

Security for pragmail 0.2.5

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.

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