SrbPy + *.srb
SrbPy 是一个 Python/C++ 混合的道路与桥梁设计包,支持 Windows AMD64 和 macOS Apple Silicon,要求 Python 3.9 或更高版本。
安装
python -m pip install srbpy
本地开发
构建 C++ 扩展需要支持 C++17 的编译器。Windows 使用 MSVC;macOS 使用 Xcode Command Line Tools 中的 Apple Clang。CMake 和 Ninja 会由构建后端在 需要时安装,也可以预先安装到虚拟环境中。
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e .
pytest
构建发布产物:
python -m pip install build twine
python -m build
python -m twine check dist/*
XML中间交换格式
基于xml的标准数据格式请参考 详细说明 。
SrbPy
提供了两个子模块:
- 路线模块(srbpy.alignment),用于解析EICAD路线数据包并解析.
- 模型(srbpy.model), 用于建模。
用法及包详情请参考文档 。
Metadata
Release files for srbpy 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| srbpy-0.3.2.tar.gz | 2.0 MB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| srbpy-0.3.2-cp314-cp314-win_amd64.whl | CPython 3.14 | CPython 3.14 | Windows x86-64 | Details |
| srbpy-0.3.2-cp314-cp314-macosx_11_0_arm64.whl | CPython 3.14 | CPython 3.14 | macOS 11.0+ ARM64 | Details |
| srbpy-0.3.2-cp313-cp313-win_amd64.whl | CPython 3.13 | CPython 3.13 | Windows x86-64 | Details |
| srbpy-0.3.2-cp313-cp313-macosx_11_0_arm64.whl | CPython 3.13 | CPython 3.13 | macOS 11.0+ ARM64 | Details |
| srbpy-0.3.2-cp312-cp312-win_amd64.whl | CPython 3.12 | CPython 3.12 | Windows x86-64 | Details |
| srbpy-0.3.2-cp312-cp312-macosx_11_0_arm64.whl | CPython 3.12 | CPython 3.12 | macOS 11.0+ ARM64 | Details |
| srbpy-0.3.2-cp311-cp311-win_amd64.whl | CPython 3.11 | CPython 3.11 | Windows x86-64 | Details |
| srbpy-0.3.2-cp311-cp311-macosx_11_0_arm64.whl | CPython 3.11 | CPython 3.11 | macOS 11.0+ ARM64 | Details |
| srbpy-0.3.2-cp310-cp310-win_amd64.whl | CPython 3.10 | CPython 3.10 | Windows x86-64 | Details |
| srbpy-0.3.2-cp310-cp310-macosx_11_0_arm64.whl | CPython 3.10 | CPython 3.10 | macOS 11.0+ ARM64 | Details |
| srbpy-0.3.2-cp39-cp39-win_amd64.whl | CPython 3.9 | CPython 3.9 | Windows x86-64 | Details |
| srbpy-0.3.2-cp39-cp39-macosx_11_0_arm64.whl | CPython 3.9 | CPython 3.9 | macOS 11.0+ ARM64 | Details |
Total release size: 5.6 MB
Release files / srbpy-0.3.2.tar.gz
| Download URL | srbpy-0.3.2.tar.gz |
|---|---|
| Size | 2.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2b93b363ee8a80b2184a725a7a9822c21b134e1154e0c6dc2791528ddfa8bc3e
|
|
BLAKE2b-256 checksum How to use checksums |
b6c368d067da11ba5e3912b9315e6b915c17c3de3c4ba69004e4a7c762fafb23
|
| 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 Jul 31, 2026.
Transparency logRelease files / srbpy-0.3.2-cp314-cp314-win_amd64.whl
| Download URL | srbpy-0.3.2-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 432.9 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e5949eebeba4c1ad27d16e6f75a3e403c375f49770da468efffbaa0d7c7459bb
|
|
BLAKE2b-256 checksum How to use checksums |
8baa6671914b29aa0b51999bb6d6e5b5431c6d38526392132ee742ec5f3a02f9
|
| 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 Jul 31, 2026.
Transparency logRelease files / srbpy-0.3.2-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | srbpy-0.3.2-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 188.1 kB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
87f5e5053ed1782ae8271da7939ab4d2710161a01c79f4a2c86a85e6c5020528
|
|
BLAKE2b-256 checksum How to use checksums |
7111fcc8de5a7f1fe574112b8721d5f8b31625ce840b18a2271db36e238f7312
|
| 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 Jul 31, 2026.
Transparency logRelease files / srbpy-0.3.2-cp313-cp313-win_amd64.whl
| Download URL | srbpy-0.3.2-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 420.1 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
085c479186da4d4a2e25c6ed08ff509699b4b775d810a4c6513dd8a804b92cb5
|
|
BLAKE2b-256 checksum How to use checksums |
226eea63ef1504b9fd9db3b5ae9b166b56e671573ad55a929c21a9cfc24cd285
|
| 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 Jul 31, 2026.
Transparency logRelease files / srbpy-0.3.2-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | srbpy-0.3.2-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 187.6 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8e79bd4353c482e317514082bbadb057c705355297ebf6f1bca95a96d1aa78bc
|
|
BLAKE2b-256 checksum How to use checksums |
522130e68f8bcc3ba4b8ae3be5b30e3a9543ac7db0d5a341e31319197baaa223
|
| 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 Jul 31, 2026.
Transparency logRelease files / srbpy-0.3.2-cp312-cp312-win_amd64.whl
| Download URL | srbpy-0.3.2-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 420.0 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
40ff77e85fe7352ac8c7752be8701be08210ef5d48ab49d4c5c26ff6c1a61468
|
|
BLAKE2b-256 checksum How to use checksums |
62e160ffd6b6c429172490c23855063ce7f79273dd865fe005f02bc2202a3912
|
| 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 Jul 31, 2026.
Transparency logRelease files / srbpy-0.3.2-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | srbpy-0.3.2-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 187.5 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
89d16d6d4a4d3a9681ec3cbbec41e1ef9eaac8be7b28118ea77eda2449c01415
|
|
BLAKE2b-256 checksum How to use checksums |
86ad23f3c30f47965e0dded2fe0b8a7a91ffef9be6baf3d5806e6304cfb893e8
|
| 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 Jul 31, 2026.
Transparency logRelease files / srbpy-0.3.2-cp311-cp311-win_amd64.whl
| Download URL | srbpy-0.3.2-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 416.9 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e96db3a69a72a8a2d853b0418fd0de84e993ee23ac30affccd9da4253f15b5dc
|
|
BLAKE2b-256 checksum How to use checksums |
da4bec10cc477de15cf855c94f7d747d5be15990c27155b14755164efd31b66e
|
| 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 Jul 31, 2026.
Transparency logRelease files / srbpy-0.3.2-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | srbpy-0.3.2-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 187.0 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d5303fb1e107474784bca7c60df8eadb8f3697d74fe4cedb0cdd7d6ea46fdbd8
|
|
BLAKE2b-256 checksum How to use checksums |
a3fb5c663306cbf06119e5868c6869da1b0248df8252c9893926793adec6bf74
|
| 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 Jul 31, 2026.
Transparency logRelease files / srbpy-0.3.2-cp310-cp310-win_amd64.whl
| Download URL | srbpy-0.3.2-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 414.6 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
249b0c2b2778dd057ffe91883379ec0c5ecc26dd3a01185bdcafbfda4a6e9ab0
|
|
BLAKE2b-256 checksum How to use checksums |
4fd5e5cd1924f36df904c15561c14734bc4e263de941f4a0aad3c523b77c1987
|
| 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 Jul 31, 2026.
Transparency logRelease files / srbpy-0.3.2-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | srbpy-0.3.2-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 184.7 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
199874ae581ac0dd2eae5ac291190f22472b677606dfbd8ee6a361ad9e5afd1c
|
|
BLAKE2b-256 checksum How to use checksums |
f4d2410520845e76a8a2c88ed8f2692132c7c0cd0009825e15e6c087fc45f293
|
| 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 Jul 31, 2026.
Transparency logRelease files / srbpy-0.3.2-cp39-cp39-win_amd64.whl
| Download URL | srbpy-0.3.2-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 415.9 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
0f7f48f512fe83b6a6411787993647dd89618362aa8fcf1a43472cdc1e429050
|
|
BLAKE2b-256 checksum How to use checksums |
0107209a990c4a1665833d1da95571c4c7e3f347f382df35ebfe5d7d6fc6e039
|
| 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 Jul 31, 2026.
Transparency logRelease files / srbpy-0.3.2-cp39-cp39-macosx_11_0_arm64.whl
| Download URL | srbpy-0.3.2-cp39-cp39-macosx_11_0_arm64.whl |
|---|---|
| Size | 184.9 kB |
| Tags | CPython 3.9 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
232c30ea22dfa4d8b40961087c5d3eba5f0dae843430dfbc1026b5f0fe5af1ab
|
|
BLAKE2b-256 checksum How to use checksums |
2e8bfdfe63dd5f68e40a8bb94c5559a4752202fb01c2530babfeb75cd7a76025
|
| 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 Jul 31, 2026.
Transparency log