Skip to main content

pytecode

pytecode is a Python 3.12+ library for parsing, inspecting, editing, validating, and emitting JVM class files and JAR archives.

It is built for Python tooling that needs direct access to Java bytecode: classfile readers and writers, archive rewriters, transformation pipelines, control-flow analysis, descriptor utilities, hierarchy-aware frame computation, and verification-oriented workflows.

Why pytecode?

  • Parse .class files into typed Python objects backed by the Rust engine.
  • Edit classes, fields, methods, and bytecode through a mutable symbolic model.
  • Rewrite JAR files while preserving non-class resources and supported ZIP metadata.
  • Recompute max_stack, max_locals, and StackMapTable when requested.
  • Validate parsed classfiles and edited models before emission.
  • Work with descriptors, signatures, labels, symbolic operands, constant pools, and debug-info policies.

Installation

Install from PyPI:

pip install pytecode

Or with uv:

uv add pytecode

Published releases ship prebuilt wheels for Windows, macOS, and Linux. If a matching wheel is unavailable, pip/uv falls back to a source build, which requires a working Rust toolchain.

pytecode requires Python 3.12+.

This source supports inspection through Java 26 (classfile major 70), with separate runtime rules for preview files. See compatibility and resource limits for tested behavior, Java strings, archive metadata, and thread ownership. Structural validation and frame recomputation have targeted JVM-backed coverage; they are not a complete JVM verifier.

Quick start

Parse and roundtrip a class file

from pathlib import Path

from pytecode.classfile import ClassReader, ClassWriter

reader = ClassReader.from_file("HelloWorld.class")
classfile = reader.class_info

print(classfile.major_version)
print(classfile.methods_count)

Path("HelloWorld-copy.class").write_bytes(ClassWriter.write(classfile))

Edit through the Rust-owned model

from pathlib import Path

from pytecode.model import ClassModel

model = ClassModel.from_bytes(Path("HelloWorld.class").read_bytes())
print(model.name)

updated_bytes = model.to_bytes()
Path("HelloWorld-updated.class").write_bytes(updated_bytes)

Import FrameComputationMode and DebugInfoPolicy from pytecode.model (or re-exported in pytecode.archive), and use to_bytes_with_options(frame_mode=FrameComputationMode.RECOMPUTE) when an edit changes control flow or stack/local layout.

Lowering keeps the original constant pool by default, so unchanged classes round-trip byte-for-byte. Pass constant_pool=ConstantPoolPolicy.CANONICAL to emit a pool ordered by content instead: classes with identical content then lower to identical bytes, however their pools were built. See constant-pool layout.

Recomputation merges reference types at control-flow joins. Pass resolver=MappingClassResolver.from_bytes(...) (from pytecode.analysis) with the classes you have for the most precise frames; a partial resolver, or none, still works: missing classes never abort, and merges are inferred from how the code uses the merged values. Anything that stays imprecise enough to fail JVM verification emits a FrameComputationWarning naming the method and the classes to add. See frame recomputation.

ClassModel.bootstrap_methods reads and rewrites the BootstrapMethods attribute (bootstrap method handles and their static arguments), which renames must update along with the instructions. invokedynamic call-site descriptors are writable too (InvokeDynamicInsn.descriptor, and DynamicValue.descriptor for dynamic constants); see call-site descriptors.

model.methods and model.fields are read-only views; reorder or delete members by assigning a new list (model.methods = [m for m in model.methods if m.name != "unused"]). See member lists.

Exception tables are edited the same way: assign code.exception_handlers a list of ExceptionHandler(start, end, handler, catch_type) entries rebuilt from the existing labels, with catch_type=None for a catch-all; filter the list to delete entries. See exception-handler tables.

JAR rewriting example

JarFile.rewrite() can apply in-place transforms to matching classes and methods:

from pytecode import JarFile
from pytecode.classfile.constants import MethodAccessFlag
from pytecode.transforms import (
    PipelineBuilder,
    add_access_flags,
    class_named,
    method_is_public,
    method_is_static,
    method_name_matches,
)


pipeline = (
    PipelineBuilder()
    .on_methods(
        method_name_matches(r"main") & method_is_public() & method_is_static(),
        add_access_flags(int(MethodAccessFlag.FINAL)),
        owner_matcher=class_named("HelloWorld"),
    )
    .build()
)


