Skip to main content

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]

Metadata

Release files for extraspaceremover 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for extraspaceremover 0.0.1
File Size Uploaded
extraspaceremover-0.0.1.tar.gz 8.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for extraspaceremover 0.0.1
File Interpreter ABI Platform
extraspaceremover-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.9 kB

Release files / extraspaceremover-0.0.1.tar.gz

Download URL extraspaceremover-0.0.1.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1aaca2441f1c5f37c62547a063cfb8ca620774ac81cf9368890fe2d64ae668a0
BLAKE2b-256 checksum
How to use checksums
83dad24e71305fdc07a1c05d6d61518a42272eaac8dfbc72c9aa274702ee17c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release files / extraspaceremover-0.0.1-py3-none-any.whl

Download URL extraspaceremover-0.0.1-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2b281235534b004dc26f55640bbfaed5579fd37c98adc8816ed7bd64b9f7cf6
BLAKE2b-256 checksum
How to use checksums
4673a4e32fa8515026a9f77bc266fa9338591d2b86c60ebef0e2cf8eccf7e6ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page