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
If you don't already have an OpenZiti network running, you can follow our [express install guides](https://docs.openziti.io/docs/learn/quickstarts/network/)
43
46
to set up the network that fits your needs. Or, you can try [CloudZiti](https://netfoundry.io/pricing/) for free, check out more [here](https://docs.openziti.io/).
44
47
@@ -52,6 +55,7 @@ pip install openziti
52
55
```
53
56
54
57
### Using Ziti Python SDK
58
+
55
59
With just two lines of code, you can turn your plain old web server into a secure, zero-trust embedded application.
56
60
Below is an example of just how simple it is to get started.
57
61
@@ -87,43 +91,56 @@ know what a monkey patch is! However, if you're interested in what a monkey patc
- Participate in discussion on [Discourse](https://openziti.discourse.group/)
138
+
125
139
## Contributing
140
+
126
141
Do you want to get your hands dirty and help make OpenZiti better? Contribute to the OpenZiti open-source project
127
142
through bug reports, bug fixes, documentation, etc. Check out our guide on contributing to our projects [here](https://docs.openziti.io/policies/CONTRIBUTING.html).
Copy file name to clipboardExpand all lines: sample/README.md
+20-2Lines changed: 20 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,38 +2,44 @@
2
2
3
3
## Setup
4
4
5
-
In order to begin using the examples, you'll need an OpenZiti network. If you don't already have one running, you can follow our [express install guides](https://docs.openziti.io/docs/learn/quickstarts/network/)
5
+
You will need an OpenZiti network to use the examples. If you don't already have one running, you can follow our [express install guides](https://docs.openziti.io/docs/learn/quickstarts/network/)
6
6
to set up the network that fits your needs. You could also use [ZEDS](https://zeds.openziti.org) (Ziti Edge Developer Sandbox) or, you can try cloud Ziti for free, check out more [here](https://docs.openziti.io/).
7
7
8
8
### Installing the SDK
9
9
10
-
The Python SDK for OpenZiti is distributed via the Python Package Index (PyPI) and can be installed using
10
+
The Python SDK for OpenZiti is distributed via the Python Package Index (PyPI) and can be installed using
First, you'll need the dependent libraries used in the examples.
20
+
19
21
```bash
20
22
cd ./sample
21
23
pip install -r requirements
22
24
```
23
25
24
26
### Get and Enroll an Identity
27
+
25
28
You need an [identity](https://docs.openziti.io/docs/learn/core-concepts/identities/overview) to be used by the example
26
29
application. If using [ZEDS](https://zeds.openziti.org) you can grab one from there, otherwise you can find all the
27
30
information you need for creating and enrolling an identity in the [doc here](https://docs.openziti.io/docs/learn/core-concepts/identities/overview#creating-an-identity).
28
31
29
32
Alternatively, if you have an identity enrollment token (JWT file), you can perform the enrollment with the Python SDK.
0 commit comments