Skip to main content

A simple text compression package for Python.

Project description

Myln Compression Package

A simple Python package for compressing text by removing non-essential vowels and applying common abbreviations.

Installation

Install the package using pip:

pip install myln-compression

Usage

To use the text compression functionality, import the MylnCompressor from the package and use the compress_text method:

from myln_compression import MylnCompressor

input_text = "This is a test message, to see how as soon as possible can be compressed."
compressed_text = MylnCompressor.compress_text(input_text)
print(compressed_text)

Features

  • Removes vowels from non-essential words longer than three characters.
  • Applies common abbreviations to reduce text length.
  • Easy integration into existing Python projects.

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

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

myln-0.1.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

myln-0.1.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file myln-0.1.2.tar.gz.

File metadata

  • Download URL: myln-0.1.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for myln-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2eb0155ac76a41ef441801b73cd96557c8abf3554f1b6f81ca3196d71b388d5f
MD5 5875a01ac980ecd0f0237379895d8c89
BLAKE2b-256 700668e84f3ca86521c99379040ee8049f6b4f380db8dc1997eb4c0e9b8af660

See more details on using hashes here.

File details

Details for the file myln-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: myln-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for myln-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 db36acc0e9dc20862f117c03c8fe47e2cb505738faf0a3542121f3422e9b6f33
MD5 bec3d2c970775177934408e630f04d11
BLAKE2b-256 1c14266f6fa07d5006ce19f6c50fe51eb70f88231ef0aa5e106bf874f171e210

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