Releases: tanrax/bitpoint
Releases · tanrax/bitpoint
Release list
v1.1.0
New
- Disable endpoints with an underscore prefix: rename
get.pyto_get.pyto stop serving that method (405 withAllowheader, or 404 if no methods remain), or rename a directory to_dir/to take its whole subtree offline. Rename back and the endpoint is live again, no restart needed. Dynamic[param]directories still capture URL segments that start with an underscore.
v1.0.2
v1.0.1
v1.0.0
First stable release of Bitpoint: create HTTP endpoints quickly using files.
Highlights
- File-based routing: the directory structure under
routes/defines the routes, the file name (get.py,post.py, ...) defines the HTTP method. Dynamic segments with[param]directories, shared code inroutes/lib/. - Per-endpoint dependencies: declare dependencies with a PEP 723 block and each endpoint runs in its own isolated, cached environment managed by uv, inside a persistent worker process. Two endpoints can use incompatible versions of the same library.
- Hot reload: save the file and the server updates automatically. Reloads are always a fresh process or module, never stale bytecode. In production, deploy with
git pull && kill -HUP $(cat bitpoint.pid). - Simple contract: one
handle(request)function per file. Return astr,dict,list,bytes, a tuple with status and headers, orNone, and the sensible response happens by default. - No configuration: everything is controlled from the command line (
--port,--host,--dir,--production,--no-install).
Install
pip install bitpointSee the README for the full guide.