PyFunceble.query package
Subpackages
- PyFunceble.query.dns package
- Submodules
- PyFunceble.query.dns.nameserver module
Nameservers
Nameservers.DEFAULT_NAMESERVERS
Nameservers.domain_syntax_checker
Nameservers.get_ip_from_nameserver()
Nameservers.get_nameserver_ports()
Nameservers.get_nameservers()
Nameservers.guess_all_settings()
Nameservers.guess_and_set_nameservers()
Nameservers.nameserver_ports
Nameservers.nameservers
Nameservers.protocol
Nameservers.set_nameservers()
Nameservers.split_nameserver_from_port()
Nameservers.url2netloc
Nameservers.url_syntax_checker
- PyFunceble.query.dns.query_tool module
DNSQueryTool
DNSQueryTool.STD_DELAY
DNSQueryTool.STD_FOLLOW_NAMESERVER_ORDER
DNSQueryTool.STD_PROTOCOL
DNSQueryTool.STD_TIMEOUT
DNSQueryTool.STD_TRUST_SERVER
DNSQueryTool.SUPPORTED_PROTOCOL
DNSQueryTool.delay
DNSQueryTool.dns_name
DNSQueryTool.ensure_subject_is_given()
DNSQueryTool.follow_nameserver_order
DNSQueryTool.get_dns_name_from_subject_and_query_type()
DNSQueryTool.get_human_query_record_type()
DNSQueryTool.get_lookup_record()
DNSQueryTool.guess_all_settings()
DNSQueryTool.guess_and_set_delay()
DNSQueryTool.guess_and_set_follow_nameserver_order()
DNSQueryTool.guess_and_set_preferred_protocol()
DNSQueryTool.guess_and_set_timeout()
DNSQueryTool.guess_and_set_trust_server()
DNSQueryTool.https()
DNSQueryTool.ignore_if_query_message_is_missing()
DNSQueryTool.lookup_record
DNSQueryTool.nameservers
DNSQueryTool.preferred_protocol
DNSQueryTool.prepare_query()
DNSQueryTool.query()
DNSQueryTool.query_message
DNSQueryTool.query_record_type
DNSQueryTool.query_timeout
DNSQueryTool.rdata_type2value
DNSQueryTool.set_delay()
DNSQueryTool.set_follow_nameserver_order()
DNSQueryTool.set_nameservers()
DNSQueryTool.set_preferred_protocol()
DNSQueryTool.set_query_record_type()
DNSQueryTool.set_subject()
DNSQueryTool.set_timeout()
DNSQueryTool.set_trust_server()
DNSQueryTool.subject
DNSQueryTool.tcp()
DNSQueryTool.tls()
DNSQueryTool.trust_server
DNSQueryTool.udp()
DNSQueryTool.update_lookup_record()
DNSQueryTool.update_lookup_record_response()
DNSQueryTool.value2rdata_type
- PyFunceble.query.dns.resolver module
- Module contents
- PyFunceble.query.netinfo package
- PyFunceble.query.record package
- Submodules
- PyFunceble.query.record.base module
- PyFunceble.query.record.dns module
DNSQueryToolRecord
DNSQueryToolRecord.dns_name
DNSQueryToolRecord.follow_nameserver_order
DNSQueryToolRecord.nameserver
DNSQueryToolRecord.port
DNSQueryToolRecord.preferred_protocol
DNSQueryToolRecord.query_record_type
DNSQueryToolRecord.query_timeout
DNSQueryToolRecord.response
DNSQueryToolRecord.subject
DNSQueryToolRecord.used_protocol
- PyFunceble.query.record.whois module
- Module contents
- PyFunceble.query.requests package
- Subpackages
- Submodules
- PyFunceble.query.requests.requester module
Requester
Requester.STD_MAX_RETRIES
Requester.STD_TIMEOUT
Requester.STD_VERIFY_CERTIFICATE
Requester.delete()
Requester.dns_query_tool
Requester.exceptions
Requester.get()
Requester.get_session()
Requester.get_timeout()
Requester.get_verify_certificate()
Requester.guess_all_settings()
Requester.guess_and_set_max_retries()
Requester.guess_and_set_proxy_pattern()
Requester.guess_and_set_timeout()
Requester.guess_and_set_verify_certificate()
Requester.head()
Requester.max_redirects
Requester.max_retries
Requester.options()
Requester.patch()
Requester.post()
Requester.proxy_pattern
Requester.put()
Requester.recreate_session()
Requester.request_factory()
Requester.session
Requester.set_max_redirects()
Requester.set_max_retries()
Requester.set_proxy_pattern()
Requester.set_timeout()
Requester.set_verify_certificate()
Requester.timeout
Requester.urllib3_exceptions
Requester.verify_certificate
- Module contents
- PyFunceble.query.whois package
- Subpackages
- PyFunceble.query.whois.converter package
- Submodules
- PyFunceble.query.whois.query_tool module
- Module contents
- Subpackages
Submodules
PyFunceble.query.http_status_code module
PyFunceble.query.platform module
The tool to check the availability or syntax of domain, IP or URL.
██████╗ ██╗ ██╗███████╗██╗ ██╗███╗ ██╗ ██████╗███████╗██████╗ ██╗ ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝██╔══██╗██║ ██╔════╝
██████╔╝ ╚████╔╝ █████╗ ██║ ██║██╔██╗ ██║██║ █████╗ ██████╔╝██║ █████╗
██╔═══╝ ╚██╔╝ ██╔══╝ ██║ ██║██║╚██╗██║██║ ██╔══╝ ██╔══██╗██║ ██╔══╝
██║ ██║ ██║ ╚██████╔╝██║ ╚████║╚██████╗███████╗██████╔╝███████╗███████╗
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝╚══════╝╚═════╝ ╚══════╝╚══════╝
Provides ans interface which let us interact with the platform API.
- Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
- Special thanks:
- Contributors:
- Project link:
- Project documentation:
- Project homepage:
License:
Copyright 2017, 2018, 2019, 2020, 2022, 2023, 2024 Nissar Chababy
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- class PyFunceble.query.platform.PlatformQueryTool(*, token: str | None = None, preferred_status_origin: str | None = None, timeout: float | None = None, checker_priority: List[str] | None = None, checker_exclude: List[str] | None = None)[source]
Bases:
object
Provides the interface to interact with the platform.
- Parameters:
token –
The token to use to communicate with the API.
Warning
If
None
is given, the class constructor will try to load thePYFUNCEBLE_COLLECTION_API_TOKEN
orPYFUNCEBLE_PLATFORM_API_TOKEN
environment variable.url_base – The base of the URL to communicate with.
preferred_status_origin – The preferred data origin. It can be
frequent
,latest
orrecommended
.
- SUBJECT: str = '109272947111272947992729474627294711527294711627294711527294711127294710427294745272947100272947972729471012729471002729474627294797272947116272947101272947982729474627294710527294711227294797272947472729474727294758272947115272947112272947116272947116272947104'
- ensure_modern_api()[source]
Ensures that the
is_modern_api
attribute is set before running the decorated method.
- guess_all_settings() PlatformQueryTool [source]
Try to guess all settings.
- guess_and_set_checker_exclude() PlatformQueryTool [source]
Try to guess the checker to exclude.
- guess_and_set_checker_priority() PlatformQueryTool [source]
Try to guess the checker priority to use.
- guess_and_set_is_modern_api() PlatformQueryTool [source]
Try to guess if we are working with a legacy version.
- guess_and_set_preferred_status_origin() PlatformQueryTool [source]
Try to guess the preferred status origin.
- guess_and_set_timeout() PlatformQueryTool [source]
Try to guess the timeout to use.
- property preferred_status_origin: str | None
Provides the value of the
_preferred_status_origin
attribute.
- set_checker_exclude(value: List[str]) PlatformQueryTool [source]
Sets the checker to exclude.
- Parma value:
The value to set.
- set_checker_priority(value: List[str]) PlatformQueryTool [source]
Sets the checker priority.
- Parma value:
The value to set.
- set_is_modern_api(value: bool) PlatformQueryTool [source]
Sets the value of the
_is_modern_api
attribute.- Parameters:
value – The value to set.
- set_preferred_status_origin(value: str) PlatformQueryTool [source]
Sets the preferred status origin.
- Parma value:
The value to set.
- set_timeout(value: float) PlatformQueryTool [source]
Sets the value of the
_timeout
attribute.- Parameters:
value – The value to set.
- set_token(value: str) PlatformQueryTool [source]
Sets the value of the
_token
attribute.- Parameters:
value – The value to set.
- set_url_base(value: str) PlatformQueryTool [source]
Sets the base of the URL to work with.
- Parma value:
The value to set.
Module contents
The tool to check the availability or syntax of domain, IP or URL.
██████╗ ██╗ ██╗███████╗██╗ ██╗███╗ ██╗ ██████╗███████╗██████╗ ██╗ ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝██╔══██╗██║ ██╔════╝
██████╔╝ ╚████╔╝ █████╗ ██║ ██║██╔██╗ ██║██║ █████╗ ██████╔╝██║ █████╗
██╔═══╝ ╚██╔╝ ██╔══╝ ██║ ██║██║╚██╗██║██║ ██╔══╝ ██╔══██╗██║ ██╔══╝
██║ ██║ ██║ ╚██████╔╝██║ ╚████║╚██████╗███████╗██████╔╝███████╗███████╗
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝╚══════╝╚═════╝ ╚══════╝╚══════╝
Provides everything related queries and communication with target resources and information.
- Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
- Special thanks:
- Contributors:
- Project link:
- Project documentation:
- Project homepage:
License:
Copyright 2017, 2018, 2019, 2020, 2022, 2023, 2024 Nissar Chababy
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.