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
- email: hashem.a.muhammad@gmail.com
- linkedin https://linkedin.com/in/hashem-muhammad
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)
Built Distribution
Close
Hashes for searchlix-1.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c84c9cf75e711a4ce29bdb662256821c192a7e33736e3046f588a70bccac1a4 |
|
MD5 | 1b3c40f2993623adaa59e45da1059e8f |
|
BLAKE2b-256 | baf205b1d3099c885fd2090954276e9c93edc9a887953f951af3ad519d281486 |