Skip to main content

Detect email addresses in files

Project description

chinaski

Detect email addresses in files. A tribute to the novel Post Office from Charles Bukowski.

PyPI GitHub release (latest by date) PyPI - Python Version PyPi downloads

Installation

Use the package manager pip to install chinaski.

pip install chinaski

Usage

As CLI

Usage: python -m chinaski [OPTIONS] PATH_TO_FILE_OR_DIR

  Detect emails addresses in files.

  PATH_TO_FILE_OR_DIR: Path to single file or directory to scan.

Options:
  --help  Show this message and exit.

Example:

# Detect in only 1 file
python -m chinaski ./file.txt

# Detect in a directory
python -m chinaski path/to/dir

Inside your code

from chinaski.henry import core

if __name__ == '__main__':
    core("file.txt")

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

GPLv3

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

chinaski-1.0.2.tar.gz (17.2 kB view hashes)

Uploaded Source

Built Distribution

chinaski-1.0.2-py3-none-any.whl (18.0 kB view hashes)

Uploaded Python 3

Supported by

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