neoncontract-gen 1.3.25__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,109 @@
1
+ # =============================================================================
2
+ # MCFO Neon Contract - .gitignore
3
+ # =============================================================================
4
+
5
+ # Generated code directories - these are automatically generated by CI/CD
6
+ # Comment out the line below if you want to commit generated code locally
7
+ # gen/
8
+
9
+ # Node.js
10
+ node_modules/
11
+ gen/*/node_modules/
12
+ gen/**/node_modules/
13
+
14
+ # Temporary files and build artifacts
15
+ *.tmp
16
+ *.temp
17
+ *.log
18
+ .DS_Store
19
+ Thumbs.db
20
+
21
+ # IDE and editor files
22
+ .vscode/
23
+ .idea/
24
+ *.swp
25
+ *.swo
26
+ *~
27
+ *.kate-swp
28
+
29
+ # Go specific
30
+ *.exe
31
+ *.exe~
32
+ *.dll
33
+ *.so
34
+ *.dylib
35
+ *.test
36
+ *.out
37
+ go.work
38
+ go.work.sum
39
+
40
+ # Python specific
41
+ __pycache__/
42
+ *.py[cod]
43
+ *$py.class
44
+ *.so
45
+ .Python
46
+ build/
47
+ develop-eggs/
48
+ dist/
49
+ downloads/
50
+ eggs/
51
+ .eggs/
52
+ lib/
53
+ lib64/
54
+ parts/
55
+ sdist/
56
+ var/
57
+ wheels/
58
+ *.egg-info/
59
+ .installed.cfg
60
+ *.egg
61
+ MANIFEST
62
+
63
+ # Virtual environments
64
+ venv/
65
+ ENV/
66
+ env/
67
+ .venv/
68
+ .ENV/
69
+ .env/
70
+
71
+ # Testing
72
+ .coverage
73
+ .pytest_cache/
74
+ .tox/
75
+ coverage.xml
76
+ *.cover
77
+ .hypothesis/
78
+ .cache
79
+ htmlcov/
80
+
81
+ # OS files
82
+ .DS_Store?
83
+ ehthumbs.db
84
+ Icon?
85
+ Thumbs.db
86
+
87
+ # Protobuf temp files
88
+ *.pb.go.tmp
89
+ *_pb2.py.tmp
90
+
91
+ # Local development overrides
92
+ .env.local
93
+ .env.development.local
94
+ .env.test.local
95
+ .env.production.local
96
+ local_config.yaml
97
+ local_config.yml
98
+
99
+ # Docker
100
+ .dockerignore
101
+
102
+ # Backup files
103
+ *.bak
104
+ *.backup
105
+ *~
106
+
107
+ # Generated documentation
108
+ docs/_build/
109
+ docs/build/
@@ -0,0 +1,88 @@
1
+ Metadata-Version: 2.4
2
+ Name: neoncontract-gen
3
+ Version: 1.3.25
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.25/neoncontract_gen-1.3.25-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.25#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.
@@ -0,0 +1,60 @@
1
+ # NeonContract Python SDK
2
+
3
+ > **Generated Protocol Buffer definitions for NeonLink message broker**
4
+
5
+ This package contains the auto-generated Python bindings for the NeonContract messaging schema used by [NeonLink](https://github.com/LetA-Tech/mcfo-neoncontract).
6
+
7
+ ## Installation
8
+
9
+ ### From PyPI (Recommended)
10
+
11
+ ```bash
12
+ pip install neoncontract-gen
13
+ ```
14
+
15
+ ### From GitHub Releases
16
+
17
+ ```bash
18
+ # Using pip with GitHub release wheel
19
+ pip install https://github.com/LetA-Tech/mcfo-neoncontract/releases/download/gen/python/v1.3.25/neoncontract_gen-1.3.25-py3-none-any.whl
20
+ ```
21
+
22
+ ### From Git (Development)
23
+
24
+ ```bash
25
+ # Using pip with git (requires allow-direct-references in hatch)
26
+ pip install "neoncontract-gen @ git+https://github.com/LetA-Tech/mcfo-neoncontract.git@gen/python/v1.3.25#subdirectory=gen/python"
27
+ ```
28
+
29
+ ## Usage
30
+
31
+ ```python
32
+ from messaging.v1 import messaging_pb2, messaging_pb2_grpc
33
+
34
+ # Create a message
35
+ header = messaging_pb2.MessageHeader(
36
+ message_id="msg-123",
37
+ correlation_id="corr-456",
38
+ timestamp=1701234567890,
39
+ source_service=messaging_pb2.SOURCE_SERVICE_NEONLINK,
40
+ target_service=messaging_pb2.TARGET_SERVICE_ETL_SERVICE,
41
+ message_type=messaging_pb2.MESSAGE_TYPE_ETL_COMPLETION,
42
+ )
43
+
44
+ # Create a publish request
45
+ request = messaging_pb2.PublishRequest(
46
+ header=header,
47
+ )
48
+ ```
49
+
50
+ ## Version Compatibility
51
+
52
+ | SDK Version | NeonContract Version | Breaking Changes |
53
+ |------------|---------------------|------------------|
54
+ | 2.0.x | 2.0.x | New DLQ/Retry API |
55
+ | 1.3.x | 1.3.x | Identity context |
56
+ | 1.0.x | 1.0.x | Initial release |
57
+
58
+ ## License
59
+
60
+ MIT License - See [LICENSE](https://github.com/LetA-Tech/mcfo-neoncontract/blob/main/LICENSE) for details.
File without changes