Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

This is a Jinja2 extension required by Cookiecutter Websauna templates.

ci

cov

Supported Python versions

Latest Version

License

Installation

Using the same virtualenv where cookiecutter is installed install this extension executing pip install:

pip install websauna.j2secret

Usage

Extend the Cookiecutter environment with this custom Jinja2 extensions, that adds a tag named secret , specifing the websauna.j2secret extension in cookiecutter.json as follows:

{
    "authentication_random": "{% secret() %}",
    "authomatic_random": "{% secret() %}",
    "session_random": "{% secret() %}",
    "_extensions": ["websauna.j2secret.SecretExtension"]
}

Read more about Template Extensions for Cookiecutter.

Running the test suite

Install test and dev dependencies (run in the folder with setup.py):

pip install -e ".[test]"

Run test suite using py.test running:

py.test

More information

Please see https://websauna.org/

Changelog

1.0.0a1 (2017-10-16)

  • Implement Jinja2 tag secret to be used with Cookiecutter templates.

Metadata

Release files for websauna.j2secret 1.0.0a1

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

Source distribution (sdist)

Source distribution for websauna.j2secret 1.0.0a1
File Size Uploaded Provenance Actions
websauna.j2secret-1.0.0a1.tar.gz 3.7 kB Without provenance Details for websauna.j2secret-1.0.0a1.tar.gz

Release files / websauna.j2secret-1.0.0a1.tar.gz

Download URL websauna.j2secret-1.0.0a1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
42efafc2eb0c75bdd4420de35aa96be172dcf617f84565b25b6d80e07506263d
BLAKE2b-256 checksum
How to use checksums
877503e270084313384b47c99e810911e7e183c4676433e2b9e69276d7e806c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for websauna.j2secret 1.0.0a1

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