{"id":23231207,"url":"https://github.com/maxhumber/sausagelink","last_synced_at":"2025-08-19T16:33:31.382Z","repository":{"id":57464038,"uuid":"171926362","full_name":"maxhumber/sausagelink","owner":"maxhumber","description":"A Blockchain Parody","archived":false,"fork":false,"pushed_at":"2019-02-27T15:37:26.000Z","size":569,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-09T18:21:38.919Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxhumber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-21T18:49:54.000Z","updated_at":"2023-05-21T11:05:11.000Z","dependencies_parsed_at":"2022-09-05T06:01:47.897Z","dependency_job_id":null,"html_url":"https://github.com/maxhumber/sausagelink","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxhumber%2Fsausagelink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxhumber%2Fsausagelink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxhumber%2Fsausagelink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxhumber%2Fsausagelink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxhumber","download_url":"https://codeload.github.com/maxhumber/sausagelink/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230363970,"owners_count":18214717,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-19T02:13:36.413Z","updated_at":"2024-12-19T02:13:37.072Z","avatar_url":"https://github.com/maxhumber.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch3 align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/maxhumber/sausagelink/master/images/logo.png\" width=\"704px\" height=\"116px\" alt=\"sausagelink\"\u003e\n\u003c/h3\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg alt=\"MIT\" src=\"https://img.shields.io/github/license/maxhumber/sausagelink.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://travis-ci.org/maxhumber/sausagelink\"\u003e\u003cimg alt=\"Travis\" src=\"https://img.shields.io/travis/maxhumber/sausagelink.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://pypi.python.org/pypi/sausagelink\"\u003e\u003cimg alt=\"PyPI\" src=\"https://img.shields.io/pypi/v/sausagelink.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://pypi.python.org/pypi/sausagelink\"\u003e\u003cimg alt=\"Downloads\" src=\"https://img.shields.io/pypi/dw/sausagelink.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n\n### About\n\nsausagelink 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.\n\n### Usage\n\n```python\nfrom sausagelink import Sausage, Link\n\nlink = Link()\nlink.append('Hello, World!')\nlink.append(2019)\nlink.append({'foo': 'bar'})\n\nprint(link)\n# [⎨0⎬, ⎨1⎬, ⎨2⎬, ⎨3⎬]\n\nprint([sausage.data for sausage in link])\n# [None, 'Hello, World!', 2019, {'foo': 'bar'}]\n\nlink.refrigerate('foo.sl')\ndel link\nlink = Link('foo.sl')\n\nprint([sausage.data for sausage in link])\n# [None, 'Hello, World!', 2019, {'foo': 'bar'}]\n```\n\n### Audit\n\n```python\nprint(link.rancid())\n# []\n\nsausage = link[2]\nprint(sausage.data)\n# 2019\nprint(sausage.rancid())\n# False\n\nsausage.data = 2020\nprint(sausage.rancid())\n# True\n\nprint(link.rancid())\n# ['⎨2⎬']\n```\n\n### Install\n\n`pip install sausagelink`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxhumber%2Fsausagelink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxhumber%2Fsausagelink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxhumber%2Fsausagelink/lists"}