Skip to main content

arpakitlib

🚀 Simplify Your Development Workflow

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

PyPI Python License


What is inside

Utilities are grouped by the library they build on, so you only reach for what your project already uses:

Package About
arpakitlib.common_ Everyday helpers: JSON, dates, files, settings, workers, retries, enumerations
arpakitlib.sqlalchemy_ Declarative base with handy introspection, database helper, check constraints
arpakitlib.pydantic_ Building schemas out of existing pydantic models
arpakitlib.http_client_ Sync and async HTTP requests with retries, proxy support and a base API client
arpakitlib.fastapi_ Collecting routers from a directory
arpakitlib.aiogram_ Collecting routers from a directory, parsing Telegram commands
arpakitlib.sqladmin_ Introspection for admin model views
arpakitlib.etc_ Everything else: password protected archives, database dumps, email validation

Every module keeps its own runnable example, so the fastest way to see what a utility does is to run it:

python -m arpakitlib.common_.ar_json_util

Supported Python version

  • Python 3.13.4 and above

Installation

pip install arpakitlib
poetry add arpakitlib
uv add arpakitlib

Pin an exact version:

pip install arpakitlib==2.0.0

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_.ar_json_util import transfer_data_to_json_str

print(transfer_data_to_json_str({"when": datetime(2026, 9, 4), "price": Decimal("1.5")}))
# {
#   "when": "2026-09-04T00:00:00",
#   "price": "1.5"
# }

print(transfer_data_to_json_str({"when": datetime(2026, 9, 4)}, beautify=False))
# {"when":"2026-09-04T00:00:00"}

Development

poetry install
poetry run pytest

Links


❤️ Made by ARPAKIT Company ❤️

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arpakitlib-2.0.0.tar.gz (50.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arpakitlib-2.0.0-py3-none-any.whl (74.2 kB view details)

Uploaded Python 3

File details

Details for the file arpakitlib-2.0.0.tar.gz.

File metadata

  • Download URL: arpakitlib-2.0.0.tar.gz
  • Upload date:
  • Size: 50.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.2 CPython/3.13.4 Linux/7.0.0-28-generic

File hashes

Hashes for arpakitlib-2.0.0.tar.gz
Algorithm Hash digest
SHA256 6efc42b9ec88f831d9a204d77f4fd20a5b19f1359a490e0106421accd672e065
MD5 8f09e27402b2fd0db7b210010bbb08b4
BLAKE2b-256 a6c52d5ca4a257517fc8bf6d165c83d0fb67a610a210bdc3c4b9feaaaec6ceb7

See more details on using hashes here.

File details

Details for the file arpakitlib-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: arpakitlib-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 74.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.2 CPython/3.13.4 Linux/7.0.0-28-generic

File hashes

Hashes for arpakitlib-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 715de184e118303745e1eff2d203ee1ca2f9518210fd566362c0fd9c39511f17
MD5 c3cbc00ed1ab7254b7255725bddf80d6
BLAKE2b-256 03f4b43674d4b5c7497b753b75e7dfd7028c05d4a8a28a1e6f0c747f33c6bf4e

See more details on using hashes here.

Release history Release notifications | RSS feed

3.0.18

2 files

3.0.17

2 files

3.0.16

1 file

3.0.15

2 files

3.0.14

2 files

3.0.13

2 files

3.0.11

2 files

3.0.10

1 file

3.0.4

2 files

3.0.2

2 files

3.0.0

2 files

This release

2.0.0 This release

2 files

1.9.61

2 files

1.9.60

2 files

1.9.56

2 files

1.9.55

2 files

1.9.51

2 files

1.9.50

2 files

1.9.48

2 files

1.9.46

2 files

1.9.43

2 files

1.9.41

2 files

1.9.40

2 files

1.9.39

2 files

1.9.38

2 files

1.9.37

2 files

1.9.35

2 files

1.9.34

2 files

1.9.33

2 files

1.9.32

2 files

1.9.31

2 files

1.9.30

2 files

1.9.29

2 files

1.9.28

2 files

1.9.27

2 files

1.9.26

2 files

1.9.25

2 files

1.9.24

2 files

1.9.23

2 files

1.9.22

2 files

1.9.21

2 files

1.9.20

2 files

1.9.19

2 files

1.9.18

2 files

1.9.10

2 files

1.9.9

2 files

1.9.8

2 files

1.9.7

2 files

1.9.6

2 files

1.9.5

2 files

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