{"id":44693877,"url":"https://github.com/pawelzny/vo","last_synced_at":"2026-02-15T07:43:46.900Z","repository":{"id":50214572,"uuid":"84735491","full_name":"pawelzny/vo","owner":"pawelzny","description":"DDD Value Object implementation","archived":false,"fork":false,"pushed_at":"2022-12-08T02:03:23.000Z","size":100,"stargazers_count":2,"open_issues_count":7,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-28T15:34:30.231Z","etag":null,"topics":["data","ddd-patterns","object","python3","value"],"latest_commit_sha":null,"homepage":"http://vo.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pawelzny.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-12T15:19:19.000Z","updated_at":"2019-10-24T07:32:58.000Z","dependencies_parsed_at":"2023-01-25T03:00:30.952Z","dependency_job_id":null,"html_url":"https://github.com/pawelzny/vo","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/pawelzny/vo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawelzny%2Fvo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawelzny%2Fvo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawelzny%2Fvo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawelzny%2Fvo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pawelzny","download_url":"https://codeload.github.com/pawelzny/vo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawelzny%2Fvo/sbom","scorecard":{"id":724260,"data":{"date":"2025-08-11","repo":{"name":"github.com/pawelzny/vo","commit":"8d109ca38a362d64e306c2988a2446627239c8f6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.5,"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":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":-1,"reason":"No tokens found","details":null,"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":-1,"reason":"no dependencies found","details":null,"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":"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":"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: ISC License: 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":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.3.1 not signed: https://api.github.com/repos/pawelzny/vo/releases/10149031","Warn: release artifact v0.3.1 does not have provenance: https://api.github.com/repos/pawelzny/vo/releases/10149031"],"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 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"}},{"name":"Vulnerabilities","score":0,"reason":"38 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2021-421 / GHSA-h4m5-qpfp-3mpv","Warn: Project is vulnerable to: PYSEC-2022-42986 / GHSA-43fp-rhv2-5gv8","Warn: Project is vulnerable to: PYSEC-2023-135 / GHSA-xqr8-7jwr-rhp7","Warn: Project is vulnerable to: PYSEC-2024-4 / GHSA-2mqj-m65w-jghx","Warn: Project is vulnerable to: PYSEC-2023-165 / GHSA-cwvm-v4w8-q58c","Warn: Project is vulnerable to: PYSEC-2022-42992 / GHSA-hcpj-qp55-gfph","Warn: Project is vulnerable to: PYSEC-2023-137 / GHSA-pr76-5cm5-w9cj","Warn: Project is vulnerable to: PYSEC-2023-161 / GHSA-wfm5-v35h-vwf4","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: PYSEC-2019-217 / GHSA-462w-v97r-4m45","Warn: Project is vulnerable to: GHSA-cpwx-vrp4-4pq7","Warn: Project is vulnerable to: PYSEC-2021-66 / GHSA-g3rq-g295-4j3m","Warn: Project is vulnerable to: GHSA-h5c8-rqwp-cp95","Warn: Project is vulnerable to: GHSA-h75v-3vvj-5mfj","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h","Warn: Project is vulnerable to: PYSEC-2020-92 / GHSA-hj5v-574p-mj7c","Warn: Project is vulnerable to: PYSEC-2022-42969","Warn: Project is vulnerable to: PYSEC-2021-140 / GHSA-9w8r-397f-prfh","Warn: Project is vulnerable to: PYSEC-2023-117 / GHSA-mrwq-x4v8-fh7p","Warn: Project is vulnerable to: PYSEC-2021-141 / GHSA-pq64-v7f5-gqh8","Warn: Project is vulnerable to: PYSEC-2021-142 / GHSA-8q59-q68h-6hv4","Warn: Project is vulnerable to: PYSEC-2018-49 / GHSA-rprw-h62v-c2w7","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q","Warn: Project is vulnerable to: PYSEC-2018-28 / GHSA-x84v-xcm2-53pg","Warn: Project is vulnerable to: GHSA-g7vv-2v7x-gj9p","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: PYSEC-2023-207 / GHSA-gwvm-45gx-3cf8","Warn: Project is vulnerable to: PYSEC-2019-133 / GHSA-mh33-7rrq-662w","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2019-132 / GHSA-r64q-w8jr-g9qp","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: PYSEC-2020-148 / GHSA-wqvq-5m8c-6g24","Warn: Project is vulnerable to: PYSEC-2018-32 / GHSA-www2-v7xj-xrc6","Warn: Project is vulnerable to: PYSEC-2021-108","Warn: Project is vulnerable to: PYSEC-2024-187 / GHSA-rqc4-2hc7-8c8v"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T12:18:03.340Z","repository_id":50214572,"created_at":"2025-08-22T12:18:03.340Z","updated_at":"2025-08-22T12:18:03.340Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29472892,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T06:58:05.414Z","status":"ssl_error","status_checked_at":"2026-02-15T06:58:05.085Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["data","ddd-patterns","object","python3","value"],"created_at":"2026-02-15T07:43:46.689Z","updated_at":"2026-02-15T07:43:46.880Z","avatar_url":"https://github.com/pawelzny.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"************\nValue Object\n************\n\n:Info: DDD Value Object implementation.\n:Author: Paweł Zadrożny @pawelzny \u003cpawel.zny@gmail.com\u003e\n\n.. image:: https://circleci.com/gh/pawelzny/vo/tree/master.svg?style=shield\u0026circle-token=bcc877f72e384d82ddd044b88de1faca2ff774bc\n   :target: https://circleci.com/gh/pawelzny/vo/tree/master\n   :alt: CI Status\n\n.. image:: https://readthedocs.org/projects/vo/badge/?version=latest\n   :target: http://vo.readthedocs.io/en/latest/?badge=latest\n   :alt: Documentation Status\n\n.. image:: https://img.shields.io/pypi/v/vo.svg\n   :target: https://pypi.org/project/vo/\n   :alt: PyPI Repository Status\n\n.. image:: https://img.shields.io/github/release/pawelzny/vo.svg\n   :target: https://github.com/pawelzny/vo\n   :alt: Release Status\n\n.. image:: https://img.shields.io/pypi/status/vo.svg\n   :target: https://pypi.org/project/vo/\n   :alt: Project Status\n\n.. image:: https://img.shields.io/pypi/pyversions/vo.svg\n   :target: https://pypi.org/project/vo/\n   :alt: Supported python versions\n\n.. image:: https://img.shields.io/pypi/implementation/vo.svg\n   :target: https://pypi.org/project/vo/\n   :alt: Supported interpreters\n\n.. image:: https://img.shields.io/pypi/l/vo.svg\n   :target: https://github.com/pawelzny/vo/blob/master/LICENSE\n   :alt: License\n\nFeatures\n========\n\n* Value Objects are immutable.\n* Two objects with the same values are considered equal\n* Access to values with dot notation: ``value.my_attr``\n* Access to values by key: ``value['my_attr']``\n\n\nInstallation\n============\n\n.. code:: bash\n\n    pipenv install vo  # or pip install vo\n\n\n**Package**: https://pypi.org/project/vo/\n\n\nDocumentation\n=============\n\n* Full documentation: http://vo.readthedocs.io\n* Public API: http://vo.readthedocs.io/en/latest/api.html\n* Examples and usage ideas: http://vo.readthedocs.io/en/latest/examples.html\n\n\nQuick Example\n=============\n\nValue accept any ``key=value`` pairs. These pairs will be attached to object as attributes.\nOnce created values are immutable. Attributes can't be changed or deleted.\n\n.. code-block:: python\n\n   \u003e\u003e\u003e from vo import Value\n   \u003e\u003e\u003e book = Value(title='Learning Python',\n   ...              authors=['Mark Lutz', 'David Ascher'],\n   ...              publisher=\"O'REILLY\")\n   \u003e\u003e\u003e book\n   Value(authors=['Mark Lutz', 'David Ascher'], publisher=\"O'REILLY\", title='Learning Python')\n\n   \u003e\u003e\u003e str(book)\n   '{\"authors\": [\"Mark Lutz\", \"David Ascher\"], \"publisher\": \"O\\'REILLY\", \"title\": \"Learning Python\"}'\n\n\n.. warning:: Any attempt of value modification or delete will raise ``ImmutableInstanceError``\n\n.. code-block:: python\n\n   \u003e\u003e\u003e from vo import Value\n   \u003e\u003e\u003e book = Value(title='Learning Python',\n   ...              authors=['Mark Lutz', 'David Ascher'],\n   ...              publisher=\"O'REILLY\")\n   \u003e\u003e\u003e book.title = 'Spam'\n   Traceback (most recent call last):\n     File \"\u003cinput\u003e\", line 1, in \u003cmodule\u003e\n       raise ImmutableInstanceError()\n     vo.value.ImmutableInstanceError: Modification of Value frozen instance is forbidden.\n\n\nValues access\n-------------\n\nValues can be accessed like object attributes or like dict keys.\n\n.. code-block:: python\n\n   \u003e\u003e\u003e from vo import Value\n   \u003e\u003e\u003e book = Value(title='Learning Python',\n   ...              authors=['Mark Lutz', 'David Ascher'],\n   ...              publisher=\"O'REILLY\")\n   \u003e\u003e\u003e book.title == book['title']\n   True\n\n   \u003e\u003e\u003e book.authors == book['authors']\n   True\n\n\nObjects comparison\n------------------\n\nLet's take the same book example.\n\n.. code-block:: python\n\n   \u003e\u003e\u003e from vo import Value\n   \u003e\u003e\u003e book1 = Value(title='Learning Python',\n   ...               authors=['Mark Lutz', 'David Ascher'],\n   ...               publisher=\"O'REILLY\")\n   \u003e\u003e\u003e book2 = Value(title='Learning Python',\n   ...               authors=['Mark Lutz', 'David Ascher'],\n   ...               publisher=\"O'REILLY\")\n   \u003e\u003e\u003e book1 == book2\n   True\n\n   \u003e\u003e\u003e book1 is book2\n   False\n\n\nValue lookup\n------------\n\nCheck if value exists.\n\n.. code-block:: python\n\n   \u003e\u003e\u003e from vo import Value\n   \u003e\u003e\u003e book = Value(title='Learning Python',\n   ...              authors=['Mark Lutz', 'David Ascher'],\n   ...              publisher=\"O'REILLY\")\n   \u003e\u003e\u003e 'title' in book\n   True\n\n   \u003e\u003e\u003e 'price' in book\n   False\n\n   \u003e\u003e\u003e book.title\n   'Learning Python'\n\n   \u003e\u003e\u003e book.price\n   Traceback (most recent call last):\n     File \"\u003cinput\u003e\", line 1, in \u003cmodule\u003e\n   AttributeError: 'Value' object has no attribute 'price'\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpawelzny%2Fvo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpawelzny%2Fvo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpawelzny%2Fvo/lists"}