cut new release for ngrok-api-python

This commit is contained in:
ngrok-bors-ng[bot]
2022-04-11 19:32:51 +00:00
parent 29c738c08f
commit 3557016553
2 changed files with 9 additions and 7 deletions
+8 -6
View File
@@ -1,13 +1,15 @@
# Unstable
This library is currently unstable. We know of rough edges
and are working to bring it to parity with our other API client
libraries. Please feel free to try it out and let us know if you find
it useful!
# ngrok API client library for Python
This library wraps the [ngrok HTTP API](https://ngrok.com/docs/api) to make it
easier to consume in Python.
## Beta Disclaimer
The Python ngrok API client library is in beta. While most of this
library should work, portions may be entirely broken or incomplete.
## Installation
This library is published on [PyPi](https://pypi.org/project/ngrok-api/)
@@ -34,4 +36,4 @@ Please consult the [documentation](https://python-api.docs.ngrok.com) for additi
# create an ip policy that allows traffic from some subnets
policy = client.ip_policies.create()
for cidr in ["24.0.0.0/8", "12.0.0.0/8"]:
client.ip_policy_rules.create(cidr=cidr, ip_policy_id=policy.id, action="allow")
client.ip_policy_rules.create(cidr=cidr, ip_policy_id=policy.id, action="allow")
+1 -1
View File
@@ -8,7 +8,7 @@ def read_file(filename):
setup(
name="ngrok-api",
version="0.7.0",
version="0.8.0",
description="ngrok HTTP API client library",
long_description=read_file("README.md"),
long_description_content_type="text/markdown",