Giter Club home page Giter Club logo

phonmail-extractor's Introduction

phonmail-extractor

an emails/phones extractor python library with GUI( extract your emails and phones from any file) you can use phonmail as a python library or a desktop app or an online website.

phonmail-online

you can use phonmail extractor as an online service here www.phonmail.net but unlike the desktop version it can't handle larger files

phonmail-desktop

the desktop version is built over the phonmail.py library with tkinter

Screenshot (8)

phonmail-library

one single independent file you can import it into your project

Usage

check the demo.py and follow the steps below

importing
from phonmail import extractor # import the main class (extractor)
extraction

there is two main methods in the extarctor opject "emails" and "phones"

text = """ random data with phones and emails 
 [email protected]  Resources, Rolland Miranda blablalbla 814-825-6659 nsdsjnoee lorem  ipsm [email protected]
 [email protected] apple orange bananaannanananaa 9660501023226 0567886300 kkemjnjn jrgjrgn erfef 
 [email protected]  Manager, Ned Davenport, 868-537-8850, [email protected]  Medic
 al, Alden Kirby, 574-528-9602, [email protected]  Comput er, Antione Harvey, 732-995-8604, [email protected]  Operating, Bret
Bruce, 513-704-8737, [email protected]  Lead, Nathanael Marsh, hihihihih 689-6810, [email protected]  Artificial, Odis Nunez, 201-626-6879dfddsfs, [email protected]  Film, Manual Brennan, 510-505-3719sdsdsdsds, [email protected]
 """

ex = extractor(text) # extractor opject , pass the data (text) inside it

print("---------------------------------------emails------------------------------------")
print(ex.emails()) # this method for emails

print("---------------------------------------phones------------------------------------")
print(ex.phones())
methods and parameters

emails : return all the emails.

parameter description example
provider return only specific provider ex.emails(provider = "gmail")
output return output as string or list by default is string ex.emails(output = "list")

phones : return all the phone numbers.

parameter description example
country_code return only specific country ex.phones(country_code = "966")
output return output as string or list by default is string ex.phones(output = "list")

email_counter : return number of emails.

parameter description example
provider return the emails number of specific provider ex.email_counter(provider = "gmail")

phone_counter : return number of phones.

parameter description example
country_code return the emails number of specific provider ex.phone_counter(country_code = "1")

phonmail-extractor's People

Contributors

badhri17 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.