jsonpit 0.1.2__tar.gz → 0.1.3__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.
- {jsonpit-0.1.2 → jsonpit-0.1.3}/PKG-INFO +1 -1
- {jsonpit-0.1.2 → jsonpit-0.1.3}/jsonpit/__init__.py +1 -1
- {jsonpit-0.1.2 → jsonpit-0.1.3}/jsonpit/cli.py +15 -2
- {jsonpit-0.1.2 → jsonpit-0.1.3}/packages/jpit/pyproject.toml +2 -2
- {jsonpit-0.1.2 → jsonpit-0.1.3}/pyproject.toml +1 -1
- {jsonpit-0.1.2 → jsonpit-0.1.3}/.gitignore +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/ADELE_SPIRIT.md +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/GEMINI.md +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/README.md +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/jsonpit/canonical.py +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/jsonpit/changes.py +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/jsonpit/config.py +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/jsonpit/exceptions.py +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/jsonpit/flags.py +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/jsonpit/fs.py +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/jsonpit/history.py +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/jsonpit/item.py +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/jsonpit/store.py +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/packages/jpit/README.md +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/packages/jpit/jpit/__init__.py +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/tests/fixtures/Person.pit +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/tests/run_all.py +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/tests/test_canonical.py +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/tests/test_change_file.py +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/tests/test_cli.py +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/tests/test_csharp_compatibility.py +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/tests/test_delete_property_projection.py +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/tests/test_equal_timestamp_ordering.py +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/tests/test_master_ticket.py +0 -0
- {jsonpit-0.1.2 → jsonpit-0.1.3}/tests/test_pit_item.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: jsonpit
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: Daemon-free distributed storage over Cloud Drives for developers and AI agents — multi-process, immutable history, zero dependencies.
|
|
5
5
|
Author: Dr. Rainer Burkhardt
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -442,8 +442,16 @@ def cmd_status(args: argparse.Namespace) -> int:
|
|
|
442
442
|
|
|
443
443
|
def build_parser() -> argparse.ArgumentParser:
|
|
444
444
|
common_parser = argparse.ArgumentParser(add_help=False)
|
|
445
|
-
common_parser.add_argument(
|
|
446
|
-
|
|
445
|
+
common_parser.add_argument(
|
|
446
|
+
"-c", "--cloud",
|
|
447
|
+
default=argparse.SUPPRESS,
|
|
448
|
+
help="Cloud drive (OneDrive, Dropbox, etc.)",
|
|
449
|
+
)
|
|
450
|
+
common_parser.add_argument(
|
|
451
|
+
"-r", "--root",
|
|
452
|
+
default=argparse.SUPPRESS,
|
|
453
|
+
help="Root folder / tenant (e.g. AIA, AfricaStage)",
|
|
454
|
+
)
|
|
447
455
|
|
|
448
456
|
parser = argparse.ArgumentParser(
|
|
449
457
|
prog="jpit",
|
|
@@ -532,6 +540,11 @@ def main(argv: list[str] | None = None) -> int:
|
|
|
532
540
|
parser = build_parser()
|
|
533
541
|
args = parser.parse_args(argv)
|
|
534
542
|
|
|
543
|
+
if not hasattr(args, "cloud"):
|
|
544
|
+
args.cloud = "OneDrive"
|
|
545
|
+
if not hasattr(args, "root"):
|
|
546
|
+
args.root = None
|
|
547
|
+
|
|
535
548
|
dispatch = {
|
|
536
549
|
"grep": cmd_grep,
|
|
537
550
|
"get": cmd_get,
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "jpit"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.3"
|
|
8
8
|
description = "CLI companion and alias for jsonpit — daemon-free distributed storage over Cloud Drives."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.12"
|
|
@@ -22,7 +22,7 @@ classifiers = [
|
|
|
22
22
|
"Topic :: Database :: Database Engines/Servers",
|
|
23
23
|
]
|
|
24
24
|
dependencies = [
|
|
25
|
-
"jsonpit>=0.1.
|
|
25
|
+
"jsonpit>=0.1.3",
|
|
26
26
|
]
|
|
27
27
|
|
|
28
28
|
[project.scripts]
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "jsonpit"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.3"
|
|
8
8
|
description = "Daemon-free distributed storage over Cloud Drives for developers and AI agents — multi-process, immutable history, zero dependencies."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.12"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|