[UNMAINTAINED] A Python script to obfuscate and protect your code by renaming classes, functions, variables and remove comments and docstrings.
Last updated Jun 4, 2026
100
Stars
12
Forks
5
Issues
0
Stars/day
Attention Score
8
Topics
Language breakdown
Python 100.0%
โธ Files
click to expand
README
[UNMAINTAINED] Carbon
About | Features | Technologies | Requirements | Starting | License | Author
:dart: 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.:sparkles: Features ##
:heavycheckmark: Remove docstrings and comments\ :heavycheckmark: Rename classes, functions, parameters and variables:rocket: Technologies ##
The following tools were used in this project::whitecheckmark: Requirements ##
Before starting, you need to have Python installed.:checkered_flag: Starting ##
# Clone this project
$ git clone https://github.com/0sir1ss/Carbon
Access
$ cd Carbon
Run the project
$ python carbon.py
:memo: License ##
This project is under license from MIT. For more details, see the LICENSE file. Made with :heart: by 0sir1s Back to top๐ More in this category