Detect email addresses in files
Project description
chinaski
Detect email addresses in files. A tribute to the novel Post Office from Charles Bukowski.
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
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 details)
Built Distribution
chinaski-1.0.2-py3-none-any.whl
(18.0 kB
view details)
File details
Details for the file chinaski-1.0.2.tar.gz
.
File metadata
- Download URL: chinaski-1.0.2.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e7cdab4d5a6c72cded6f8cc9ed13bbbdac4ef71f65b132d595ae33bf50006f7 |
|
MD5 | aa6d50c83e6d5bdc41d99fb78870b8b5 |
|
BLAKE2b-256 | b31be509f714c772a1944e057741eafb7572c9f283df384200942d2a1106cc7f |
File details
Details for the file chinaski-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: chinaski-1.0.2-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68b32fe5aaef58035f7b96136b38754ed90c45e7568976fa9c2213c01035bb77 |
|
MD5 | 8801243e204bd6200d98dec401364796 |
|
BLAKE2b-256 | 6b72ca8812083ee63cd2d6803a0d8ce33089f3991e169789422c6e4701c0128b |