semvec/pypi-packages huggingface dataset:
Offuscat 1.0.0
A Python obfuscator. Github official : https://github.com/TryWarzFiles/Offuscat
License: apache-2.0
Keywords: obfuscation,obfuscate,obfuscator,obfuscating,obfuscated,obfuscates,obfuscators

class Offuscat:
    """
    A class for obfuscating and decoding Python code using base64 encoding and character replacement.

    Attributes
    ----------
    code : str
        The Python code to be obfuscated or decoded.
    files : str
        The file to be obfuscated.

    Methods
    -------
    __init__(script: str = None, file: str = None) -> None:
        Initializes the Offuscat class.
    obfuscate() -> str:
        Obfuscates the code using base64 encoding.
    make_ilisible() -> str:
        Replaces each character in the obfuscated code with a string of special characters.
    decode() -> None:
        Decodes the obfuscated code using base64 decoding and executes it.
    obfuscate_file() -> None:
        Obfuscates a Python file using base64 encoding and character replacement.
    """