DEV Community

Cover image for Carbon - Python Renamer

Posted on

Carbon - Python Renamer

🎯 About

When looking around for python obfuscators, you might have found some like pyarmor, or pyminifier.
But then there's one that does actually obfuscate the code which can't be reversed to the original source. You can find it here, but there's just one small caveat.
Purchasing it costs USD $1998.

Now that's not to say you can't use it for free, after all if you want to use it online it's free to use. But if you wish to use an offline cli version, well then you need to pay.

This is where Carbon comes in. I decided to make my own version of the oxyry obfuscator which does the same job. It renames classes, functions, parameters and variables. It removes docstrings and comments and doesn't stick on a line number at the end of each line. But best of all, it isn't locked to Python 3.3-3.7.

✨ Features

✔️ Remove docstrings and comments
✔️ Rename classes, functions, parameters and variables

🚀 Technologies

The following tools were used in this project:

✅ Requirements

Before starting, you need to have Python installed.

🏁 Starting

# Clone this project
$ git clone

# Access
$ cd Carbon

# Run the project
$ python
Enter fullscreen mode Exit fullscreen mode

Made with ❤️ by 0sir1s

Discussion (1)

naveennamani profile image

You can add a direct link to GitHub repo which is missing in the post