PyFunceble.checker.availability package

Subpackages

Submodules

PyFunceble.checker.availability.base module

PyFunceble.checker.availability.domain module

PyFunceble.checker.availability.domain_and_ip module

PyFunceble.checker.availability.ip module

PyFunceble.checker.availability.params module

The tool to check the availability or syntax of domain, IP or URL.

██████╗ ██╗   ██╗███████╗██╗   ██╗███╗   ██╗ ██████╗███████╗██████╗ ██╗     ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║   ██║████╗  ██║██╔════╝██╔════╝██╔══██╗██║     ██╔════╝
██████╔╝ ╚████╔╝ █████╗  ██║   ██║██╔██╗ ██║██║     █████╗  ██████╔╝██║     █████╗
██╔═══╝   ╚██╔╝  ██╔══╝  ██║   ██║██║╚██╗██║██║     ██╔══╝  ██╔══██╗██║     ██╔══╝
██║        ██║   ██║     ╚██████╔╝██║ ╚████║╚██████╗███████╗██████╔╝███████╗███████╗
╚═╝        ╚═╝   ╚═╝      ╚═════╝ ╚═╝  ╚═══╝ ╚═════╝╚══════╝╚═════╝ ╚══════╝╚══════╝

Provides our parameter class. The parameter class is the class that will be provided to end-user. It is only a placeholder and should only be taken as informative.

Author:

Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom

Special thanks:

https://pyfunceble.github.io/#/special-thanks

Contributors:

https://pyfunceble.github.io/#/contributors

Project link:

https://github.com/funilrys/PyFunceble

Project documentation:

https://pyfunceble.readthedocs.io/en/dev/

Project homepage:

https://pyfunceble.github.io/

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.checker.availability.params.AvailabilityCheckerParams(do_syntax_check_first: bool | None = None, use_platform: bool | None = None, use_extra_rules: bool | None = None, use_whois_lookup: bool | None = None, use_dns_lookup: bool | None = None, use_netinfo_lookup: bool | None = None, use_http_code_lookup: bool | None = None, use_reputation_lookup: bool | None = None, use_whois_db: bool | None = None)[source]

Bases: CheckerParamsBase

Provides the description of an availability checker paramaters.

do_syntax_check_first: bool | None = None
use_dns_lookup: bool | None = None
use_extra_rules: bool | None = None
use_http_code_lookup: bool | None = None
use_netinfo_lookup: bool | None = None
use_reputation_lookup: bool | None = None
use_whois_db: bool | None = None
use_whois_lookup: bool | None = None

PyFunceble.checker.availability.status module

The tool to check the availability or syntax of domain, IP or URL.

██████╗ ██╗   ██╗███████╗██╗   ██╗███╗   ██╗ ██████╗███████╗██████╗ ██╗     ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║   ██║████╗  ██║██╔════╝██╔════╝██╔══██╗██║     ██╔════╝
██████╔╝ ╚████╔╝ █████╗  ██║   ██║██╔██╗ ██║██║     █████╗  ██████╔╝██║     █████╗
██╔═══╝   ╚██╔╝  ██╔══╝  ██║   ██║██║╚██╗██║██║     ██╔══╝  ██╔══██╗██║     ██╔══╝
██║        ██║   ██║     ╚██████╔╝██║ ╚████║╚██████╗███████╗██████╔╝███████╗███████╗
╚═╝        ╚═╝   ╚═╝      ╚═════╝ ╚═╝  ╚═══╝ ╚═════╝╚══════╝╚═════╝ ╚══════╝╚══════╝

Provides our status class. The status class is the class that will be provided to end-user.

Author:

Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom

Special thanks:

https://pyfunceble.github.io/#/special-thanks

Contributors:

https://pyfunceble.github.io/#/contributors

Project link:

https://github.com/funilrys/PyFunceble

Project documentation:

https://pyfunceble.readthedocs.io/en/dev/

Project homepage:

