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.1.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.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: myln-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 d27a2809d438c71c276ce82149e8659d71d947cf54f7be36b9f8c2e8d899ee7d
MD5 84f721f33dbbb2edb5d3d14fe30aeee7
BLAKE2b-256 2e76cb0c37a8fbadfa0dfccaee2df77f650f9158a82e12bc3fc133226ef42de4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: myln-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a2002beaff37fa7cfc534942f3141052b7a7db749718f318e56604ad51724e2c
MD5 fb86c03d403549cd974dbff306043ec6
BLAKE2b-256 3edee7b2027b75f84624404b37ebf4987073c2659c0df3363d0388475789473e

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