Skip to main content

A Python CLI tool for analyzing email data in mbox format

Project description

SWECC Email Scraper

A Python CLI tool for analyzing email data in mbox format. This tool helps you extract insights and perform analysis on email archives.

Features

  • Parse mbox format email archives
  • Extract email metadata and content
  • Perform basic analysis on email data
  • Generate reports and statistics

Installation

pip install swecc-email-scraper

Usage

swecc-email-scraper analyze path/to/mailbox.mbox

For more detailed usage instructions, run:

swecc-email-scraper --help

Development

Setup

  1. Clone the repository:
git clone https://github.com/yourusername/swecc-email-scraper.git
cd swecc-email-scraper
  1. Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install development dependencies:
pip install -e ".[dev]"

Running Tests

pytest

Code Quality

# Run linting
ruff check .

# Run type checking
mypy .

License

MIT License - See LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swecc_email_scraper-0.1.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swecc_email_scraper-0.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file swecc_email_scraper-0.1.0.tar.gz.

File metadata

  • Download URL: swecc_email_scraper-0.1.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for swecc_email_scraper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b72fbc9c2b88716294afa4dd3918dfcea4c23f30114ca378ade8dd4e58ec69db
MD5 a2a9b9ceac256f3dd67192d173bddf34
BLAKE2b-256 6f3c08a94b7bf3cf7bf120f72cdcbb8e02b65fff65c4f60e4845b1dfb5891951

See more details on using hashes here.

File details

Details for the file swecc_email_scraper-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for swecc_email_scraper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 efc1e6f8e4f1260140d5f0a95c48a4de10ba66b471c1f1eff65ae84a51ed4157
MD5 c41f8b2b71f0b80beeada126abdaf9ab
BLAKE2b-256 f2f240b33d6ea661f4f1e899ff18326f23a1ee5671f7e01afc706484032d0c6d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page