{"id":37073373,"url":"https://github.com/gidona18/protoclass","last_synced_at":"2026-01-14T08:36:48.194Z","repository":{"id":57455152,"uuid":"261312071","full_name":"gidona18/protoclass","owner":"gidona18","description":"Prototype-Oriented Programming in Python at the tip of your fingers in a simple, easy-to-use library.","archived":false,"fork":false,"pushed_at":"2020-07-03T16:10:06.000Z","size":283,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-07T00:09:40.725Z","etag":null,"topics":["object-oriented","object-oriented-programming","prototypal-inheritance","prototype","prototypes"],"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/gidona18.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}},"created_at":"2020-05-04T22:47:19.000Z","updated_at":"2022-12-12T05:38:44.000Z","dependencies_parsed_at":"2022-08-26T04:21:14.761Z","dependency_job_id":null,"html_url":"https://github.com/gidona18/protoclass","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gidona18/protoclass","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gidona18%2Fprotoclass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gidona18%2Fprotoclass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gidona18%2Fprotoclass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gidona18%2Fprotoclass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gidona18","download_url":"https://codeload.github.com/gidona18/protoclass/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gidona18%2Fprotoclass/sbom","scorecard":{"id":426394,"data":{"date":"2025-08-11","repo":{"name":"github.com/gidona18/protoclass","commit":"8dfd4d6034bbe0e0881817c9c905d728bf1d3aeb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"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":"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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":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"}}]},"last_synced_at":"2025-08-19T02:20:03.828Z","repository_id":57455152,"created_at":"2025-08-19T02:20:03.828Z","updated_at":"2025-08-19T02:20:03.828Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28414662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:31:27.429Z","status":"ssl_error","status_checked_at":"2026-01-14T08:31:19.098Z","response_time":107,"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":["object-oriented","object-oriented-programming","prototypal-inheritance","prototype","prototypes"],"created_at":"2026-01-14T08:36:47.521Z","updated_at":"2026-01-14T08:36:48.182Z","avatar_url":"https://github.com/gidona18.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"protoclass - *Prototype-Oriented Programming in Python.*\n========================================================\n`Prototype-Oriented Programming \u003chttps://en.wikipedia.org/wiki/Prototype-based_programming\u003e`_ in Python at the tip of your fingers in a simple, easy-to-use library.\n\n|PyPI-package-version| |PyPI-license| |PyPI-python-versions| |travis-ci| |readthedocs| |PyPI-downloads-month|\n \n\nInstallation\n------------\n\n``pip install protoclass``\n\nUsage\n-----\n\n.. code:: python\n\n\n   \u003e\u003e\u003e from protoclass import proto\n\n   # We create a basic object and add some functionality\n   \u003e\u003e\u003e jane = proto(first=\"Jane\", last=\"Doe\")\n   \u003e\u003e\u003e jane.greet = lambda self: print(self)\n   \u003e\u003e\u003e jane.greet()  #doctest: +ELLIPSIS\n   \u003cproto object at ...\u003e\n\n   # A more user-friendly would be better.\n   # We could modify the `greet` function\n   # or we could create another object and inherit from it\n   \u003e\u003e\u003e person = proto(first=\"\", last=\"\")\n   \u003e\u003e\u003e person.__str__ = lambda self: f\"{self.first} {self.last}\"\n   \u003e\u003e\u003e jane = jane.chain(person)\n\n   # and we should get a better message.\n   \u003e\u003e\u003e jane.greet()\n   Jane Doe\n\nAPI Reference\n-------------\n\n+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **proto(\\*\\*attrs)**                                                                                                                                                             |\n+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| Makes a new prototype with given attributes.                                                                                                                                     |\n| An empty prototype will be made when no attributes are given.                                                                                                                    |\n+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **proto.chain(self, other, \\*others)**                                                                                                                                           |\n+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| Makes self copy attributes from another prototype or multiple other prototypes.                                                                                                  |\n| Any previous relationship with other parent prototypes will be automatically severed.                                                                                            |\n| When parent prototypes share attributes with the same name, the first parent prototype that has that attribute will be provide it, so the order in which they are given matters. |\n| Any change made to parent prototypes will be automatically propagated to this prototype.                                                                                         |\n+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **clone(other, \\*others)**                                                                                                                                                       |\n+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| Makes a new prototype by copying attributes from another prototype or multiple other prototypes.                                                                                 |\n| When parent prototypes share attributes with the same name, the first parent prototype that has that attribute will be provide it, so the order in which they are given matters. |\n| Any change made to parent prototypes will be automatically propagated to this clone.                                                                                             |\n+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n\nFor more information on these functions, call ``help`` on the function\nyou would like to know more of, like this: ``help(proto)``.\nYou can also read the docs_.\n\nContributing\n------------\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\nPlease make sure to update tests as appropriate.\n\n.. |made-with-python| image:: https://img.shields.io/badge/Made%20with-Python-1f425f.svg\n   :target: https://www.python.org/\n.. |PyPI-downloads-month| image:: https://img.shields.io/pypi/dm/protoclass.svg\n   :target: https://pypi.python.org/pypi/protoclass/\n.. |PyPI-package-version| image:: https://img.shields.io/pypi/v/protoclass.svg\n   :target: https://pypi.python.org/pypi/protoclass/\n.. |PyPI-license| image:: https://img.shields.io/pypi/l/protoclass.svg\n   :target: https://pypi.python.org/pypi/protoclass/\n.. |PyPI-python-versions| image:: https://img.shields.io/pypi/pyversions/protoclass.svg\n   :target: https://pypi.python.org/pypi/protoclass/\n.. |travis-ci| image:: https://travis-ci.com/jellowfish/protoclass.svg?branch=master\n   :target: https://travis-ci.com/jellowfish/protoclass\n.. |readthedocs| image:: https://readthedocs.org/projects/protoclass-jf/badge/?version=latest\n   :target: http://protoclass-gidona18.readthedocs.io/?badge=latest\n.. _docs: https://protoclass-gidona18.readthedocs.io/en/latest/protoclass.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgidona18%2Fprotoclass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgidona18%2Fprotoclass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgidona18%2Fprotoclass/lists"}