Skip to main content

A package for extract data from websites and text

Project description

Searchlix

powerful python pakage to search in text and websites

Features

  • Search for page name in website
  • Extract emails from website page
  • Extract phone number from website page
  • Check if a domain has a valid mail server
  • Check if a domain is valid
  • Search for word in files (.txt file)
  • Pattern search in text
  • Search for word in text
  • Extract a phone number from a text / Phone number validation
  • Extract emails from a text / Email validation

Installation

python 3.6+

pip install searchlix

Functions

How you can use it.

Features Function
Find emails in text / Email validation find_email(text)
Find emails in website page extract_email_from_link(url)
Find phone number in text / Phone number validation find_phone_number(text)
Find phone number in website page extract_phone_from_link(url)
Pattern search in text pattern_search(text, pattern)
Search for page name in website extract_page_url(url, page_name)
check if domain has a valid mail server check_mail_server(domain)
check if domain is valid is_valid_domian(domain)
Search for word in files (.txt file) search_word_in_file(filename=full_path_with_name, search_word=string, chunk_size= default is 1024*1024)

Import

from searchlix import searchlix

Future Works

  • Add proper error handiling
  • Add test cases
  • Add more features

Notes

  • this is a beta version
  • if you have any suggestions please feel free to send email to me

Contact Information

License

MIT

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

searchlix-1.0.7.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

searchlix-1.0.7-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page