Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

Carbon

> 开发工具
Open source

[UNMAINTAINED] A Python script to obfuscate and protect your code by renaming classes, functions, variables and remove comments and docstrings.

100 stars0 likes1 views
WebsiteGitHub

About

[UNMAINTAINED] A Python script to obfuscate and protect your code by renaming classes, functions, variables and remove comments and docstrings.

[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

:heavy_check_mark: Remove docstrings and comments
:heavy_check_mark: Rename classes, functions, parameters and variables

:rocket: Technologies

The following tools were used in this project:

  • Python

:white_check_mark: Requirements

Before starting, you need to have Python installed.

:checkered_flag: Starting

bash
# 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

Issues· 5 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Pythonobfuscationobfuscatorobfuscatorspyobfuscator

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具