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 をご確認ください。

概要

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}")

ドキュメント

ドキュメントは現在準備中です。公開時にこちらへリンクを掲載します。

  • ユーザーガイド(準備中)
  • APIリファレンス(準備中)

バリデーション

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.0a9

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.0a9
File Size Uploaded
stbkit_core-0.1.0a9.tar.gz 680.7 kB Details

Built distribution (wheel)

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

Total release size: 1.4 MB

Release files / stbkit_core-0.1.0a9.tar.gz

Download URL stbkit_core-0.1.0a9.tar.gz
Size 680.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b290426612adf3b00f79c0cce9b3ca3a8bf8ac9a897e384d9c9ddb853a529c4f
BLAKE2b-256 checksum
How to use checksums
c8eb77f19cd31352d5b66bd3b74b46246a07884f340bdf7173ba6a42596be827
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 9, 2026.

Transparency log

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

Download URL stbkit_core-0.1.0a9-py3-none-any.whl
Size 722.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea7a0a81e5515177708b153064b7d0b3bccb384c9a26096ebfeeb6950bf10945
BLAKE2b-256 checksum
How to use checksums
93e426b8575e9d85a59f047b21054d3d09620840ae2cb10b007abcdcafd980f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 9, 2026.

Transparency log
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