概要
ボートレースのドメインで用いる共有データ型(pydantic モデル・Enum・値オブジェクト)のパッケージ
※ 機械学習におけるモデルではなく、pydantic データモデルの意
DDD でいう Shared Kernel(共有カーネル) に相当し、複数のサービス(crawlers / ml 等)が共有するドメインの語彙・データ構造・軽量なバリデーション(値域チェック等)を提供する。
本パッケージの責務はデータ構造と値の構造的妥当性までであり、ビジネスルールは含まない。ビジネスルールは各サービス側のドメイン層が持つ。また、本パッケージへの依存は必須ではない(例: voting は共有カーネルへの結合を避け、metaboatrace.contracts の Published Language 経由で連携する設計を採る)。
インストール
$ pip install metaboatrace.models
開発環境構築
uv sync
source .venv/bin/activate
※ uv が事前にインストールされていること
ブランチ戦略
GitHub Flow を採用している。
Metadata
Release files for metaboatrace.models 2.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| metaboatrace_models-2.4.4.tar.gz | 27.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| metaboatrace_models-2.4.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.4 kB
Release files / metaboatrace_models-2.4.4.tar.gz
| Download URL | metaboatrace_models-2.4.4.tar.gz |
|---|---|
| Size | 27.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec1d95c7aea441aef81ba4e4e77a73e33093bc03f507ff7ae754de67cc776e60
|
|
BLAKE2b-256 checksum How to use checksums |
dc6c23468aa89a96c66388a7409e621abd4f44fb68d7cfa0a676be14dcccf163
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / metaboatrace_models-2.4.4-py3-none-any.whl
| Download URL | metaboatrace_models-2.4.4-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1ea9bb8b1e0240a145c531a570a2c48a2fdb05c05d016b2d1bae1a77adbb058
|
|
BLAKE2b-256 checksum How to use checksums |
5d66367c69f662048c579a44c70feb9f5d70a6a0afefefe84f3930268b171f8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for metaboatrace.models 2.4.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.