Skip to main content

email-profile

GitHub Org's stars



Check list

  • Query API Structure
  • Data table structure
  • SQLlite Backup
  • 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
    print(content.json())

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

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

Source distribution (sdist)

Source distribution for email-profile 0.2.0
File Size Uploaded Provenance Actions
email_profile-0.2.0.tar.gz 28.3 kB Without provenance Details for email_profile-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for email-profile 0.2.0
File Interpreter ABI Platform Actions
email_profile-0.2.0-py3-none-any.whl Python 3 none any Details for email_profile-0.2.0-py3-none-any.whl

Total release size: 40.2 kB

Release files / email_profile-0.2.0.tar.gz

Download URL email_profile-0.2.0.tar.gz
Size 28.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ebe70d846537dac90ceb34356cefe3886ff330997c0c3ca6e5123cd2cd1b70b7
BLAKE2b-256 checksum
How to use checksums
b97be193312ce96017bb7461e6151aa874a5f3d5567ac64a67e93e34d315a379
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.2.0-py3-none-any.whl

Download URL email_profile-0.2.0-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ea4ad21bb97519db51c990bfc73c7adee8bc5e3f526f7ae9ceb8fd75768fc81
BLAKE2b-256 checksum
How to use checksums
a80110a0b631f9c1b7f1edee6ff5373213a80ee95d6dfd739508e2d9370f14c1
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.2.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.

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