This release is a pre-release and may not be stable for production use.
че это
проверка ip по базам dns-based blacklist.
как использовать:
сначала установить: pip install prlsp_dnsbl
пример использования:
# асинхронный вариант:
from prlsp_dnsbl import dnsbl_check_ip
async def your_async_func():
result = await dnsbl_check_ip('45.144.48.63')
print(result)
функция dnsbl_check_ip() принимает ip адрес и проверяет его в базах dnsbl (dns-based blacklist), можно выбрать базовый или полный список проверок через аргумент dnsbl (смысла в полном практически нет, используйте base), параметр non_system_dns позволяет выбрать несистемные dns серверы, а max_concurrent_requests ограничить количество одновременных запросов:
-
ip: ip адрес, который необходимо проверить. -
dnsbl: тип списка dnsbl для проверки. принимает значения'base'или'all'. по умолчанию'base'. -
non_system_dns: еслиTrue, используются предопределенные dns серверы (1.1.1.1, 77.88.8.8, 8.8.8.8). по умолчаниюFalse. -
max_concurrent_requests: максимальное количество одновременных запросов. еслиNone, ограничение определяется количеством доменов в списке. по умолчаниюNone. -
timeout: максимальное время ожидания ответа от dns сервера в секундах. по умолчанию 30.0.
играйся 😊
Metadata
Release files for prlsp-dnsbl 0.0.1a0
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 |
|---|---|---|---|---|
| prlsp_dnsbl-0.0.1a0.tar.gz | 8.7 kB | Without provenance | Details for prlsp_dnsbl-0.0.1a0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| prlsp_dnsbl-0.0.1a0-py3-none-any.whl | Python 3 | none | any | Details for prlsp_dnsbl-0.0.1a0-py3-none-any.whl |
Total release size: 18.1 kB
Release files / prlsp_dnsbl-0.0.1a0.tar.gz
| Download URL | prlsp_dnsbl-0.0.1a0.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5308f292a5695a2b88d3876508e41efbab6f89aded50ccdab4a08e949d0af04f
|
|
BLAKE2b-256 checksum How to use checksums |
fcc36f19ffd424696c6a8733dd995664bf7c0f76bfc7d915e45b5fd28281b04d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.2
|
Release files / prlsp_dnsbl-0.0.1a0-py3-none-any.whl
| Download URL | prlsp_dnsbl-0.0.1a0-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7ee0f93ddf85ebdbe3462f17b3f8d466d97f6060ac90d654836f48f1b649925f
|
|
BLAKE2b-256 checksum How to use checksums |
0416332046e6f577212750bf882b0cd7d74ff2a463ce780d2662d47136a89e49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.2
|
Security for prlsp-dnsbl 0.0.1a0
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.