kit for python
Project description
ipa-python-kit
usage
import ipa
or
from ipa.xx import yy
features
- pytest
- pre-commit
- darker for code format
- ruff for lint
- commitlint for commit message format
- typer for cli
- sqlmodel for database ORM
- 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:
- must run
./scripts/setup - replace
my_sdkwith[the name you want]in the whole project remember touv pip install -e .[all]to make suremy_sdkis available in development.
unit test
uv run -m pytest
run cli
uv run main.py --help
release sdk
cp .pypirc.example .pypirc- replace your token in
.pypirc git tag vx.y.z./scripts/publish
build executable file
./scripts/build
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ipa_python_kit-1.0.0.tar.gz.
File metadata
- Download URL: ipa_python_kit-1.0.0.tar.gz
- Upload date:
- Size: 213.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a268ade8ee9d1b3ef0f8ee09ec03f982aa0cc3ce156d502a7fb6e0c84dac8a35
|
|
| MD5 |
a8f783bbf4b3af6239106229a0a5d84d
|
|
| BLAKE2b-256 |
93fc5e56253a08ee2839a29a794b1cf6547930c015c8a1231a04e51c2e5cded1
|
File details
Details for the file ipa_python_kit-1.0.0-py3-none-any.whl.
File metadata
- Download URL: ipa_python_kit-1.0.0-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.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0baa7cffce8afe2ed18a657e6994dd738cfdfa03cd300aebaa1c31473f3939d3
|
|
| MD5 |
954798341f93f6daabbe80facbf6aaf4
|
|
| BLAKE2b-256 |
e7dd356c94eb3ab1b4c01b31f298c17bfdcc7765f108f5150e3213be2ed9dba9
|