Contact Extractify
Contact Extractify is a lightweight Python package to extract email addresses, phone numbers, and URLs from raw text. It's built with simplicity and accuracy in mind, making it ideal for quick data extraction tasks or preprocessing text from websites, documents, or logs.
✨ Features
- 📧 Extract email addresses using robust regex
- 📱 Extract international and local phone numbers
- 🔗 Extract URLs (HTTP, HTTPS, and
www.formats) - 🧼 Deduplicated and normalized results
🚀 Installation
You can install the package using:
pip install contact-extractify
## 🧑💻 Usage
```python
from contact_extractor.core import extract_emails, extract_phones, extract_urls
text = """
Contact us at hello@example.com or visit https://example.com.
You can also call us at +1 (555) 123-4567.
"""
emails = extract_emails(text)
phones = extract_phones(text)
urls = extract_urls(text)
print("Emails:", emails)
print("Phones:", phones)
print("URLs:", urls)
📦 Functions
| Function | Description |
|---|---|
extract_emails() |
Extracts all valid email addresses |
extract_phones() |
Extracts phone numbers (normalized) |
extract_urls() |
Extracts valid URLs from the text |
📝 License
This project is licensed under the MIT License.
📫 Contact
Maintained by Gaurav Rawal – gauravrawal2001@gmail.com
Metadata
Release files for phone-email-extractor 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| phone_email_extractor-0.1.0.tar.gz | 2.0 kB | Without provenance | Details for phone_email_extractor-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| phone_email_extractor-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for phone_email_extractor-0.1.0-py3-none-any.whl |
Total release size: 4.1 kB
Release files / phone_email_extractor-0.1.0.tar.gz
| Download URL | phone_email_extractor-0.1.0.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1281c47f5fec76bbbac3a5024b3036f6a582b2b838ccee993a9165ed42382bf
|
|
BLAKE2b-256 checksum How to use checksums |
f9f443358b40b2e5a237777c8153e84e0c2709e647f5c29f63c4eb8fe216b599
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / phone_email_extractor-0.1.0-py3-none-any.whl
| Download URL | phone_email_extractor-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5a9c72baddcf71c435347366f619bc0e517e94e47bfe6752654c727cb648cf76
|
|
BLAKE2b-256 checksum How to use checksums |
f3a784995d2db8db4fdd7b4bebcac52beb095477e86a9e493f3ec4c34e5445fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Security for phone-email-extractor 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.