Pylio
Send email messages through a specified Gmail account.
Getting Started
-
Download Pylio and its dependancies
pip install pylio -
Turn on Gmail API by clicking Enable Gmail API on Gmail
- Select + Create a new project.
- Download the credentials file to access your Gmail account.
- Move the downloaded file to your working directory and ensure it is named
credentials.json.
You can also specify the location ofcredentials.jsoneither inconfig.yamlor using the--cred-fileflag.
-
From command line: use
pyliowith the below arguments. Default arguments will come from theconfig.yamlunless otherwise stated.
Command line override arguments:
--to email_addressemail address of intented recepient
--message msg_bodytext body of email
--config-file path(optional) path to custom configuration file; default isconfig.yaml
--cred-file path(optional) path to Google Gmail credentials JSON file
--subject subject_line(optional) subject line of email
Contents
config.yaml Default configuration file to specify to, message, and Google credentials file
PylioMail.py Class using Google API
setup.py pip file
How does it work?
This repository is a wrapper that simplifies the use of the Google Gmail API.
Troubleshooting
- Check if authorization is enabled: Google Authorization
- Make sure
https://www.googleapis.com/auth/gmail.sendis chosen in authorization.
2018 (c) Xavier Collantes
Metadata
Release files for pylio 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pylio-0.0.1.tar.gz | 1.9 kB | Without provenance | Details for pylio-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pylio-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for pylio-0.0.1-py3-none-any.whl |
Total release size: 10.9 kB
Release files / pylio-0.0.1.tar.gz
| Download URL | pylio-0.0.1.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d1cb656e6c192493d1357185c4417c24c779cace26df1a78f614aa0b75a40ca
|
|
BLAKE2b-256 checksum How to use checksums |
442967e1396a68495790dcbb552153c594719b5a32df6d49a488f5354ce3891d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
|
Release files / pylio-0.0.1-py3-none-any.whl
| Download URL | pylio-0.0.1-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7be5caea4f5ec31a00c4d6f2d42940185430187ef47b2622828025dc0fb3271
|
|
BLAKE2b-256 checksum How to use checksums |
eda437b30905fbcdc63ab21c3056c8b80747fe8c6c97394fddd16a3f1df96285
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
|
Security for pylio 0.0.1
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.