Skip to main content

genropy-kajenn

PyPI Tests Codecov Documentation Python License

genropy legacy sites on kajenn: a commander in the server, a supervised pool of workers each hosting one site, users pinned to a worker, no register daemon.

genropy-kajenn serves an existing, synchronous genropy site on an ASGI server. It replaces two pieces of the legacy stack at once: gnrwsgiserve, the one-process werkzeug launcher, and gnrdaemon, the register daemon reached over a wire.

One server process holds the front and the commander. Every worker is a process of its own hosting one unmodified GnrWsgiSite, born by fork out of a template process that builds that site once for the whole group. A user and all his pages live in one worker, and the spa_connection_id cookie — the connection id the site itself minted — is what sends every request of his back to it. A user who goes quiet is written to a freezer on disk and his worker gets the memory back; his next request wakes him wherever there is room.

The site register is answered in-process. The package declares the gnr.web:daemon entry point, and genropy installs it as gnr.web.daemon only when GNR_DAEMON_PROVIDER names the provider — which the command does for its own process, so the classic stack and this one can share one virtualenv.

Your site does not change: same root.py, same packages, same authentication, same pages.

Installation

pip install genropy-kajenn

kajenn and kajenn-orchestra are installed with it. genropy must be present at runtime and configured as usual (~/.gnr/environment.xml plus an existing site); it is deliberately not a declared dependency of this package.

Usage

gnrkajenn mysite -p 8080

mysite is the genropy instance name — the same you pass to gnrwsgiserve — or a path to a site directory. That is the whole launch: no worker count to declare and no single/pool selector. On macOS export PGGSSENCMODE=disable, because libpq negotiating Kerberos inside a forked child crashes it.

Site-wide counters, no authentication needed:

curl -s http://127.0.0.1:8080/metrics

Documentation

https://genropy-kajenn.readthedocs.io/en/latest/ — concepts, architecture with diagrams, the CLI, the configuration keys, the FAQ and troubleshooting. To build it locally see docs/building.md:

pip install -e ".[docs]"
sphinx-build -W --keep-going -b html docs docs/_build/html

Underneath: kajenn is the ASGI server, kajenn-orchestra the commander/worker orchestration.

Development

pip install -e ".[dev]"
pytest tests/
ruff check src/ tests/

License

Apache License 2.0 — Copyright 2025 Softwell S.r.l. See LICENSE and NOTICE.

Metadata

Release files for genropy-kajenn 0.2.0

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

Source distribution (sdist)

Source distribution for genropy-kajenn 0.2.0
File Size Uploaded
genropy_kajenn-0.2.0.tar.gz 505.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for genropy-kajenn 0.2.0
File Interpreter ABI Platform
genropy_kajenn-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 592.0 kB

Release files / genropy_kajenn-0.2.0.tar.gz

Download URL genropy_kajenn-0.2.0.tar.gz
Size 505.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3448f345f6d648521f4ca1f19f8ac1bf8c78995b9f340ef84e33fbd9ce3ffda7
BLAKE2b-256 checksum
How to use checksums
64f3850fc352bf69883dbfe245ff3fef74e1892968aa86bbba4a44e98692028a
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 Oct 6, 2026.

Transparency log

Release files / genropy_kajenn-0.2.0-py3-none-any.whl

Download URL genropy_kajenn-0.2.0-py3-none-any.whl
Size 86.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e398cd367d12c9bb3410a52e69a6efc6582be611c1ce4386f1e032bac6e9fbd
BLAKE2b-256 checksum
How to use checksums
2936ce7a8b22bfcd730fcad4d8b591ba75edb71545a48a1cc7bb92b31848436c
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 Oct 6, 2026.

Transparency log

Release history Release notifications | RSS feed

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

This release

0.2.0 This release

2 release files

0.1.1

2 release files

0.1.0

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