necoherence-http-adapter 0.2.0__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.
@@ -0,0 +1,48 @@
1
+ Metadata-Version: 2.5
2
+ Name: necoherence-http-adapter
3
+ Version: 0.2.2
4
+ Summary: HTTP host adapter for Necoherence
5
+ Project-URL: Homepage, https://github.com/barineco/necoherence
6
+ Project-URL: Repository, https://github.com/barineco/necoherence
7
+ Project-URL: Issues, https://github.com/barineco/necoherence/issues
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Requires-Python: >=3.12
11
+ Requires-Dist: necoherence==0.2.2
12
+ Provides-Extra: dev
13
+ Requires-Dist: mypy; extra == 'dev'
14
+ Requires-Dist: pytest; extra == 'dev'
15
+ Description-Content-Type: text/markdown
16
+
17
+ # Necoherence HTTP adapter for Python
18
+
19
+ [Project overview](https://github.com/barineco/necoherence/blob/publish/README.md) | [日本語](README-ja.md)
20
+
21
+ This optional MIT package executes Necoherence network-effect commands using the Python standard library.
22
+ It requires Python 3.12 or later and `necoherence==0.2.2`.
23
+ The core package contains the network-effect ledger and accepts caller-supplied observations.
24
+
25
+ Install this package when the application executes HTTP requests:
26
+
27
+ ```bash
28
+ python -m pip install necoherence-http-adapter==0.2.2
29
+ ```
30
+
31
+ Import the adapter explicitly:
32
+
33
+ ```python
34
+ from necoherence_http_adapter import HttpHostAdapter
35
+
36
+ adapter = HttpHostAdapter()
37
+ ```
38
+
39
+ From this source directory, install the core and test dependencies before running the tests:
40
+
41
+ ```bash
42
+ python -m pip install ../python '.[dev]'
43
+ python -m pytest -q
44
+ python -m mypy src tests
45
+ python -m build
46
+ ```
47
+
48
+ [MIT License](LICENSE)
@@ -3,13 +3,13 @@
3
3
  [Project overview](https://github.com/barineco/necoherence/blob/publish/README.md) | [日本語](README-ja.md)
4
4
 
5
5
  This optional MIT package executes Necoherence network-effect commands using the Python standard library.
6
- It requires Python 3.12 or later and `necoherence==0.2.0`.
6
+ It requires Python 3.12 or later and `necoherence==0.2.2`.
7
7
  The core package contains the network-effect ledger and accepts caller-supplied observations.
8
8
 
9
9
  Install this package when the application executes HTTP requests:
10
10
 
11
11
  ```bash
12
- python -m pip install necoherence-http-adapter==0.2.0
12
+ python -m pip install necoherence-http-adapter==0.2.2
13
13
  ```
14
14
 
15
15
  Import the adapter explicitly:
@@ -4,12 +4,18 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "necoherence-http-adapter"
7
- version = "0.2.0"
7
+ version = "0.2.2"
8
8
  description = "HTTP host adapter for Necoherence"
9
+ readme = "README.md"
9
10
  license = "MIT"
10
11
  license-files = ["LICENSE"]
11
12
  requires-python = ">=3.12"
12
- dependencies = ["necoherence==0.2.0"]
13
+ dependencies = ["necoherence==0.2.2"]
14
+
15
+ [project.urls]
16
+ Homepage = "https://github.com/barineco/necoherence"
17
+ Repository = "https://github.com/barineco/necoherence"
18
+ Issues = "https://github.com/barineco/necoherence/issues"
13
19
 
14
20
  [project.optional-dependencies]
15
21
  dev = ["pytest", "mypy"]
@@ -1,11 +0,0 @@
1
- Metadata-Version: 2.5
2
- Name: necoherence-http-adapter
3
- Version: 0.2.0
4
- Summary: HTTP host adapter for Necoherence
5
- License-Expression: MIT
6
- License-File: LICENSE
7
- Requires-Python: >=3.12
8
- Requires-Dist: necoherence==0.2.0
9
- Provides-Extra: dev
10
- Requires-Dist: mypy; extra == 'dev'
11
- Requires-Dist: pytest; extra == 'dev'