{"id":44711439,"url":"https://github.com/elpeix/kaa","last_synced_at":"2026-02-15T12:41:27.027Z","repository":{"id":49578309,"uuid":"246365510","full_name":"elpeix/kaa","owner":"elpeix","description":"Mini server written in Python.","archived":false,"fork":false,"pushed_at":"2025-05-07T18:54:29.000Z","size":101,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-22T16:51:14.412Z","etag":null,"topics":["python3","server"],"latest_commit_sha":null,"homepage":"","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/elpeix.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2020-03-10T17:30:33.000Z","updated_at":"2025-02-28T19:16:54.000Z","dependencies_parsed_at":"2024-10-22T13:38:57.747Z","dependency_job_id":"6fe78e63-8a3b-46fe-8b4a-8a000c626760","html_url":"https://github.com/elpeix/kaa","commit_stats":{"total_commits":42,"total_committers":2,"mean_commits":21.0,"dds":0.04761904761904767,"last_synced_commit":"0a33ede6325637c353ecd8da6297ec8f4e246af9"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/elpeix/kaa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elpeix%2Fkaa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elpeix%2Fkaa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elpeix%2Fkaa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elpeix%2Fkaa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elpeix","download_url":"https://codeload.github.com/elpeix/kaa/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elpeix%2Fkaa/sbom","scorecard":{"id":373776,"data":{"date":"2025-08-11","repo":{"name":"github.com/elpeix/kaa","commit":"ce4bb241a2c44abf0ccb2e3ebe49b9bf45c0a494"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/21 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":"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":"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":"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: 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":"Branch-Protection","score":3,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Info: 'branch protection settings apply to administrators' is required to merge on branch 'main'","Warn: could not determine whether codeowners review is allowed","Warn: no status checks found to merge onto branch 'main'","Warn: PRs are not required to make changes on branch 'main'; or we don't have data to detect it.If you think it might be the latter, make sure to run Scorecard with a PAT or use Repo Rules (that are always public) instead of Branch Protection settings"],"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 15 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-18T13:39:40.033Z","repository_id":49578309,"created_at":"2025-08-18T13:39:40.033Z","updated_at":"2025-08-18T13:39:40.033Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29478358,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T11:35:25.641Z","status":"ssl_error","status_checked_at":"2026-02-15T11:34:57.128Z","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":["python3","server"],"created_at":"2026-02-15T12:41:26.394Z","updated_at":"2026-02-15T12:41:27.020Z","avatar_url":"https://github.com/elpeix.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kaa REST Server\n\nA very simple python server framework for REST applications.\n\n## Install\n\n```console\npip install kaa-rest-server\n```\n\n## [Configuration](docs/configuration.md) - kaa.json\n\n**kaa.json**: Specifies server handling.\n\n```json\n{\n  \"name\": \"My Server\",\n  \"version\": \"1.0.0\",\n  \"server\": \"server.MyServer\",\n  \"debug\": false,\n  \"enableCors\": false,\n  \"developmentPolling\": {\n    \"enabled\": true,\n    \"intervalSeconds\": 1,\n    \"include\": [\".\", \"src\", \"*.py\"],\n    \"exclude\": [\"docs\", \"tests\", \"__pycache__\", \"*.md\"]\n  }\n}\n```\n\nSee [Configuration](docs/configuration.md).\n\n### Definitions (deprecated)\n\nSee [Legacy Documentation](docs/legacy.md)\n\n## Main classes\n\n### server.py\n\nInitializes Kaa for each http request:\n\n```python\nfrom kaa import KaaServer\n\n\nclass MyServer(KaaServer):\n\n    def register_resources(self):\n        self.kaa.register_resources(\"resources\", \"AppResources\")\n```\n\n### resources.py\n\nThis class define your resources (or routes):\n\n```python\nfrom kaa import GET, PATH, Resources, Response, Status\n\n\nclass AppResources(Resources):\n\n    @GET\n    @PATH(\"/\")\n    def basic_resource(self, **params):\n        return Response(Status.OK).json({\n            \"message\": \"your response\"\n        })\n```\n\n## Starting server\n\n**Static mode** (serve): Starts Kaa server in static mode. Every code change\nneeds restart server manually.\n\n```console\nkaa serve\n```\n\n**Development mode** (dev): Start server that auto restarts on every code change.\n\n```console\nkaa dev\n```\n\n## Custom host and port\n\nBy default host is localhost and port is 5321.\n\nYou can change them adding host and port on kaa.json file:\n\n```jsonc\n{\n  // ...\n  \"host\": \"localhost\",\n  \"port\": 5111,\n  // ...\n}\n```\n\nOr in command line:\n\n```console\nkaa serve host:port\n```\n\n## More\n\nFor more information, [view Documentation](docs/README.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felpeix%2Fkaa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felpeix%2Fkaa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felpeix%2Fkaa/lists"}