Detect email addresses in files. A tribute to the novel Post Office from Charles Bukowski.
Use the package manager pip to install chinaski.
pip install chinaski
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
from chinaski.henry import core
if __name__ == '__main__':
core("file.txt")
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.