Skip to main content

arpakitlib

🚀 Simplify Your Development Workflow

A collection of lightweight and convenient development tools by arpakit, designed to simplify and accelerate your workflow.

PyPI Python License


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
xlsx_util xlsx-util xlsx export from a list of dicts, with typed cells and autosized columns
zip_util zip-util zip archives from files and folders, optionally AES encrypted
aiogram_util aiogram-util parsing telegram bot commands

Every module is self-contained: import the one function you need and nothing else comes along.


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,xlsx-util]"

Pin an exact version:

pip install arpakitlib==3.0.14

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


❤️ Made by arpakit ❤️

Metadata

Release files for arpakitlib 3.0.19

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arpakitlib 3.0.19
File Size Uploaded Provenance Actions
arpakitlib-3.0.19.tar.gz 48.5 kB Without provenance Details for arpakitlib-3.0.19.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for arpakitlib 3.0.19
File Interpreter ABI Platform Actions
arpakitlib-3.0.19-py3-none-any.whl Python 3 none any Details for arpakitlib-3.0.19-py3-none-any.whl

Total release size: 116.6 kB

Release files / arpakitlib-3.0.19.tar.gz

Download URL arpakitlib-3.0.19.tar.gz
Size 48.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d04e62711a172fe7323b16aebb460dba7f0b4cb96b52adc9166101d472b1cfac
BLAKE2b-256 checksum
How to use checksums
ef9f30be5db5655b2641f6ea7ab8f56d95a1d2e4e0275d3f9735c654d211ad26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.3 CPython/3.12.3 Linux/6.17.0-20-generic

Release files / arpakitlib-3.0.19-py3-none-any.whl

Download URL arpakitlib-3.0.19-py3-none-any.whl
Size 68.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d89c23d31891b4ed602a9e2e6a214427693c21732e36a395b5faeb7bb66ffe61
BLAKE2b-256 checksum
How to use checksums
23628d158d7850a2d3128cc8f31be54f498098e579bcbe7af137a83e40cbf2e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.3 CPython/3.12.3 Linux/6.17.0-20-generic

Security for arpakitlib 3.0.19

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.0.19 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page