About
sausagelink is like Blockchain, but tastier. The package allows you to maintain a Link (chain) of Sausage (blocks) such that the data contained within each Sausage and the order of the Link cannot be tampered with.
Usage
from sausagelink import Sausage, Link
link = Link()
link.append('Hello, World!')
link.append(2019)
link.append({'foo': 'bar'})
print(link)
# [⎨0⎬, ⎨1⎬, ⎨2⎬, ⎨3⎬]
print([sausage.data for sausage in link])
# [None, 'Hello, World!', 2019, {'foo': 'bar'}]
link.refrigerate('foo.sl')
del link
link = Link('foo.sl')
print([sausage.data for sausage in link])
# [None, 'Hello, World!', 2019, {'foo': 'bar'}]
Audit
print(link.rancid())
# []
sausage = link[2]
print(sausage.data)
# 2019
print(sausage.rancid())
# False
sausage.data = 2020
print(sausage.rancid())
# True
print(link.rancid())
# ['⎨2⎬']
Install
pip install sausagelink
Metadata
Release files for sausagelink 1.5.3
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 |
|---|---|---|---|---|
| sausagelink-1.5.3.tar.gz | 3.1 kB | Without provenance | Details for sausagelink-1.5.3.tar.gz |
Release files / sausagelink-1.5.3.tar.gz
| Download URL | sausagelink-1.5.3.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41788762b8e2ce5dffb182df4f9f77616c68a47d23c5b5c7e56f66a6e56b696b
|
|
BLAKE2b-256 checksum How to use checksums |
19be06108e0c2faca7a3cc5b0c90e3a32941e4007c4ba8b536c83f75288c82a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3
|
Security for sausagelink 1.5.3
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.