Collagen
Note: This documentation is a work in progress.
Collagen is a virtual stack machine that lets you write procedures in configuration files, like JSON or YAML, that generate outputs like data,
images, or documents.
A procedure defines a sequence of operations that run in the Python environment, and the operations in a procedure pass data to each other by pushing, popping, and swapping data on the stack.
The standard toolkit (built-in) defines a turning complete set of operations that provide the backbone for scripting logic in your procedures.
You can add methods with new functionality by adding toolkits, which add methods by implementing Python functions with the new functionality and using the @cvm.method decorator.
Installation
You can install collagen via pip. Note that the basic installation only supports JSON procedures.
pip install collagen
Procedures written in JSON5, HSON, or YAML can have comments and multi-line strings. You can install support for additional configuration file formats via extra requirements.
pip install collagen[json5,hson]
If you're developing a collagen toolkit, include the dev and docs extra
requirements.
pip install "collagen[dev,docs]"
Metadata
Release files for collagen 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| collagen-0.2.0.tar.gz | 34.6 kB | Without provenance | Details for collagen-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| collagen-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for collagen-0.2.0-py3-none-any.whl |
Total release size: 55.4 kB
Release files / collagen-0.2.0.tar.gz
| Download URL | collagen-0.2.0.tar.gz |
|---|---|
| Size | 34.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
018a6c18b6cccd23e49be7f6f6ff78e5125f7e9466013cab07b25c724cbcb37b
|
|
BLAKE2b-256 checksum How to use checksums |
257b2eadc6d99e674456e39148da005df8521dce9417714019a4c878d4f18c1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / collagen-0.2.0-py3-none-any.whl
| Download URL | collagen-0.2.0-py3-none-any.whl |
|---|---|
| Size | 20.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
377aa142e0edec2fe2b310abbd8017e82d326e7b7e91cb8998b81689e047787f
|
|
BLAKE2b-256 checksum How to use checksums |
e762b888ec37976464292f941c3c5d7cafcfecc9682d5dd79980f91a8e46b4e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for collagen 0.2.0
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.