find_domains Documentation
This library is for searching domain names in raw text data. First it searches domain-like strings
using simple regexp. Then it uses list of top level domain names to remove names which could be a
domain name i.e. last segment is not top level domain name. TLD list is provided by
tldextract library, technicall that means that
when you will use find_domains in first time it will download top level domains list (this is
tldextract behaviour).
Installation
pip install -U find_domains
Usage
from find_domains import find_domains
data = """
foo bar google.com foo.bar.com domain.info
превед-медвед.рф
"""
for domain in find_domains(data):
print(domain)
Metadata
Release files for find-domains 0.0.6
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 |
|---|---|---|---|---|
| find_domains-0.0.6.tar.gz | 3.2 kB | Without provenance | Details for find_domains-0.0.6.tar.gz |
Release files / find_domains-0.0.6.tar.gz
| Download URL | find_domains-0.0.6.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0ef794a8e287bae1ca4985de2f3508941712cd7cbf70eecf734b9c66187e187
|
|
BLAKE2b-256 checksum How to use checksums |
648de42194f967839e0bc44771945c1d0ccbd788f1fb3dce5b49d418d2c20993
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.3
|
Security for find-domains 0.0.6
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.