{"id":13486461,"url":"https://github.com/trellis-ldp/py-ldnlib","last_synced_at":"2026-01-17T08:34:30.687Z","repository":{"id":18005453,"uuid":"83161679","full_name":"trellis-ldp/py-ldnlib","owner":"trellis-ldp","description":"Python-based Linked Data Notification libraries","archived":false,"fork":false,"pushed_at":"2025-12-02T13:08:17.000Z","size":60,"stargazers_count":14,"open_issues_count":1,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-12-05T10:46:47.842Z","etag":null,"topics":["ldn-consumer","ldn-sender","linked-data-notifications"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trellis-ldp.png","metadata":{"files":{"readme":"README.rst","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-02-25T20:48:06.000Z","updated_at":"2025-12-02T13:07:32.000Z","dependencies_parsed_at":"2024-01-02T03:29:33.908Z","dependency_job_id":"9422f78a-3149-40de-af2c-e76fa1d4bbe0","html_url":"https://github.com/trellis-ldp/py-ldnlib","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/trellis-ldp/py-ldnlib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trellis-ldp%2Fpy-ldnlib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trellis-ldp%2Fpy-ldnlib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trellis-ldp%2Fpy-ldnlib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trellis-ldp%2Fpy-ldnlib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trellis-ldp","download_url":"https://codeload.github.com/trellis-ldp/py-ldnlib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trellis-ldp%2Fpy-ldnlib/sbom","scorecard":{"id":897894,"data":{"date":"2025-08-11","repo":{"name":"github.com/trellis-ldp/py-ldnlib","commit":"83703c26bafbbd01e3f5c70323da31e6758f551b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/24 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci-config.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-config.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/trellis-ldp/py-ldnlib/ci-config.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-config.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/trellis-ldp/py-ldnlib/ci-config.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/ci-config.yml:27","Warn: pipCommand not pinned by hash: .github/workflows/ci-config.yml:28","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2014-14 / GHSA-652x-xj99-gmcc","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2014-13 / GHSA-cfj3-7x9c-4p3h","Warn: Project is vulnerable to: PYSEC-2018-28 / GHSA-x84v-xcm2-53pg"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 8 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T14:25:57.952Z","repository_id":18005453,"created_at":"2025-08-24T14:25:57.953Z","updated_at":"2025-08-24T14:25:57.953Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28504365,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ldn-consumer","ldn-sender","linked-data-notifications"],"created_at":"2024-07-31T18:00:46.547Z","updated_at":"2026-01-17T08:34:30.629Z","avatar_url":"https://github.com/trellis-ldp.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"\nPython-based Linked Data Notifications libraries\n================================================\n\n\n.. image:: https://github.com/trellis-ldp/py-ldnlib/workflows/Python%20Linked%20Data%20Notifications/badge.svg\n   :target: https://github.com/trellis-ldp/py-ldnlib\n   :alt: Build Status\n\n\n.. image:: https://badge.fury.io/py/py-ldnlib.svg\n   :target: https://badge.fury.io/py/py-ldnlib\n   :alt: Version\n\n\nThis is an implementation of a python3-based `Linked Data Notification \u003chttps://www.w3.org/TR/ldn/\u003e`_ sender and consumer.\n\nInstalling\n----------\n\n``pip install py-ldnlib``\n\nAdding an LDN sender to your code\n---------------------------------\n\nA simple LDN Sender could be written as:\n\n.. code-block::\n\n   import ldnlib\n\n   sender = ldnlib.Sender()\n\n   inbox = sender.discover(target_resource)\n\n   if inbox is not None:\n       sender.send(inbox, data)\n\nThe ``data`` value may be a string, a dictionary, a list or an ``rdflib``\\ -based Graph.\n\nAdding an LDN consumer to your code\n-----------------------------------\n\nA simple LDN Consumer could be written as:\n\n.. code-block::\n\n   import ldnlib\n\n   consumer = ldnlib.Consumer()\n\n   inbox = consumer.discover(target_resource)\n\n   if inbox is not None:\n       for iri in consumer.notifications(inbox):\n           // fetch the notification as a Python dictionary\n           notification = consumer.notification(iri)\n\nAuthentication\n--------------\n\nIf the target-resource or inbox-resource requires authentication, an ``auth`` tuple may be supplied:\n\n.. code-block::\n\n   import ldnlib\n\n   sender = ldnlib.Sender()\n\n   inbox = sender.discover(target_resource, auth=(username, password))\n\n   if inbox is not None:\n       sender.send(inbox, data, auth=(username, password))\n\nMaintainer\n----------\n\n`Aaron Coburn \u003chttps://github.com/acoburn\u003e`_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrellis-ldp%2Fpy-ldnlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrellis-ldp%2Fpy-ldnlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrellis-ldp%2Fpy-ldnlib/lists"}