runledger-cli 0.2.1__tar.gz → 0.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. {runledger_cli-0.2.1/runledger_cli.egg-info → runledger_cli-0.2.2}/PKG-INFO +1 -1
  2. {runledger_cli-0.2.1 → runledger_cli-0.2.2}/cli/ledger.py +11 -0
  3. {runledger_cli-0.2.1 → runledger_cli-0.2.2}/pyproject.toml +1 -1
  4. {runledger_cli-0.2.1 → runledger_cli-0.2.2/runledger_cli.egg-info}/PKG-INFO +1 -1
  5. {runledger_cli-0.2.1 → runledger_cli-0.2.2}/LICENSE +0 -0
  6. {runledger_cli-0.2.1 → runledger_cli-0.2.2}/README.md +0 -0
  7. {runledger_cli-0.2.1 → runledger_cli-0.2.2}/cli/__init__.py +0 -0
  8. {runledger_cli-0.2.1 → runledger_cli-0.2.2}/cli/docker-compose.yml +0 -0
  9. {runledger_cli-0.2.1 → runledger_cli-0.2.2}/cli/guided.py +0 -0
  10. {runledger_cli-0.2.1 → runledger_cli-0.2.2}/cli/tests/__init__.py +0 -0
  11. {runledger_cli-0.2.1 → runledger_cli-0.2.2}/cli/tests/conftest.py +0 -0
  12. {runledger_cli-0.2.1 → runledger_cli-0.2.2}/cli/tests/test_data_features.py +0 -0
  13. {runledger_cli-0.2.1 → runledger_cli-0.2.2}/cli/tests/test_integration.py +0 -0
  14. {runledger_cli-0.2.1 → runledger_cli-0.2.2}/cli/tests/test_ledger.py +0 -0
  15. {runledger_cli-0.2.1 → runledger_cli-0.2.2}/cli/tests/test_real_results.py +0 -0
  16. {runledger_cli-0.2.1 → runledger_cli-0.2.2}/runledger_cli.egg-info/SOURCES.txt +0 -0
  17. {runledger_cli-0.2.1 → runledger_cli-0.2.2}/runledger_cli.egg-info/dependency_links.txt +0 -0
  18. {runledger_cli-0.2.1 → runledger_cli-0.2.2}/runledger_cli.egg-info/entry_points.txt +0 -0
  19. {runledger_cli-0.2.1 → runledger_cli-0.2.2}/runledger_cli.egg-info/requires.txt +0 -0
  20. {runledger_cli-0.2.1 → runledger_cli-0.2.2}/runledger_cli.egg-info/top_level.txt +0 -0
  21. {runledger_cli-0.2.1 → runledger_cli-0.2.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: runledger-cli
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Self-hosted SQL-style query engine over your team's experiment JSON
5
5
  Author: Ahmed Rafat
6
6
  License: MIT
@@ -1148,6 +1148,17 @@ def cli_aggregate(args):
1148
1148
  # ------------------------------------------------------------
1149
1149
  def main():
1150
1150
  parser = argparse.ArgumentParser(description="RunLedger CLI")
1151
+ try:
1152
+ from importlib.metadata import version as _pkg_version
1153
+ _ver = _pkg_version("runledger-cli")
1154
+ except Exception:
1155
+ _ver = "unknown"
1156
+
1157
+ parser.add_argument(
1158
+ "--version",
1159
+ action="version",
1160
+ version=f"runledger {_ver}",
1161
+ )
1151
1162
  subparsers = parser.add_subparsers(dest="command", help="Command")
1152
1163
 
1153
1164
  # scan
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "runledger-cli"
7
- version = "0.2.1"
7
+ version = "0.2.2"
8
8
  description = "Self-hosted SQL-style query engine over your team's experiment JSON"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: runledger-cli
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Self-hosted SQL-style query engine over your team's experiment JSON
5
5
  Author: Ahmed Rafat
6
6
  License: MIT
File without changes
File without changes
File without changes