JarFile("input.jar").rewrite(
    "output.jar",
    transform=pipeline.apply,
)

For code-shape changes, pass frame_mode=FrameComputationMode.RECOMPUTE. To strip debug metadata during rewrite, prefer debug_info=DebugInfoPolicy.STRIP.

JarFile.rewrite() uses the Rust archive layer for in-memory archive edits and Rust-native transforms. Python-callable transforms are also supported through the same public API when a workflow needs ClassModel-level mutation.

Public surface

Top-level exports:

  • pytecode.ClassReader / pytecode.ClassWriter for Rust-backed raw classfile parsing and emission.
  • pytecode.ClassModel for Rust-owned mutable editing.
  • pytecode.JarFile for archive reads, mutation, and safe rewrite-to-disk.
  • pytecode.MalformedClassException for classfile parsing, validation, and lowering failures.

Canonical semantic modules:

  • pytecode.classfile for raw Rust-backed classfile reading and writing.
  • pytecode.model for editable class, field, method, and code models (including direct instruction, attribute, field, method, and constant-pool mutation, FrameComputationMode, DebugInfoPolicy, and MalformedClassException).

Supported submodules:

  • pytecode.transforms for Rust-backed class, field, method, and code transforms.
  • pytecode.analysis for Rust-backed verification entry points.
  • pytecode.analysis.verify for structural validation and diagnostics.
  • pytecode.analysis.hierarchy for type and override resolution helpers.
  • pytecode.classfile.attributes for Rust-backed raw attribute and annotation classes.
  • pytecode.classfile.bytecode for opcode and array-type enums.
  • pytecode.classfile.constants for access flags, opcodes, and verifier constants.
  • pytecode.archive for JAR archive reading/writing and re-exported policy enums.

Documentation

Development

Create a local environment with development tools:

uv sync --extra dev

uv sync --extra dev now builds the local editable package through maturin, so a working Rust toolchain is required alongside Python.

Common checks:

uv run ruff check .
uv run ruff format --check .
uv run basedpyright
uv run pytest -q
uv run python tools/generate_api_docs.py --check
cargo fmt --all --check
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace

Workspace smoke and comparison commands:

cargo run --release -p pytecode-cli -- bench-smoke --iterations 5
uv run python tools\benchmark_jar_pipeline.py crates\pytecode-engine\fixtures\jars\byte-buddy-1.17.5.jar --iterations 5
uv run python tools\compare_rust_python_benchmarks.py --jar crates\pytecode-engine\fixtures\jars\byte-buddy-1.17.5.jar --iterations 5 --output output\benchmarks\rust-vs-python-byte-buddy.json
cargo run -p pytecode-cli -- class-summary --path crates\pytecode-engine\fixtures\classes\HelloWorld\HelloWorld.class
cargo run -p pytecode-cli -- rewrite-smoke --jar input.jar --output output.jar --class-name HelloWorld
cargo run -p pytecode-cli -- patch-jar --jar input.jar --output output.jar --rules rules.json
uv run python examples\patch_jar.py --jar input.jar --output output.jar --rules rules.json
cargo run -p pytecode-cli -- deobfuscate analyze --jar path\to\obfuscated-client.jar
cargo run -p pytecode-cli -- deobfuscate rewrite --jar path\to\obfuscated-client.jar --output output\obfuscated-client-cleaned.jar
uv run python examples\deobfuscate.py analyze --jar path\to\obfuscated-client.jar
uv run python examples\deobfuscate.py rewrite --jar path\to\obfuscated-client.jar --output output\obfuscated-client-python-cleaned.jar

patch-jar is the first real config-driven consumer of the Rust archive + transform stack. It reads a JSON rule file, rewrites matching classes in a JAR, and prints a JSON report with per-rule match/change counts.

examples\patch_jar.py mirrors that workflow from Python and accepts the same rules.json shape, but applies it through the Python API.

Example rules.json:

{
  "options": {
    "debug_info": "preserve",
    "frame_mode": "preserve"
  },
  "rules": [
    {
      "name": "finalize-main",
      "kind": "method",
      "owner": {
        "name": "HelloWorld"
      },
      "matcher": {
        "name": "main",
        "access_all": ["public", "static"],
        "has_code": true
      },
      "action": {
        "type": "add-access-flags",
        "flags": ["final"]
      }
    }
  ]
}

