Skip to content

gbrandt1/pysworn

Repository files navigation

PySworn

Description

PySworn is a set of terminal applications written in Python based on datasworn and Textual to play Ironsworn: Starforged the tabletop roleplaying game by Shawn Tomkin. For full attribution see the bottom of this README.

Installation

Local Installation

uv is recommended for toolchain management.

For installation, clone the repository and execute uv sync in the root directory (which depends on the individual packages).

You can then activate the virtual environment or use uv run to start the applications.

Usage

The following executables are provided:

Name Description
pysworn Reference Browser.
pysworn-v2 Reference Browser (new version under development).
datasworn Inspect the datasworn JSON files used by PySworn.
renderables PySworn Ironsworn:Starforged Rich Renderables dumping tool.

Direct Installation

Alternatively you can run directly from this repository

uvx --from git+https://github.com/gbrandt1/pysworn.git#subdirectory=reference pysworn

uvx --from git+https://github.com/gbrandt1/pysworn.git#subdirectory=reference pysworn-v2 -i

uvx --from git+https://github.com/gbrandt1/pysworn.git#subdirectory=datasworn datasworn

uvx --no-cache --from git+https://github.com/gbrandt1/pysworn.git#subdirectory=renderables renderables

PySworn Ironsworn:Starforged Reference Application

uv run pysworn

This tool opens a Textual application to quickly navigate oracles and other content for Ironsworn: Starforged.

Datasworn Tool

uv run datasworn

This tool can be used to inspect the datasworn JSON files used by PySworn.

Roadmap

  • add tests.
    • finalize browsers to quickly select content or dice roll results.
  • add journal to record results.
    • add persistence.
  • add configuration / settings.

Attribution

This work is based on "Ironsworn: Starforged", created by Shawn Tomkin, and licensed for our use under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license (https://creativecommons.org/licenses/by-nc-sa/4.0/).​

Datasworn JSON packaging by rsek and Textual by Will McGugan et al. are based on a MIT License.

The package itself is licensed under the MIT License.

About

PySworn - Python implementation of the Ironsworn:Starforged family of games by Shawn Tomkin

Resources

License

MIT and 2 other licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.BY-NC-SA-4.0
MIT
LICENSE.MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages