PyFunceble.database package
Subpackages
- PyFunceble.database.credential package
- Submodules
- PyFunceble.database.credential.base module
CredentialBase
CredentialBase.STD_CHARSET
CredentialBase.STD_HOST
CredentialBase.STD_NAME
CredentialBase.STD_PASSWORD
CredentialBase.STD_PORT
CredentialBase.STD_USERNAME
CredentialBase.VAR2ENV
CredentialBase.charset
CredentialBase.dotenv_locations
CredentialBase.ensure_protocol_is_given()
CredentialBase.get_dot_env_file()
CredentialBase.get_uri()
CredentialBase.host
CredentialBase.name
CredentialBase.password
CredentialBase.port
CredentialBase.protocol
CredentialBase.set_charset()
CredentialBase.set_host()
CredentialBase.set_name()
CredentialBase.set_password()
CredentialBase.set_port()
CredentialBase.set_username()
CredentialBase.username
- PyFunceble.database.credential.mariadb module
- PyFunceble.database.credential.mysql module
- PyFunceble.database.credential.postgresql module
- Module contents
- PyFunceble.database.schemas package
- Submodules
- PyFunceble.database.schemas.autocontinue module
- PyFunceble.database.schemas.inactive module
- PyFunceble.database.schemas.status module
Status
Status.created_at
Status.domain_syntax_validation
Status.expiration_date
Status.file_id
Status.http_status_code
Status.id
Status.ipv4_range_syntax_validation
Status.ipv4_syntax_validation
Status.ipv6_range_syntax_validation
Status.ipv6_syntax_validation
Status.is_complement
Status.modified_at
Status.status
Status.status_source
Status.subdomain_syntax_validation
Status.test_completed
Status.tested
Status.tested_at
Status.url_syntax_validation
- PyFunceble.database.schemas.whois_record module
- Module contents
- PyFunceble.database.sqlalchemy package
Submodules
PyFunceble.database.session module
The tool to check the availability or syntax of domain, IP or URL.
██████╗ ██╗ ██╗███████╗██╗ ██╗███╗ ██╗ ██████╗███████╗██████╗ ██╗ ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝██╔══██╗██║ ██╔════╝
██████╔╝ ╚████╔╝ █████╗ ██║ ██║██╔██╗ ██║██║ █████╗ ██████╔╝██║ █████╗
██╔═══╝ ╚██╔╝ ██╔══╝ ██║ ██║██║╚██╗██║██║ ██╔══╝ ██╔══██╗██║ ██╔══╝
██║ ██║ ██║ ╚██████╔╝██║ ╚████║╚██████╗███████╗██████╔╝███████╗███████╗
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝╚══════╝╚═════╝ ╚══════╝╚══════╝
Provides our database session interface.
- 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.database.session.DBSession[source]
Bases:
object
Provides our very own database session interface and handler.
- credential: CredentialBase | None = None
- current_session: Session = None
- ensure_credential_is_given()[source]
Ensures that a credential object is set before launching the decorated method.
- Raises:
TypeError – When
credential
is not correct.
- execute_if_authorized()[source]
Executes the decorated method only if we are authorized to process. Otherwise, apply the given
default
.
Module contents
The tool to check the availability or syntax of domain, IP or URL.
██████╗ ██╗ ██╗███████╗██╗ ██╗███╗ ██╗ ██████╗███████╗██████╗ ██╗ ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝██╔══██╗██║ ██╔════╝
██████╔╝ ╚████╔╝ █████╗ ██║ ██║██╔██╗ ██║██║ █████╗ ██████╔╝██║ █████╗
██╔═══╝ ╚██╔╝ ██╔══╝ ██║ ██║██║╚██╗██║██║ ██╔══╝ ██╔══██╗██║ ██╔══╝
██║ ██║ ██║ ╚██████╔╝██║ ╚████║╚██████╗███████╗██████╔╝███████╗███████╗
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝╚══════╝╚═════╝ ╚══════╝╚══════╝
Provides everything related to the structure and connection with external databases.
- 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.