The first version supports:

  • class rules for access-flag edits, set-super-class, add-interface, and remove-interface
  • field rules for access-flag edits, rename, and remove
  • method rules for access-flag edits, rename, and remove
  • method code_actions for string replacement, method-call redirection, field-access redirection, opcode-based instruction removal, single-instruction replacement, before/after insertion, contiguous sequence replacement/removal, and grouped sequence action blocks

Example sequence rewrite inside code_actions:

{
  "type": "replace-sequence",
  "pattern": [
    { "ldc_string": "Hello from fixture" },
    {
      "method_owner": "java/io/PrintStream",
      "method_name": "println",
      "method_descriptor": "(Ljava/lang/String;)V"
    }
  ],
  "replacement": [
    { "type": "ldc-string", "value": "patched via sequence action" },
    {
      "type": "method",
      "opcode": 182,
      "owner": "java/io/PrintStream",
      "name": "print",
      "descriptor": "(Ljava/lang/String;)V"
    }
  ]
}

Sequence patterns use matcher objects (opcode, opcode_any, method_owner, method_name, method_descriptor, field_owner, field_name, field_descriptor, ldc_string, ldc_class, var_slot, type_descriptor, and the is_* category flags). Replacement items support symbolic instructions like raw, ldc-string, ldc-class, field, method, type, var, and iinc, plus label-based control-flow items.

Replacement items can also express symbolic control flow with label, branch, lookup-switch, and table-switch. Branch and switch targets must reference labels declared inside the same replacement block, so malformed control-flow edits fail fast during plan loading instead of producing broken classfiles.

Example grouped rewrite that patches one instruction and brackets another with inserted NOPs:

[
  {
    "type": "replace-insn",
    "matcher": { "ldc_string": "Hello from fixture" },
    "replacement": [
      { "type": "ldc-string", "value": "patched via replace-insn" }
    ]
  },
  {
    "type": "sequence",
    "actions": [
      {
        "type": "insert-before",
        "matcher": {
          "method_owner": "java/io/PrintStream",
          "method_name": "println",
          "method_descriptor": "(Ljava/lang/String;)V"
        },
        "items": [{ "type": "raw", "opcode": 0 }]
      },
      {
        "type": "insert-after",
        "matcher": {
          "method_owner": "java/io/PrintStream",
          "method_name": "println",
          "method_descriptor": "(Ljava/lang/String;)V"
        },
        "items": [{ "type": "raw", "opcode": 0 }]
      }
    ]
  }
]

deobfuscate is the higher-level workflow tool built on top of the same archive/model stack. It is aimed at jars like injected-client, where the goal is to inspect obfuscation signals first and then apply safe cleanup passes without hand-authoring JSON rules.

deobfuscate analyze currently reports:

  • suspicious short-name class counts and samples
  • package concentration (<root> versus named packages)
  • compilercontrol.json JIT exclusion hints
  • hotspot classes by size/method count
  • classes with readable string constants that can anchor reverse-engineering work

deobfuscate rewrite currently applies conservative bytecode cleanup:

  • remove nop instructions
  • remove unconditional goto instructions that already target the immediate fallthrough label
  • collapse unconditional goto chains to their terminal target

Use patch-jar when you already know the exact bytecode rewrite you want and want a declarative rule file. Use deobfuscate when you want a product-shaped inspection/cleanup pass over an obfuscated jar, especially injected-client.

If you want the same workflow from the Python side, examples\deobfuscate.py provides the same analyze/rewrite flow on top of pytecode.JarFile, ClassModel, and Rust-backed Python transforms.

Rust-owned fixtures now live under crates\pytecode-engine\fixtures\. Rust crate tests only read those copied fixture sources and do not invoke Python. The Rust harness lazily compiles crates\pytecode-engine\fixtures\java\*.java into target\pytecode-rust-javac\... and only reruns javac when the source bytes, required --release, or javac identity changes.

