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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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