Skip to main content

coverage

Pylightnix

Pylightnix is a minimalistic Python library for managing filesystem-based immutable data objects, inspired by Purely Functional Software Deployment Model thesis by Eelco Dolstra and the Nix package manager.

The library may be thought as of low-level API for creating caching wrappers for a subset of Python functions. In particular, Pylightnix allows user to

  • Prepare (or, in our terms - instantiate) the computation plan aimed at creating a tree of linked immutable stage objects, stored in the filesystem.
  • Implement (in our terms - realize) the prepared computation plan, access the resulting artifacts. Pylightnix is able to handle non-deterministic results of the computation. As one example, it is possible to define a stage depending on best top-10 instances (in a user-defined sense) of prerequisite stages.
  • Handle changes in the computation plan, re-use the existing artifacts whenever possible.
  • Gain full control over all aspects of the cached data including the garbage-collection.

Documentation

QuickStart [PDF] | API Referece [MD]

Demos:

  • GNU Hello, turns Pylightnix into a toy package manager to build the GNU Hello from sources.
  • MDRUN, evaluate code sections in a Markdown document, and cache the results betwee runs.

(Outdated)

Manual [PDF] |

Metadata

Release files for pylightnix 0.3.0

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

Source distribution (sdist)

Source distribution for pylightnix 0.3.0
File Size Uploaded Provenance Actions
pylightnix-0.3.0.tar.gz 126.3 kB Without provenance Details for pylightnix-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pylightnix 0.3.0
File Interpreter ABI Platform Actions
pylightnix-0.3.0-py3-none-any.whl Python 3 none any Details for pylightnix-0.3.0-py3-none-any.whl

Total release size: 189.2 kB

Release files / pylightnix-0.3.0.tar.gz

Download URL pylightnix-0.3.0.tar.gz
Size 126.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a861879c38ad857e0fa0508e8a862f31749a4033feedce1e35564b27580475de
BLAKE2b-256 checksum
How to use checksums
92f5b96cf0abf32ffaa1751172c68daec492639bc5c804666ef8c877d8ab4e91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200709 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release files / pylightnix-0.3.0-py3-none-any.whl

Download URL pylightnix-0.3.0-py3-none-any.whl
Size 62.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa0c28908f4e5a1e822721490f4238099d4a929b9e08a4f4f00d6f4998d12021
BLAKE2b-256 checksum
How to use checksums
05bbba0e61d6704e66e49061807e86f40ef1249394a5577d03727eda60f8b4c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200709 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Security for pylightnix 0.3.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.

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