bench-smoke now reports isolated-stage timing samples with median+spread summaries instead of only one accumulated elapsed total. tools\benchmark_jar_pipeline.py mirrors that isolated-stage reporting for the wrapper-inclusive Python path, and tools\compare_rust_python_benchmarks.py frames the result as native Rust timings versus Python wrapper overhead on the same jar.

Small Rust examples live under crates\pytecode-engine\examples\finalize_main.rs and crates\pytecode-archive\examples\rewrite_jar.rs to show direct transform and archive rewrite workflows without going through the CLI.

Workspace layout:

  • pytecode-engine for classfile parsing, editing, transforms, analysis, and validation
  • pytecode-archive for JAR handling
  • pytecode-cli for CLI workflows and benchmarks
  • pytecode-python for PyO3 bindings and wheel packaging

Generate local API reference HTML with:

uv run python tools/generate_api_docs.py

Build source and wheel distributions locally:

uv build

uv build produces both an sdist and a platform wheel for the current machine. The sdist excludes test fixtures, sample JARs, tests, docs, examples, and fuzz inputs while retaining all workspace crates needed for isolated offline builds (tools\check_sdist.py).

Profile isolated JAR-processing stages without run.py's output overhead:

uv run python tools/profile_jar_pipeline.py path/to/jar.jar
uv run python tools/profile_jar_pipeline.py path/to/jar.jar --stages class-parse model-lift model-lower
uv run python tools/profile_jar_pipeline.py path/to/dir/with/jars --stages model-lift model-lower --summary-json output/profiles/common-libs/summary.json

Compare native Rust vs Python-via-Rust stage timings with the Python extension rebuilt in release mode by default:

uv run python tools/bench_full_comparison.py
uv run python tools/bench_full_comparison.py --extension-build installed

When making runtime-performance changes, prefer checking both a focused jar such as crates\pytecode-engine\fixtures\jars\byte-buddy-1.17.5.jar and the wider common-jar corpus so regressions and wins are not judged from a single artifact. Byte Buddy is the default focused Rust benchmark fixture because it is a common JVM library, carries a much larger class corpus than the old 225.jar fixture, and also includes newer multi-release classes than Guava. A single jar defaults to all stages; directories and multi-jar runs default to model-lift and model-lower.

Release automation

PyPI releases are published from GitHub Actions by pushing an immutable v<version> tag that matches project.version in pyproject.toml. The same workflow can also be started manually for an existing tag by supplying a tag input. In both cases, the workflow checks out the tagged commit, reruns validation, builds the source distribution plus platform wheels, publishes from the protected pypi environment via PyPI Trusted Publishing, and then creates or updates a GitHub Release for the same tag with the built distributions attached.

Release procedure:

# 1) bump project.version in pyproject.toml and every crates/*/Cargo.toml,
#    then refresh all three lockfiles (root Cargo.lock, uv.lock, and
#    fuzz/Cargo.lock) — the CI, release, and fuzz workflows all verify
#    them with --locked
cargo update --workspace
uv lock
cargo metadata --manifest-path fuzz/Cargo.toml --format-version 1 > $null

uv run ruff check .
uv run ruff format --check .
uv run basedpyright
uv run pytest -q
uv run python tools/generate_api_docs.py --check
cargo fmt --all --check
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace

git commit -am "Bump version to X.Y.Z"
git push origin main
git tag -a vX.Y.Z -m "pytecode X.Y.Z"
git push origin vX.Y.Z

The release workflow rejects tags that do not match project.version. Treat release tags as immutable: if a tag or published artifact is wrong, bump to a new version and publish a new tag instead of force-pushing the old one. For an existing tag, you can rerun the workflow directly or start it manually from Actions by providing the tag name. The workflow is safe to rerun for the same tag: PyPI uploads skip files that already exist, and the GitHub Release step updates the existing release assets in place if the release was already created.

Repository utilities

run.py is a manual smoke-test helper that parses a JAR file, writes pretty-printed parsed class structures under <jar parent>/output/<jar stem>/parsed/, and writes class-model-derived rewritten .class files plus copied resources under <jar parent>/output/<jar stem>/rewritten/.

Example:

uv run python ./run.py ./path/to/input.jar

The script prints read, parse, lift, write, and rewrite timings plus class and resource counts to stdout.

Metadata