https://pyfunceble.github.io/

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.checker.availability.status.AvailabilityCheckerStatus(subject_kind: str | None = None, subject: str | None = None, idna_subject: str | None = None, netloc: str | None = None, status: str | None = None, status_source: str | None = None, tested_at: datetime | None = None, params: CheckerParamsBase | None = None, checker_type: str | None = 'AVAILABILITY', dns_lookup_record: DNSQueryToolRecord | None = None, whois_lookup_record: WhoisQueryToolRecord | None = None, domain_syntax: bool | None = None, second_level_domain_syntax: bool | None = None, subdomain_syntax: bool | None = None, ip_syntax: bool | None = None, ipv4_syntax: bool | None = None, ipv6_syntax: bool | None = None, ipv4_range_syntax: bool | None = None, ipv6_range_syntax: bool | None = None, url_syntax: bool | None = None, expiration_date: str | None = None, registrar: str | None = None, whois_record: str | None = None, status_before_extra_rules: str | None = None, status_after_extra_rules: str | None = None, status_source_before_extra_rules: str | None = None, status_source_after_extra_rules: str | None = None, dns_lookup: Dict[str, List[str] | None] | None = None, netinfo: Dict[str, List[str] | None] | None = None, http_status_code: int | None = None)[source]

Bases: CheckerStatusBase

Provides the description of an availablity status.

checker_type: str | None = 'AVAILABILITY'
dns_lookup: Dict[str, List[str] | None] | None = None
dns_lookup_record: DNSQueryToolRecord | None = None
domain_syntax: bool | None = None
expiration_date: str | None = None
http_status_code: int | None = None
ip_syntax: bool | None = None
ipv4_range_syntax: bool | None = None
ipv4_syntax: bool | None = None
ipv6_range_syntax: bool | None = None
ipv6_syntax: bool | None = None
is_active() bool[source]

Checks if the current status is an ACTIVE one.

is_available() bool[source]

Checks if the current status represent an available subject.

is_inactive() bool[source]

Checks if the current status is an INACTIVE one.

is_invalid() bool[source]

Checks if the current status is an INVALID one.

is_special() bool[source]

Checks if the current status is a SPECIAL one. Meaning that we applied some of our own rules.

netinfo: Dict[str, List[str] | None] | None = None
registrar: str | None = None
second_level_domain_syntax: bool | None = None
status_after_extra_rules: str | None = None
status_before_extra_rules: str | None = None
status_source_after_extra_rules: str | None = None
status_source_before_extra_rules: str | None = None
subdomain_syntax: bool | None = None
url_syntax: bool | None = None
whois_lookup_record: WhoisQueryToolRecord | None = None
whois_record: str | None = None

PyFunceble.checker.availability.url module

Module contents

The tool to check the availability or syntax of domain, IP or URL.

██████╗ ██╗   ██╗███████╗██╗   ██╗███╗   ██╗ ██████╗███████╗██████╗ ██╗     ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║   ██║████╗  ██║██╔════╝██╔════╝██╔══██╗██║     ██╔════╝
██████╔╝ ╚████╔╝ █████╗  ██║   ██║██╔██╗ ██║██║     █████╗  ██████╔╝██║     █████╗
██╔═══╝   ╚██╔╝  ██╔══╝  ██║   ██║██║╚██╗██║██║     ██╔══╝  ██╔══██╗██║     ██╔══╝
██║        ██║   ██║     ╚██████╔╝██║ ╚████║╚██████╗███████╗██████╔╝███████╗███████╗
╚═╝        ╚═╝   ╚═╝      ╚═════╝ ╚═╝  ╚═══╝ ╚═════╝╚══════╝╚═════╝ ╚══════╝╚══════╝

Provides everything related to the core of the availablity checker.

Author:

Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom

Special thanks:

https://pyfunceble.github.io/#/special-thanks

Contributors:

https://pyfunceble.github.io/#/contributors

Project link:

https://github.com/funilrys/PyFunceble

Project documentation:

https://pyfunceble.readthedocs.io/en/dev/

Project homepage:

https://pyfunceble.github.io/

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.