{"id":18611510,"url":"https://github.com/mschwager/py-httptemplate","last_synced_at":"2025-11-02T22:30:31.110Z","repository":{"id":146382625,"uuid":"117114394","full_name":"mschwager/py-httptemplate","owner":"mschwager","description":"A Python HTTP server template package.","archived":false,"fork":false,"pushed_at":"2018-01-16T22:04:21.000Z","size":68,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-27T02:11:41.311Z","etag":null,"topics":["api","async","http","python","rest","server"],"latest_commit_sha":null,"homepage":null,"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/mschwager.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":"2018-01-11T14:54:18.000Z","updated_at":"2022-01-28T16:12:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"caa8d0dd-84ff-49b3-9317-2dcd2ff2ffee","html_url":"https://github.com/mschwager/py-httptemplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mschwager%2Fpy-httptemplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mschwager%2Fpy-httptemplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mschwager%2Fpy-httptemplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mschwager%2Fpy-httptemplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mschwager","download_url":"https://codeload.github.com/mschwager/py-httptemplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239401654,"owners_count":19632224,"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","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":["api","async","http","python","rest","server"],"created_at":"2024-11-07T03:14:05.002Z","updated_at":"2025-11-02T22:30:31.063Z","avatar_url":"https://github.com/mschwager.png","language":"Python","readme":"# HTTP Server Template\n\n[![Build Status](https://travis-ci.org/mschwager/py-httptemplate.svg?branch=master)](https://travis-ci.org/mschwager/py-httptemplate)\n[![Coverage Status](https://coveralls.io/repos/github/mschwager/py-httptemplate/badge.svg?branch=master)](https://coveralls.io/github/mschwager/py-httptemplate?branch=master)\n\nSomething simple to base your next web server off of! This project makes heavy\nuse of [aiohttp](https://aiohttp.readthedocs.io/en/stable/), and Python 3's\n`asyncio` functionality.\n\nWith this you can:\n\n* Do asynchronous things, handle many connections, web scale!\n* Build that blog you've been dreaming of... but with Python!\n* Integrate with PostgreSQL via [aiopg](https://aiopg.readthedocs.io/en/stable/), or MySQL via [aiomysql](https://aiomysql.readthedocs.io/en/latest/). Do database-y things, maintain state!\n* Avoid repetitive structuring of your CRUD apps. Base it off this template!\n* Place it behind [nginx](https://www.nginx.com/). Load balance! Serve static content! Add HTTP headers! Use SSL/TLS!\n\n# Installing\n\n```\n$ git clone https://github.com/mschwager/py-httptemplate.git\n$ cd py-httptemplate\n$ docker-compose build\n```\n\n# Using\n\n```\n$ docker-compose up\nCreating nginx ... done\nCreating uitemplate1 ...\nCreating uitemplate2 ...\nAttaching to uitemplate1, uitemplate2, nginx\n...\n```\n\n# Development\n\nYou should install the development packages before starting development:\n\n```\n$ pipenv install --dev\n```\n\n## Testing\n\n```\n$ pipenv run nose2 --with-coverage\n......\n----------------------------------------------------------------------\nRan 6 tests in 0.086s\n\nOK\n```\n\n## Linting\n\n```\n$ pipenv run flake8 src\n```\n\n## Debugging\n\nYou can run `pipenv shell` to spawn a shell within the virtualenv. Now you're\nfree to debug within the package's environment at you're leisure.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmschwager%2Fpy-httptemplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmschwager%2Fpy-httptemplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmschwager%2Fpy-httptemplate/lists"}