Skip to main content

pysquale

Useful lib for text processing in Portuguese.

The name of the lib was inspired by the name of the famous Brazilian Teacher Pasquale


Usage

from pysquale.common.pipeline import ReducerPipeline
from pysquale.words.cleaning import remove_accentuation, remove_punctuation, to_lower

func_list = [to_lower, remove_accentuation, remove_punctuation]
text = "Olá, quem é você?"
pipe = ReducerPipeline(target=text, items=func_list)
output = pipe.run()
print(output)

# Should print:
# ola quem e voce"

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.


License

MIT

Release files for pysquale 0.0.11

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

Source distribution (sdist)

Source distribution for pysquale 0.0.11
File Size Uploaded
pysquale-0.0.11.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pysquale 0.0.11
File Interpreter ABI Platform
pysquale-0.0.11-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 83.2 kB

Release files / pysquale-0.0.11.tar.gz

Download URL pysquale-0.0.11.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f13e238738e6c29e311be8bdb96251e8f24b4fb9501893e5e634ead20b73c737
BLAKE2b-256 checksum
How to use checksums
f25e682fdda33238975137755f9cb8217f97a1b5809fe2b4d33d56f0b1ba7572
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.12

Release files / pysquale-0.0.11-py2.py3-none-any.whl

Download URL pysquale-0.0.11-py2.py3-none-any.whl
Size 77.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9aa4f098da7ea8f5072fabf6317ddf73974516fcbf7662108b9ade33b0a4b802
BLAKE2b-256 checksum
How to use checksums
c745f0d341cd7a5f0c7ccf05c6e01d59d303d767b21778e8241e1f33cd72b8ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.12

Release history Release notifications | RSS feed

This release

0.0.11 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

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