Enforced declarative specification of module-level code objects.
Project description
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!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file declaratively-0.0.2.tar.gz
.
File metadata
- Download URL: declaratively-0.0.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.26.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e40868bffa49aef506837ce8f96fb18f874737ad5ed03422f443658b55b9656 |
|
MD5 | 7801e01c477d7abbc84f1425fe499980 |
|
BLAKE2b-256 | be7b27395a688a9ccac52622df1c9e31f50e8a4f78bfdf9015f644aa3596bbc6 |
File details
Details for the file declaratively-0.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: declaratively-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.26.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46fe5172bfaa1ca9bfd28ad83071be308e1d657046e09706fb12042a1a976a3c |
|
MD5 | bcd23e4d247b1b57daf25bb3fff2562b |
|
BLAKE2b-256 | d55bc1e77800834f1349fd87d8232e9ef48cc53ebfcb0cdde60f3b18e7a91e54 |