Code Monkey home page Code Monkey logo

pybite's Introduction

PyBite

The ultimate tool for your python script compiling! Quick and easy, made with passion by PatzEdi.

A script that allows you to compile any python script in an automated, simple, quick, and easy way!


This script uses py_compile, a Python library used to compile py files! py_compile

Written in python, this script automates the need to compile python files yourself and makes you save time!


Features

  • Set any custom directory to where the Python file is.
  • Bites the file and makes sure that the file is actually a python file.
  • Automatically moves the bite coded file from pycache folder to PyBite folder.
  • Changes the file extension name from ".pyc" to ".py" in order to make it executable by python.
  • Once you bite a file, you can input "00" to go back and bite another file, and do everything again!
  • All in one go!

Why?

  • I wanted to showcase how one can easily create a simple script like this one in order to save time in doing their job.
  • Python Bite code as it is called, or compiled python code, is unreadable to the human being. If you want to protect your code, you can do so with this script!
  • Please note however that there are bite decompilers out there, so it is not 100 percent secure for your code. Still worth mentioning!

How?

  • Creating a simple menu, the user can esaily create a compiled file through the use of py_compile

User notice

  • Please note that once the py_compile library is updated, the script needs to be updated as well. New releases and commits will be made for this reason.

Services used (Credits):

  • py_compile Documentation Link: py_compile
  • shutil, python library. Docs at here
  • os, python library. Docs here

Thank you.

This was a fun little project demonstrating the power of python and integrating it into a script that compiles its own language ;) Be sure to leave a star and follow the Twitter!

pybite's People

Contributors

patzedi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.