Metadata-Version: 2.4
Name: pysmart-lib
Version: 1.0.0b2
Summary: An elegant Python string extension library featuring SmartStr with robust validation and parsing.
Author: Elijah J.
Keywords: string,utility,validation,slugify,safe-parsing,pysmart
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# PySmart

An elegant, utility-driven Python string extension library. `PySmart` supercharges native Python string implementations with built-in validation formatting, safe conversion mechanics, and robust text-processing helpers natively baked straight into the object context.

---

## 🛠 Features

* **SmartStr:** Drop-in `str` subclass companion offering fluid API method chains.
* **Inline Validation Helpers:** Fast `.isEmail()` and international-ready `.isPhoneNumberFormat()` checks.
* **Web Utilities:** Standardized, string-safe URL creation with `.slugify()`.
* **Zero-Crash Conversions:** Built-in error-insulated numerical parsers via `.safeInt()` and `.safeFloat()`.

---

## 📦 Installation

Install the library directly from PyPI:

```bash
pip install pysmart-lib
```

---

## 🚀 Quick Usage Blueprint

```python
from pysmart import SmartStr

# Initialize smoothly just like a raw string object
user_input = SmartStr("  Fixing your String Data!  ")

# Clean whitespace and build standard URL slugs smoothly
print(user_input.removeWhiteSpace()) # "FixingyourStringData!"
print(user_input.slugify())          # "fixing-your-string-data"

# Safe parsing without throwing ValueErrors or crashing processes
invalid_num = SmartStr("abc-123")
print(invalid_num.safeInt(default=0)) # 0
```

---

## ⚖ License

This library is open-source. Distributed under the terms of the MIT License. If you leverage this framework inside a production product or public project, please add acknowledgable credit in a description.
