swydd will yield desired deliverables
Find a file
2024-07-22 15:08:13 -05:00
.github/workflows fix(ci): use corrected versions 2024-07-19 14:14:34 -05:00
docs fix: remove source from git 2024-07-22 15:08:13 -05:00
src/swydd docs: add versioned release to docs 2024-07-19 14:12:07 -05:00
.gitignore fix: remove source from git 2024-07-22 15:08:13 -05:00
.pre-commit-config.yaml mvp 2024-03-06 00:48:24 -06:00
LICENSE mvp 2024-03-06 00:48:24 -06:00
pdm.lock chore: update pdm.lock 2024-07-22 15:08:13 -05:00
pyproject.toml chore: update pdm.lock 2024-07-22 15:08:13 -05:00
README.md docs: add clearer automagic-snippet 2024-07-22 15:08:13 -05:00
tasks.py tasks: copy source function 2024-07-22 15:08:13 -05:00

EffVer Issues MIT License Ruff pre-commit

sywdd

sywdd will yield desired deliverables

Automagic Snippet

# https://github.com/daylinmorgan/swydd?tab=readme-ov-file#automagic-snippet
_src = (_i := __import__)("pathlib").Path(__file__).parent / "swydd/__init__.py"
if not (_i("importlib.util").util.find_spec("sywdd") or _src.is_file()):
    _i("sys").stderr.write(f"installing swydd to {_src}\n")
    _r= _i("urllib.request").request.urlopen("https://swydd.dayl.in/swydd.py")
    _src.parent.mkdir(exist_ok=True)
    _src.write_text(_r.read().decode("utf-8"))

Alternatives