Snippets and utils for python projects
Project description
python‑purse
python‑purse is a library that collects a variety of snippets and utilities for both asynchronous and synchronous Python projects. Whether you're building bots, web applications, or other tools, this library provides ready-to-use code modules to speed up development.
Features
-
Dataclasses Utilities
Enhance your work with Python dataclasses with extra helpers and shortcuts. -
Datetime Helpers
Tools for common datetime operations. -
HTTP Clients
Built-in support for multiple HTTP clients includinghttpx,requests, and builtin http module. -
Framework Extensions
- aiogram: Bootstrap modules, decorators, routers, and utilities for Telegram bots.
- aiohttp: Simplified app creation and server utilities.
- django: ASGI/WSGI handlers, repository patterns, and more for Django projects.
-
Logging
Custom logging configurations and integrations (including Telegram-based logging). -
Interfaces and Repositories
Protocol definitions and in-memory repository implementations for fast prototyping. -
JSON and Functional Helpers
Utility functions to simplify JSON handling and functional programming patterns. -
Additional Utilities
Signal handling, system-level helpers, type utilities, and more.
Installation
If python‑purse is published on PyPI, you can install it via pip:
pip install python-purse
Or, with extras:
pip install python-purse[aiogram]
Contributing
Contributions are welcome! If you’d like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch (git checkout -b feature/my-feature).
- Commit your changes (git commit -am 'Add new feature').
- Push your branch (git push origin feature/my-feature).
- Open a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contacts
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python_purse-1.0.24.tar.gz.
File metadata
- Download URL: python_purse-1.0.24.tar.gz
- Upload date:
- Size: 28.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f763cbc5e0b33162b41b891a100391bd28547bf7911775cbf52822c901f508ec
|
|
| MD5 |
27472f48636ba65033dd7e35cad721f7
|
|
| BLAKE2b-256 |
600217a99163068ce44f3d5f792d48bf80a95378db6bfe87d3596dbd36af32ff
|
File details
Details for the file python_purse-1.0.24-py3-none-any.whl.
File metadata
- Download URL: python_purse-1.0.24-py3-none-any.whl
- Upload date:
- Size: 34.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d5fa65d045a8f0a0b6e2c67f8dfc019c7fe3428c5d63d885991528a243a3f00
|
|
| MD5 |
61533847f309bb497513e9cb8f489a81
|
|
| BLAKE2b-256 |
ea4cec969e1aac739147f657c4e94afe5084d87307e1794916f13d3821169f51
|