Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pycompileo

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pycompileo

Python Code Obfuscator.

  • 1.3.8
  • PyPI
  • Socket score

Maintainers
1

Pycompileo

This is a python code obfuscator. It works by compiling your code to .pyc. Which cant be easily decompiled for python version 3.9 (and higher).

Usage

The following code will take a package, obfuscate it and return a new package with .pyc files instead of .py files.

import pycompileo
pycompileo.obfuscate_package('your_module', 'obfuscated_module')

Now you can import this new obfuscated module:

import obfuscated_module

# Note that there wont be syntax highlighting
# for .pyc files. Only use when you dont need
# syntax highlighting.

obfuscated_module.super_secret_code()

Everything should really be self explanatory. You can reach out to me at ahmadchawla1432@gmail.com for additional questions.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc