Skip to main content

Declaratively

This is a Python module for encouraging certain things be executed declaratively, at module-import time, so that those declarations are fixed throughout the lifetime of a program and are not (for example) subject to injection of untrusted data from a network or the user into a place that should only contain fixed information specified by a programmer.

(At present the state of the code could charitably be described as "experimental".)

You can read a little more about this here: https://glyph.twistedmatrix.com/2021/12/declaratively.html

I've set up this repository just as a sketch, to see if there is interest. If you'd like to see a more productionized (i.e.: tested) version of this, please feel free to contribute!

Release files for declaratively 0.0.2

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

Source distribution (sdist)

Source distribution for declaratively 0.0.2
File Size Uploaded
declaratively-0.0.2.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for declaratively 0.0.2
File Interpreter ABI Platform
declaratively-0.0.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 5.2 kB

Release files / declaratively-0.0.2.tar.gz

Download URL declaratively-0.0.2.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9e40868bffa49aef506837ce8f96fb18f874737ad5ed03422f443658b55b9656
BLAKE2b-256 checksum
How to use checksums
be7b27395a688a9ccac52622df1c9e31f50e8a4f78bfdf9015f644aa3596bbc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.26.0

Release files / declaratively-0.0.2-py2.py3-none-any.whl

Download URL declaratively-0.0.2-py2.py3-none-any.whl
Size 2.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
46fe5172bfaa1ca9bfd28ad83071be308e1d657046e09706fb12042a1a976a3c
BLAKE2b-256 checksum
How to use checksums
d55bc1e77800834f1349fd87d8232e9ef48cc53ebfcb0cdde60f3b18e7a91e54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.26.0

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

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