Skip to main content

Sindri

Sindri is the build tool and application creator for the Valkyrja Python framework.

Sindri scaffolds new Valkyrja applications, generates cache files for faster runtime performance, and handles build-time concerns across the Valkyrja ecosystem. Named after the dwarven smith in Norse mythology who forged Mjölnir and other divine artifacts, Sindri does for your Valkyrja app what his namesake did for the gods: crafts the tools and artifacts that make it all work faster and better.

Latest Version on PyPI Supported Python Version License CI Status

Status

Warning: the Python port is in progress. This repository holds the package, the CI pipeline, and the release process. It does not hold the build tool yet. Install the package to reserve the dependency, and do not build on it yet.

PHP is the reference implementation, and every other port mirrors its structure, its naming, and its tests. Read PORTS.md for the state of each language.

What Sindri Does

The list below is what the port delivers. Each item exists in the PHP reference implementation today.

  • Scaffolds new Valkyrja applications — bootstraps a fresh project with the correct structure, entry points, and configuration
  • Generates cache files — produces the compiled container, event, and routing data that lets an application skip discovery work at runtime
  • Builds artifacts — prepares deployable output for a production runtime
  • Handles upgrades — assists with a migration between major Valkyrja versions

Sindri reads the provider tree with the standard library ast and inspect modules. The framework itself carries no build dependency and no AST dependency.

Installation

Sindri is a development dependency. It never ships to production.

uv add --dev valkyrja-sindri
pip install valkyrja-sindri

Python 3.14 or later is required.

Getting Started

Scaffolding a New Application

sindri new your-app-name

This creates a project directory with pre-wired HTTP and CLI entry points, example controllers and commands, and a complete configuration scaffold. It is equivalent to the valkyrja-starter-app-python template, driven from the command line.

Building Cache Files

sindri cache

The cache removes discovery and configuration work from startup. The framework runs without it, so the cache is an optimization rather than a requirement.

Listing Available Commands

sindri list

Documentation

For framework-level questions about Valkyrja itself, see the Valkyrja framework repository.

Versioning and Release Process

Sindri follows semantic versioning with a major release every year, and support for each major version for 2 years from the date of release.

For more information see the Versioning and Release Process documentation.

Contributing

Sindri is an open-source, community-driven project. Thank you for your interest in helping develop, maintain, and release it.

See CONTRIBUTING.md for the submission process and VOCABULARY.md for the terminology that Valkyrja uses.

Security Issues

If you discover a security vulnerability within Sindri, please follow the disclosure procedure.

License

Sindri is open-source software licensed under the MIT license. See LICENSE.md.

Release files for valkyrja-sindri 26.0.14

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

Source distribution (sdist)

Source distribution for valkyrja-sindri 26.0.14
File Size Uploaded
valkyrja_sindri-26.0.14.tar.gz 49.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for valkyrja-sindri 26.0.14
File Interpreter ABI Platform
valkyrja_sindri-26.0.14-py3-none-any.whl Python 3 none any Details

Total release size: 54.1 kB

Release files / valkyrja_sindri-26.0.14.tar.gz

Download URL valkyrja_sindri-26.0.14.tar.gz
Size 49.2 kB
Tags Source
SHA-256 checksum
How to use checksums
761d3f1e542f2bb940474421279b014b8d68c84921e376861a8e1bb5a2acd830
BLAKE2b-256 checksum
How to use checksums
ebeac2384ab68ed90be69ecce312756b27a06a7db8be23f6c7d269cbd8acee0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / valkyrja_sindri-26.0.14-py3-none-any.whl

Download URL valkyrja_sindri-26.0.14-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c504076484f0591a32f7d421025ad427abdb80316bff7a2bd85197a5a041a0b7
BLAKE2b-256 checksum
How to use checksums
6eb7f2f5a9b5c04507c36c8ecb8c4a831dfd8d90b473b9b2bf3f1db489256def
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

26.0.14 This release

2 release files

26.0.5

2 release files

26.0.4

2 release files

26.0.3

2 release files

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