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 Distributions
File details
Details for the file kannadafy-1.0.1.tar.gz
.
File metadata
- Download URL: kannadafy-1.0.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a4f51fb9507e226591d359fddbc28f7635012a2823c4722fb426d6019f9ce1d |
|
MD5 | e31cfe6a3e87ccd1558949a94eb4f1fb |
|
BLAKE2b-256 | 3b9e45244c099d3bd953f6ad990f3cf3762d3d74e7d469cd278e0eeb57aa8d1b |
File details
Details for the file kannadafy-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: kannadafy-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 720fa761f4faa83f6e7f090e8f6430f4a41fd74dcec87d475fd85ed8cabef839 |
|
MD5 | 2c213b1ba894ffa262f5ce79dca80e59 |
|
BLAKE2b-256 | b4d6aa6aab6065da30a23c3cd243e057cea19407730a2eb06ae01d56b972060e |
File details
Details for the file Kannadafy-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: Kannadafy-1.0.1-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa1006094cfc3a16b0d104e38fa2ed69292ad48dc0befacecdc34603273816b5 |
|
MD5 | 0dec91e77f8a05d04b0217ffb66dd5b9 |
|
BLAKE2b-256 | ebf19140ad1d2fd3bfefc6729c8ab5e7a865ed67507246fdc89f248aa37556cc |