Skip to main content

storycad

Python wrapper around the StoryCAD .NET API (StoryCADLib.Services.API.StoryCADApi). Hosts the CLR in-process via pythonnet and exposes a Pythonic, snake_case surface; errors surface as StoryCADError instead of OperationResult<T> sentinels, and async (Task<T>) methods are joined inline.

The wheel bundles a published build of StoryCADLib under storycad/runtime/, so end users do not need the .NET SDK — only the .NET 10 runtime (the wheel is built with --self-contained false).

Prerequisites

  • Python 3.10+
  • .NET 10 runtime installed on the host (https://dotnet.microsoft.com/download)
  • A supported platform (pip picks the matching wheel automatically): Linux x64, Linux arm64, macOS arm64, Windows x64.

Install

pip install StoryCADLib

Quick example

from storycad import StoryCAD

sc = StoryCAD()
guids = sc.create_empty_outline("My Story", "Author", "0")
overview = next(e for e in sc.get_all_elements() if e.element_type == "StoryOverview")
hero = sc.add_element(sc.item_type.Character, overview.uuid, "Hero")
sc.write_outline("/tmp/my_story.stbx")

Building from source

git clone https://github.com/storybuilder-org/StoryCAD
cd StoryCAD/bindings/python
./build-wheel.sh   # runs dotnet publish, stages runtime, then python -m build

The script detects your host RID, publishes StoryCADLib for the matching framework-dependent target, and produces a platform wheel under dist/.

Known limitations

  • Async methods are joined synchronously on the calling thread — no real asyncio integration yet.
  • Wheels are platform-specific; you need a wheel built for your OS + arch.
  • StoryCAD is GPL-3.0-or-later. Bundling its DLL into a wheel inherits that license; any project that ships this wheel must comply.

Metadata

Release files for StoryCADLib 4.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for StoryCADLib 4.3.3
File Actions
storycadlib-4.3.3-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for storycadlib-4.3.3-cp312-cp312-win_amd64.whl
storycadlib-4.3.3-cp312-cp312-manylinux_2_17_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details for storycadlib-4.3.3-cp312-cp312-manylinux_2_17_x86_64.whl
storycadlib-4.3.3-cp312-cp312-manylinux_2_17_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details for storycadlib-4.3.3-cp312-cp312-manylinux_2_17_aarch64.whl
storycadlib-4.3.3-cp312-cp312-macosx_26_0_arm64.whl CPython 3.12 CPython 3.12 macOS 26.0+ ARM64 Details for storycadlib-4.3.3-cp312-cp312-macosx_26_0_arm64.whl

Total release size: 73.3 MB

Release files / storycadlib-4.3.3-cp312-cp312-win_amd64.whl

Download URL storycadlib-4.3.3-cp312-cp312-win_amd64.whl
Size 20.7 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
0557bcc68bd9dc2f43e1a6a9d76f699a541110e1b85dfc6bc66df25e8420164c
BLAKE2b-256 checksum
How to use checksums
690ea083a8cc3cce9d4127f7365ff399b59d3f609ef9e2473ec690107dbd5436
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 5, 2026.

Transparency log

Release files / storycadlib-4.3.3-cp312-cp312-manylinux_2_17_x86_64.whl

Download URL storycadlib-4.3.3-cp312-cp312-manylinux_2_17_x86_64.whl
Size 15.2 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
b00485d1c29ca495ccc09007222742cd6e7cac3fbb2b7dc6e9af40925558e0ef
BLAKE2b-256 checksum
How to use checksums
d531c6c634d85f54e157a89c0f4eaf8ecb842c3cc755b8670e16335257eade2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 5, 2026.

Transparency log

Release files / storycadlib-4.3.3-cp312-cp312-manylinux_2_17_aarch64.whl

Download URL storycadlib-4.3.3-cp312-cp312-manylinux_2_17_aarch64.whl
Size 15.2 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
bb90abe2a6d5b63e4dc818ac52a10b8e4b3ca20869599a5bc64ca6a3031837a3
BLAKE2b-256 checksum
How to use checksums
a0743d21722dbfac87d079215275036d7c675dc76b1746a69acf9c9eaed5043e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 5, 2026.

Transparency log

Release files / storycadlib-4.3.3-cp312-cp312-macosx_26_0_arm64.whl

Download URL storycadlib-4.3.3-cp312-cp312-macosx_26_0_arm64.whl
Size 22.2 MB
Tags CPython 3.12 macOS 26.0+ ARM64
SHA-256 checksum
How to use checksums
5bcfb3f4d72a6a66980c03436f668fa37067416c3d895ed84c4cdd8c49217acd
BLAKE2b-256 checksum
How to use checksums
7ae034b1e52bd332a5a2a8f4a7b3114f8f614c5f66879ab8ada2c769cd7d5813
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 5, 2026.

Transparency log

Security for StoryCADLib 4.3.3

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.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for storycadlib-4.3.3-cp312-cp312-win_amd64.whl

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 Nov 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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