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
sqladmin_util sqladmin-util introspection for admin model views
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,sqladmin-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 ❤️

Download files

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

Source Distribution

arpakitlib-3.0.15.tar.gz (49.1 kB view details)

Uploaded Source

Built Distribution

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

arpakitlib-3.0.15-py3-none-any.whl (69.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: arpakitlib-3.0.15.tar.gz
  • Upload date:
  • Size: 49.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.3 CPython/3.12.3 Linux/6.17.0-20-generic

File hashes

Hashes for arpakitlib-3.0.15.tar.gz
Algorithm Hash digest
SHA256 0685f999936a612efb6e4b21ce266cf2b378680fdb600a6ca04ee000071994c1
MD5 2e83a78201d1d8a0790aad74578bf5c1
BLAKE2b-256 6ffce2719d398d01b3311920004e11c2eeed1e57492b6658e8f9eb55bd4239ec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: arpakitlib-3.0.15-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.12.3 Linux/6.17.0-20-generic

File hashes

Hashes for arpakitlib-3.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 aaeb5a205212aca9eb1c3bc14c21eced604fbe2f1d23192e080e1a37822be881
MD5 3ba4c8435aba7f50b1880457be74b8c2
BLAKE2b-256 5c159ae289ba1b097354ef61ba29c0ad0d831e451038532483ea1238f6915130

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

This release

3.0.15 This release

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

2.0.0

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