Buckets:
| """Export installed versions without credentials or machine-specific paths.""" | |
| import importlib.metadata as metadata | |
| import json | |
| import sys | |
| rows = {} | |
| for dist in metadata.distributions(): | |
| name = dist.metadata.get("Name") | |
| if name and name.lower() not in {"ttt-discover", "openproblems", "molecular-cross-validation", "simscity"}: | |
| rows[name.lower().replace("_", "-")] = metadata.version(name) | |
| if "--json" in sys.argv: | |
| print(json.dumps(rows, indent=2, sort_keys=True)) | |
| else: | |
| print("\n".join(f"{name}=={version}" for name, version in sorted(rows.items()))) | |
Xet Storage Details
- Size:
- 578 Bytes
- Xet hash:
- 88f7f238f7e2fa70930be82afa210707031c5741c6678041d9a0a1c4b4f89f81
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.