TSED CLI
A powerful, optimized command-line tool to compute the Tree Similarity Edit Distance (TSED) between source code files, leveraging Abstract Syntax Trees (AST).
It efficiently computes similarity either between two specific files or across an entire directory (generating a complete symmetric similarity matrix).
Installation
pip install -e .
Utilisation
Comparer deux fichiers :
tsed --files fichier1.py fichier2.py --lang python
Comparer tous les fichiers d'un dossier :
tsed --directory ./src --lang python
Pour afficher toutes les options :
tsed --help
Tests
Installer les dépendances de test :
pip install -e ".[test]"
Lancer les tests :
pytest
Metadata
Release files for algo-tsed 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| algo_tsed-0.1.0.tar.gz | 5.8 kB | Without provenance | Details for algo_tsed-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| algo_tsed-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for algo_tsed-0.1.0-py3-none-any.whl |
Total release size: 12.2 kB
Release files / algo_tsed-0.1.0.tar.gz
| Download URL | algo_tsed-0.1.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5738a3ef4ff7b6202d9812e010bf1d859d3217d996bbfc25606fa9e9798e73a6
|
|
BLAKE2b-256 checksum How to use checksums |
6e2e91636cd379a7ba58c34cfbc63171b0c1adb785722563d197c96215979a28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / algo_tsed-0.1.0-py3-none-any.whl
| Download URL | algo_tsed-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70a54e8f12526e7ac97edb2511a1f56baa96288f124a4300c36603c7112dea3d
|
|
BLAKE2b-256 checksum How to use checksums |
ced2c0f8dc15a12ccb75e85e156b810a16f94a8ab2619fff37aea5926addd823
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for algo-tsed 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.