Skip to main content

GitHub Workflow Status GitHub Workflow Status GitHub Workflow Status Coverage PyPI version License: MIT Python version Code style: ruff

概要

ボートレースのドメインで用いる共有データ型(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 を採用している。

Download files

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

Source Distribution

metaboatrace_models-2.4.3.tar.gz (27.9 kB view details)

Uploaded Source

Built Distribution

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

metaboatrace_models-2.4.3-py3-none-any.whl (37.4 kB view details)

Uploaded Python 3

File details

Details for the file metaboatrace_models-2.4.3.tar.gz.

File metadata

  • Download URL: metaboatrace_models-2.4.3.tar.gz
  • Upload date:
  • Size: 27.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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}

File hashes

Hashes for metaboatrace_models-2.4.3.tar.gz
Algorithm Hash digest
SHA256 e661346fb6c32d9d56d7f4c65c05fce53977178a6493c7088b788818ddac1939
MD5 cccf116b9caeaef36d92e21c82e75d51
BLAKE2b-256 055af7ac5be6091cc67fb0903d78aa116cb24fea4c40486adf5c66e1028013f7

See more details on using hashes here.

File details

Details for the file metaboatrace_models-2.4.3-py3-none-any.whl.

File metadata

  • Download URL: metaboatrace_models-2.4.3-py3-none-any.whl
  • Upload date:
  • Size: 37.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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}

File hashes

Hashes for metaboatrace_models-2.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3a28e91682e1e5fd0bcf067d2a1a5e85e45b20565931d11889e680d99a6f1fc3
MD5 49f15177ffc692461926d425b0f3b5ae
BLAKE2b-256 d718d2a68aee14e41f6ed45e074c89ab83e9cf4230ffdc2a1871e7477b35c277

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 Sentry Error logging StatusPage Status page