neoncontract-gen 1.3.11__py3-none-any.whl → 1.4.7__py3-none-any.whl
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.
- admin/v1/__init__.py +0 -0
- admin/v1/admin_pb2.py +176 -0
- admin/v1/admin_pb2_grpc.py +1102 -0
- messaging/v1/messaging_pb2.py +269 -265
- neoncontract_gen-1.4.7.dist-info/METADATA +57 -0
- neoncontract_gen-1.4.7.dist-info/RECORD +12 -0
- {neoncontract_gen-1.3.11.dist-info → neoncontract_gen-1.4.7.dist-info}/WHEEL +2 -1
- neoncontract_gen-1.4.7.dist-info/top_level.txt +2 -0
- neoncontract_gen-1.3.11.dist-info/METADATA +0 -88
- neoncontract_gen-1.3.11.dist-info/RECORD +0 -8
- {config → admin}/__init__.py +0 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: neoncontract-gen
|
|
3
|
+
Version: 1.4.7
|
|
4
|
+
Summary: NeonContract Protocol Buffer definitions for Python - Generated SDK
|
|
5
|
+
Author-email: LetA-Tech <dev@leta.tech>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/LetA-Tech/mcfo-neoncontract
|
|
8
|
+
Project-URL: Repository, https://github.com/LetA-Tech/mcfo-neoncontract
|
|
9
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
19
|
+
Requires-Python: >=3.8
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
Requires-Dist: grpcio>=1.58.0
|
|
22
|
+
Requires-Dist: grpcio-tools>=1.58.0
|
|
23
|
+
Requires-Dist: protobuf>=4.24.0
|
|
24
|
+
Dynamic: requires-python
|
|
25
|
+
|
|
26
|
+
# neoncontract-gen
|
|
27
|
+
|
|
28
|
+
Generated Protocol Buffer definitions for NeonContract messaging system.
|
|
29
|
+
|
|
30
|
+
## Installation
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
pip install neoncontract-gen
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Usage
|
|
37
|
+
|
|
38
|
+
```python
|
|
39
|
+
from messaging.v1 import messaging_pb2, messaging_pb2_grpc
|
|
40
|
+
from admin.v1 import admin_pb2, admin_pb2_grpc
|
|
41
|
+
|
|
42
|
+
# Create a message header
|
|
43
|
+
header = messaging_pb2.MessageHeader(
|
|
44
|
+
message_id="uuid",
|
|
45
|
+
correlation_id="correlation-uuid",
|
|
46
|
+
message_type=messaging_pb2.MESSAGE_TYPE_ETL_COMPLETION,
|
|
47
|
+
)
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Package Contents
|
|
51
|
+
|
|
52
|
+
- `messaging.v1` - Core messaging protobuf definitions
|
|
53
|
+
- `admin.v1` - Admin service protobuf definitions
|
|
54
|
+
|
|
55
|
+
## Generated From
|
|
56
|
+
|
|
57
|
+
This package is auto-generated from [mcfo-neoncontract](https://github.com/LetA-Tech/mcfo-neoncontract).
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
admin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
admin/v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
admin/v1/admin_pb2.py,sha256=Et0ULwwU4YgErAbT4Yv8poYdIDE9Bt3CSG_USIbQ8u0,25052
|
|
4
|
+
admin/v1/admin_pb2_grpc.py,sha256=x0Omu2nmOnJUd5OlCIVVbGYrtLwGao8S03ds95wG9Ko,46952
|
|
5
|
+
messaging/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
+
messaging/v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
+
messaging/v1/messaging_pb2.py,sha256=LSeA28JqFQ5PyWJSb9XePINh_5UJW30zZzPPzEqOZYY,71080
|
|
8
|
+
messaging/v1/messaging_pb2_grpc.py,sha256=NAHLPBWZehJ3-W7v_Xlt8pk8itetdQNM0P4zt1D1oZc,23172
|
|
9
|
+
neoncontract_gen-1.4.7.dist-info/METADATA,sha256=XNoSaxixcZGGTrgXvYEZNI2gF7HNZGyKxggf2z-gg8w,1768
|
|
10
|
+
neoncontract_gen-1.4.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
11
|
+
neoncontract_gen-1.4.7.dist-info/top_level.txt,sha256=-HNDbT8b4r43O3SaP51ZQmgJ4z_VSShbp0bkrBQ0hGI,16
|
|
12
|
+
neoncontract_gen-1.4.7.dist-info/RECORD,,
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: neoncontract-gen
|
|
3
|
-
Version: 1.3.11
|
|
4
|
-
Summary: NeonContract Protocol Buffer definitions for Python - Generated SDK
|
|
5
|
-
Project-URL: Homepage, https://github.com/LetA-Tech/mcfo-neoncontract
|
|
6
|
-
Project-URL: Documentation, https://github.com/LetA-Tech/mcfo-neoncontract#readme
|
|
7
|
-
Project-URL: Repository, https://github.com/LetA-Tech/mcfo-neoncontract
|
|
8
|
-
Project-URL: Issues, https://github.com/LetA-Tech/mcfo-neoncontract/issues
|
|
9
|
-
Author-email: LetA Tech <dev@leta-tech.com>
|
|
10
|
-
License-Expression: LicenseRef-Proprietary
|
|
11
|
-
Keywords: grpc,message-broker,neoncontract,neonlink,protobuf,sdk
|
|
12
|
-
Classifier: Development Status :: 4 - Beta
|
|
13
|
-
Classifier: Intended Audience :: Developers
|
|
14
|
-
Classifier: License :: Other/Proprietary License
|
|
15
|
-
Classifier: Operating System :: OS Independent
|
|
16
|
-
Classifier: Programming Language :: Python :: 3
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
22
|
-
Requires-Python: >=3.10
|
|
23
|
-
Requires-Dist: grpcio>=1.58.0
|
|
24
|
-
Requires-Dist: protobuf>=4.24.0
|
|
25
|
-
Provides-Extra: grpc-tools
|
|
26
|
-
Requires-Dist: grpcio-tools>=1.58.0; extra == 'grpc-tools'
|
|
27
|
-
Description-Content-Type: text/markdown
|
|
28
|
-
|
|
29
|
-
# NeonContract Python SDK
|
|
30
|
-
|
|
31
|
-
> **Generated Protocol Buffer definitions for NeonLink message broker**
|
|
32
|
-
|
|
33
|
-
This package contains the auto-generated Python bindings for the NeonContract messaging schema used by [NeonLink](https://github.com/LetA-Tech/mcfo-neoncontract).
|
|
34
|
-
|
|
35
|
-
## Installation
|
|
36
|
-
|
|
37
|
-
### From PyPI (Recommended)
|
|
38
|
-
|
|
39
|
-
```bash
|
|
40
|
-
pip install neoncontract-gen
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
### From GitHub Releases
|
|
44
|
-
|
|
45
|
-
```bash
|
|
46
|
-
# Using pip with GitHub release wheel
|
|
47
|
-
pip install https://github.com/LetA-Tech/mcfo-neoncontract/releases/download/gen/python/v1.3.11/neoncontract_gen-1.3.11-py3-none-any.whl
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
### From Git (Development)
|
|
51
|
-
|
|
52
|
-
```bash
|
|
53
|
-
# Using pip with git (requires allow-direct-references in hatch)
|
|
54
|
-
pip install "neoncontract-gen @ git+https://github.com/LetA-Tech/mcfo-neoncontract.git@gen/python/v1.3.11#subdirectory=gen/python"
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
## Usage
|
|
58
|
-
|
|
59
|
-
```python
|
|
60
|
-
from messaging.v1 import messaging_pb2, messaging_pb2_grpc
|
|
61
|
-
|
|
62
|
-
# Create a message
|
|
63
|
-
header = messaging_pb2.MessageHeader(
|
|
64
|
-
message_id="msg-123",
|
|
65
|
-
correlation_id="corr-456",
|
|
66
|
-
timestamp=1701234567890,
|
|
67
|
-
source_service=messaging_pb2.SOURCE_SERVICE_NEONLINK,
|
|
68
|
-
target_service=messaging_pb2.TARGET_SERVICE_ETL_SERVICE,
|
|
69
|
-
message_type=messaging_pb2.MESSAGE_TYPE_ETL_COMPLETION,
|
|
70
|
-
)
|
|
71
|
-
|
|
72
|
-
# Create a publish request
|
|
73
|
-
request = messaging_pb2.PublishRequest(
|
|
74
|
-
header=header,
|
|
75
|
-
)
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
## Version Compatibility
|
|
79
|
-
|
|
80
|
-
| SDK Version | NeonContract Version | Breaking Changes |
|
|
81
|
-
|------------|---------------------|------------------|
|
|
82
|
-
| 2.0.x | 2.0.x | New DLQ/Retry API |
|
|
83
|
-
| 1.3.x | 1.3.x | Identity context |
|
|
84
|
-
| 1.0.x | 1.0.x | Initial release |
|
|
85
|
-
|
|
86
|
-
## License
|
|
87
|
-
|
|
88
|
-
MIT License - See [LICENSE](https://github.com/LetA-Tech/mcfo-neoncontract/blob/main/LICENSE) for details.
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
messaging/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
messaging/v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
messaging/v1/messaging_pb2.py,sha256=HjR8OeJpK3sHnX3hS2g130GoWSdFsnLvlpjLEKDktOg,71613
|
|
5
|
-
messaging/v1/messaging_pb2_grpc.py,sha256=NAHLPBWZehJ3-W7v_Xlt8pk8itetdQNM0P4zt1D1oZc,23172
|
|
6
|
-
neoncontract_gen-1.3.11.dist-info/METADATA,sha256=N7fI5q0sdMhEVsNmMxZkoJP27LViMZftk4TAj14M_AA,3039
|
|
7
|
-
neoncontract_gen-1.3.11.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
8
|
-
neoncontract_gen-1.3.11.dist-info/RECORD,,
|
{config → admin}/__init__.py
RENAMED
|
File without changes
|