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.2.tar.gz (6.5 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.2-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: toolsed-0.1.2.tar.gz
  • Upload date:
  • Size: 6.5 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.2.tar.gz
Algorithm Hash digest
SHA256 5f5562ec5b4f06b39d394271898208a9dc33bd04d9225df10aa25d5801c4dead
MD5 0174e1a831a66d323fc9a94708b9f479
BLAKE2b-256 954108224ceec615b8570f9d3d3a87e525ae9d7dedb01ade029753d4b683ab8b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: toolsed-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e40f43c9efa9b129cf75d1ec0d50b0bc386e4175e46741212896ababe7d4b602
MD5 017bd9040d1e5e55aa25c6894ecb4023
BLAKE2b-256 578acd7a61ce8aeb61243f7f3c25cf15a7b6d201221499df90e9e4981d010724

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