{"id":34046311,"url":"https://github.com/luizalabs/ramos","last_synced_at":"2026-04-07T04:32:07.087Z","repository":{"id":10076136,"uuid":"64398073","full_name":"luizalabs/ramos","owner":"luizalabs","description":"Generic backend pool","archived":false,"fork":false,"pushed_at":"2023-03-06T18:57:12.000Z","size":89,"stargazers_count":28,"open_issues_count":7,"forks_count":11,"subscribers_count":20,"default_branch":"main","last_synced_at":"2025-08-30T21:37:56.330Z","etag":null,"topics":["backend","django","hacktoberfest","pool","simple-settings"],"latest_commit_sha":null,"homepage":"https://ramos.readthedocs.io","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/luizalabs.png","metadata":{"files":{"readme":"README.rst","changelog":"changelog.d/.gitignore","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}},"created_at":"2016-07-28T13:31:23.000Z","updated_at":"2025-06-24T10:09:59.000Z","dependencies_parsed_at":"2024-06-20T19:05:04.844Z","dependency_job_id":null,"html_url":"https://github.com/luizalabs/ramos","commit_stats":{"total_commits":72,"total_committers":14,"mean_commits":5.142857142857143,"dds":0.5555555555555556,"last_synced_commit":"2eb681a19b5258850a46def4da1859d14cddfc41"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/luizalabs/ramos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizalabs%2Framos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizalabs%2Framos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizalabs%2Framos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizalabs%2Framos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luizalabs","download_url":"https://codeload.github.com/luizalabs/ramos/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizalabs%2Framos/sbom","scorecard":{"id":603710,"data":{"date":"2025-08-11","repo":{"name":"github.com/luizalabs/ramos","commit":"2eb681a19b5258850a46def4da1859d14cddfc41"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.7,"checks":[{"name":"Code-Review","score":10,"reason":"all changesets reviewed","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.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":"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":"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":"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/main.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/luizalabs/ramos/main.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/luizalabs/ramos/main.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/luizalabs/ramos/main.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/main.yml:29","Warn: pipCommand not pinned by hash: .github/workflows/main.yml:30","Warn: pipCommand not pinned by hash: .github/workflows/main.yml:31","Warn: pipCommand not pinned by hash: .github/workflows/main.yml:32","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   4 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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT 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":-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":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 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-21T01:06:47.911Z","repository_id":10076136,"created_at":"2025-08-21T01:06:47.911Z","updated_at":"2025-08-21T01:06:47.911Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31500397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"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":["backend","django","hacktoberfest","pool","simple-settings"],"created_at":"2025-12-13T23:44:41.623Z","updated_at":"2026-04-07T04:32:07.082Z","avatar_url":"https://github.com/luizalabs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ramos\n=====\n\n.. image:: https://readthedocs.org/projects/ramos/badge/?version=latest\u0026style=flat\n    :target: https://ramos.readthedocs.io/en/latest/\n\n.. image:: https://travis-ci.org/luizalabs/ramos.svg?branch=master\n    :target: https://travis-ci.org/luizalabs/ramos\n\n.. image:: https://codecov.io/gh/luizalabs/ramos/branch/master/graph/badge.svg\n    :target: https://codecov.io/gh/luizalabs/ramos\n\n\nGeneric backend pool\n\n\nSetup\n-----\n\n.. code:: bash\n\n    pip install ramos\n\n\nDevelopment setup\n-----------------\n\n.. code:: bash\n\n    make install\n\n\nUsage\n-----\n\n.. code:: python\n\n    import ramos\n\n    ramos.configure(pools={\n        'backend_type': [\n            'path.to.backend_a',\n            'path.to.backend_b',\n        ]\n    })\n\n\nIntegrations\n~~~~~~~~~~~~\n\nRamos can uses `Django`_ or `Simple Settings`_ to get backends\nconfigurations if set settings.POOL_OF_RAMOS:\n\n.. code:: python\n\n    POOL_OF_RAMOS = {\n        'backend_type': [\n            'path.to.backend_a',\n            'path.to.backend_b',\n        ]\n    }\n\n\nBackend Implementations\n~~~~~~~~~~~~~~~~~~~~~~~\n\n.. code:: python\n\n    from ramos.mixins import ThreadSafeCreateMixin\n\n\n    class BackendA(ThreadSafeCreateMixin):\n        id = 'backend_a'\n        def say(self):\n            return 'A'\n\n\n    class BackendB(ThreadSafeCreateMixin):\n        id = 'backend_b'\n        def say(self):\n            return 'B'\n\n\nBackend Pool\n~~~~~~~~~~~~\n\n.. code:: python\n\n    from ramos.pool import BackendPool\n\n\n    class BackendTypePool(BackendPool)\n        backend_type = 'backend_type'\n\n\n    backends = BackendTypePool.all()\n\n    for backend in backends:\n        print(backend.say())\n\n\n    # backend_a = BackendTypePool.get('backend_a')\n    # backend_b = BackendTypePool.get('backend_b')\n\n.. _Django: https://github.com/django/django\n.. _Simple Settings: https://github.com/drgarcia1986/simple-settings\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluizalabs%2Framos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluizalabs%2Framos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluizalabs%2Framos/lists"}