Skip to main content

kit for python

Project description

pyproject-tmpl

features

  1. pytest
  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 sdk (for publish) and biz (for business logic). sdk is designed for publish and no need to rename, we use file/folder mapping mylib=src/sdk in pyproject.toml.

dev

before you start:

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

unit test

uv run -m pytest

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

Project details


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-0.1.2.tar.gz (345.2 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-0.1.2-py3-none-any.whl (61.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ipa_python_kit-0.1.2.tar.gz
Algorithm Hash digest
SHA256 41dffc667182db77a4854128457aca1e9844269bc10db15adc4ae1b74ea7ec9f
MD5 a04d17a3086ea2efd9baac7859244501
BLAKE2b-256 e6d3f9a360f8462cdadd51ae34d6cca69bacb760e915bcd3467b9891177b6928

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ipa_python_kit-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1d992f374fe139710e3a10a1c1df52aacc2a298edf794cd4264a28bd5adec3f5
MD5 b2fb7c9174001918a665303c12fe0aff
BLAKE2b-256 abe4b7c77d733cc0dd26c1956f507fb3e2ebbe283a1ed40bfc3bbd43a61e2613

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page