differently
differently is a CLI tool and Python package for visualising the differences between things.
Installation
differently requires Python 3.8 or later.
pip install differently
Example
differently examples/1.md examples/2.md
# "differently" example file = # "differently" example file
=
To run this example, install `differently` then run: = To run this example, install `differently` then run:
=
```bash = ```bash
differently 1.md 2.md = differently 1.md 2.md
``` = ```
=
This line says "foo" in 1.md. ~ This line says "bar" in 2.md.
=
Now, a deletion: = Now, a deletion:
x
Hello from 1.md. x
=
The line above should appear in 1.md but deleted in = The line above should appear in 1.md but deleted in
the diff because it's not in 2.md. = the diff because it's not in 2.md.
=
And finally, this next line doesn't exist in 1.md but = And finally, this next line doesn't exist in 1.md but
should be added in the diff because it's in 2.md: = should be added in the diff because it's in 2.md:
>
> Hello from 2.md.
differently also supports JSON and YAML comparisons and Python usage. Read the full documentation at cariad.github.io/differently.
👋 Hello!
Hello! I'm Cariad Eccleston and I'm an independent/freelance software engineer. If my work has value to you, please consider sponsoring.
If you ever raise a bug, request a feature or ask a question then mention that you're a sponsor and I'll respond as a priority. Thank you!
Metadata
Release files for differently 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| differently-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / differently-1.0.1-py3-none-any.whl
| Download URL | differently-1.0.1-py3-none-any.whl |
|---|---|
| Size | 13.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e9feefea1edf9ae1132186c699e577954184230653418bf47c1e11dd769786a
|
|
BLAKE2b-256 checksum How to use checksums |
1b31ea07f08915a99d87bb56ccd93ff785c5193917ffec2c85fcfc2acd63ca0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|