PyFunceble.cli.processes package
Subpackages
- PyFunceble.cli.processes.workers package
- Submodules
- PyFunceble.cli.processes.workers.base module
WorkerBase
WorkerBase.BREAKOFF
WorkerBase.MINING_WAIT_TIME
WorkerBase.STD_NAME
WorkerBase.accept_waiting_delay
WorkerBase.add_to_input_queue()
WorkerBase.add_to_output_queue()
WorkerBase.concurrent_worker_names
WorkerBase.continuous_integration
WorkerBase.db_session
WorkerBase.exception
WorkerBase.exit_it
WorkerBase.global_exit_event
WorkerBase.input_queue
WorkerBase.output_queue
WorkerBase.run()
WorkerBase.send_stop_message
WorkerBase.share_waiting_message()
WorkerBase.target()
WorkerBase.terminate()
- PyFunceble.cli.processes.workers.chancy_producer module
- PyFunceble.cli.processes.workers.chancy_tester module
- PyFunceble.cli.processes.workers.dir_files_sorter module
- PyFunceble.cli.processes.workers.file_sorter module
- PyFunceble.cli.processes.workers.file_sorter_base module
- PyFunceble.cli.processes.workers.migrator module
- PyFunceble.cli.processes.workers.miner module
- PyFunceble.cli.processes.workers.producer module
ProducerWorker
ProducerWorker.INACTIVE_STATUSES
ProducerWorker.STD_NAME
ProducerWorker.continue_dataset
ProducerWorker.counter
ProducerWorker.file_printer
ProducerWorker.header_already_printed
ProducerWorker.inactive_dataset
ProducerWorker.platform_query_tool
ProducerWorker.registrar_counter
ProducerWorker.run_continue_backup()
ProducerWorker.run_counter()
ProducerWorker.run_ignored_file_printer()
ProducerWorker.run_inactive_backup()
ProducerWorker.run_status_file_printer()
ProducerWorker.run_stdout_printer()
ProducerWorker.run_whois_backup()
ProducerWorker.should_we_block_status_file_printer()
ProducerWorker.should_we_ignore()
ProducerWorker.should_we_print_status_to_stdout()
ProducerWorker.status_file_generator
ProducerWorker.stdout_printer
ProducerWorker.target()
ProducerWorker.whois_dataset
- PyFunceble.cli.processes.workers.tester module
- Module contents
Submodules
PyFunceble.cli.processes.base module
The tool to check the availability or syntax of domain, IP or URL.
██████╗ ██╗ ██╗███████╗██╗ ██╗███╗ ██╗ ██████╗███████╗██████╗ ██╗ ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝██╔══██╗██║ ██╔════╝
██████╔╝ ╚████╔╝ █████╗ ██║ ██║██╔██╗ ██║██║ █████╗ ██████╔╝██║ █████╗
██╔═══╝ ╚██╔╝ ██╔══╝ ██║ ██║██║╚██╗██║██║ ██╔══╝ ██╔══██╗██║ ██╔══╝
██║ ██║ ██║ ╚██████╔╝██║ ╚████║╚██████╗███████╗██████╔╝███████╗███████╗
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝╚══════╝╚═════╝ ╚══════╝╚══════╝
Provides the base of all multiprocessing jobs.
- 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.cli.processes.base.ProcessesManagerBase(manager: Manager | None = None, max_worker: int | None = None, *, continuous_integration: ContinuousIntegrationBase | None = None, input_queue: Queue | None = None, output_queue: Queue | None = None, daemon: bool = False, generate_input_queue: bool = True, generate_output_queue: bool = True, output_queue_num: int = 1, output_workers_count: int | None = None)[source]
Bases:
object
Provides the base of all classes.
- CPU_COUNT = 32
- WORKER_OBJ: WorkerBase | None = None
- add_to_all_input_queues(data: Any, *, worker_name: str | None = None, include_destination: bool = False) ProcessesManagerBase [source]
Adds the given data to the input queues.
- Parameters:
data – The data to add into the queue.
include_destination – Authorizes the addition of the destination into the message.
- add_to_all_output_queues(data: Any, *, worker_name: str | None = None) ProcessesManagerBase [source]
Adds the given data to the output queues.
- Parameters:
data – The data to add into the queue.
worker_name – The name of the worker that is sending the message.
- add_to_input_queue(data: Any, *, worker_name: str | None = None) ProcessesManagerBase [source]
Adds the given data to the current queue.
- Parameters:
data – The data to add into the queue.
- add_to_output_queue(data: Any, *, worker_name: str | None = None) ProcessesManagerBase [source]
Adds the given data to the output queue.
- Parameters:
data – The data to add into the queue.
- continuous_integration: ContinuousIntegrationBase | None = None
- create() ProcessesManagerBase [source]
Creates the defined amount of worker.
- create_workers_if_missing()[source]
Creates the workers if they are missing before launching the decorated method.
- ensure_worker_obj_is_given()[source]
Ensures that the worker is properly declared before launching the decorated method.
- ignore_if_running()[source]
Ignore the launching of the decorated method if the workers are running.
- input_datasets: List | None = []
Use this variable if you want to differ the addition in the input queue.
- output_datasets: List | None = []
Use this variable if you want to differ the addition in the output queue.
- output_queue: List[Queue] | None = None
The output queue. This is where the result of a worker will be put.
- send_stop_signal(*, worker_name: str | None = None) ProcessesManagerBase [source]
Sends a stop message to the input queue.
- set_max_worker(value: int) ProcessesManagerBase [source]
Sets the number of maximum worker we are authorized to generate.
- Parameters:
value – The value to set.
- start() ProcessesManagerBase [source]
Starts all - previously - created workers.
- terminate() ProcessesManagerBase [source]
Terminates all workers and send a stop message to the declared output queues - which are implicitly dependend of this process “pool”.
- wait() ProcessesManagerBase [source]
Wait until all workers are done.
PyFunceble.cli.processes.chancy_producer module
The tool to check the availability or syntax of domain, IP or URL.
██████╗ ██╗ ██╗███████╗██╗ ██╗███╗ ██╗ ██████╗███████╗██████╗ ██╗ ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝██╔══██╗██║ ██╔════╝
██████╔╝ ╚████╔╝ █████╗ ██║ ██║██╔██╗ ██║██║ █████╗ ██████╔╝██║ █████╗
██╔═══╝ ╚██╔╝ ██╔══╝ ██║ ██║██║╚██╗██║██║ ██╔══╝ ██╔══██╗██║ ██╔══╝
██║ ██║ ██║ ╚██████╔╝██║ ╚████║╚██████╗███████╗██████╔╝███████╗███████╗
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝╚══════╝╚═════╝ ╚══════╝╚══════╝
Provides the chancy producer manager.
- 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.cli.processes.chancy_producer.ChancyProducerProcessesManager(manager: Manager | None = None, max_worker: int | None = None, *, continuous_integration: ContinuousIntegrationBase | None = None, input_queue: Queue | None = None, output_queue: Queue | None = None, daemon: bool = False, generate_input_queue: bool = True, generate_output_queue: bool = True, output_queue_num: int = 1, output_workers_count: int | None = None)[source]
Bases:
ProcessesManagerBase
Provides the chancy producer manager.
Warning
The chancy tester shouldn’t be used without any recommendation from a developer or someone in charge of the source code.
It can harm and produce output overflow. You should rely on this ONLY if you believe in your own luck.
- WORKER_OBJ
alias of
ChancyProducerWorker
PyFunceble.cli.processes.chancy_tester module
The tool to check the availability or syntax of domain, IP or URL.
██████╗ ██╗ ██╗███████╗██╗ ██╗███╗ ██╗ ██████╗███████╗██████╗ ██╗ ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝██╔══██╗██║ ██╔════╝
██████╔╝ ╚████╔╝ █████╗ ██║ ██║██╔██╗ ██║██║ █████╗ ██████╔╝██║ █████╗
██╔═══╝ ╚██╔╝ ██╔══╝ ██║ ██║██║╚██╗██║██║ ██╔══╝ ██╔══██╗██║ ██╔══╝
██║ ██║ ██║ ╚██████╔╝██║ ╚████║╚██████╗███████╗██████╔╝███████╗███████╗
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝╚══════╝╚═════╝ ╚══════╝╚══════╝
Provides the chancy tester manager.
- 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.cli.processes.chancy_tester.ChancyTesterProcessesManager(manager: Manager | None = None, max_worker: int | None = None, *, continuous_integration: ContinuousIntegrationBase | None = None, input_queue: Queue | None = None, output_queue: Queue | None = None, daemon: bool = False, generate_input_queue: bool = True, generate_output_queue: bool = True, output_queue_num: int = 1, output_workers_count: int | None = None)[source]
Bases:
ProcessesManagerBase
Provides the chancy tester manager.
Warning
The chancy tester shouldn’t be used without any recommendation from a developer or someone in charge of the source code.
It can harm and produce output overflow. You should rely on this ONLY if you believe in your own luck.
- WORKER_OBJ
alias of
ChancyTesterWorker
PyFunceble.cli.processes.dir_files_sorter module
The tool to check the availability or syntax of domain, IP or URL.
██████╗ ██╗ ██╗███████╗██╗ ██╗███╗ ██╗ ██████╗███████╗██████╗ ██╗ ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝██╔══██╗██║ ██╔════╝
██████╔╝ ╚████╔╝ █████╗ ██║ ██║██╔██╗ ██║██║ █████╗ ██████╔╝██║ █████╗
██╔═══╝ ╚██╔╝ ██╔══╝ ██║ ██║██║╚██╗██║██║ ██╔══╝ ██╔══██╗██║ ██╔══╝
██║ ██║ ██║ ╚██████╔╝██║ ╚████║╚██████╗███████╗██████╔╝███████╗███████╗
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝╚══════╝╚═════╝ ╚══════╝╚══════╝
Provides the directory files sorter manager.
- 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.cli.processes.dir_files_sorter.DirFileSorterProcessesManager(manager: Manager | None = None, max_worker: int | None = None, *, continuous_integration: ContinuousIntegrationBase | None = None, input_queue: Queue | None = None, output_queue: Queue | None = None, daemon: bool = False, generate_input_queue: bool = True, generate_output_queue: bool = True, output_queue_num: int = 1, output_workers_count: int | None = None)[source]
Bases:
ProcessesManagerBase
Provides the directory files sorter manager.
- WORKER_OBJ
alias of
DireFileSorterWorker
PyFunceble.cli.processes.file_sorter module
The tool to check the availability or syntax of domain, IP or URL.
██████╗ ██╗ ██╗███████╗██╗ ██╗███╗ ██╗ ██████╗███████╗██████╗ ██╗ ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝██╔══██╗██║ ██╔════╝
██████╔╝ ╚████╔╝ █████╗ ██║ ██║██╔██╗ ██║██║ █████╗ ██████╔╝██║ █████╗
██╔═══╝ ╚██╔╝ ██╔══╝ ██║ ██║██║╚██╗██║██║ ██╔══╝ ██╔══██╗██║ ██╔══╝
██║ ██║ ██║ ╚██████╔╝██║ ╚████║╚██████╗███████╗██████╔╝███████╗███████╗
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝╚══════╝╚═════╝ ╚══════╝╚══════╝
Provides the file sorter manager.
- 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.cli.processes.file_sorter.FileSorterProcessesManager(manager: Manager | None = None, max_worker: int | None = None, *, continuous_integration: ContinuousIntegrationBase | None = None, input_queue: Queue | None = None, output_queue: Queue | None = None, daemon: bool = False, generate_input_queue: bool = True, generate_output_queue: bool = True, output_queue_num: int = 1, output_workers_count: int | None = None)[source]
Bases:
ProcessesManagerBase
Provides the file sorter manager.
- WORKER_OBJ
alias of
FileSorterWorker
PyFunceble.cli.processes.migrator module
The tool to check the availability or syntax of domain, IP or URL.
██████╗ ██╗ ██╗███████╗██╗ ██╗███╗ ██╗ ██████╗███████╗██████╗ ██╗ ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝██╔══██╗██║ ██╔════╝
██████╔╝ ╚████╔╝ █████╗ ██║ ██║██╔██╗ ██║██║ █████╗ ██████╔╝██║ █████╗
██╔═══╝ ╚██╔╝ ██╔══╝ ██║ ██║██║╚██╗██║██║ ██╔══╝ ██╔══██╗██║ ██╔══╝
██║ ██║ ██║ ╚██████╔╝██║ ╚████║╚██████╗███████╗██████╔╝███████╗███████╗
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝╚══════╝╚═════╝ ╚══════╝╚══════╝
Provides the migrator manager.
- 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.cli.processes.migrator.MigratorProcessesManager(manager: Manager | None = None, max_worker: int | None = None, *, continuous_integration: ContinuousIntegrationBase | None = None, input_queue: Queue | None = None, output_queue: Queue | None = None, daemon: bool = False, generate_input_queue: bool = True, generate_output_queue: bool = True, output_queue_num: int = 1, output_workers_count: int | None = None)[source]
Bases:
ProcessesManagerBase
Provides the migrator manager.
- WORKER_OBJ
alias of
MigratorWorker
- create() ProcessesManagerBase [source]
Creates the defined amount of worker.
- static csv_file_add_registrar_column_target(continuous_integration: ContinuousIntegrationBase) None [source]
Provides the target for the addition of the registrar column.
- static csv_file_delete_source_column_target(continuous_integration: ContinuousIntegrationBase) None [source]
Provides the target for the deletion of the source column.
- static hashes_file_cleanup_target(continuous_integration: ContinuousIntegrationBase) None [source]
Provides the target for the cleanup of the hashes file.
- static json2csv_inactive_target(continuous_integration: ContinuousIntegrationBase) None [source]
Provides the target for the inactive database migrator.
- static json2csv_whois_target(continuous_integration: ContinuousIntegrationBase) None [source]
Provides the target for the whois database migrator.
- static mariadb_file_and_status_target(continuous_integration: ContinuousIntegrationBase, *, db_session: Session | None = None) None [source]
Provides the target for the migration of the
pyfunceble_file
andpyfunceble_status
tables.
- static mariadb_whois_record_idna_subject_target(continuous_integration: ContinuousIntegrationBase, *, db_session: Session | None = None) None [source]
Provides the target for the whois addition of the missing idna_subject column.
- static mining_file_cleanup_target(continuous_integration: ContinuousIntegrationBase) None [source]
Provides the target for the cleanup of the mining file.
- static production_config_file_cleanup_target(continuous_integration: ContinuousIntegrationBase) None [source]
Provides the target for the cleanup of the production configuration file.
- start() ProcessesManagerBase [source]
Starts all - previously - created workers.
PyFunceble.cli.processes.miner module
The tool to check the availability or syntax of domain, IP or URL.
██████╗ ██╗ ██╗███████╗██╗ ██╗███╗ ██╗ ██████╗███████╗██████╗ ██╗ ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝██╔══██╗██║ ██╔════╝
██████╔╝ ╚████╔╝ █████╗ ██║ ██║██╔██╗ ██║██║ █████╗ ██████╔╝██║ █████╗
██╔═══╝ ╚██╔╝ ██╔══╝ ██║ ██║██║╚██╗██║██║ ██╔══╝ ██╔══██╗██║ ██╔══╝
██║ ██║ ██║ ╚██████╔╝██║ ╚████║╚██████╗███████╗██████╔╝███████╗███████╗
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝╚══════╝╚═════╝ ╚══════╝╚══════╝
Provides the miner manager.
- 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.cli.processes.miner.MinerProcessesManager(manager: Manager | None = None, max_worker: int | None = None, *, continuous_integration: ContinuousIntegrationBase | None = None, input_queue: Queue | None = None, output_queue: Queue | None = None, daemon: bool = False, generate_input_queue: bool = True, generate_output_queue: bool = True, output_queue_num: int = 1, output_workers_count: int | None = None)[source]
Bases:
ProcessesManagerBase
Provides the miner manager.
- WORKER_OBJ
alias of
MinerWorker
PyFunceble.cli.processes.producer module
The tool to check the availability or syntax of domain, IP or URL.
██████╗ ██╗ ██╗███████╗██╗ ██╗███╗ ██╗ ██████╗███████╗██████╗ ██╗ ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝██╔══██╗██║ ██╔════╝
██████╔╝ ╚████╔╝ █████╗ ██║ ██║██╔██╗ ██║██║ █████╗ ██████╔╝██║ █████╗
██╔═══╝ ╚██╔╝ ██╔══╝ ██║ ██║██║╚██╗██║██║ ██╔══╝ ██╔══██╗██║ ██╔══╝
██║ ██║ ██║ ╚██████╔╝██║ ╚████║╚██████╗███████╗██████╔╝███████╗███████╗
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝╚══════╝╚═════╝ ╚══════╝╚══════╝
Provides the producer manager.
- 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.cli.processes.producer.ProducerProcessesManager(manager: Manager | None = None, max_worker: int | None = None, *, continuous_integration: ContinuousIntegrationBase | None = None, input_queue: Queue | None = None, output_queue: Queue | None = None, daemon: bool = False, generate_input_queue: bool = True, generate_output_queue: bool = True, output_queue_num: int = 1, output_workers_count: int | None = None)[source]
Bases:
ProcessesManagerBase
Provides the producer manager.
- WORKER_OBJ
alias of
ProducerWorker
PyFunceble.cli.processes.tester module
The tool to check the availability or syntax of domain, IP or URL.
██████╗ ██╗ ██╗███████╗██╗ ██╗███╗ ██╗ ██████╗███████╗██████╗ ██╗ ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝██╔══██╗██║ ██╔════╝
██████╔╝ ╚████╔╝ █████╗ ██║ ██║██╔██╗ ██║██║ █████╗ ██████╔╝██║ █████╗
██╔═══╝ ╚██╔╝ ██╔══╝ ██║ ██║██║╚██╗██║██║ ██╔══╝ ██╔══██╗██║ ██╔══╝
██║ ██║ ██║ ╚██████╔╝██║ ╚████║╚██████╗███████╗██████╔╝███████╗███████╗
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝╚══════╝╚═════╝ ╚══════╝╚══════╝
Provides the tester manager.
- 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.cli.processes.tester.TesterProcessesManager(manager: Manager | None = None, max_worker: int | None = None, *, continuous_integration: ContinuousIntegrationBase | None = None, input_queue: Queue | None = None, output_queue: Queue | None = None, daemon: bool = False, generate_input_queue: bool = True, generate_output_queue: bool = True, output_queue_num: int = 1, output_workers_count: int | None = None)[source]
Bases:
ProcessesManagerBase
Provides the tester manager.
- WORKER_OBJ
alias of
TesterWorker
Module contents
The tool to check the availability or syntax of domain, IP or URL.
██████╗ ██╗ ██╗███████╗██╗ ██╗███╗ ██╗ ██████╗███████╗██████╗ ██╗ ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝██╔══██╗██║ ██╔════╝
██████╔╝ ╚████╔╝ █████╗ ██║ ██║██╔██╗ ██║██║ █████╗ ██████╔╝██║ █████╗
██╔═══╝ ╚██╔╝ ██╔══╝ ██║ ██║██║╚██╗██║██║ ██╔══╝ ██╔══██╗██║ ██╔══╝
██║ ██║ ██║ ╚██████╔╝██║ ╚████║╚██████╗███████╗██████╔╝███████╗███████╗
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝╚══════╝╚═════╝ ╚══════╝╚══════╝
Provides all our the logic behind our multiprocessing mechanism.
Note
Our processes submodules or class does not extends the multiprocessing module. They are just there to clarify our workflow for future contributors :-)
- 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.