Skip to main content

pydeltacode

Opensource pydeltacode build

Designing pydeltacode from the opensource layer up. Prioritisting user experience and low-friction adoption.

Install

pip install pydeltacode

For development (editable install from a checkout of this repo):

pip install -e .

Usage

from pydeltacode import refactor

optimise = refactor(objective="speed")

@optimise.track
def compute(values):
    return sum(values)

compute([1, 2, 3])
optimise.submit(compute)          # send tracked code to the LLM for a refactor
optimise.swap_code(compute, 1)    # swap version 1 into the source file

Tracked/refactored data is written to .pydeltacode/<hash>/ (gitignored) in the current working directory.

For dynamic, zero-decorator tracking of an arbitrary script via a YAML job file, see docs/job_yaml.md and the examples/ directory.

See CONTRIBUTING.md for how to add support for another language via the LanguageAdapter interface.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydeltacode-0.1.1.tar.gz (51.1 kB view details)

Uploaded Source

Built Distribution

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

pydeltacode-0.1.1-py3-none-any.whl (44.7 kB view details)

Uploaded Python 3

File details

Details for the file pydeltacode-0.1.1.tar.gz.

File metadata

  • Download URL: pydeltacode-0.1.1.tar.gz
  • Upload date:
  • Size: 51.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for pydeltacode-0.1.1.tar.gz
Algorithm Hash digest
SHA256 69ce1f2ace0533264731e09b8b59f90cb0c89818d9bb9a6a81a0655f9f7b3a7a
MD5 f548eba80a035bf973f2d12110228d05
BLAKE2b-256 ef380faf2b241c69563feab9040b93f2cf5bb5fd893db278a3b2f9a1ee4a0d84

See more details on using hashes here.

File details

Details for the file pydeltacode-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pydeltacode-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 44.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for pydeltacode-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4cb2d5dadd5ed608a82e037556c1725df9751cdbb8f05ed98a5c4eff6a21887d
MD5 f69f67458ad9a0baaf795546f4ce57d5
BLAKE2b-256 43d23b66d2e3e0aded623f9c42054f64b320b06467705b6d8c09a19650a2a8ba

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