{"id":15297461,"url":"https://github.com/sinoroc/rapids","last_synced_at":"2025-10-09T03:38:14.960Z","repository":{"id":57460019,"uuid":"108432117","full_name":"sinoroc/rapids","owner":"sinoroc","description":"REST APIs documented and sensible","archived":false,"fork":false,"pushed_at":"2019-11-20T11:48:09.000Z","size":66,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-29T10:04:05.255Z","etag":null,"topics":["apache-license-2","api","api-rest","openapi","openapi3","pyramid","pyramid-framework","python","python-3","python-library","python3","raml","rest","rest-api"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/rapids/","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/sinoroc.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-26T15:44:17.000Z","updated_at":"2024-12-11T12:38:46.000Z","dependencies_parsed_at":"2022-08-28T15:11:34.240Z","dependency_job_id":null,"html_url":"https://github.com/sinoroc/rapids","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/sinoroc/rapids","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinoroc%2Frapids","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinoroc%2Frapids/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinoroc%2Frapids/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinoroc%2Frapids/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sinoroc","download_url":"https://codeload.github.com/sinoroc/rapids/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinoroc%2Frapids/sbom","scorecard":{"id":827313,"data":{"date":"2025-08-11","repo":{"name":"github.com/sinoroc/rapids","commit":"559e78cf9f52b36345933056db0d763bf0dcc430"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"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":"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":"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":"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.txt: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.0.1 not signed: https://api.github.com/repos/sinoroc/rapids/releases/8776758","Warn: release artifact v0.0.1 does not have provenance: https://api.github.com/repos/sinoroc/rapids/releases/8776758"],"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-23T16:52:29.693Z","repository_id":57460019,"created_at":"2025-08-23T16:52:29.693Z","updated_at":"2025-08-23T16:52:29.693Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000711,"owners_count":26082911,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["apache-license-2","api","api-rest","openapi","openapi3","pyramid","pyramid-framework","python","python-3","python-library","python3","raml","rest","rest-api"],"created_at":"2024-09-30T19:17:45.333Z","updated_at":"2025-10-09T03:38:14.944Z","avatar_url":"https://github.com/sinoroc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"..\n\n\n.. contents::\n\n.. sectnum::\n\n\nIntroduction\n============\n\n**REST APIs documented and sensible**\n\nBuild automatically documented REST APIs with the `Pyramid framework`_.\n\nThis library is available on the Python package index under the project name\n``rapids``:\n\n* https://pypi.python.org/pypi/rapids\n\n* https://pypi.org/project/rapids/\n\n\nUsage\n=====\n\n.. code:: python\n\n    @rapids.decorators.resource('', None)\n    class Root(rapids.resources.Base):\n        pass\n\n\n    @pyramid.view.view_config(context=Root, rapids='')\n    def root_view(resource, request):\n        return pyramid.httpexceptions.HTTPNotFound()\n\n\n    @rapids.decorators.resource('foo', Root)\n    class Foo(rapids.resources.Base):\n        pass\n\n\n    @pyramid.view.view_defaults(context=Foo, rapids='')\n    class FooView:\n        def __init__(self, resource, request):\n            pass\n\n        @pyramid.view.view_config(request_method='GET')\n        def _get_view(self):\n            return pyramid.httpexceptions.HTTPOk()\n\n        @pyramid.view.view_config(request_method='POST')\n        def _post_view(self):\n            return pyramid.httpexceptions.HTTPCreated()\n\n\nHacking\n=======\n\nThis project makes extensive use of `tox`_, `pytest`_, and `GNU Make`_.\n\n\nDevelopment environment\n-----------------------\n\nUse following command to create a Python virtual environment with all\nnecessary dependencies::\n\n    tox --recreate -e develop\n\nThis creates a Python virtual environment in the ``.tox/develop`` directory. It\ncan be activated with the following command::\n\n    . .tox/develop/bin/activate\n\n\nRun test suite\n--------------\n\nIn a Python virtual environment run the following command::\n\n    make review\n\nOutside of a Python virtual environment run the following command::\n\n    tox --recreate\n\n\nBuild and package\n-----------------\n\nIn a Python virtual environment run the following command::\n\n    make package\n\nOutside of a Python virtual environment run the following command::\n\n    tox --recreate -e package\n\n\n.. Links\n\n.. _`GNU Make`: https://www.gnu.org/software/make/\n.. _`Pyramid framework`: https://trypyramid.com/\n.. _`pytest`: http://pytest.org/\n.. _`tox`: https://tox.readthedocs.io/\n\n\n.. EOF\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinoroc%2Frapids","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinoroc%2Frapids","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinoroc%2Frapids/lists"}