Unofficial Python client for Whitepages
Project description
Whitepyges
Whitepyges is an unoficial Python client library for retrieving public information from Whitepages.com
⚠️ Legal Disclaimer ⚠️
This software is provided for personal and educational use only. You are responsible for ensuring your use of this software complies with all applicable laws and third-party Terms of Service. Authors/Contributors do not condone or support the violation of any website's terms. Use at your own risk.
What works
- Person lookup by name and location
- Phone number lookup by number alone
- Address information
What doesnt work
- Carrier information for phones
Installation
To install Whitepyges, use pip:
locally:
git clone https://github.com/will-hellinger/whitepyges.git
cd whitepyges
pip install .
Usage
Here is a basic example of how to use Whitepyges:
import whitepyges
person: whitepyges.Person = whitepyges.Person(first_name='John', last_name='Doe', state="WA")
phone: whitepyges.Phone = whitepyges.Phone(phone_number='123-456-7890')
address: whitepyges.Address = whitepyges.Address(street='123 Test Street', city='New York', state='NY')
person_info = person.search()
phone_info = phone.search()
address_info = address.search()
Responses
Note: All example responses have their info changed
Person:
[
{
"name": "Jon Doe",
"givenName": "Jon",
"familyName": "Doe",
"description": "Jon Doe in their 70s, currently living in Example, WA",
"url": "https://www.whitepages.com/name/Jon-Doe/Example-WA/random_letters",
"address": [
{
"@type": "PostalAddress",
"streetAddress": "123 St",
"addressLocality": "Example",
"addressRegion": "WA",
"addressCountry": "US"
}
],
"telephone": "(123) 456-7890",
"relatedTo": []
},
{
"name": "Jon Doe",
"givenName": "Jon",
"familyName": "Doe",
"description": "Jon Doe in their 40s, currently living in Example-2, WA",
"url": "https://www.whitepages.com/name/Jon-Doe/Example-2-WA/random_letters2",
"address": [
{
"@type": "PostalAddress",
"streetAddress": "123 Ave",
"addressLocality": "Example-2",
"addressRegion": "WA",
"addressCountry": "US"
}
],
"telephone": "(123) 456-7890",
"relatedTo": []
}
]
Phone:
{
"spam_info": "LOW SPAM RISK",
"state": "Washington",
"cities": "Example, Example-2, Examples 3",
"area_code": "123",
"url": "https://www.whitepages.com/phone/1-123-456-7890"
}
Address:
[
{
"name": "Jon Doe",
"url": "https://www.whitepages.com/name/Jon-Doe/Example-WA/random_numbers",
"age": "22"
},
{
"name": "Jon Doe-2",
"url": "https://www.whitepages.com/name/Jon-Doe-2/Example-WA/random_numbers-2",
"age": null
}
]
Contributing
Contributions are welcome! Please fork the repository and submit pull requests.
Formatting
When contributing, please follow these formatting guidelines:
- Format your code with Black.
- Ensure all public methods and classes have docstrings.
- Write unit tests for new features and bug fixes.
- Use meaningful commit messages.
By adhering to these guidelines, you help maintain the readability and quality of the codebase.
Contact
For any questions or suggestions, please open an issue on GitHub.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 whitepyges-0.4b0.tar.gz.
File metadata
- Download URL: whitepyges-0.4b0.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9207611c802ac4eeaa68aef9cdd9650a706e6c08b693a2dda1db0a9632ae09cd
|
|
| MD5 |
b0ca779cbd594ad85a80fba822603d3f
|
|
| BLAKE2b-256 |
f82ff2747811fe2bca114f35c49559978da72d73c0b45ed9106d8dc100d6c672
|
Provenance
The following attestation bundles were made for whitepyges-0.4b0.tar.gz:
Publisher:
publish.yml on Will-Hellinger/whitepyges
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
whitepyges-0.4b0.tar.gz -
Subject digest:
9207611c802ac4eeaa68aef9cdd9650a706e6c08b693a2dda1db0a9632ae09cd - Sigstore transparency entry: 230077093
- Sigstore integration time:
-
Permalink:
Will-Hellinger/whitepyges@8518d3a4a69c8bde9e300115ebf0e99bfc6053d7 -
Branch / Tag:
refs/tags/v0.4a - Owner: https://github.com/Will-Hellinger
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8518d3a4a69c8bde9e300115ebf0e99bfc6053d7 -
Trigger Event:
release
-
Statement type:
File details
Details for the file whitepyges-0.4b0-py3-none-any.whl.
File metadata
- Download URL: whitepyges-0.4b0-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ce0884284e2be8521a4443610579f2a30e0fbd4241fb14ee6c7d1dabed40cdb
|
|
| MD5 |
3125a40cb8508b9f3632b4bd9142f31b
|
|
| BLAKE2b-256 |
e75add310c9beb2808ec188ed30f3a222a167b74c10315b216129054b2c2707b
|
Provenance
The following attestation bundles were made for whitepyges-0.4b0-py3-none-any.whl:
Publisher:
publish.yml on Will-Hellinger/whitepyges
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
whitepyges-0.4b0-py3-none-any.whl -
Subject digest:
9ce0884284e2be8521a4443610579f2a30e0fbd4241fb14ee6c7d1dabed40cdb - Sigstore transparency entry: 230077095
- Sigstore integration time:
-
Permalink:
Will-Hellinger/whitepyges@8518d3a4a69c8bde9e300115ebf0e99bfc6053d7 -
Branch / Tag:
refs/tags/v0.4a - Owner: https://github.com/Will-Hellinger
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8518d3a4a69c8bde9e300115ebf0e99bfc6053d7 -
Trigger Event:
release
-
Statement type: