{"id":39584717,"url":"https://github.com/hkage/cookiecutter-tornado","last_synced_at":"2026-01-26T15:01:17.857Z","repository":{"id":6031648,"uuid":"7255818","full_name":"hkage/cookiecutter-tornado","owner":"hkage","description":"Cookiecutter template for Tornado based projects","archived":false,"fork":false,"pushed_at":"2022-12-09T06:41:33.000Z","size":183,"stargazers_count":56,"open_issues_count":2,"forks_count":17,"subscribers_count":3,"default_branch":"development","last_synced_at":"2024-04-17T06:02:39.140Z","etag":null,"topics":["cookiecutter","cookiecutter-template","cookiecutter-tornado","python","tornado","tornado-template"],"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/hkage.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.rst","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-12-20T10:17:57.000Z","updated_at":"2023-06-15T18:41:11.000Z","dependencies_parsed_at":"2023-01-11T17:02:11.159Z","dependency_job_id":null,"html_url":"https://github.com/hkage/cookiecutter-tornado","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/hkage/cookiecutter-tornado","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkage%2Fcookiecutter-tornado","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkage%2Fcookiecutter-tornado/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkage%2Fcookiecutter-tornado/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkage%2Fcookiecutter-tornado/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hkage","download_url":"https://codeload.github.com/hkage/cookiecutter-tornado/tar.gz/refs/heads/development","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkage%2Fcookiecutter-tornado/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28781308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T13:55:28.044Z","status":"ssl_error","status_checked_at":"2026-01-26T13:55:26.068Z","response_time":59,"last_error":"SSL_read: 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":["cookiecutter","cookiecutter-template","cookiecutter-tornado","python","tornado","tornado-template"],"created_at":"2026-01-18T07:35:27.099Z","updated_at":"2026-01-26T15:01:17.852Z","avatar_url":"https://github.com/hkage.png","language":"Python","readme":"Tornado Cookiecutter template\n=============================\n\n.. class:: no-web no-pdf\n\n    |license| |build|\n\n.. contents::\n\n.. section-numbering::\n\nThis is my cookiecutter template to build a simple, fast and rock solid website based upon\nthe Tornado_ framework. There are quite many Tornado templates  out there,\nbut I wanted to start something from scratch, that fits my needs and evolves out\nof years of experiences (positive and negative alike) with other Python based webframeworks\nlike Turbogears and Django.\n\nOf course this template is not designed for larger data structures. The main\nfocus is on scalability, fast data access and small library dependencies.\n\nFeatures\n--------\n\n* Configurable as a Cookiecutter_ template\n* Basic HTML5 Boilerplate_\n* (Optional) pytest\n* (Optional) tox\n* (Optional) Docker support\n* (Optional) Vagrant support\n* (Optional) Internationalization (i18n) support\n\nUsage\n-----\n\nInstall Cookiecutter_ ::\n\n    $ pip install cookiecutter\n\nInitialize the project with cookiecutter and answer some questions for the newly started project::\n\n    $ cookiecutter https://github.com/hkage/cookiecutter-tornado\n\nTemplate development\n-----------------------\n\nIf you decide to contribute to this cookiecutter template, feel free to fork it and make a pull request. To start with\nthe development of this template, you need to install some Python requirements::\n\n    [sudo] pip install poetry\n\nAfter that simply let pipenv install all requirements::\n\n    $ poetry install\n\nTo activate the virtual environment, simply call::\n\n    $ poetry shell\n\nNow you are able to run the tests for this template::\n\n    $ py.test\n\nIn addition to that you can install tox to test the template against different Python versions::\n\n    $ [sudo] pip install tox\n\nAnd then run the tests with::\n\n    $ tox\n\nTornado project development\n---------------------------\n\nTesting\n~~~~~~~\n\nAll tests will be added to the `tests` directory, whether you are using pytest for testing or other tools like nose- or unittests.\n\npytest\n******\n\nWith pytest you will be able to run the tests with::\n\n    $ py.test\n\nRunning the application\n~~~~~~~~~~~~~~~~~~~~~~~\n\nTo start the final application, just run the following fabric command::\n\n    $ fab devserver\n\nThis will tell Tornado to start the application with the default port 8888. If\nyou want to use another port, just type::\n\n    $ fab devserver:port=8000\n\nIn addition to that, see the fabfile.py Script for other parameters and\ncommands.\n\nVagrant\n*******\n\nTo run the server within a Vagrant VM, you need to install Vagrant 1.7.x and the\nVagrant Alpine plugin::\n\n    $ vagrant plugin install vagrant-alpine\n\nAfter that you can start the development server with the following command::\n\n    $ vagrant up\n    $ fab vagrant devserver\n\nYou can now access your application via `http://localhost:8000`\n\nDocker\n******\n\nInstall docker and docker compose in the latest version. Then start the tornado\nproject with docker-compose::\n\n    $ docker-compose up\n\nYou can now access your application via `http://localhost:8000`\n\n.. _Tornado: http://www.tornadoweb.org/\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _Boilerplate: https://html5boilerplate.com/\n\n.. |license| image:: https://img.shields.io/badge/license-MIT-green.svg\n    :target: https://github.com/hkage/cookiecutter-tornado/blob/development/LICENSE.rst\n\n.. |build| image:: https://github.com/hkage/cookiecutter-tornado//workflows/Test/badge.svg\n    :target: https://github.com/hkage/cookiecutter-tornado//actions\n","funding_links":[],"categories":["\u003ca name=\"Python\"\u003e\u003c/a\u003ePython"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhkage%2Fcookiecutter-tornado","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhkage%2Fcookiecutter-tornado","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhkage%2Fcookiecutter-tornado/lists"}