Metadata-Version: 2.4
Name: wpyc
Version: 0.1.0
Summary: Write Python code objects to .pyc files
Project-URL: Homepage, https://github.com/joalon/wpyc
Project-URL: Repository, https://github.com/joalon/wpyc
Author-email: Joakim Lönnergen <joakimlonnegren@gmail.com>
License-Expression: MIT
License-File: LICENSE
Keywords: pyc
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# WPYC

Write Python code object to .pyc file.

```
from wpyc import write_pyc

code = compile(f"print('Hello, World!')", "<string>", "exec")

code_bytes = marshal.dumps(code)

write_pyc(code_bytes, "output.pyc")
```
