A email verifier for csv files
Project description
Email Purifier
A KISS(Keep It Stupid Simple) email validator for csv files
To install the script locally use:
To install the program run
$ pip install todx
If you are using Ubuntu run this instead:
$ pip3 install todx
If the installation of pandas fails due to user permissions, you can either use sudo or install using the --user parameter.
To validate and store the emails in a csv file run:
epurifier <input file> <output file>
And tackle with the invalid emails through keyboard.
Note that both input and Output files should be in csv format
If you clone the repo you can extend the code, to install the cloned repo as a package, run:
pip install -e .
Now, editing the files in the local folder will reflect systemwide installation of epurifier so you can use the epurifier with your modified parameters.
Also, to extend the valid emails you can either pass them when you create the EmailPurifier class as
import email_checker as ec
emails_to_check = [
# Your emails
]
additional_valid_emails = [
# add only domain names such as 'google.com'
]
emil = ec.EmailPurifier(emails_to_check, additional_valid_emails)
By default it adds the passed additional emails to a list of top 10 valid emails present in valid_emails.py
If for some reason you want to only use the additional emails and don't want emails from valid_emails you can pass the argument onlyAdditional=True to override the behavior.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file epurifier-0.1.1.tar.gz.
File metadata
- Download URL: epurifier-0.1.1.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fadf4fc15f9ee770ac90bf5f26c23211ba0f1104d8e18a5e28a174eb097105e0
|
|
| MD5 |
e638f9aeea9f8f373387de6277824826
|
|
| BLAKE2b-256 |
ab34f2511eab30849915587a67bbcbe0109f780e1683a1bed3f507bd84de9954
|
File details
Details for the file epurifier-0.1.1-py3-none-any.whl.
File metadata
- Download URL: epurifier-0.1.1-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e8ac0b3a8f0575acd489fb78ac656ffd1b34a367526f2b3b2af1a8ea259166e
|
|
| MD5 |
9028191d02e91140d99c2f3e8a073d5c
|
|
| BLAKE2b-256 |
53bba1a1daf7bf8188ed22a08f58128074e129603a31416a8fea9ea0ccbd5ea8
|