Obfuscate your Python script by converting it to Kannada language
Project description
Kannadafy
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
- MithunGowda.B
- GitHub
Project details
Release history Release notifications | RSS feed
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
Hashes for kannadafy-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 720fa761f4faa83f6e7f090e8f6430f4a41fd74dcec87d475fd85ed8cabef839 |
|
MD5 | 2c213b1ba894ffa262f5ce79dca80e59 |
|
BLAKE2b-256 | b4d6aa6aab6065da30a23c3cd243e057cea19407730a2eb06ae01d56b972060e |