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 details)
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 searchlix-1.0.7.tar.gz.
File metadata
- Download URL: searchlix-1.0.7.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6bc68a091f772d2d788aa112cd71b466743c503186a01f597ea9cfc0ad06281
|
|
| MD5 |
1c79ac70a7916611e9298721097a703d
|
|
| BLAKE2b-256 |
4202c4051d5e778f2a8563b0ec62cf30fe7406070da68987d3b5f2ef178c8e67
|
File details
Details for the file searchlix-1.0.7-py3-none-any.whl.
File metadata
- Download URL: searchlix-1.0.7-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c84c9cf75e711a4ce29bdb662256821c192a7e33736e3046f588a70bccac1a4
|
|
| MD5 |
1b3c40f2993623adaa59e45da1059e8f
|
|
| BLAKE2b-256 |
baf205b1d3099c885fd2090954276e9c93edc9a887953f951af3ad519d281486
|