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.4

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.4
File Size Uploaded
valkyrja_sindri-26.0.4.tar.gz 48.6 kB Details

Built distribution (wheel)

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

Total release size: 53.5 kB

Release files / valkyrja_sindri-26.0.4.tar.gz

Download URL valkyrja_sindri-26.0.4.tar.gz
Size 48.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5d6da949427d6460e849f26b153694602b62ea6d9cb20eb911cea334d83af446
BLAKE2b-256 checksum
How to use checksums
3482542b77246da66bd31f6682100236f089eecc119d0e5ce844f45a969497e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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.4-py3-none-any.whl

Download URL valkyrja_sindri-26.0.4-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d88caf1a49db20775b29ced96eac25eb09d603702fd2aaf284b418e16d75238
BLAKE2b-256 checksum
How to use checksums
33bb1e1510a4db348000722610aef73f3e49ff45cbc31726762fd11f45d30997
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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

26.0.5

2 release files

This release

26.0.4 This release

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