Skip to main content

A simple text cleaner and keyword detector package.

Project description

wooseonghyun

A simple Python package for:

  • Cleaning text (remove leading/trailing spaces and lowercase)
  • Detecting whether a keyword exists in a sentence

This package is structured using the modern src/ layout and supports testing with pytest.


📦 Installation

Install via pip (after uploading to PyPI or TestPyPI):

pip install wooseonghyun

🛠 Usage

from mypkg import clean_text, contains_keyword

text = "   Hello, Wooseonghyun!   "
cleaned = clean_text(text)
print(cleaned)  # "hello, wooseonghyun!"

print(contains_keyword(cleaned, "hyun"))  # True

🧪 Running Tests

PYTHONPATH=src pytest tests/

🔖 Author

  • 우성현 (Wooseonghyun)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wooseonghyun-0.1.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wooseonghyun-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for wooseonghyun-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b2cbc051bca597c98337e8587ab28fddf29964be08c2c4a7bc292669661e3c2d
MD5 b985b7a47bb5fd5256be2bff04eef96c
BLAKE2b-256 a98c1d60d31b6232efae05a38d392454235abb83b359a727cfaafa2a867cc544

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