Sonolus-Models
Pythonで実装されたSonolusサーバーのPydanticモデルライブラリ。 sonolus-core (TypeScript)の型定義から移行された完全な型安全性を提供します。
インストール
pip install sonolus-models
主な機能
完全な型定義
- 共通型:
Tag,Srl,Sil,AutoExit,GameplayResult - アイテム型:
LevelItem,SkinItem,BackgroundItem,EffectItem,ParticleItem,EngineItem,PostItem,PlaylistItem,ReplayItem,RoomItem,UserItem - サーバー型:
ServerInfo,ServerInfoButton(3種類のUnion型) - オプション型: 9種類の
ServerOption(text, textArea, slider, toggle, select, multi, serverItem, serverItems, collectionItem, file)
TypeScript互換
sonolus-core (TypeScript) の型定義から移行されているため、TypeScriptとの完全な互換性があります。
Pydantic v2対応
最新のPydantic v2を使用した高速なバリデーション。
ライセンス
MIT
Metadata
Release files for sonolus-models 0.2.6.8
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 | Actions |
|---|---|---|---|---|
| sonolus_models-0.2.6.8.tar.gz | 16.0 kB | Without provenance | Details for sonolus_models-0.2.6.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sonolus_models-0.2.6.8-py3-none-any.whl | Python 3 | none | any | Details for sonolus_models-0.2.6.8-py3-none-any.whl |
Total release size: 48.7 kB
Release files / sonolus_models-0.2.6.8.tar.gz
| Download URL | sonolus_models-0.2.6.8.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6c5ce5bde5f98903e8e50a52598aaf923c4580a9cf2b0784b58b7fa97dcb6b6
|
|
BLAKE2b-256 checksum How to use checksums |
42cadb54abfc28ec9a9487634bc99fcdab4eb46909cfd6028fbfbb5e7bad123e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.2","id":"zara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / sonolus_models-0.2.6.8-py3-none-any.whl
| Download URL | sonolus_models-0.2.6.8-py3-none-any.whl |
|---|---|
| Size | 32.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bdc5f917dc23dd80a437f80c8bc61f27af57ba4bfbe90eca7f26348e31f32f51
|
|
BLAKE2b-256 checksum How to use checksums |
0b59e619ced422b5c71449901a273252c4d3b670b0960072ba353e381b94a4ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.2","id":"zara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for sonolus-models 0.2.6.8
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.