arpakitlib
🚀 Simplify Your Development Workflow
A collection of lightweight and convenient development tools by arpakit, designed to simplify and accelerate your workflow.
What is inside
A set of small, self-contained utilities you pick from one at a time.
The base install stays light and pulls only a handful of packages. Everything that needs a heavier library lives in its own subpackage behind an optional extra, so you install a web framework or a bot framework only if you actually use that part.
| Subpackage | Extra | What is inside |
|---|---|---|
common_util |
always installed | JSON, dates, strings, dictionaries, files, settings, background workers, retries, enumerations, shell commands, database dumps, email validation |
http_client_util |
http-client-util |
sync and async requests with retries and proxy support, plus a base API client |
sqlalchemy_util |
sqlalchemy-util |
declarative base with introspection, database helper, check constraints, pydantic schemas from existing models |
sqladmin_util |
sqladmin-util |
introspection for admin model views |
aiogram_util |
aiogram-util |
parsing telegram bot commands |
Every module keeps its own runnable example, so the fastest way to see what a utility does is to run that module directly:
python -m arpakitlib.<subpackage>.<module>
For example:
python -m arpakitlib.common_util.json
Supported Python version
- Python 3.13.4 and above
Installation
The base install gives you everything in common_util:
pip install arpakitlib
poetry add arpakitlib
uv add arpakitlib
Add the extras you need, separately or several at once:
pip install "arpakitlib[sqlalchemy-util]"
pip install "arpakitlib[aiogram-util,http-client-util]"
poetry add "arpakitlib[sqlalchemy-util,sqladmin-util]"
Pin an exact version:
pip install arpakitlib==3.0.5
Install straight from the repository:
pip install git+https://github.com/ARPAKIT-Company/arpakitlib.git
Install a pre-release from TestPyPI:
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ arpakitlib
Quick start
from datetime import datetime
from decimal import Decimal
from arpakitlib.common_util.json_etc import convert_data_to_json_str
print(convert_data_to_json_str({"when": datetime(2026, 9, 4), "price": Decimal("1.5")}))
# {
# "when": "2026-09-04T00:00:00",
# "price": "1.5"
# }
print(convert_data_to_json_str({"when": datetime(2026, 9, 4)}, beautify=False))
# {"when":"2026-09-04T00:00:00"}
Development
Extras are not installed by default, so use --all-extras to get a full environment:
poetry install --all-extras
Then run any module's example to check things work:
python -m arpakitlib.common_util.json
Links
❤️ Made by arpakit ❤️
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 arpakitlib-3.0.13.tar.gz.
File metadata
- Download URL: arpakitlib-3.0.13.tar.gz
- Upload date:
- Size: 49.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.4.3 CPython/3.13.4 Linux/6.17.0-20-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3bb9c010562c35892e670f3d50f3f677cbf8c90386cf5b791f824d3fd27b1884
|
|
| MD5 |
5438d6cd75d11d0d980ac29d6b521f00
|
|
| BLAKE2b-256 |
2d927dcfbb1efca8f5568642cca569b83d0f1b7c97475e1bda3d455366436734
|
File details
Details for the file arpakitlib-3.0.13-py3-none-any.whl.
File metadata
- Download URL: arpakitlib-3.0.13-py3-none-any.whl
- Upload date:
- Size: 69.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.4.3 CPython/3.13.4 Linux/6.17.0-20-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
022eb15006ddb4f9a0d2dc008f63a550d6d3a0fe1425e05a24f4dcafe0656248
|
|
| MD5 |
f937a2f8555bc7cb8bbf7357813b6bac
|
|
| BLAKE2b-256 |
d2572cb4b6b4f2a2df565c1f7c499e71c846cad69f186ed5494fbe31ac852a74
|