pytecode 0.0.1__py3-none-any.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 ADDED
@@ -0,0 +1,22 @@
1
+ """Python library for parsing, inspecting, manipulating, and emitting JVM class files.
2
+
3
+ Provides four top-level entry points:
4
+
5
+ - ``ClassReader`` — parse ``.class`` bytes into a ``ClassFile`` tree.
6
+ - ``ClassWriter`` — serialize a ``ClassFile`` tree back to ``.class`` bytes.
7
+ - ``ClassModel`` — mutable editing model with symbolic references and
8
+ label-aware code editing.
9
+ - ``JarFile`` — read, mutate, and rewrite JAR archives.
10
+
11
+ Additional submodules expose transforms, descriptors, analysis, hierarchy
12
+ resolution, validation, operands, labels, debug-info helpers, and the
13
+ underlying data types. See ``pytecode.transforms``, ``pytecode.analysis``,
14
+ ``pytecode.verify``, and the other documented submodules for details.
15
+ """
16
+
17
+ from .class_reader import ClassReader
18
+ from .class_writer import ClassWriter
19
+ from .jar import JarFile
20
+ from .model import ClassModel
21
+
22
+ __all__ = ["ClassModel", "ClassReader", "ClassWriter", "JarFile"]