jsonpit 4.5.0__tar.gz → 4.5.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.
- {jsonpit-4.5.0 → jsonpit-4.5.2}/API.md +1 -1
- {jsonpit-4.5.0 → jsonpit-4.5.2}/PKG-INFO +6 -5
- {jsonpit-4.5.0 → jsonpit-4.5.2}/README.md +5 -4
- {jsonpit-4.5.0 → jsonpit-4.5.2}/jsonpit/__init__.py +1 -1
- {jsonpit-4.5.0 → jsonpit-4.5.2}/jsonpit/exceptions.py +2 -0
- {jsonpit-4.5.0 → jsonpit-4.5.2}/jsonpit/store.py +3 -0
- {jsonpit-4.5.0 → jsonpit-4.5.2}/pyproject.toml +1 -1
- {jsonpit-4.5.0 → jsonpit-4.5.2}/.gitignore +0 -0
- {jsonpit-4.5.0 → jsonpit-4.5.2}/jsonpit/audit.py +0 -0
- {jsonpit-4.5.0 → jsonpit-4.5.2}/jsonpit/canonical.py +0 -0
- {jsonpit-4.5.0 → jsonpit-4.5.2}/jsonpit/changes.py +0 -0
- {jsonpit-4.5.0 → jsonpit-4.5.2}/jsonpit/cli.py +0 -0
- {jsonpit-4.5.0 → jsonpit-4.5.2}/jsonpit/config.py +0 -0
- {jsonpit-4.5.0 → jsonpit-4.5.2}/jsonpit/flags.py +0 -0
- {jsonpit-4.5.0 → jsonpit-4.5.2}/jsonpit/fs.py +0 -0
- {jsonpit-4.5.0 → jsonpit-4.5.2}/jsonpit/history.py +0 -0
- {jsonpit-4.5.0 → jsonpit-4.5.2}/jsonpit/icons.py +0 -0
- {jsonpit-4.5.0 → jsonpit-4.5.2}/jsonpit/item.py +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# jsonpit API Reference (v4.5.
|
|
1
|
+
# jsonpit API Reference (v4.5.2)
|
|
2
2
|
|
|
3
3
|
This document provides a foldable, searchable reference for the public `jsonpit` Python API. Designed for 100% C# JsonPit parity, zero third-party runtime dependencies, and Smalltalk-grade object-oriented architecture.
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: jsonpit
|
|
3
|
-
Version: 4.5.
|
|
3
|
+
Version: 4.5.2
|
|
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
|
|
@@ -35,9 +35,9 @@ The canonical **reference (lead) implementation** is C# `JsonPit` and the `pits`
|
|
|
35
35
|
|
|
36
36
|
---
|
|
37
37
|
|
|
38
|
-
## Cross-Tool & Cross-Language Version Alignment (`v4.5.
|
|
38
|
+
## Cross-Tool & Cross-Language Version Alignment (`v4.5.2`)
|
|
39
39
|
|
|
40
|
-
`jsonpit` and the `jpit` CLI are version-synchronized to **`v4.5.
|
|
40
|
+
`jsonpit` and the `jpit` CLI are version-synchronized to **`v4.5.2`** in direct lockstep with C# `JsonPit` in [RAIkeep](https://github.com/Burkhardt/RAIkeep).
|
|
41
41
|
|
|
42
42
|
### Why Harmonized Versioning is Essential:
|
|
43
43
|
- **Instant Compatibility Clarity:** Operators, DevOps pipelines, and autonomous AI agents immediately know whether `jpit` and `pits` share the exact same distributed protocol revision. If both tools report `4.4.x`, they guarantee identical master leasing rules, receipt mechanisms, 7-digit UTC timestamp parsing, and CR041 clean change file conventions.
|
|
@@ -89,7 +89,8 @@ The canonical **reference (lead) implementation** is C# `JsonPit` and the `pits`
|
|
|
89
89
|
<em>Maintenance & Recovery Audit · Vector SVG: <a href="https://github.com/Burkhardt/jsonpit-python/blob/main/doc/uml/jsonpit_opsCD.svg">jsonpit_opsCD.svg</a></em>
|
|
90
90
|
</p>
|
|
91
91
|
|
|
92
|
-
> 📖 **Architecture & Full API:**
|
|
92
|
+
> 📖 **Architecture, Guides & Full API:**
|
|
93
|
+
> • For a hands-on practical walkthrough with Python library and CLI examples, see **[GettingStarted.md](https://github.com/Burkhardt/jsonpit-python/blob/main/GettingStarted.md)**.
|
|
93
94
|
> • For the complete unified architecture across all subsystems, see **[jsonpit_unifiedCD.svg](https://github.com/Burkhardt/jsonpit-python/blob/main/doc/uml/jsonpit_unifiedCD.svg)**.
|
|
94
95
|
> • For comprehensive method signatures, exception contracts, and protocol details, see **[API.md](https://github.com/Burkhardt/jsonpit-python/blob/main/API.md)**.
|
|
95
96
|
|
|
@@ -106,7 +107,7 @@ pipx install jsonpit
|
|
|
106
107
|
# (or via companion alias)
|
|
107
108
|
pipx install jpit
|
|
108
109
|
|
|
109
|
-
# Upgrade to the latest lockstep release (v4.5.
|
|
110
|
+
# Upgrade to the latest lockstep release (v4.5.2)
|
|
110
111
|
pipx upgrade jsonpit
|
|
111
112
|
# (or)
|
|
112
113
|
pipx upgrade jpit
|
|
@@ -13,9 +13,9 @@ The canonical **reference (lead) implementation** is C# `JsonPit` and the `pits`
|
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
16
|
-
## Cross-Tool & Cross-Language Version Alignment (`v4.5.
|
|
16
|
+
## Cross-Tool & Cross-Language Version Alignment (`v4.5.2`)
|
|
17
17
|
|
|
18
|
-
`jsonpit` and the `jpit` CLI are version-synchronized to **`v4.5.
|
|
18
|
+
`jsonpit` and the `jpit` CLI are version-synchronized to **`v4.5.2`** in direct lockstep with C# `JsonPit` in [RAIkeep](https://github.com/Burkhardt/RAIkeep).
|
|
19
19
|
|
|
20
20
|
### Why Harmonized Versioning is Essential:
|
|
21
21
|
- **Instant Compatibility Clarity:** Operators, DevOps pipelines, and autonomous AI agents immediately know whether `jpit` and `pits` share the exact same distributed protocol revision. If both tools report `4.4.x`, they guarantee identical master leasing rules, receipt mechanisms, 7-digit UTC timestamp parsing, and CR041 clean change file conventions.
|
|
@@ -67,7 +67,8 @@ The canonical **reference (lead) implementation** is C# `JsonPit` and the `pits`
|
|
|
67
67
|
<em>Maintenance & Recovery Audit · Vector SVG: <a href="https://github.com/Burkhardt/jsonpit-python/blob/main/doc/uml/jsonpit_opsCD.svg">jsonpit_opsCD.svg</a></em>
|
|
68
68
|
</p>
|
|
69
69
|
|
|
70
|
-
> 📖 **Architecture & Full API:**
|
|
70
|
+
> 📖 **Architecture, Guides & Full API:**
|
|
71
|
+
> • For a hands-on practical walkthrough with Python library and CLI examples, see **[GettingStarted.md](https://github.com/Burkhardt/jsonpit-python/blob/main/GettingStarted.md)**.
|
|
71
72
|
> • For the complete unified architecture across all subsystems, see **[jsonpit_unifiedCD.svg](https://github.com/Burkhardt/jsonpit-python/blob/main/doc/uml/jsonpit_unifiedCD.svg)**.
|
|
72
73
|
> • For comprehensive method signatures, exception contracts, and protocol details, see **[API.md](https://github.com/Burkhardt/jsonpit-python/blob/main/API.md)**.
|
|
73
74
|
|
|
@@ -84,7 +85,7 @@ pipx install jsonpit
|
|
|
84
85
|
# (or via companion alias)
|
|
85
86
|
pipx install jpit
|
|
86
87
|
|
|
87
|
-
# Upgrade to the latest lockstep release (v4.5.
|
|
88
|
+
# Upgrade to the latest lockstep release (v4.5.2)
|
|
88
89
|
pipx upgrade jsonpit
|
|
89
90
|
# (or)
|
|
90
91
|
pipx upgrade jpit
|
|
@@ -4,6 +4,8 @@ Encapsulates directory ecosystems, context manager transactions, distributed lea
|
|
|
4
4
|
coordination, change-file streaming, receipt-based cleanup, and Mapping protocols.
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
|
+
from __future__ import annotations
|
|
8
|
+
|
|
7
9
|
import abc
|
|
8
10
|
import copy
|
|
9
11
|
from dataclasses import dataclass, field
|
|
@@ -913,6 +915,7 @@ class Pit(JsonPitBase, MutableMapping[str, PitItem], metaclass=PitMeta):
|
|
|
913
915
|
new_data = old_item.to_dict()
|
|
914
916
|
new_data["Id"] = new_key
|
|
915
917
|
new_data.pop("Modified", None)
|
|
918
|
+
new_data.pop("Deleted", None)
|
|
916
919
|
new_item = PitItem(new_data)
|
|
917
920
|
|
|
918
921
|
with self._locker:
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "jsonpit"
|
|
7
|
-
version = "4.5.
|
|
7
|
+
version = "4.5.2"
|
|
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
|