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
pragmail-0.2.5.tar.gz 10.6 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

0.2.5 This release

2 release files

0.2.4

2 release files

0.2.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