Skip to content

Commit 9251e7b

Browse files
authored
Merge pull request #11 from b-long/develop
Update transitive dependencies & improve documentation
2 parents 95b7832 + ea724e3 commit 9251e7b

File tree

8 files changed

+126
-35
lines changed

8 files changed

+126
-35
lines changed

.github/workflows/build-golang-macos.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
- name: Test Python wheel
9898
run: |
9999
# Test wheel installation
100-
pip install dist/otdf_python-0.0.11-py3-none-any.whl
100+
pip install dist/otdf_python-0.0.12-py3-none-any.whl
101101
102102
# Test wheel functionality
103103
# python3 validate_otdf_python.py

.github/workflows/build-golang-ubuntu.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
- name: Test Python wheel
128128
run: |
129129
# Test wheel installation
130-
pip install dist/otdf_python-0.0.11-py3-none-any.whl
130+
pip install dist/otdf_python-0.0.12-py3-none-any.whl
131131
132132
# DISABLED: Need to figure out Ubuntu nested VM
133133
# Test wheel functionality

README.md

Lines changed: 85 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,105 @@ Unofficial OpenTDF SDK for Python
44

55
[![Tests](https://github.com/b-long/opentdf-python-sdk/workflows/PyPIBuild/badge.svg)](https://github.com/b-long/opentdf-python-sdk/actions?query=workflow%3APyPIBuild)
66

7+
This project is powered by gopy, which generates (and compiles) a CPython extension module from a go package. The `gopy`
8+
tool unlocks performance, flexibility, and excellent Developer Experience to Python end-users. Read more about
9+
[`gopy` on Github](https://github.com/go-python/gopy).
10+
11+
## Adding features
12+
13+
If you wish to expand the functionality of `otdf-python`:
14+
15+
1. Create a fork/branch
16+
1. Add new capabilities (e.g. in `main.go`)
17+
1. Add a test (e.g. in `otdf_python_test.go`)
18+
1. Commit your changes, push, and open a Pull Request via
19+
the Github project: https://github.com/b-long/opentdf-python-sdk
720

821
## Installation
922

10-
Install from PyPI.org:
23+
Install from the [Python Package Index (PyPI)](https://pypi.org):
1124

1225
```bash
26+
# Install the latest from pypi.org
1327
pip install otdf_python
28+
29+
# Install a pinned version
30+
pip install otdf-python==0.0.9
31+
32+
# Install a pinned version, from test.pypi.org
33+
pip install -i https://test.pypi.org/simple/ otdf-python==0.0.9
1434
```
1535

1636
## Usage
1737

18-
Simple usage examples are given below. In addition, see the content of `validate_otdf_python.py` .
38+
Simple usage examples are given below. In addition, we recommend you also:
39+
40+
1. See the contents of [`main.go` on Github](https://github.com/b-long/opentdf-python-sdk/blob/main/main.go). ✨ Note that all Upper-case functions are available in Python.
41+
1. See the contents of [`validate_otdf_python.py` on Github](https://github.com/b-long/opentdf-python-sdk/blob/main/validate_otdf_python.py).
42+
43+
### Example: Configuration
44+
45+
Creating a helper function may simplify the usage of `otdf-python`.
46+
47+
For example:
48+
49+
```python
50+
def get_encrypt_config(data_attributes: list | None = None):
51+
"""
52+
The config object returned here can only be used for encryption.
53+
54+
While 'otdf_python.gotdf_python' internally can use golang interfaces,
55+
to normalize config objects, that pattern causes a panic
56+
when used from Python.
57+
58+
"""
59+
print("Preparing 'EncryptionConfig' object")
60+
from otdf_python.gotdf_python import EncryptionConfig
61+
from otdf_python.go import Slice_string
62+
63+
if isinstance(data_attributes, list):
64+
# Create config using the attributes from the caller
65+
da = Slice_string(data_attributes)
66+
config: EncryptionConfig = EncryptionConfig(
67+
ClientId="opentdf-sdk",
68+
ClientSecret="secret",
69+
PlatformEndpoint=platformEndpoint,
70+
TokenEndpoint="http://localhost:8888/auth/realms/opentdf/protocol/openid-connect/token",
71+
KasUrl=f"http://{platformEndpoint}/kas",
72+
# FIXME: Be careful with binding the 'DataAttributes' field on this struct.
73+
#
74+
# In golang, this is initialized as []string , but passing
75+
# DataAttributes=None, or DataAttributes=[] from Python will fail.
76+
DataAttributes=da,
77+
)
78+
else:
79+
# Create config without attributes
80+
config: EncryptionConfig = EncryptionConfig(
81+
ClientId=testing_credentials.TDF_NPE_CLIENT,
82+
ClientSecret=testing_credentials.TDF_NPE_CLIENT_SECRET,
83+
PlatformEndpoint=testing_credentials.PLATFORM_ENDPOINT,
84+
TokenEndpoint=testing_credentials.OIDC_AUTH_URL,
85+
KasUrl=testing_credentials.KAS_URL,
86+
)
87+
88+
# NOTE: Structs from golang can be printed, like below
89+
# print(config)
90+
print("Returning 'EncryptionConfig'")
91+
92+
return config
93+
```
94+
1995

2096
### Example: Encrypt a string
2197

2298
```python
2399
from otdf_python.gotdf_python import EncryptString
24100

25-
config: EncryptionConfig = _get_configuration()
101+
# Depends on the 'get_encrypt_config()' given
102+
# in the README above
103+
config: EncryptionConfig = get_encrypt_config()
26104

27105
tdf_manifest_json = EncryptString(inputText="Hello from Python", config=config)
28-
29106
```
30107

31108
### Example: Encrypt a file
@@ -34,25 +111,15 @@ tdf_manifest_json = EncryptString(inputText="Hello from Python", config=config)
34111
from otdf_python.gotdf_python import EncryptFile
35112
from otdf_python.go import Slice_string
36113

114+
# Depends on the 'get_encrypt_config()' given
115+
# in the README above
116+
config: EncryptionConfig = get_encrypt_config()
117+
37118
with tempfile.TemporaryDirectory() as tmpDir:
38119
print("Created temporary directory", tmpDir)
39120

40121
da = Slice_string(["https://example.com/attr/attr1/value/value1", "https://example.com/attr/attr1/value/value2"])
41122

42-
config: EncryptionConfig = EncryptionConfig(
43-
ClientId="opentdf-sdk",
44-
ClientSecret="secret",
45-
PlatformEndpoint=platformEndpoint,
46-
TokenEndpoint="http://localhost:8888/auth/realms/opentdf/protocol/openid-connect/token",
47-
KasUrl=f"http://{platformEndpoint}/kas",
48-
# FIXME: Be careful with binding the 'DataAttributes' field on this struct.
49-
#
50-
# In golang, this is initialized as []string , but passing
51-
# DataAttributes=None, or DataAttributes=[] from Python will fail.
52-
# DataAttributes=...
53-
DataAttributes=da,
54-
)
55-
56123
encrypted_file = Path(tmpDir) / "some-file.tdf"
57124

58125
if encrypted_file.exists():

go.mod

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
)
99

1010
require (
11-
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.2-20240717164558-a6c49f84cc0f.2 // indirect
11+
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.2-20240920164238-5a7b106cbb87.2 // indirect
1212
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect
1313
github.com/goccy/go-json v0.10.3 // indirect
1414
github.com/gonuts/commander v0.4.1 // indirect
@@ -26,23 +26,23 @@ require (
2626
github.com/lestrrat-go/jwx/v2 v2.1.1 // indirect
2727
github.com/lestrrat-go/option v1.0.1 // indirect
2828
github.com/opentdf/platform/lib/ocrypto v0.1.5 // indirect
29-
github.com/opentdf/platform/protocol/go v0.2.14 // indirect
29+
github.com/opentdf/platform/protocol/go v0.2.16 // indirect
3030
github.com/pkg/errors v0.9.1 // indirect
3131
github.com/posener/complete v1.2.3 // indirect
3232
github.com/segmentio/asm v1.2.0 // indirect
3333
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
3434
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
3535
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
36-
golang.org/x/crypto v0.26.0 // indirect
37-
golang.org/x/mod v0.20.0 // indirect
38-
golang.org/x/net v0.28.0 // indirect
39-
golang.org/x/oauth2 v0.22.0 // indirect
36+
golang.org/x/crypto v0.27.0 // indirect
37+
golang.org/x/mod v0.21.0 // indirect
38+
golang.org/x/net v0.29.0 // indirect
39+
golang.org/x/oauth2 v0.23.0 // indirect
4040
golang.org/x/sync v0.8.0 // indirect
41-
golang.org/x/sys v0.24.0 // indirect
42-
golang.org/x/text v0.17.0 // indirect
43-
golang.org/x/tools v0.24.0 // indirect
44-
google.golang.org/genproto/googleapis/api v0.0.0-20240827150818-7e3bb234dfed // indirect
45-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240827150818-7e3bb234dfed // indirect
46-
google.golang.org/grpc v1.65.0 // indirect
41+
golang.org/x/sys v0.25.0 // indirect
42+
golang.org/x/text v0.18.0 // indirect
43+
golang.org/x/tools v0.25.0 // indirect
44+
google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 // indirect
45+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect
46+
google.golang.org/grpc v1.67.0 // indirect
4747
google.golang.org/protobuf v1.34.2 // indirect
4848
)

go.sum

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.2-2024050820065
22
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.2-20240508200655-46a4cf4ba109.2/go.mod h1:ylS4c28ACSI59oJrOdW4pHS4n0Hw4TgSPHn8rpHl4Yw=
33
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.2-20240717164558-a6c49f84cc0f.2 h1:SZRVx928rbYZ6hEKUIN+vtGDkl7uotABRWGY4OAg5gM=
44
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.2-20240717164558-a6c49f84cc0f.2/go.mod h1:ylS4c28ACSI59oJrOdW4pHS4n0Hw4TgSPHn8rpHl4Yw=
5+
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.2-20240920164238-5a7b106cbb87.2 h1:hl0FrmGlNpQZIGvU1/jDz0lsPDd0BhCE0QDRwPfLZcA=
6+
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.2-20240920164238-5a7b106cbb87.2/go.mod h1:ylS4c28ACSI59oJrOdW4pHS4n0Hw4TgSPHn8rpHl4Yw=
57
dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk=
68
dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
79
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 h1:L/gRVlceqvL25UVaW/CKtUDjefjrs0SPonmDGUVOYP0=
@@ -126,6 +128,8 @@ github.com/opentdf/platform/protocol/go v0.2.12 h1:+1bzoo6ntAnD1yYRdZJ+a0L6zXSNh
126128
github.com/opentdf/platform/protocol/go v0.2.12/go.mod h1:WqDcnFQJb0v8ivRQPidbehcL8ils5ZSZYXkuv0nyvsI=
127129
github.com/opentdf/platform/protocol/go v0.2.14 h1:0wqKDVTpuPICyH37ecKxR2+tZNsgXV8TfdzlbQ3ovrA=
128130
github.com/opentdf/platform/protocol/go v0.2.14/go.mod h1:WqDcnFQJb0v8ivRQPidbehcL8ils5ZSZYXkuv0nyvsI=
131+
github.com/opentdf/platform/protocol/go v0.2.16 h1:BDoHczwSWZKLDF9Sl1ajZwnuqSO1go8MlDdPk2heA+I=
132+
github.com/opentdf/platform/protocol/go v0.2.16/go.mod h1:WqDcnFQJb0v8ivRQPidbehcL8ils5ZSZYXkuv0nyvsI=
129133
github.com/opentdf/platform/sdk v0.2.8 h1:v+yvNx/HLCMQ7dDt7iP3AigFDTwBqPKNPQvbG53j1hU=
130134
github.com/opentdf/platform/sdk v0.2.8/go.mod h1:NmTbl7F2eSUHjNCZ+ayeXfILfZP/22jEedYw873uCK0=
131135
github.com/opentdf/platform/sdk v0.3.4 h1:FD+gGjhfL/Sj/hEU2uFfn5lBKgMnW+MPbVGOiDM36Zs=
@@ -194,20 +198,28 @@ golang.org/x/crypto v0.25.0 h1:ypSNr+bnYL2YhwoMt2zPxHFmbAN1KZs/njMG3hxUp30=
194198
golang.org/x/crypto v0.25.0/go.mod h1:T+wALwcMOSE0kXgUAnPAHqTLW+XHgcELELW8VaDgm/M=
195199
golang.org/x/crypto v0.26.0 h1:RrRspgV4mU+YwB4FYnuBoKsUapNIL5cohGAmSH3azsw=
196200
golang.org/x/crypto v0.26.0/go.mod h1:GY7jblb9wI+FOo5y8/S2oY4zWP07AkOJ4+jxCqdqn54=
201+
golang.org/x/crypto v0.27.0 h1:GXm2NjJrPaiv/h1tb2UH8QfgC/hOf/+z0p6PT8o1w7A=
202+
golang.org/x/crypto v0.27.0/go.mod h1:1Xngt8kV6Dvbssa53Ziq6Eqn0HqbZi5Z6R0ZpwQzt70=
197203
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 h1:LfspQV/FYTatPTr/3HzIcmiUFH7PGP+OQ6mgDYo3yuQ=
198204
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225/go.mod h1:CxmFvTBINI24O/j8iY7H1xHzx2i4OsyguNBmN/uPtqc=
199205
golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA=
200206
golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
201207
golang.org/x/mod v0.20.0 h1:utOm6MM3R3dnawAiJgn0y+xvuYRsm1RKM/4giyfDgV0=
202208
golang.org/x/mod v0.20.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
209+
golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0=
210+
golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
203211
golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ=
204212
golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE=
205213
golang.org/x/net v0.27.0 h1:5K3Njcw06/l2y9vpGCSdcxWOYHOUk3dVNGDXN+FvAys=
206214
golang.org/x/net v0.27.0/go.mod h1:dDi0PyhWNoiUOrAS8uXv/vnScO4wnHQO4mj9fn/RytE=
207215
golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE=
208216
golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg=
217+
golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo=
218+
golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0=
209219
golang.org/x/oauth2 v0.22.0 h1:BzDx2FehcG7jJwgWLELCdmLuxk2i+x9UDpSiss2u0ZA=
210220
golang.org/x/oauth2 v0.22.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
221+
golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs=
222+
golang.org/x/oauth2 v0.23.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
211223
golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M=
212224
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
213225
golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ=
@@ -218,14 +230,20 @@ golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI=
218230
golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
219231
golang.org/x/sys v0.24.0 h1:Twjiwq9dn6R1fQcyiK+wQyHWfaz/BJB+YIpzU/Cv3Xg=
220232
golang.org/x/sys v0.24.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
233+
golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34=
234+
golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
221235
golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4=
222236
golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI=
223237
golang.org/x/text v0.17.0 h1:XtiM5bkSOt+ewxlOE/aE/AKEHibwj/6gvWMl9Rsh0Qc=
224238
golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
239+
golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224=
240+
golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
225241
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d h1:vU5i/LfpvrRCpgM/VPfJLg5KjxD3E+hfT1SH+d9zLwg=
226242
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk=
227243
golang.org/x/tools v0.24.0 h1:J1shsA93PJUEVaUSaay7UXAyE8aimq3GW0pjlolpa24=
228244
golang.org/x/tools v0.24.0/go.mod h1:YhNqVBIfWHdzvTLs0d8LCuMhkKUgSUKldakyV7W/WDQ=
245+
golang.org/x/tools v0.25.0 h1:oFU9pkj/iJgs+0DT+VMHrx+oBKs/LJMV+Uvg78sl+fE=
246+
golang.org/x/tools v0.25.0/go.mod h1:/vtpO8WL1N9cQC3FN5zPqb//fRXskFHbLKk4OW1Q7rg=
229247
google.golang.org/genproto/googleapis/api v0.0.0-20240701130421-f6361c86f094 h1:0+ozOGcrp+Y8Aq8TLNN2Aliibms5LEzsq99ZZmAGYm0=
230248
google.golang.org/genproto/googleapis/api v0.0.0-20240701130421-f6361c86f094/go.mod h1:fJ/e3If/Q67Mj99hin0hMhiNyCRmt6BQ2aWIJshUSJw=
231249
google.golang.org/genproto/googleapis/api v0.0.0-20240725223205-93522f1f2a9f h1:b1Ln/PG8orm0SsBbHZWke8dDp2lrCD4jSmfglFpTZbk=
@@ -234,6 +252,8 @@ google.golang.org/genproto/googleapis/api v0.0.0-20240814211410-ddb44dafa142 h1:
234252
google.golang.org/genproto/googleapis/api v0.0.0-20240814211410-ddb44dafa142/go.mod h1:d6be+8HhtEtucleCbxpPW9PA9XwISACu8nvpPqF0BVo=
235253
google.golang.org/genproto/googleapis/api v0.0.0-20240827150818-7e3bb234dfed h1:3RgNmBoI9MZhsj3QxC+AP/qQhNwpCLOvYDYYsFrhFt0=
236254
google.golang.org/genproto/googleapis/api v0.0.0-20240827150818-7e3bb234dfed/go.mod h1:OCdP9MfskevB/rbYvHTsXTtKC+3bHWajPdoKgjcYkfo=
255+
google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 h1:hjSy6tcFQZ171igDaN5QHOw2n6vx40juYbC/x67CEhc=
256+
google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1/go.mod h1:qpvKtACPCQhAdu3PyQgV4l3LMXZEtft7y8QcarRsp9I=
237257
google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 h1:BwIjyKYGsK9dMCBOorzRri8MQwmi7mT9rGHsCEinZkA=
238258
google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094/go.mod h1:Ue6ibwXGpU+dqIcODieyLOcgj7z8+IcskoNIgZxtrFY=
239259
google.golang.org/genproto/googleapis/rpc v0.0.0-20240725223205-93522f1f2a9f h1:RARaIm8pxYuxyNPbBQf5igT7XdOyCNtat1qAT2ZxjU4=
@@ -242,10 +262,14 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 h1:
242262
google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU=
243263
google.golang.org/genproto/googleapis/rpc v0.0.0-20240827150818-7e3bb234dfed h1:J6izYgfBXAI3xTKLgxzTmUltdYaLsuBxFCgDHWJ/eXg=
244264
google.golang.org/genproto/googleapis/rpc v0.0.0-20240827150818-7e3bb234dfed/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU=
265+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 h1:pPJltXNxVzT4pK9yD8vR9X75DaWYYmLGMsEvBfFQZzQ=
266+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU=
245267
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
246268
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
247269
google.golang.org/grpc v1.65.0 h1:bs/cUb4lp1G5iImFFd3u5ixQzweKizoZJAwBNLR42lc=
248270
google.golang.org/grpc v1.65.0/go.mod h1:WgYC2ypjlB0EiQi6wdKixMqukr6lBc0Vo+oOgjrM5ZQ=
271+
google.golang.org/grpc v1.67.0 h1:IdH9y6PF5MPSdAntIcpjQ+tXO41pcQsfZV2RxtQgVcw=
272+
google.golang.org/grpc v1.67.0/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA=
249273
google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg=
250274
google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw=
251275
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tool.poetry]
22
name = "otdf-python"
33
# Should match 'setup.py' version number (used for gopy/pybindgen)
4-
version = "0.0.11"
4+
version = "0.0.12"
55
description = ""
66
authors = ["b-long <[email protected]>"]
77
readme = "README.md"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
url="https://github.com/b-long/opentdf-python-sdk",
2525
package_data={"otdf_python": ["*.so"]},
2626
# Should match 'pyproject.toml' version number
27-
version="0.0.11",
27+
version="0.0.12",
2828
author_email="[email protected]",
2929
include_package_data=True,
3030
)

setup_ci.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def build_extension(self, ext: Extension):
8181

8282
setuptools.setup(
8383
name="otdf_python",
84-
version="0.0.11",
84+
version="0.0.12",
8585
author="b-long",
8686
description="Unofficial OpenTDF SDK for Python.",
8787
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)