Nazewnictwo
Publiczna nazwa runtime to urirun. URL repozytorium na GitHubie to tellmesh/urirun.
Używaj `urirun` dla powierzchni runtime
Używaj urirun dla:
- nazwy dystrybucji Pythona
- przestrzeni importu w Pythonie
- nazwy i importów paczki JS
- głównej komendy CLI
- wersjonowanych komend CLI
- wersji dokumentów JSON
- etykiet Docker/OCI
- plików adaptera C dla firmware
- tytułu dokumentacji
- logo i identyfikacji strony
Zalecane komendy:
urirun --help
urirun scan ./project
urirun validate generated/bindings.v2.json
urirun list generated/registry.json
urirun run 'tool://local/report/render' --registry generated/registry.json
Dostępne są też komendy przypięte do wersji kontraktu:
urirun-v1 --help
urirun-v2 --help
Przykłady:
from urirun import v2
from urirun.v2 import uri_command
import { parseUri } from "urirun";
{ "version": "urirun.bindings.v2" }
LABEL io.tellmesh.urirun.manifest="/app/bindings.json"
Nazwy repozytorium i paczek
Aktualny remote to:
git@github.com:tellmesh/urirun.git
Komendy instalacji powinny używać tego samego repozytorium:
pip install "git+https://github.com/tellmesh/urirun.git@main#subdirectory=adapters/python"
npm install github:tellmesh/urirun
Historyczne wpisy changeloga i stare przykłady mogą wspominać starsze nazwy projektu, ale nowy kod, dokumentacja i instalacja powinny używać urirun.