{"id":19142857,"url":"https://github.com/angatar/python_in_bottle","last_synced_at":"2026-01-02T15:05:41.032Z","repository":{"id":114224049,"uuid":"80837831","full_name":"Angatar/python_in_bottle","owner":"Angatar","description":"Simple docker image with the latest python 3 completed by Bottle+Requests libraries that serve to run web python apps easily","archived":false,"fork":false,"pushed_at":"2024-09-10T08:12:35.000Z","size":32,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-14T13:05:18.317Z","etag":null,"topics":["bottle","docker","microframework","python","requests","server","webapp","webserver","website"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Angatar.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":"2017-02-03T14:47:14.000Z","updated_at":"2024-09-10T08:12:38.000Z","dependencies_parsed_at":"2024-09-10T10:24:18.278Z","dependency_job_id":null,"html_url":"https://github.com/Angatar/python_in_bottle","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Angatar%2Fpython_in_bottle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Angatar%2Fpython_in_bottle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Angatar%2Fpython_in_bottle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Angatar%2Fpython_in_bottle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Angatar","download_url":"https://codeload.github.com/Angatar/python_in_bottle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249685173,"owners_count":21310558,"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":["bottle","docker","microframework","python","requests","server","webapp","webserver","website"],"created_at":"2024-11-09T07:28:54.048Z","updated_at":"2026-01-02T15:05:41.022Z","avatar_url":"https://github.com/Angatar.png","language":"Shell","readme":"[![Docker Pulls](https://badgen.net/docker/pulls/d3fk/python_in_bottle?icon=docker\u0026label=pulls\u0026cache=600)](https://hub.docker.com/r/d3fk/python_in_bottle/tags) [![Docker Image Size](https://badgen.net/docker/size/d3fk/python_in_bottle/latest?icon=docker\u0026label=image%20size\u0026cache=600)](https://hub.docker.com/r/d3fk/python_in_bottle/tags) [![Docker build](https://img.shields.io/badge/automated-automated?style=flat\u0026logo=docker\u0026logoColor=blue\u0026label=build\u0026color=green\u0026cacheSeconds=600)](https://hub.docker.com/r/d3fk/python_in_bottle/tags) [![Docker Stars](https://badgen.net/docker/stars/d3fk/python_in_bottle?icon=docker\u0026label=stars\u0026color=green\u0026cache=600)](https://hub.docker.com/r/d3fk/python_in_bottle) [![Github Stars](https://img.shields.io/github/stars/Angatar/python_in_bottle?label=stars\u0026logo=github\u0026color=green\u0026style=flat\u0026cacheSeconds=600)](https://github.com/Angatar/python_in_bottle) [![Github forks](https://img.shields.io/github/forks/Angatar/python_in_bottle?logo=github\u0026style=flat\u0026cacheSeconds=600)](https://github.com/Angatar/python_in_bottle/fork) [![Github open issues](https://img.shields.io/github/issues-raw/Angatar/python_in_bottle?logo=github\u0026color=yellow\u0026cacheSeconds=600)](https://github.com/Angatar/python_in_bottle/issues) [![Github closed issues](https://img.shields.io/github/issues-closed-raw/Angatar/python_in_bottle?logo=github\u0026color=green\u0026cacheSeconds=600)](https://github.com/Angatar/python_in_bottle/issues?q=is%3Aissue+is%3Aclosed) [![GitHub license](https://img.shields.io/github/license/Angatar/python_in_bottle)](https://github.com/Angatar/python_in_bottle/blob/master/LICENSE)\n\n\n# python in bottle (d3fk/python_in_bottle)\nA simple Python 3 in a docker Alpine linux multi-arch container image completed by Bottle and Requests libraries that serves to run web python apps easily (Total size of the container: [![Docker Image Size](https://badgen.net/docker/size/d3fk/python_in_bottle/latest?icon=docker\u0026label=compressed)](https://hub.docker.com/r/d3fk/python_in_bottle/tags)).\n\n## Docker image\nPre-build as multi-arch image from Docker hub with \"automated build\" option.\n\nimage name **d3fk/python_in_bottle**\n\n`docker pull d3fk/python_in_bottle`\n\nDocker hub repository: https://hub.docker.com/r/d3fk/python_in_bottle/\n\n[![DockerHub Badge](https://dockeri.co/image/d3fk/python_in_bottle)](https://hub.docker.com/r/d3fk/python_in_bottle)\n\n\n### Image TAGS\n\nThis image is provided with 3 TAGS wich are all multi-arch images:\n\n- **d3fk/python_in_bottle:latest**: is a multi-arch image that is regularly updated for python 3 and Alpine linux versions including packages \u0026 security fixes.\n- **d3fk/python_in_bottle:stable**: is a multi-arch image with fixed versions, i.e. python 3.11 in an Alpine 3.17. This image had a stable behaviour observed in production, so that it was freezed in a release of the code repo and built from the Docker hub by automated build. It won't be changed or rebuilt in the future (the code is available from the \"releases\" section of this [image code repository on GitHub](https://github.com/Angatar/python_in_bottle)).\n- **d3fk/python_in_bottle:gcc**: is a multi-arch image that corresponds to the \"latest\" image + gcc and libc packages installed for those who need them as build dependencies. It is regularly updated for python 3 and Alpine linux versions including packages \u0026 security fixes.\n\n*These multi-arch images will fit most of architectures:*\n\n- *linux/amd64*\n- *linux/386*\n- *linux/arm/v6*\n- *linux/arm/v7*\n- *linux/arm64/v8*\n- *linux/ppc64le*\n- *linux/s390x*\n\n## Run it\n\nFor example, if you need to run a web app you could use it this way:\n\n`docker run -itd -p 80:80 -v $(pwd)/myapp:/usr/src/myapp -w /usr/src/myapp d3fk/python_in_bottle:latest python your-python-script.py`\n\nThen go to your browser at http://localhost  to see your web app running\n\n## Example Script \n\nHere is a small \"Hello World\" example using the Bottle Web Framework\n\u003e[your-python-script.py](https://github.com/Angatar/python_in_bottle/blob/master/your-python-script.py)\n\n\n```\nfrom bottle import route, run\n\n@route('/')\ndef hello():\n    return \"Hello World!\"\n\nrun(host='0.0.0.0', port=80, debug=True)\n```\n\n\n\n## More info\n\nMore details on the Bottle Web Framework here: https://bottlepy.org\n\nMore details on the Requests python library here: http://docs.python-requests.org\n\n## License\n\nThe content of this [GitHub code repository](https://github.com/Angatar/python_in_bottle) is provided under **MIT** licence [![GitHub license](https://img.shields.io/github/license/Angatar/python_in_bottle)](https://github.com/Angatar/python_in_bottle/blob/master/LICENSE). For the embeded libraries and packages please see the related licenses information on their respective official repositories.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangatar%2Fpython_in_bottle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangatar%2Fpython_in_bottle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangatar%2Fpython_in_bottle/lists"}