Skip to main content

python_snail

Provides a wrapper class for smtplib to handle GMail usage

Set up a configuration file and pass through email data

from gmail_smtplib_micro import GmailSMTPLib

g = GmailSMTPLib("pysnail.conf")
g.send_file("file.email","example@example.com")

Can also be invoked with a provided email object

from gmail_smtplib_micro import GmailSMTPLib, Email

subject = "The string of the subject"
body = "This is the body of the email\nIncluding line breaks"

e = Email(subject, body)

g = GmailSMTPLib("pysnail.conf")
g.send_object(e,"example@example.com")

Examples of the configuration and email file can be shown via:

from gmail_smtplib_micro import ExampleEmail, ExampleConfiguration

print(ExampleEmail().show())
print(ExampleConfiguration().show())

Metadata

Release files for gmail-smtplib-micro 0.1.2

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

Source distribution (sdist)

Source distribution for gmail-smtplib-micro 0.1.2
File Size Uploaded Provenance
gmail_smtplib_micro-0.1.2.tar.gz 5.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for gmail-smtplib-micro 0.1.2
File Interpreter ABI Platform
gmail_smtplib_micro-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.3 kB

Release files / gmail_smtplib_micro-0.1.2.tar.gz

Download URL gmail_smtplib_micro-0.1.2.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
caba621b1b06e2e3b5db9f86e970ce6823616ba09bfd4adad8d34dd7961f882b
BLAKE2b-256 checksum
How to use checksums
a8a61c7f67800a27b66cfd221134531d3726825ec0455852d88dc2e119c5bcb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.5

Release files / gmail_smtplib_micro-0.1.2-py3-none-any.whl

Download URL gmail_smtplib_micro-0.1.2-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d1838785cdcca101ee46061ee2839add2e073a8015429b588801e62fb85c31c
BLAKE2b-256 checksum
How to use checksums
ebbea576b279139873028781c168a0d32e20925cb4761b731c9134edd8e4643d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.5

Security for gmail-smtplib-micro 0.1.2

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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

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