DEV Community

Cover image for Carbon - Python Renamer
0sir1ss
0sir1ss

Posted on

2 2

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 https://github.com/0sir1ss/Carbon

# Access
$ cd Carbon

# Run the project
$ python carbon.py
Enter fullscreen mode Exit fullscreen mode

Made with ❀️ by 0sir1s

Heroku

Deploy with ease. Manage efficiently. Scale faster.

Leave the infrastructure headaches to us, while you focus on pushing boundaries, realizing your vision, and making a lasting impression on your users.

Get Started

Top comments (1)

Collapse
 
naveennamani profile image
naveennamani β€’

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

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

πŸ‘‹ Kindness is contagious

DEV shines when you're signed in, unlocking a customized experience with features like dark mode!

Okay