- Get to know Debian with very minimal install to run RoonServer
- Use Debian as Linux Docker Engine platform for dev/test
- Download Debian live standard (no desktop manager, link)
- add user to sudo
su root
uv_poetry_install () { | |
uv venv | |
uv pip install --no-deps -r <(POETRY_WARNINGS_EXPORT=false poetry export --without-hashes --with dev -f requirements.txt) | |
poetry install --only-root | |
} |
runtime: python | |
env: flex | |
instance_class: F2 | |
runtime_config: | |
operating_system: "ubuntu22" | |
runtime_version: "3.12" | |
# name of app | |
service: some-name |
import re | |
import requests | |
import urllib | |
PDOK = "https://api.pdok.nl/bzk/locatieserver/search/v3_1/free" | |
def query_pdok(query): | |
query_params = { |
import ndjson | |
def redact(patient: dict) -> dict: | |
for key in ["name", "telecom"]: | |
patient.pop(key, None) | |
return patient | |
with open("patient.ndjson") as f: |
su root
Upcoming Python libraries with a Rust runtime that are useful for the composable data stack:
black | |
ipywidgets | |
isort | |
jedi-language-server | |
jupyterlab | |
jupyterlab_pygments | |
jupyterlab_rise | |
pygments |
poetry run python -m ipykernel install --user --name pymedphys |
// Google Fonts | |
@import url(http://fonts.googleapis.com/css?family=Zilla+Slab|Zilla+Slab+Highlight|Inter|Fira+Code:400italic,700italic,400,700); | |
// Font Variables | |
$zilla-slab: "Zilla Slab", serif; | |
$zilla-slab-highlight: "Zilla Slab Highlight", serif; | |
$inter: "Inter", sans-serif; | |
$fira-code: "Fira Code"; | |
// Colours |