Compute a series of operations to transform one tree into another
Project description
fladrif
Quick and dirty library to generate a "patch" transforming one tree into
another. Heavily based on rstdiff by Stefan Merten.
Usage
Subclass fladrif.treediff.Adapter to connect your tree objects to the
algorithm in this package.
Then, use fladrif.treediff.TreeMatcher to compute the set of operations in the
patch.
Finally, you can subclass fladrif.apply.Apply to walk the operations to build
a new tree.
Project details
Release history Release notifications | RSS feed
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 fladrif-0.2.0.tar.gz.
File metadata
- Download URL: fladrif-0.2.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/6.1.38-gentoo-dist
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3512d732dd6802f100643895f9bde667cc2d072cf03936d9179e94c1c2495727
|
|
| MD5 |
d703dc2c3d6576bb91fa44bc1fb06a58
|
|
| BLAKE2b-256 |
3c08d9c18a63ccdaa269f8397107897742a0bec75123c6caf91a25a51b4da8eb
|
File details
Details for the file fladrif-0.2.0-py3-none-any.whl.
File metadata
- Download URL: fladrif-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/6.1.38-gentoo-dist
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34ce53c2084159d7d5cd2f886db62ca9db0569d7d1c17799ab99e62831d4c53b
|
|
| MD5 |
a8bad54f2ac51a3f244d3a6d4e7ec127
|
|
| BLAKE2b-256 |
c4532e6b79e51ed771be268dde26caa57c64d5552fd49019c7a66f9ee18330be
|