Skip to main content

a macro library that expoes the bytecode of python

Project description

bytecode macro lib

exposes (a slightly modified version of) the bytecode of a function to allow for run-time modification of python syntax.

how to use

tbh i am quite busy right now so if you want to try using this library I would advise looking at the examples in meta to see how to use the library and just try to figure it out. note: as of the current state of documentation i would absolutely not recommended trying this out. But if you come back later I should have added documentation.

todo

- test pip
- add documentation on the modifications to bytecode and how to read it
- allow for uncompile and the compile packages to be used independently on files for other cool stuff
- for some reason semantic checking is occuring with the compile method in macro_lib for byte_code tuple assembly from strings, check why and fix
- increase code re-use
- clean code of stuff that isn't used from when this was a different project (all the file stuff and header.py)
- add a .gitignore 
	- add temporary files, compilation and output files to this
- remove outdated tests in bytecode asm after documentation has finished
- remove all other temporary test files

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bytecodemacro-1.0.1.tar.gz (25.7 kB view hashes)

Uploaded Source

Built Distribution

bytecodemacro-1.0.1-py3-none-any.whl (30.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page