Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for declaratively, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size declaratively-0.0.2.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View
Filename, size declaratively-0.0.2-py2.py3-none-any.whl (2.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page