# Python git diff clone
This lib is an implementation of the `git diff` tool in Python using the Myers Difference algorithm.
## Usage
You can run the following command:
```bash
$ python diff.py case_one.txt case_two.txt
```
This will show the diff script to go from file A to file B. You can test out the command with the `case_one.txt` and `case_two.txt` files included in the repository.
To have the command available at all times, make sure the script `diff.py` is executable and then include it in your `$PATH`.
## Analysis
For an extended analysis, refer to the PDF in this repo titled "The Myers Difference Algorithm for Version Control Systems".
### generete lib: python setup.py sdist
### send to pypi: twine upload dist/*
Metadata
Release files for diff-as-git 0.0.1
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 | |
|---|---|---|---|---|
| diff_as_git-0.0.1.tar.gz | 5.0 kB | Without provenance | Details |
Release files / diff_as_git-0.0.1.tar.gz
| Download URL | diff_as_git-0.0.1.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc17cc76250d3ac73c255d50865a17119abdb5f8e5b56fb1ee527aae5b258c39
|
|
BLAKE2b-256 checksum How to use checksums |
bd2b0c823eaed93d07ad821a742d9e5e76a6ba3ccf1f8182292a30019ec8b602
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.4
|
Security for diff-as-git 0.0.1
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.