Skip to main content

A collection of tools for developers

Project description

toolsed — Simple, Practical Utilities for Python

toolsed is a lightweight library that provides practical, reusable functions for everyday Python programming. It eliminates common boilerplate and makes code more readable.

No magic. No dependencies. Just useful tools you'd write yourself — but already tested and ready to use.


🚀 Why toolsed?

You've probably written these helpers dozens of times:

  • Get the first item from a list (or return None)
  • Safely access nested dicts
  • Flatten a list of lists
  • Truncate long strings
  • Handle optional values gracefully

toolsed collects them into one clean, reliable package.


📦 Installation

pip install toolsed

Or install locally for development:

pip install -e .

🧩 Quick Example

from toolsed import first, safe_get, truncate, pluralize

first([1, 2, 3])                           # → 1
safe_get({"a": {"b": 42}}, "a", "b")       # → 42
truncate("Hello world", 8)                 # → "Hello..."
pluralize(5, "file")                       # → "5 files"

📚 Full Documentation

See detailed docs for each module:


🛠️ Development

To contribute:

git clone https://github.com/your-username/toolsed
cd toolsed
pip install -e .
pytest

📄 License

MIT


---

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

toolsed-0.3.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

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

toolsed-0.3.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file toolsed-0.3.0.tar.gz.

File metadata

  • Download URL: toolsed-0.3.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.2

File hashes

Hashes for toolsed-0.3.0.tar.gz
Algorithm Hash digest
SHA256 dc25ec7a448257fd2ee10a7ac234a7962d9909148ad8c2dba38416b953ee1c9b
MD5 b86c964c9395d91f99a005ede9127445
BLAKE2b-256 164df37ad06f7852021db0cc84436a6717ede7419e68bd6a2d532349da010fe0

See more details on using hashes here.

File details

Details for the file toolsed-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: toolsed-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.2

File hashes

Hashes for toolsed-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 68cc75f2292f38d8f97dc4fab43568058765fd43c2cec4541e84f25a006b9281
MD5 be12127492e28b365a627a5cc8e27d2e
BLAKE2b-256 23406bab7c3371374c2bc72810543551bff09ac8b1536a5af1d52b6abb0fc7f4

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