{"id":15442853,"url":"https://github.com/karldoenitz/karlooper","last_synced_at":"2025-11-17T03:41:53.629Z","repository":{"id":62573743,"uuid":"59020623","full_name":"karldoenitz/karlooper","owner":"karldoenitz","description":"python micro-framework","archived":false,"fork":false,"pushed_at":"2018-08-05T08:17:07.000Z","size":5765,"stargazers_count":138,"open_issues_count":2,"forks_count":15,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-09-21T18:16:02.758Z","etag":null,"topics":["python","python-microframework","python3"],"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/karldoenitz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-17T12:33:35.000Z","updated_at":"2025-05-12T10:04:28.000Z","dependencies_parsed_at":"2022-11-03T18:32:57.472Z","dependency_job_id":null,"html_url":"https://github.com/karldoenitz/karlooper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/karldoenitz/karlooper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karldoenitz%2Fkarlooper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karldoenitz%2Fkarlooper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karldoenitz%2Fkarlooper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karldoenitz%2Fkarlooper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karldoenitz","download_url":"https://codeload.github.com/karldoenitz/karlooper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karldoenitz%2Fkarlooper/sbom","scorecard":{"id":550423,"data":{"date":"2025-08-11","repo":{"name":"github.com/karldoenitz/karlooper","commit":"2e1df83ed1ec9b343cdd930162a4de7ecd149c04"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.1,"checks":[{"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":"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":"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":"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":"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":"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":"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: 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":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":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["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: PYSEC-2019-220 / GHSA-hj2j-77xm-mc5v","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h"],"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-20T10:41:46.095Z","repository_id":62573743,"created_at":"2025-08-20T10:41:46.095Z","updated_at":"2025-08-20T10:41:46.095Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284818572,"owners_count":27068110,"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-11-17T02:00:06.431Z","response_time":55,"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":["python","python-microframework","python3"],"created_at":"2024-10-01T19:30:48.375Z","updated_at":"2025-11-17T03:41:53.614Z","avatar_url":"https://github.com/karldoenitz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PyPI](https://img.shields.io/pypi/v/karlooper.svg)](https://pypi.python.org/pypi/karlooper) [![PyPI version](https://img.shields.io/pypi/pyversions/karlooper.svg)](https://pypi.python.org/pypi/karlooper) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/karlooper/Lobby)  \n![karlooper title](https://github.com/karldoenitz/karlooper/blob/master/documentations/images/karlooper_title.jpg \"this is karlooper title\")\n# karlooper([中文文档点击此处](https://github.com/karldoenitz/karlooper/blob/master/%E4%BD%BF%E7%94%A8%E5%89%8D%E9%98%85%E8%AF%BB.md))\n\u003cdiv align=\"center\"\u003e\u003cimage src=\"https://github.com/karldoenitz/karlooper/blob/master/documentations/images/logo.jpg?raw=true\"/\u003e\u003c/div\u003e\nA single-threaded asynchronous non-blocking web application micro-framework based on epoll, kqueue and other mechanisms.\n\n# News\nThe framework support Python 3!\n\n# Install\ndepend: jinja2.8  \npython version: \u003e=2.6.6  \ndownload the package or check out the project  \nthen cd to the project folder  \nrun these commands:  \n\n    sudo python setup.py install  \n\nor use ```pip```:\n\n    pip install karlooper\n\n# Demo\n## hello world\n```python\n# -*-coding:utf-8-*-\n\nfrom karlooper.web.application import Application\nfrom karlooper.web.request import Request\n\n__author__ = 'karlvorndoenitz@gmail.com'\n\n\nclass HelloHandler(Request):\n    def get(self):\n        return self.http_response(\"Hello,World!\")\n\nhandlers = {\n    \"/hello\": HelloHandler\n}\n\nif __name__ == '__main__':\n    application = Application(handlers, port=8000)\n    application.run()\n\n```\n### run _hello world_\n    python index.py\nthen open the web browser and go to \"http://127.0.0.1:8000/hello\", you will see ```hello world```.\n\n# Compare performance with Tornado\nOS: Ubuntu 14.04 LTS  \nCPU: Intel core i5 2.5GHz  \nMemory: 10G DDR3 1600GHz  \n## tornado\n```\nkarl@karl-Inspiron-N4050:~$ ab -n 10000 -c 50 http://localhost:9999/hello\nThis is ApacheBench, Version 2.3 \u003c$Revision: 1706008 $\u003e\nCopyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\nLicensed to The Apache Software Foundation, http://www.apache.org/\n\nBenchmarking localhost (be patient)\nCompleted 1000 requests\nCompleted 2000 requests\nCompleted 3000 requests\nCompleted 4000 requests\nCompleted 5000 requests\nCompleted 6000 requests\nCompleted 7000 requests\nCompleted 8000 requests\nCompleted 9000 requests\nCompleted 10000 requests\nFinished 10000 requests\n\n\nServer Software:        TornadoServer/4.4.2\nServer Hostname:        localhost\nServer Port:            9999\n\nDocument Path:          /hello\nDocument Length:        12 bytes\n\nConcurrency Level:      50\nTime taken for tests:   7.041 seconds\nComplete requests:      10000\nFailed requests:        0\nTotal transferred:      2070000 bytes\nHTML transferred:       120000 bytes\nRequests per second:    1420.32 [#/sec] (mean)\nTime per request:       35.203 [ms] (mean)\nTime per request:       0.704 [ms] (mean, across all concurrent requests)\nTransfer rate:          287.12 [Kbytes/sec] received\n\nConnection Times (ms)\n              min  mean[+/-sd] median   max\nConnect:        0    0   0.1      0       3\nProcessing:     2   35  10.7     28     198\nWaiting:        2   35  10.7     28     198\nTotal:          4   35  10.7     28     200\n\nPercentage of the requests served within a certain time (ms)\n  50%     28\n  66%     46\n  75%     47\n  80%     47\n  90%     48\n  95%     49\n  98%     51\n  99%     52\n 100%    200 (longest request)\n```\n## karlooper\n```\nkarl@karl-Inspiron-N4050:~$ ab -n 10000 -c 50 http://localhost:8080/hello-world\nThis is ApacheBench, Version 2.3 \u003c$Revision: 1706008 $\u003e\nCopyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\nLicensed to The Apache Software Foundation, http://www.apache.org/\n\nBenchmarking localhost (be patient)\nCompleted 1000 requests\nCompleted 2000 requests\nCompleted 3000 requests\nCompleted 4000 requests\nCompleted 5000 requests\nCompleted 6000 requests\nCompleted 7000 requests\nCompleted 8000 requests\nCompleted 9000 requests\nCompleted 10000 requests\nFinished 10000 requests\n\n\nServer Software:\nServer Hostname:        localhost\nServer Port:            8080\n\nDocument Path:          /hello-world\nDocument Length:        20 bytes\n\nConcurrency Level:      50\nTime taken for tests:   1.204 seconds\nComplete requests:      10000\nFailed requests:        0\nTotal transferred:      1360000 bytes\nHTML transferred:       200000 bytes\nRequests per second:    8307.10 [#/sec] (mean)\nTime per request:       6.019 [ms] (mean)\nTime per request:       0.120 [ms] (mean, across all concurrent requests)\nTransfer rate:          1103.29 [Kbytes/sec] received\n\nConnection Times (ms)\n              min  mean[+/-sd] median   max\nConnect:        0    0   0.2      0       4\nProcessing:     1    6   1.3      6      16\nWaiting:        1    6   1.2      6      16\nTotal:          5    6   1.3      6      16\n\nPercentage of the requests served within a certain time (ms)\n  50%      6\n  66%      6\n  75%      6\n  80%      6\n  90%      6\n  95%      8\n  98%     12\n  99%     13\n 100%     16 (longest request)\n```\n\n# Documentation\n[click here](https://github.com/karldoenitz/karlooper/blob/master/documentations/document.md)\n\n# Diagram\n![karlooper diagram](https://github.com/karldoenitz/karlooper/blob/master/documentations/images/karlooper_architecture_diagram.png \"this is karlooper diagram\")\n\n# Contributors\nThanks goes to these wonderful people:  \n\n| [\u003cimg src=\"https://avatars2.githubusercontent.com/u/7512821?s=460\u0026v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003cp\u003eKarl\u003c/p\u003e](https://github.com/karldoenitz) | [\u003cimg src=\"https://avatars3.githubusercontent.com/u/30079455?s=460\u0026v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003cp\u003eMoira\u003c/p\u003e](https://github.com/MoiraJune) | [\u003cimg src=\"https://avatars1.githubusercontent.com/u/12806543?s=460\u0026v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003cp\u003eDouble Sun\u003c/p\u003e](https://github.com/ssundabao) | [\u003cimg src=\"https://avatars0.githubusercontent.com/u/8518239?s=460\u0026v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003cp\u003eThe Gitter Badger\u003c/p\u003e](https://github.com/gitter-badger) | [\u003cimg src=\"https://avatars2.githubusercontent.com/u/19420173?s=460\u0026v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003cp\u003exinghang\u003c/p\u003e](https://github.com/xinghanggogogo) | [\u003cimg src=\"https://avatars1.githubusercontent.com/u/33955669?s=460\u0026v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003cp\u003ew4ctech\u003c/p\u003e](https://github.com/w4ctech) | [\u003cimg src=\"https://avatars1.githubusercontent.com/u/3887383?s=460\u0026v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003cp\u003eJack Sun\u003c/p\u003e](https://github.com/smallearth) |\n| :--------: | :----------: | :-----------: | :-----------: | :-----------: | :-----------: | :-----------: |\n\n# Notice\nThis framework has been used on the linux version of [CubeBackup for Google Apps](http://www.cubebackup.com), which is a local backup solution for Google Apps data.   \nIf you find bugs or know how to fix them,  please send a message to karlvorndoenitz@gmail.com, special thanks.   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarldoenitz%2Fkarlooper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarldoenitz%2Fkarlooper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarldoenitz%2Fkarlooper/lists"}