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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pydeltacode-0.1.0.tar.gz.
File metadata
- Download URL: pydeltacode-0.1.0.tar.gz
- Upload date:
- Size: 45.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8604114e1052c53a856b11ea794e3916882c1aca4877cafa1665d4198d53b390
|
|
| MD5 |
c7eb621cad6fa68831e1065eebc583a3
|
|
| BLAKE2b-256 |
33c4ceffa63c2bcc59437b9730ec754f46d21fdaf560d45f3d0514ed5015c71d
|
File details
Details for the file pydeltacode-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pydeltacode-0.1.0-py3-none-any.whl
- Upload date:
- Size: 43.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c107ac6c490f39608a89d2cb2b88feeeffe43e8cdbff41f0e0d342421b4e97f7
|
|
| MD5 |
13c8e8193beca1054cebce194e0307d4
|
|
| BLAKE2b-256 |
9589d60e27f9874cf1d53ddd7c94bd434cfd1ef82f956bba99c096baae43c7da
|