Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xypnox/email_purifier
A KISS(Keep It Stupid Simple) email validator for csv files
https://github.com/xypnox/email_purifier
csv email-purifier pip python website
Last synced: about 1 month ago
JSON representation
A KISS(Keep It Stupid Simple) email validator for csv files
- Host: GitHub
- URL: https://github.com/xypnox/email_purifier
- Owner: xypnox
- License: gpl-2.0
- Created: 2018-03-20T13:32:32.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-04-14T14:51:52.000Z (over 3 years ago)
- Last Synced: 2024-11-06T21:15:53.394Z (about 2 months ago)
- Topics: csv, email-purifier, pip, python, website
- Language: Python
- Homepage:
- Size: 54.7 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Email Purifier
[![KWoC 2018](https://img.shields.io/badge/KWoC-2018-0078D6.svg?longCache=true&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAGbElEQVRYhdWWa1BTZxrHH7W1yw4qYcMtIk25lOUWkMgCEhMVq0XQKngDrKy3tkMrVNdxRcssVllbW6e1Wm29tSrdWC8UkUKgBEuuJzn3oLYf2moHrcsGoSoGKcl59kNYCnWcJZp2ps/Mf94vZ+b3O+/znPc9AL/DGg0gHicKl4dNiJRH+EbIAgHkj/8mZFG4fII4OmN+ULxiT0i8UhOSoLoQHK9SBycoXx4XPSX6V4cHxWeUhchUX0tkql6JTOWSyFQuSaKqXyJT2YMTVKf9I1PTAGC09+kBcb6BsdOWPynPvBKWnImhSTOGZdLkmRiWnOkIkamOjQ9PivI2ftRTqXOfyS4sNr20abtz9YZynLNsLUb8ZTZOmjwT0+fm4/LiTfjixgpcvGZ9Z6wip2JCWILIqwbpcwtzPjj2afv1Gx3CvzvsWK/V4YzcIoxV5OC7B49j+/Ub+J/Om9h4Qd//TN6KjwF8A7wqkDInP27voSq6w37T1XuvDxu0Oly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G1oa7uEvO0icnzbYGxtl7Dt4uXB8LaLwvmGZuHwcbWz5O/bOqWyjFoQBSWMGD5QoyPl05LlsxY2rizd4vzmyveCw+FAh6MX3evQ9A6LvbNLqHjrfWFKZt7tKLnywB/EoSrw9CgGAAD/yPHBccr3lQuK+mjbJRciCjiCunajQygs3iRIEpQ3fCVPLwNPD6EhNSYgVlESo5h366OTn7l+6u8fiYDwpYkU0rMLXIExqaxP4JPp8CjXsig6LWNi4nR2xbrNzm+vtgv/bxc6u7qF8l17BWly5j1/aeIRAAh+aDgAAPhJ/QJipm6PUeR0v7X/qGC/2fVAgZ67DuHTmgZXenaBKyA65SvfwPA88MKv2aixIVExgTGpx1LmLLl15JOzrqvt110d9puufqdTcDqdwt27DuFq+w+uZr3FuWBlSX9IvOJ734nR5QAQ+KjwwXo8ICopLFF5YOmaDd+WVe75ceeewz1andmhJ6g7J07X3C5/c9/tdVsqu1Nm5bGisNgyAJjoNfhAjfbxnxgaOVk5P3na3PWzFhRULH7+hR1Zuctfn/1c/o6ZOUsqUpRZG6NlKc8CgNjb8GEi4D5SfQDgj79Yn4CHmPj/Ah8OBXTGJ+jbAAAAAElFTkSuQmCC)](https://kwoc.kossiitkgp.org/)
KWoC Communicaton: [![Join the chat at https://gitter.im/epurifier/Lobby](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/epurifier/Lobby)
A KISS(Keep It Stupid Simple) email validator for csv files
To install the script locally use:
To install the program run
```
$ pip install epurifier
```If you are using Ubuntu run this instead:
```
$ pip3 install epurifier
```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
```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
```python
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.