You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: pass python version input to uv testing step
* fix: fail fast in check_entitlements.sh
* fix: improve documentation
* fix: consolidate 'load_tdf' function
* fix: consolidate 'load_tdf' function
Copy file name to clipboardExpand all lines: README.md
+5-79Lines changed: 5 additions & 79 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,65 +13,6 @@ Unofficial OpenTDF SDK for Python
13
13
14
14
A legacy version (0.2.x) of this project is available for users who need the previous implementation. For more information, see [LEGACY_VERSION.md](docs/LEGACY_VERSION.md) or visit the [legacy branch on GitHub](https://github.com/b-long/opentdf-python-sdk/tree/0.2.x).
15
15
16
-
## Prerequisites
17
-
18
-
This project uses [uv](https://docs.astral.sh/uv/) for dependency management and task running.
For more installation options, see the [uv installation guide](https://docs.astral.sh/uv/getting-started/installation/).
40
-
41
-
## Development Setup
42
-
43
-
1. Clone the repository:
44
-
```bash
45
-
git clone <repository-url>
46
-
cd opentdf-python-sdk
47
-
```
48
-
49
-
2. Install dependencies:
50
-
```bash
51
-
uv sync
52
-
```
53
-
54
-
## Running Tests
55
-
56
-
Run the full test suite:
57
-
```bash
58
-
uv run pytest tests/
59
-
```
60
-
61
-
Run specific test files:
62
-
```bash
63
-
uv run pytest tests/test_sdk.py
64
-
```
65
-
66
-
Run tests with verbose output:
67
-
```bash
68
-
uv run pytest tests/ -v
69
-
```
70
-
71
-
Run integration tests only:
72
-
```bash
73
-
uv run pytest tests/ -m integration
74
-
```
75
16
76
17
## Installation
77
18
@@ -80,21 +21,6 @@ Install from PyPI:
80
21
pip install otdf-python
81
22
```
82
23
83
-
84
-
## Protobuf & Connect RPC Generation
85
-
86
-
This project uses a dedicated submodule, `otdf-python-proto/`, for generating Python protobuf files and Connect RPC clients from OpenTDF platform proto definitions.
87
-
88
-
### Regenerating Protobuf & Connect RPC Files
89
-
90
-
From the submodule:
91
-
```bash
92
-
cd otdf-python-proto
93
-
uv run python scripts/generate_connect_proto.py
94
-
```
95
-
96
-
See [`otdf-python-proto/README.md`](otdf-python-proto/README.md) and [`PROTOBUF_SETUP.md`](PROTOBUF_SETUP.md) for details.
This project uses a dedicated submodule, `otdf-python-proto/`, for generating Python protobuf files and Connect RPC clients from OpenTDF platform proto definitions.
86
+
87
+
#### Regenerating Protobuf & Connect RPC Files
88
+
89
+
From the submodule:
90
+
```bash
91
+
cd otdf-python-proto
92
+
uv run python scripts/generate_connect_proto.py
93
+
```
94
+
95
+
See [`otdf-python-proto/README.md`](../otdf-python-proto/README.md) and [`PROTOBUF_SETUP.md`](./PROTOBUF_SETUP.md) for details.
0 commit comments