#uv and #uvx are great tools, but they modifies and sometimes break #python executables if those contain "from __future__" imports. This also affected #bottlepy, but there is a workaround: https://github.com/astral-sh/uv/issues/6489#issuecomment-2973748865

You can now use bottle with uvx again (e.g. `uvx bottle --help`)

Scripts that use "from future" can result in syntax error when used with uvx · Issue #6489 · astral-sh/uv

When using uvx with script files that have from future import and shebang with a space, I receive the following syntax error: from __future__ import print_function, unicode_literals ^^^^^^^^^^^^^^^...

GitHub

After a very long time I finally managed to release Bottle 0.13

https://bottlepy.org/

Bottle is a fast, simple and lightweight WSGI micro web-framework for Python, distributed as a single single file module and with no dependencies other than the Python Standard Library.

Don't let the 0.x version number fool you, it has been around for over 15 years now and is stable and production ready.

#bottlepy #python #foss

Bottle: Python Web Framework — Bottle 0.14-dev documentation

Bottle is a fast, simple and lightweight WSGI micro web-framework for Python.

Bottle is a fast, simple and lightweight WSGI micro web-framework for Python. It is distributed as a single file module and has no dependencies other than the Python Standard Library.

Install Bottle with "pip install bottle" or download the source package at PyPI.

https://bottlepy.org
https://github.com/bottlepy/bottle

#python #bottlepy #wsgi #framework

Bottle: Python Web Framework — Bottle 0.14-dev documentation

Bottle is a fast, simple and lightweight WSGI micro web-framework for Python.

Seit langem mal wieder #python angefasst für eine kleines internes Projekt. Natürlich mit #bottlepy, weil, "eat your own dogfood". Klappt immer noch ziemlich gut, ist aber in die Jahre gekommen. Type hints fehlen schon ein wenig. Mal sehen ob ich im nächsten Urlaub etwas Zeit finde.