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

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

Built distribution (wheel)

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

Total release size: 1.4 MB

Release files / stbkit_core-0.1.0b2.tar.gz

Download URL stbkit_core-0.1.0b2.tar.gz
Size 681.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8047d4ba26a63479b45cf5e1c7273b5347502721ddd0500ee4aa207ecc55f8cc
BLAKE2b-256 checksum
How to use checksums
32d595074584352486c2629ccb3509d5b670b2d1ec3d23d4332005afe0309176
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 30, 2026.

Transparency log

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

Download URL stbkit_core-0.1.0b2-py3-none-any.whl
Size 722.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10799b835180793d932f34f9d062d9022263ae0f558e3b7f3337abe161b2f41f
BLAKE2b-256 checksum
How to use checksums
0f3b75ffd120b963adf488c2e7ab92ae1459422f0a4b2009e25a51f92488d5c5
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 30, 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