email-profile
Check list
- Query API Structure
- Data table structure
- Response JSON
- Dump JSON
- Dump HTML
- Response HTML
- CLI Email
- Documentation
How to install?
pip install email-profile
Config
from email_profile import Email
def main():
app = Email(
server="EMAIL-SERVER"
user="EMAIL_USERNAME",
password="EMAIL_PASSWORD"
)
Query instance
from datetime import datetime, date
query = app.select(mailbox="Inbox").where(
since=datetime(1996, 5, 31),
before=date.today(),
subject='abc'
)
Query count
print(query.count())
List IDs
ids = query.list_id()
print(ids)
List Data
data = query.list_data()
for content in data:
# Email data model
print(content.email.subject)
# Attachments data model
print(content.attachments)
# Dump Json
json = content.json()
print(json)
# Dump HMTL
html = content.html()
print(html)
Commit Style
- ⚙️ FEATURE
- 📝 PEP8
- 📌 ISSUE
- 🪲 BUG
- 📘 DOCS
- 📦 PyPI
- ❤️️ TEST
- ⬆️ CI/CD
- ⚠️ SECURITY
License
This project is licensed under the terms of the MIT license.
Metadata
Release files for email-profile 0.3.0
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 |
|---|---|---|---|---|
| email_profile-0.3.0.tar.gz | 28.3 kB | Without provenance | Details for email_profile-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| email_profile-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for email_profile-0.3.0-py3-none-any.whl |
Total release size: 40.3 kB
Release files / email_profile-0.3.0.tar.gz
| Download URL | email_profile-0.3.0.tar.gz |
|---|---|
| Size | 28.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a757441450b0e82d30d3b7674873ce4ad1e31573be0c504c27a1a1a7b58cb31
|
|
BLAKE2b-256 checksum How to use checksums |
3656ea53f110bbbac94137a74f8e2c5ae030bb6a983670384315301d98229652
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Release files / email_profile-0.3.0-py3-none-any.whl
| Download URL | email_profile-0.3.0-py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
912647ecda7df64bf6d78be41e2f72fc2b4bdd787d50b93c965502d4cc77f1f6
|
|
BLAKE2b-256 checksum How to use checksums |
f024c8952cf95255413184822659c11818d8dab929db487e8cded5d9880c8178
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Security for email-profile 0.3.0
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.