A module that provides a set of swearwords to listen to when filtering while allowing to toggle on and off different languages.
Project description
polyguard
Take a look
This project now has automated documentation that gets generated, this manually written one will remain for legacy reasons, but you can now take a look at the automatic documentation here: https://hanra-s-work.github.io/polyguard/
Description
Table of Content
Installation
Using pip
pip install -U polyguard
Using python
Under Windows:
py -m pip install -U polyguard
Under Linux/Mac OS:
python3 -m pip install -U polyguard
Usage
Running as a script
You can run polyguard directly as a script to start an interactive terminal session:
python -m polyguard
This will launch the interactive PolyGuard interface where you can execute commands.
Importing
from polyguard import PolyGuard
Initialising
The generic class is: PolyGuard(success: int = 0, error: int = 1, log: bool = True, debug: bool = False)
For your convenience, you can initialize the class with default parameters:
from polyguard import PolyGuard
ERROR = 1
SUCCESS = 0
LOG=True
DEBUG=False
polyguard_instance = PolyGuard(
SUCCESS,
ERROR,
COLOUR_LIB,
LOG,
DEBUG
)
polyguard_instance()
Documentation
Comprehensive Doxygen-generated documentation is available online at https://hanra-s-work.github.io/polyguard/. This includes detailed API references, class documentation, and usage examples.
To generate the documentation locally, navigate to the doxygen_generation directory and run the provided scripts.
Author
This module was written by (c) Henry Letellier Attributions are appreciated.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file polyguard-1.0.2.tar.gz.
File metadata
- Download URL: polyguard-1.0.2.tar.gz
- Upload date:
- Size: 636.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3aecc4100e9ff89e7c197890ed3db8127f88b3b2b731d4870d266b3722780aa
|
|
| MD5 |
ad1e9ae862af4f01143de9f56fde335c
|
|
| BLAKE2b-256 |
c44e7c7ef81808a230695f1635ce5870a84b6df3187f92a0705cbc31b3bfe80c
|
File details
Details for the file polyguard-1.0.2-py3-none-any.whl.
File metadata
- Download URL: polyguard-1.0.2-py3-none-any.whl
- Upload date:
- Size: 633.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba543f109fe773946a53e162e826949b01db92c5c71f92bb92b4eb773324ef6b
|
|
| MD5 |
f9c7026fa825fe5a9c6eaf63d166289c
|
|
| BLAKE2b-256 |
97c5eb783e02cd0b6c31ae66782f32f39f94b88d915a45db75b3a2348edeecd1
|