mirror of
https://github.com/daylinmorgan/swydd.git
synced 2024-12-21 07:20:45 -06:00
swydd will yield desired deliverables
.github/workflows | ||
docs/source | ||
src/swydd | ||
tests | ||
.gitignore | ||
.pre-commit-config.yaml | ||
DESIGN.md | ||
LICENSE | ||
pyproject.toml | ||
README.md | ||
tasks.py | ||
uv.lock |
sywdd
sywdd will yield desired deliverables
Automagic Snippet
if not (
(_i := __import__)("importlib.util").util.find_spec("swydd")
or (_src := _i("pathlib").Path(__file__).parent / "swydd/__init__.py").is_file()
): # noqa | https://github.com/daylinmorgan/swydd?tab=readme-ov-file#automagic-snippet
_r = _i("urllib.request").request.urlopen("https://swydd.dayl.in/swydd.py")
_src.parent.mkdir(exist_ok=True)
_src.write_text(_r.read().decode())