Skip to main content

ipa-python-kit

usage

import ipa

or

from ipa.xx import yy

features

  1. pytest & pytest-cov
  2. pre-commit
  3. darker for code format
  4. ruff for lint
  5. commitlint for commit message format
  6. typer for cli
  7. sqlmodel for database ORM
  8. alembic for database migration

introduction

the project uses src-layout, includes my_sdk (for publish) and biz (for business logic).

sdk is designed for publish and no need to rename, we use file/folder mapping my_sdk=src/sdk in pyproject.toml.

feel free to rename my_sdk to [the name you want] in the whole project for your own use or publish.

dev

before you start:

  1. must run ./scripts/setup
  2. replace my_sdk with [the name you want] in the whole project
  3. remember to uv pip install -e .[all] to make sure my_sdk is available in development.

unit test

uv run -m pytest

htmlcov folder contains html coverage report.

run cli

uv run main.py --help

release sdk

  1. cp .pypirc.example .pypirc
  2. replace your token in .pypirc
  3. git tag vx.y.z
  4. ./scripts/publish

build executable file

./scripts/build

Download files

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

Source Distribution

ipa_python_kit-1.2.1.tar.gz (234.7 kB view details)

Uploaded Source

Built Distribution

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

ipa_python_kit-1.2.1-py3-none-any.whl (59.4 kB view details)

Uploaded Python 3

File details

Details for the file ipa_python_kit-1.2.1.tar.gz.

File metadata

  • Download URL: ipa_python_kit-1.2.1.tar.gz
  • Upload date:
  • Size: 234.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for ipa_python_kit-1.2.1.tar.gz
Algorithm Hash digest
SHA256 700062b7eb242fe8a7b2d46fb5242bef4d0fa541d228f35a504a39a46ae4b9fa
MD5 fb16b9ce951ba3263dcde7e4a065399b
BLAKE2b-256 4625b99cd24af80459b052609a01e8f879e3f08b7594678d592e6cdd2a222947

See more details on using hashes here.

File details

Details for the file ipa_python_kit-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: ipa_python_kit-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 59.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for ipa_python_kit-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d47da168a2412cf1152fd769df18e40179763f237f7e122c9afc9f1b9fba5cd8
MD5 9def686621b51be921340128e027f17c
BLAKE2b-256 ce91cda02b2dc2dbff03eb8d710108203a2f3a876a246926c1b09fdc50d53543

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 files

1.2.0

2 files

1.1.0

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.1.2

2 files

0.1.1

2 files

0.0.7

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