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.0.tar.gz (2.3 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.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: myln-0.1.0.tar.gz
  • Upload date:
  • Size: 2.3 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.0.tar.gz
Algorithm Hash digest
SHA256 b17f0e3bd2c7ef8867e37c716868f629f4b5cb656c4f782011cad994ef8a6d28
MD5 e33edad3f38b53fe694e6bc3b5bf92b9
BLAKE2b-256 d27aa6b7372e8a2b5c6d6e8cc8b00750a64ccc7829f48ebbaa008e90ae375c47

See more details on using hashes here.

File details

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

File metadata

  • Download URL: myln-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a93cd8864970d05c5c99d18c1d458d68492e82cccf688fa08729dfd9ffefa497
MD5 e14ec526f4c43de27dd9d01e7149b110
BLAKE2b-256 15a01dc68b4ca350582d3eca1f2aff154a2538512e93792417b4691a624ceca7

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