Skip to main content

Obfuscate your Python script by converting it to Kannada language

Project description

Kannadafy

Python Version License

Kannadafy is a Python obfuscation tool that transforms Python scripts into obfuscated code using Kannada letters. It makes it difficult for others to reverse-engineer your code by encoding the script in Kannada script. This tool is ideal for Python developers who want to add an extra layer of obfuscation to their code while also embracing the Kannada language.

Features

  • Obfuscates Python code using Kannada characters.
  • Retains the original functionality of the script.
  • Simple command-line interface (CLI).
  • Supports Python 3.6 and above.

Installation

You can install Kannadafy using pip:

pip install kannadafy

Or clone using the official GitHub page:

git clone http://github.com/mithun50/Kannadafy
cd Kannadafy
pip install -e .

Usage

Command Line Interface (CLI)

After installation, you can obfuscate your Python scripts directly from the terminal using the kannadafy command.

Basic Usage

To obfuscate a Python script, use the following command:

kannadafy -i <input_script.py> -o <output_script.py> -k
  • -i or --input: Input Python script file.
  • -o or --output: Output obfuscated Python script file.
  • -k or --kannada: Encode the script using Kannada letters (this flag is default).

Example

kannadafy -i sample_script.py -o obfuscated_script.py -k

This command will read sample_script.py, obfuscate it using Kannada characters, and save the obfuscated version as obfuscated_script.py.

Using Kannadafy in Your Python Program

You can also use Kannadafy programmatically within your own Python code:

# test_usage.py
from Kannadafy import obfuscate

def main():
    try:
        obfuscate('path/to/your/input.py', 'path/to/your/output.py', kannada=True)
        print("Obfuscation successful!")
    except Exception as e:
        print(f"An error occurred: {e}")

if __name__ == "__main__":
    main()

OR

import Kannadafy

Kannadafy.obfuscate('path/to/your/input.py', 'path/to/your/output.py', kannada=True)

License

This project is licensed under the MIT License - see the LICENSE file for details.

Authors

  • Manvanth
instagram logo

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

kannadafy-1.0.1.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

kannadafy-1.0.1-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page