Skip to main content

Remove extra spaces from a text

Project description

Extra Spaces Remover

This project is an exta spaces remover that you can use to clean your text from unwanted extra spaces.

Installation

Run the following to install:

pip install extraspaceremover

Usage

from spaceremover import remove_extra_spaces

text_with_extra_spaces = 'This is   an example   of text with extra spaces   '
cleaned_without_extra_spaces = remove_extra_spaces(text_with_extra_spaces)

print(cleaned_without_extra_spaces)

# Generates 'This is an example of text with extra spaces'

Devoloping Extra Spaces Remover

To install extraspaceremover, along with the tools you need to develop and run tests, run the following in your virtualenv:

pip install -e .[dev]

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

extraspaceremover-0.0.1.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

extraspaceremover-0.0.1-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file extraspaceremover-0.0.1.tar.gz.

File metadata

  • Download URL: extraspaceremover-0.0.1.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for extraspaceremover-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1aaca2441f1c5f37c62547a063cfb8ca620774ac81cf9368890fe2d64ae668a0
MD5 e624e2566f1262dd0b5021f51844dd14
BLAKE2b-256 83dad24e71305fdc07a1c05d6d61518a42272eaac8dfbc72c9aa274702ee17c8

See more details on using hashes here.

File details

Details for the file extraspaceremover-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for extraspaceremover-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f2b281235534b004dc26f55640bbfaed5579fd37c98adc8816ed7bd64b9f7cf6
MD5 34cdf12b7556c19121201a161a7f9924
BLAKE2b-256 4673a4e32fa8515026a9f77bc266fa9338591d2b86c60ebef0e2cf8eccf7e6ca

See more details on using hashes here.

Supported by

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