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

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

Built distribution (wheel)

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

Total release size: 1.4 MB

Release files / stbkit_core-0.1.0b3.tar.gz

Download URL stbkit_core-0.1.0b3.tar.gz
Size 681.3 kB
Tags Source
SHA-256 checksum
How to use checksums
779c1c6a31d683bb1be4b67ce0a81d2a69190c0d5d992cbda7416e8586c743b7
BLAKE2b-256 checksum
How to use checksums
be7a012846ac53246ab7fd43da2f2a5c1c9a6eab2e9296b774a5c5a04fdb528f
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 Oct 5, 2026.

Transparency log

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

Download URL stbkit_core-0.1.0b3-py3-none-any.whl
Size 722.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aae5cca05cf585f6ba001a9048470efd09dd3cd2eb217e3e9d3404f66f5ae7f8
BLAKE2b-256 checksum
How to use checksums
625f29ac66591f29060be2ac251d1a6588ece6a2fc5fb1cbe8082dfdc1b6b5bf
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 Oct 5, 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