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

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

Built distribution (wheel)

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

Total release size: 1.4 MB

Release files / stbkit_core-0.1.0b1.tar.gz

Download URL stbkit_core-0.1.0b1.tar.gz
Size 680.9 kB
Tags Source
SHA-256 checksum
How to use checksums
44e7ea3372d81992fc7360b97a465de2e374fd5455aaaff38fc9ad8deecb3f20
BLAKE2b-256 checksum
How to use checksums
dd715b710ca5daef28283b497667b72832614150e38e2c94ad219f20738efa21
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 15, 2026.

Transparency log

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

Download URL stbkit_core-0.1.0b1-py3-none-any.whl
Size 722.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c971726fc4e3d2f6d3392f0cd7c4e396f1daf92cca7ea6f89d05478a2fdeeef2
BLAKE2b-256 checksum
How to use checksums
53b0fbb4856792c833c500216d0f04c76ebb8b61493c03b3dbcfeea769933814
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 15, 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