# disposable-phonebook
Collect “disposable” phone numbers from various internet sites that offer “receive free SMS to an anonymous number” functionality.
`bash $ dphonebook scrape [{"number": "+16462879071", "area": "New York", "provider": "receive-smss.com", "last_message": 1652437175, "last_checked": 1652438795}, {"number": "+16466623058", "area": "New York", "provider": "receive-smss.com", "last_message": 1652437776, "last_checked": 1652438796}] `
This is useful to online service providers, who want to restrict usage of such numbers on customer profiles, for security reasons (avoiding publicly available 2FA codes).
## Quickstart
`bash $ pip3 install disposable-phonebook $ dphonebook scrape `
See [docs](https://anroots.github.io/disposable-phonebook/) for further details.
## Online API
This project powers [disposable-phonebook.com](https://disposable-phonebook.com), where a list of disposable numbers is available over a free HTTP API.
## Development
Requires Python 3.10
`bash python3 -m venv venv source venv/bin/activate pip install -r requirements-dev.txt pip install --editable . dphonebook --help `
Install [Editorconfig](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig) extension
Install [pre-commit hooks](https://pre-commit.com/#install)
### Releasing
Releases are uploaded automaticaly to pypi on new Git tag creation.
Make sure [Changelog.md](Changelog.md) is updated
Update version number in [setup.py](setup.py)
git tag 0.2.0
## Contribution
Want to add or fix something? Send a pull request.
This project uses (with thanks):
[python-phonenumbers](https://github.com/daviddrysdale/python-phonenumbers) for phone number formatting and metadata
[user-agents](https://github.com/intoli/user-agents) for UA list (ref dphonebook/vendor/user-agents)
## License
Apache2 license (see: [LICENSE](LICENSE))
Metadata
Release files for disposable-phonebook 0.4.1
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 |
|---|---|---|---|---|
| disposable-phonebook-0.4.1.tar.gz | 161.1 kB | Without provenance | Details for disposable-phonebook-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| disposable_phonebook-0.4.1-py3-none-any.whl | Python 3 | none | any | Details for disposable_phonebook-0.4.1-py3-none-any.whl |
Total release size: 328.8 kB
Release files / disposable-phonebook-0.4.1.tar.gz
| Download URL | disposable-phonebook-0.4.1.tar.gz |
|---|---|
| Size | 161.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27297c18c8d90a7c19208a698dfbb077827382592539a71afdd18b3849bb6829
|
|
BLAKE2b-256 checksum How to use checksums |
129f1c1efeaaee07ee3fb644790d71666c11fa3f628cb18dd135cc569f795911
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / disposable_phonebook-0.4.1-py3-none-any.whl
| Download URL | disposable_phonebook-0.4.1-py3-none-any.whl |
|---|---|
| Size | 167.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
90df6c730639bcd729602df375e0e689aa6a096a906a225d7d72ed2979a4f075
|
|
BLAKE2b-256 checksum How to use checksums |
9e11d79faa06bfbdeb1f54690532e954be2c0abb5bb3622a55092c1dc1f80284
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Security for disposable-phonebook 0.4.1
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.