Observed since 20 Oct, 18:39 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A collection of helper utilities for Python projects.
pytoolkit is a small collection of helper modules that can be used across different Python projects.
The focus is on simple building blocks: configuration handling, logging, timing, HTTP helpers, caching, string helpers, and more.
Current version: 0.4.0
🌐 Website: www.actobotics.net
🐦 X/Twitter: @actoboticsnet
pip install acto-pytoolkit
git clone https://github.com/actobotics/pyToolkit.git
cd pyToolkit
pip install -e .
# For async HTTP client support
pip install acto-pytoolkit[async]
# For development (testing, linting, type checking)
pip install acto-pytoolkit[dev]
# For building documentation
pip install acto-pytoolkit[docs]
# Install everything
pip install acto-pytoolkit[all]
The package is split into focused modules:
config_loader - Load configuration from JSON, YAML, TOML, and .env fileslogger - Colored logging with environment-based configurationtimer - Function timing and profiling utilitieshttp_client - Sync HTTP client with retry logicasync_http_client - Async HTTP client using aiohttp (optional)crypto_utils - Hashing and secure token generationfile_utils - Safe file operations with atomic writescache - In-memory caching with TTL supportretry - Retry decorator with exponential backoffvalidators - Validation for email, URL, UUID, IP addressesmath_tools - Moving average, normalization, scalingstring_tools - Slugify, case conversion, text processingtask_scheduler - Simple in-process task schedulingenv - Environment detection utilitiescli - Command-line interface frameworkcontext_utils - Nested dictionary operationsserialization - JSON, YAML, TOML helpersSee the examples directory for small, complete scripts, or check the full documentation.
from pytoolkit import ConfigLoader, get_logger, HttpClient
# Configure logging
logger = get_logger()
# Load configuration
config = ConfigLoader(env_file=".env", json_file="config.json")
api_url = config.get("API_URL", "https://api.example.com")
# Make HTTP request with automatic retries
with HttpClient(base_url=api_url, max_retries=3) as client:
response = client.get("/users")
users = client.json(response)
logger.info("Fetched %d users", len(users))
After installation a small CLI entry point is available:
pytoolkit info
pytoolkit env
Use pytoolkit --help to see available commands.
python -m unittest discover -s tests
The project follows a simple semantic versioning scheme:
See CHANGELOG.md for a detailed history of changes.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.4.0 | 23 Dec 2025 | 18 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 18:39 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:e638ebf7ea1e09bbec9955ca1bee75c04b0e392e9c12d6da9727fe8be86e29ac