Skip to main content

A format for modularized AST-based patching of arbitary code

Project description

ptcx

A format for modularized AST-based patching of arbitary code.

[!WARNING] This is only conceptual and not implemented yet.

Usage

Setup a directory stucture:

  1. ./src the source code you'd like to patch
  2. ./patch the patches to apply docs

Patch

python -m ptcx patch

Reset previous state of src

python -m ptcx reset

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

ptcx-0.0.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ptcx-0.0.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file ptcx-0.0.2.tar.gz.

File metadata

  • Download URL: ptcx-0.0.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for ptcx-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b014619edf74afed61c94cf18b4964b4d9589d9f80d322c341f00be60dfe898a
MD5 bb7cdc2ba0a126fc51df67586034ca33
BLAKE2b-256 21d9124c0729393c14c54e66acbb84a21772d2c225ab18e91f2ca0282f7978ca

See more details on using hashes here.

File details

Details for the file ptcx-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: ptcx-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for ptcx-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 715394200882cdb4433bdf5764d3a0a249f747b2a8577c256bdcfa6d14ffadb1
MD5 694561374e02fda4f32b395cd0fc2582
BLAKE2b-256 926fc4890abe2c5f0f09498d99344d14609d002b00dbc8555624f9e8c45d358f

See more details on using hashes here.

Supported by

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