Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

stbkit-core

ST-Bridgeを扱うためのツールキットのコアライブラリです。

A Python core library for handling ST-Bridge.

ST-Bridgeは、日本の建築構造分野で広く利用されている建築構造データ交換フォーマットです。

ST-Bridge is a structural data exchange format widely used in Japan.

詳細はリポジトリのREADMEおよびDISCLAIMER をご確認ください。

PyPI License

概要

stbkit-coreはST-BridgeのXMLデータをPythonから扱うためのライブラリです。

  • ST-Bridgeの仕様に準拠したデータ構造
  • 不完全な実データを想定した堅牢性

を重視しています。

本パッケージはデータ処理の支援を目的とし、安全性検証(構造安全性の保証・確認)や法令適合性判定は行いません。 出力結果の検証、法令順守の確認は利用者の責任です。

インストール

通常はstbkitパッケージ経由で本パッケージをインストールすることを推奨します。

個別にインストールする場合は下記コマンドをご利用ください。

STB-KITは現在ベータ版です。通常のインストールではベータ版が選ばれない場合があるため、次の例では--preを指定します。利用するベータ版の番号が分かっている場合は、stbkit-core==バージョン番号のようにバージョンを直接指定することもできます。

python -m pip install --pre stbkit-core

使用例

ここでは、stbkit-coreのみを使ったコード例を示していますが、このパッケージ内のAPIは暫定的なものであり、今後変更される可能性があります。 継続的に利用するコードから使う場合は、この点を了解したうえで、バージョンを固定して使用してください。 互換性に関する方針は、GitHubリポジトリのCOMPATIBILITYを参照してください。

ST-Bridgeファイルの節点データを表示する

import stbkit.core

stb = stbkit.core.stb_io.load("example.stb")

for node in stb.stb_model.stb_nodes.stb_node:
    print(f"{node.id}, {node.x}, {node.y}, {node.z}")

ドキュメント

バリデーション

XML スキーマによるバリデーションを行う場合、xmlschema パッケージのインストールが必要です。 下記コマンドでxmlschemaもインストールされます。

python -m pip install --pre "stbkit-core[full]"

依存パッケージがない場合でも、型、必須項目等の簡易的な確認は行えます。

ライセンス

本プロジェクトのソースコードは Mozilla Public License 2.0 (MPL-2.0) のもとで提供されます。

  • MPL-2.0 はファイル単位のコピーレフトライセンスです。
  • 本プロジェクトの改変部分(該当ファイル)を再配布する場合、ソース公開義務が発生します。
  • 本ライブラリを利用するアプリケーションはOSSである必要はありません

実務利用とオープンな改善の両立を意図したライセンスです。

依存パッケージ(間接依存を除く)

オプション

  • xmlschema(MIT): XSDを利用したバリデーションに利用

免責(重要)

本ソフトウェアは現状有姿で提供され、いかなる保証もありません。 詳細はリポジトリのDISCLAIMERを参照してください。

Copyright 2026 TAISEI CORPORATION

Metadata

Release files for stbkit-core 0.1.0b7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stbkit-core 0.1.0b7
File Size Uploaded Provenance Actions
stbkit_core-0.1.0b7.tar.gz 699.7 kB With provenance Details for stbkit_core-0.1.0b7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for stbkit-core 0.1.0b7
File Interpreter ABI Platform Actions
stbkit_core-0.1.0b7-py3-none-any.whl Python 3 none any Details for stbkit_core-0.1.0b7-py3-none-any.whl

Total release size: 1.4 MB

Release files / stbkit_core-0.1.0b7.tar.gz

Download URL stbkit_core-0.1.0b7.tar.gz
Size 699.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a5569e39a08193ef625078b41199e636360b63d2b448a76ec19fb8f88364a9d4
BLAKE2b-256 checksum
How to use checksums
9e031b85d99ea8aa5d918d2bc55bdad969891f3e1f513eb34deb79986779e6ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / stbkit_core-0.1.0b7-py3-none-any.whl

Download URL stbkit_core-0.1.0b7-py3-none-any.whl
Size 740.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f524cd6402f03ed4dfd355c5d859ab5dedcb52da64563a050d519774f83cd6a3
BLAKE2b-256 checksum
How to use checksums
4dc058f0a07f91a7d7958d5148fbe95c7d0c0c3793b67c5ff34354caef5c2a5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Security for stbkit-core 0.1.0b7

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for stbkit_core-0.1.0b7.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page