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.1.4.tar.gz (6.7 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.1.4-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for toolsed-0.1.4.tar.gz
Algorithm Hash digest
SHA256 8be5a179dab5585e495223ad7ec66053df7039ac2746d35572d1c1e9f54028b1
MD5 71c4d6726ec083e25aadc14cc2a9279f
BLAKE2b-256 ec3546dc616caecf56d0395b2dcdf0a49bb7e779978c3674c27a64066d76ae5b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: toolsed-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 7.3 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.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2b7ea36ebbcceb8fdf8a90d27173b0017732e1b20d86965085687839f05c7979
MD5 25da5818b14589129ef67651de7c5b21
BLAKE2b-256 159830b69ebcce8a94a2662fb9ad1bb78a6d85758e0aa061cf65435c5005fb62

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