Skip to main content

risclog.batou

CI Status

batou extensions used by risclog

Features

Frontend release versions

GithubReleaseDownload("latest-testing", ...) selects the highest published numeric v...-TESTING tag during deployment, after its GitHub authentication files have been installed. version remains the configured selector; resolved_version exposes the selected tag after the download update. Fixed pins are returned unchanged and do not require a release lookup.

For multiple archives, pass release=first_download to subsequent GithubReleaseDownload instances with the same package and selector. Add the first download before the others so that all archives use one selected release.

Ordinary batou File templates render during configuration, before aliases have been resolved. Use GithubReleaseContent after the download and extraction to render release-dependent configuration during deployment:

from risclog.batou.github import (
    GithubReleaseContent,
    GithubReleaseDownload,
)

self.frontend_release = GithubReleaseDownload(
    self.frontend_version,
    package="risclog.frontend",
    file="claimx.zip",
)
self += self.frontend_release
# Add archive extraction here, before rendering its configuration.
self += GithubReleaseContent(
    "frontend/config.js",
    release=self.frontend_release,
    source="config.js",
    template_context=self,
)

In config.js, use {{args.release.resolved_version}} for appVersion. The usual component template context and other template_args remain available. Like batou Content, this helper manages file contents only; the target directory must already exist. An unresolved alias fails explicitly during deployment rather than writing latest-testing. Prediction reports a pending change without looking up an unresolved alias or writing the config.

Tests

Run tests:

$ ./pytest

Credits

This package was created with Cookiecutter and the risclog-solution/risclog-cookiecutter-pypackage project template.

This package uses AppEnv for running tests inside this package.

Metadata

Release files for risclog.batou 3.20.1

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

Source distribution (sdist)

Source distribution for risclog.batou 3.20.1
File Size Uploaded Provenance Actions
risclog_batou-3.20.1.tar.gz 160.2 kB Without provenance Details for risclog_batou-3.20.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for risclog.batou 3.20.1
File Interpreter ABI Platform Actions
risclog_batou-3.20.1-py3-none-any.whl Python 3 none any Details for risclog_batou-3.20.1-py3-none-any.whl

Total release size: 330.1 kB

Release files / risclog_batou-3.20.1.tar.gz

Download URL risclog_batou-3.20.1.tar.gz
Size 160.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f24b0b7aae6b827eb26038073bfc35f3020e30293dc693cbbe7623f6423a5588
BLAKE2b-256 checksum
How to use checksums
d949ddc15446cbc1405b17cd255afb8fd8a222f66c315545a000cc414c0d66b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / risclog_batou-3.20.1-py3-none-any.whl

Download URL risclog_batou-3.20.1-py3-none-any.whl
Size 169.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
051c6f0f90e1510096bc946bdafe54451437805c2d7071e596ede5baece14b94
BLAKE2b-256 checksum
How to use checksums
0646f82110f5f9328e1359d4e4272708eb080101aad6ca1f42cd89765206ee1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Security for risclog.batou 3.20.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

3.20.1 This release

2 release files No provenance

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