PyFunceble.query package
Subpackages
- PyFunceble.query.dns package
- Submodules
- PyFunceble.query.dns.nameserver module
NameserversNameservers.DEFAULT_NAMESERVERSNameservers.domain_syntax_checkerNameservers.get_ip_from_nameserver()Nameservers.get_nameserver_ports()Nameservers.get_nameservers()Nameservers.guess_all_settings()Nameservers.guess_and_set_nameservers()Nameservers.nameserver_portsNameservers.nameserversNameservers.protocolNameservers.set_nameservers()Nameservers.split_nameserver_from_port()Nameservers.url2netlocNameservers.url_syntax_checker
- PyFunceble.query.dns.query_tool module
DNSQueryToolDNSQueryTool.STD_DELAYDNSQueryTool.STD_FOLLOW_NAMESERVER_ORDERDNSQueryTool.STD_PROTOCOLDNSQueryTool.STD_TIMEOUTDNSQueryTool.STD_TRUST_SERVERDNSQueryTool.SUPPORTED_PROTOCOLDNSQueryTool.delayDNSQueryTool.dns_nameDNSQueryTool.ensure_subject_is_given()DNSQueryTool.follow_nameserver_orderDNSQueryTool.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_recordDNSQueryTool.nameserversDNSQueryTool.preferred_protocolDNSQueryTool.prepare_query()DNSQueryTool.query()DNSQueryTool.query_messageDNSQueryTool.query_record_typeDNSQueryTool.query_timeoutDNSQueryTool.rdata_type2valueDNSQueryTool.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.subjectDNSQueryTool.tcp()DNSQueryTool.tls()DNSQueryTool.trust_serverDNSQueryTool.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
DNSQueryToolRecordDNSQueryToolRecord.dns_nameDNSQueryToolRecord.follow_nameserver_orderDNSQueryToolRecord.nameserverDNSQueryToolRecord.portDNSQueryToolRecord.preferred_protocolDNSQueryToolRecord.query_record_typeDNSQueryToolRecord.query_timeoutDNSQueryToolRecord.responseDNSQueryToolRecord.subjectDNSQueryToolRecord.used_protocol
- PyFunceble.query.record.whois module
- Module contents
- PyFunceble.query.requests package
- Subpackages
- Submodules
- PyFunceble.query.requests.requester module
RequesterRequester.STD_MAX_RETRIESRequester.STD_TIMEOUTRequester.STD_VERIFY_CERTIFICATERequester.delete()Requester.dns_query_toolRequester.exceptionsRequester.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_redirectsRequester.max_retriesRequester.options()Requester.patch()Requester.post()Requester.proxy_patternRequester.put()Requester.recreate_session()Requester.request_factory()Requester.sessionRequester.set_max_redirects()Requester.set_max_retries()Requester.set_proxy_pattern()Requester.set_timeout()Requester.set_verify_certificate()Requester.timeoutRequester.urllib3_exceptionsRequester.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:
objectProvides the interface to interact with the platform.
- Parameters:
token –
The token to use to communicate with the API.
Warning
If
Noneis given, the class constructor will try to load thePYFUNCEBLE_COLLECTION_API_TOKENorPYFUNCEBLE_PLATFORM_API_TOKENenvironment variable.url_base – The base of the URL to communicate with.
preferred_status_origin – The preferred data origin. It can be
frequent,latestorrecommended.
- SUBJECT: str = '109272947111272947992729474627294711527294711627294711527294711127294710427294745272947100272947972729471012729471002729474627294797272947116272947101272947982729474627294710527294711227294797272947472729474727294758272947115272947112272947116272947116272947104'
- ensure_modern_api()[source]
Ensures that the
is_modern_apiattribute 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_originattribute.
- 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_apiattribute.- 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
_timeoutattribute.- Parameters:
value – The value to set.
- set_token(value: str) PlatformQueryTool[source]
Sets the value of the
_tokenattribute.- 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.