Skip to main content

A per-character diff/compression algorithm in python

Project description

Clashgap

Version Downloads PRs Welcome Code Quality Tests Status Build Status Docs Status

A per-character diff/compression algorithm implementation in python

How it works

In case if you have two strings:

"This is a sentence..." and "This is a word..."

you could "clash" both of them together and find their gap, to get an array loking something like:

["This is a", ["sentence", "word"], "..."]

As you can the clashgap algorithm looks for collisions in the two strings to find the gap. The clashgaped string maybe used for compression or as the diff of the input strings

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clashgap-1.0.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clashgap-1.0.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file clashgap-1.0.0.tar.gz.

File metadata

  • Download URL: clashgap-1.0.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.7.11 Linux/5.8.0-1036-azure

File hashes

Hashes for clashgap-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e7ed2c0d2ac8e49289675c436173696d3133b89e19097715515f569cf49af2ca
MD5 e359854f8b63a64102265bf78705b2ff
BLAKE2b-256 8f81984e51d5a46818c7c8d83201b3d272ffb872c301643fa2f9c383c60273e3

See more details on using hashes here.

File details

Details for the file clashgap-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: clashgap-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.7.11 Linux/5.8.0-1036-azure

File hashes

Hashes for clashgap-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8172c0f48cd7ff1502ad437301891bdae8a151a156024fd483f799d4c3b42123
MD5 7857112a9ff9358999141709b0292dab
BLAKE2b-256 de36484dfbf4208eea3cfa3eec0afa7a428938c501d5c990221b07f142484e78

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page