pytecode 0.1.0__cp312-abi3-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pytecode/__init__.py +24 -0
- pytecode/_rust.pyd +0 -0
- pytecode/_rust.pyi +2337 -0
- pytecode/_utils.py +37 -0
- pytecode/analysis/__init__.py +50 -0
- pytecode/analysis/hierarchy.py +233 -0
- pytecode/analysis/verify.py +54 -0
- pytecode/archive.py +349 -0
- pytecode/classfile/__init__.py +73 -0
- pytecode/classfile/attributes.py +866 -0
- pytecode/classfile/bytecode.py +239 -0
- pytecode/classfile/constants.py +208 -0
- pytecode/model.py +238 -0
- pytecode/py.typed +0 -0
- pytecode/transforms/__init__.py +188 -0
- pytecode/transforms/class_transforms.py +85 -0
- pytecode/transforms/matchers.py +310 -0
- pytecode/transforms/pipeline.py +167 -0
- pytecode-0.1.0.dist-info/METADATA +429 -0
- pytecode-0.1.0.dist-info/RECORD +23 -0
- pytecode-0.1.0.dist-info/WHEEL +4 -0
- pytecode-0.1.0.dist-info/licenses/LICENSE +21 -0
- pytecode-0.1.0.dist-info/sboms/pytecode-python.cyclonedx.json +1955 -0
pytecode/__init__.py
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""Rust-backed top-level entry points for common pytecode workflows.
|
|
2
|
+
|
|
3
|
+
Import from this module when you want the shortest path to the core editing
|
|
4
|
+
surface:
|
|
5
|
+
|
|
6
|
+
- ``ClassReader`` and ``ClassWriter`` for raw classfile IO
|
|
7
|
+
- ``ClassModel`` for mutable symbolic editing
|
|
8
|
+
- ``JarFile`` for archive reads and rewrites
|
|
9
|
+
|
|
10
|
+
For more specialized APIs, prefer the semantic submodules such as
|
|
11
|
+
``pytecode.classfile``, ``pytecode.model``, ``pytecode.archive``, and
|
|
12
|
+
``pytecode.analysis``.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
from .archive import JarFile
|
|
16
|
+
from .classfile import ClassReader, ClassWriter
|
|
17
|
+
from .model import ClassModel
|
|
18
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
"ClassModel",
|
|
21
|
+
"ClassReader",
|
|
22
|
+
"ClassWriter",
|
|
23
|
+
"JarFile",
|
|
24
|
+
]
|
pytecode/_rust.pyd
ADDED
|
Binary file
|