Datasets:
Download scripts/query_country_laws_ir.py from justicedao/ipfs_peru_laws_ir: direct link, hf CLI and curl.
- Browser
- Download file 364 Bytes
-
https://huggingface.co/datasets/justicedao/ipfs_peru_laws_ir/resolve/5fe6cbeb71e2dd67655fc4a00f47bbab6beb9592/scripts/query_country_laws_ir.py
- Command line
-
hf download hf://datasets/justicedao/ipfs_peru_laws_ir@5fe6cbeb71e2dd67655fc4a00f47bbab6beb9592/scripts/query_country_laws_ir.py
-
curl -L -o query_country_laws_ir.py https://huggingface.co/datasets/justicedao/ipfs_peru_laws_ir/resolve/5fe6cbeb71e2dd67655fc4a00f47bbab6beb9592/scripts/query_country_laws_ir.py
364 Bytes
| #!/usr/bin/env python3 | |
| """CLI wrapper for country_laws_ir.query.""" | |
| from __future__ import annotations | |
| import sys | |
| from pathlib import Path | |
| ROOT = Path(__file__).resolve().parents[1] | |
| sys.path.insert(0, str(ROOT)) | |
| sys.path.insert(0, str(ROOT / "src")) | |
| from country_laws_ir.query import main # noqa: E402 | |
| if __name__ == "__main__": | |
| raise SystemExit(main()) | |