Metadata-Version: 2.1
Name: inmanta-tfplugin
Version: 5.2.0
Summary: Auto generated python package for Terraform Plugin RPC protocol
Home-page: https://github.com/inmanta/inmanta-tfplugin
Author: Inmanta
Author-email: code@inmanta.com
License: MPL 2.0
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# inmanta-tfplugin
This package contains the generated python package for Terraform Plugin RPC protocol

At inmanta, this is used by the terraform module, it was originally packaged in the module's plugins but we had to move it out because of an incompatibility between the agent file loading mechanism ([inmanta-core#2205](https://github.com/inmanta/inmanta-core/pull/2205) and [inmanta-core#2323](https://github.com/inmanta/inmanta-core/pull/2323)) and the protobuf library: https://github.com/protocolbuffers/protobuf/issues/9535

## How to use
```python
import grpc
import inmanta_tfplugin.tfplugin5_pb2
import inmanta_tfplugin.tfplugin5_pb2_grpc

proto_addr = ""
channel = grpc.insecure_channel(proto_addr)
stub = inmanta_tfplugin.tfplugin5_pb2_grpc.ProviderStub(channel)
```

A more complete usage example can be found in [inmanta's terraform module](https://github.com/inmanta/terraform).

## Package versioning

- `major`: Major version of the source protobuf file used to generate the package.
- `minor`: Minor version of the source protobuf file used to generate the package.
- `patch`: Up to us, in case we want to re-release a generated package with a higher version.