Release files for pytecode 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytecode 0.3.2
File Size Uploaded Provenance Actions
pytecode-0.3.2.tar.gz 326.2 kB With provenance Details for pytecode-0.3.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for pytecode 0.3.2
File Actions
pytecode-0.3.2-cp312-abi3-win_arm64.whl CPython 3.12 abi3 Windows ARM64 Details for pytecode-0.3.2-cp312-abi3-win_arm64.whl
pytecode-0.3.2-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details for pytecode-0.3.2-cp312-abi3-win_amd64.whl
pytecode-0.3.2-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 abi3 Linux glibc 2.17+ x86-64 Details for pytecode-0.3.2-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
pytecode-0.3.2-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.12 abi3 Linux glibc 2.17+ ARM64 Details for pytecode-0.3.2-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
pytecode-0.3.2-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details for pytecode-0.3.2-cp312-abi3-macosx_11_0_arm64.whl
pytecode-0.3.2-cp312-abi3-macosx_10_12_x86_64.whl CPython 3.12 abi3 macOS 10.12+ x86-64 Details for pytecode-0.3.2-cp312-abi3-macosx_10_12_x86_64.whl

Total release size: 12.8 MB

Release files / pytecode-0.3.2.tar.gz

Download URL pytecode-0.3.2.tar.gz
Size 326.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2d2eeafca97a55addcb6843863e4abb87456a819bc0f355bc8d24392c6fa07b7
BLAKE2b-256 checksum
How to use checksums
b30fe093a1460e61b31907c6876683b19a71725716f3827d2f6db4e9f7c79be2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / pytecode-0.3.2-cp312-abi3-win_arm64.whl

Download URL pytecode-0.3.2-cp312-abi3-win_arm64.whl
Size 1.9 MB
Tags CPython 3.12 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
70a35d844b7d1f34b1accf583d1b127a726f89299c50d6b75216f442c47e6fb1
BLAKE2b-256 checksum
How to use checksums
444f8eb155b4091ad8acc92f809e535ef6fc10f0dedd90e3b21add6d70174575
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / pytecode-0.3.2-cp312-abi3-win_amd64.whl

Download URL pytecode-0.3.2-cp312-abi3-win_amd64.whl
Size 2.0 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
ea6fd825c4a7e3ae4d9741b1adb71606d7831bd564ba35d1ea72bc2298af45f7
BLAKE2b-256 checksum
How to use checksums
df5c3933ca247506a6db917cdc9844fb5031fefff37185a16af570d7e2486f46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / pytecode-0.3.2-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pytecode-0.3.2-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.2 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
cf7400092e2aacdd13f32880097af459e65c2ef29cfa0a9f119316d4469e611d
BLAKE2b-256 checksum
How to use checksums
4844272be0423aba1e2f84cacc951001a8375c28b8dd713dba275acc9164111e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / pytecode-0.3.2-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL pytecode-0.3.2-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 2.2 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
00ebef2998bb047717e38d33a8aa882bf68f4cb82f4a2653f96db7d5257620d0
BLAKE2b-256 checksum
How to use checksums
2953c03a02489ff8b8e0781f02c849cf4fe97889642e9d68803625c294fa64f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / pytecode-0.3.2-cp312-abi3-macosx_11_0_arm64.whl

Download URL pytecode-0.3.2-cp312-abi3-macosx_11_0_arm64.whl
Size 2.0 MB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
aa7663b4a64972a25a7e53dd4ea318882d5b81952e1209370ef7481f2cc98e8b
BLAKE2b-256 checksum
How to use checksums
2f75b0bf8791afa168d104620be25e0dc365fdd03eaf3904975ec632a5adca3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / pytecode-0.3.2-cp312-abi3-macosx_10_12_x86_64.whl

Download URL pytecode-0.3.2-cp312-abi3-macosx_10_12_x86_64.whl
Size 2.1 MB
Tags CPython 3.12 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
9a104f2bf138ed0b85c9772bc16f4a285d21b29e92f9e74b232b1668b4d742d4
BLAKE2b-256 checksum
How to use checksums
94a1e69cbf7538f988083cb79f936cd95eca09b6a5d1b93bf45d6d4fc84b9903
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Security for pytecode 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 7 files in this release have been uploaded with provenance metadata.

Select from 7 files

Attestation for pytecode-0.3.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page