Skip to content

Commit

Permalink
prepare for beta release
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkahan committed Oct 17, 2024
1 parent 315b6dc commit cde28c2
Show file tree
Hide file tree
Showing 65 changed files with 269 additions and 274 deletions.
92 changes: 0 additions & 92 deletions OPENTOK_TO_VONAGE_MIGRATION.md

This file was deleted.

3 changes: 3 additions & 0 deletions account/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.0.2
- Support for Python 3.13, drop support for 3.8

# 1.0.1
- Add docstrings to data models

Expand Down
10 changes: 5 additions & 5 deletions account/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ dynamic = ["version"]
description = 'Vonage Account API package'
readme = "README.md"
authors = [{ name = "Vonage", email = "devrel@vonage.com" }]
requires-python = ">=3.8"
requires-python = ">=3.9"
dependencies = [
"vonage-http-client>=1.4.1",
"vonage-utils>=1.1.3",
"pydantic>=2.7.1",
"vonage-http-client>=1.4.2",
"vonage-utils>=1.1.4",
"pydantic>=2.9.2",
]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: Apache Software License",
]

Expand Down
2 changes: 1 addition & 1 deletion account/src/vonage_account/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0.1'
__version__ = '1.0.2'
3 changes: 3 additions & 0 deletions application/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.0.3
- Support for Python 3.13, drop support for 3.8

# 1.0.2
- Add docstrings to data models

Expand Down
10 changes: 5 additions & 5 deletions application/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ dynamic = ["version"]
description = 'Vonage Application API package'
readme = "README.md"
authors = [{ name = "Vonage", email = "devrel@vonage.com" }]
requires-python = ">=3.8"
requires-python = ">=3.9"
dependencies = [
"vonage-http-client>=1.4.1",
"vonage-utils>=1.1.3",
"pydantic>=2.7.1",
"vonage-http-client>=1.4.2",
"vonage-utils>=1.1.4",
"pydantic>=2.9.2",
]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: Apache Software License",
]

Expand Down
2 changes: 1 addition & 1 deletion application/src/vonage_application/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0.2'
__version__ = '1.0.3'
3 changes: 3 additions & 0 deletions http_client/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.4.2
- Support for Python 3.13, drop support for 3.8

# 1.4.1
- Add docstrings to data models

Expand Down
10 changes: 5 additions & 5 deletions http_client/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@ dynamic = ["version"]
description = "An HTTP client for making requests to Vonage APIs."
readme = "README.md"
authors = [{ name = "Vonage", email = "devrel@vonage.com" }]
requires-python = ">=3.8"
requires-python = ">=3.9"
dependencies = [
"vonage-utils>=1.1.3",
"vonage-jwt>=1.1.2",
"vonage-utils>=1.1.4",
"vonage-jwt>=1.1.3",
"requests>=2.27.0",
"typing-extensions>=4.9.0",
"pydantic>=2.7.1",
"pydantic>=2.9.2",
]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: Apache Software License",
]

Expand Down
2 changes: 1 addition & 1 deletion http_client/src/vonage_http_client/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.4.1'
__version__ = '1.4.2'
3 changes: 3 additions & 0 deletions jwt/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.1.3
- Support for Python 3.13, drop support for 3.8

# 1.1.2
- Dynamically specify package version

Expand Down
6 changes: 3 additions & 3 deletions jwt/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ dynamic = ["version"]
description = "Tooling for working with JWTs for Vonage APIs in Python."
readme = "README.md"
authors = [{ name = "Vonage", email = "devrel@vonage.com" }]
requires-python = ">=3.8"
dependencies = ["vonage-utils>=1.1.3", "pyjwt[crypto]>=1.6.4"]
requires-python = ">=3.9"
dependencies = ["vonage-utils>=1.1.4", "pyjwt[crypto]>=1.6.4"]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: Apache Software License",
]

Expand Down
2 changes: 1 addition & 1 deletion jwt/src/vonage_jwt/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.1.2'
__version__ = '1.1.3'
3 changes: 3 additions & 0 deletions messages/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.2.2
- Support for Python 3.13, drop support for 3.8

# 1.2.1
- Add docstrings to data models

Expand Down
8 changes: 4 additions & 4 deletions messages/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ dynamic = ["version"]
description = 'Vonage messages package'
readme = "README.md"
authors = [{ name = "Vonage", email = "devrel@vonage.com" }]
requires-python = ">=3.8"
requires-python = ">=3.9"
dependencies = [
"vonage-http-client>=1.4.1",
"vonage-utils>=1.1.3",
"pydantic>=2.7.1",
"vonage-http-client>=1.4.2",
"vonage-utils>=1.1.4",
"pydantic>=2.9.2",
]
classifiers = [
"Programming Language :: Python",
Expand Down
2 changes: 1 addition & 1 deletion messages/src/vonage_messages/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.2.1'
__version__ = '1.2.2'
4 changes: 4 additions & 0 deletions network_auth/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.0.0
- Add methods to work with the Vonage Number Verification API
- Internal refactoring

# 0.1.1b0
- Add docstrings to data models

Expand Down
13 changes: 2 additions & 11 deletions network_auth/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
# Vonage Network API Authentication Client

This package (`vonage-network-auth`) provides a client for authenticating Network APIs that require Oauth2 authentcation. Using it, it is possible to generate authenticated JWTs for use with GNP APIs, e.g. Sim Swap, Number Verification.
This package (`vonage-network-auth`) provides a client for authenticating Network APIs that require Oauth2 authentication. Using it, it is possible to generate authenticated JWTs for use with Vonage Network APIs, e.g. Sim Swap, Number Verification.

This package is intended to be used as part of an SDK, accessing required methods through the SDK instead of directly. Thus, it doesn't require manual installation or configuration unless you're using this package independently of an SDK.
This package is intended to be used as part of the `vonage` SDK package, accessing required methods through the SDK instead of directly. Thus, it doesn't require manual installation or configuration unless you're using this package independently of an SDK.

For full API documentation, refer to the [Vonage developer documentation](https://developer.vonage.com).

Please note this package is in beta.

## Installation

Install from the Python Package Index with pip:
Expand All @@ -27,10 +25,3 @@ from vonage_http_client import HttpClient, Auth
network_auth = NetworkAuth(HttpClient(Auth(application_id='application-id', private_key='private-key')))
```

### Generate an Authenticated Access Token

```python
token = network_auth.get_oauth2_user_token(
number='447700900000', scope='dpv:FraudPreventionAndDetection#check-sim-swap'
)
```
10 changes: 7 additions & 3 deletions network_auth/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,20 @@ dynamic = ["version"]
description = "Package for working with Network APIs that require Oauth2 in Python."
readme = "README.md"
authors = [{ name = "Vonage", email = "devrel@vonage.com" }]
requires-python = ">=3.8"
dependencies = ["vonage-http-client>=1.4.0", "vonage-utils>=1.1.2"]
requires-python = ">=3.9"
dependencies = [
"vonage-http-client>=1.4.2",
"vonage-utils>=1.1.4",
"pydantic>=2.9.2",
]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: Apache Software License",
]

Expand Down
8 changes: 7 additions & 1 deletion network_auth/src/vonage_network_auth/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
from .network_auth import NetworkAuth
from .requests import CreateOidcUrl
from .responses import OidcResponse, TokenResponse

__all__ = ['NetworkAuth', 'OidcResponse', 'TokenResponse']
__all__ = [
'NetworkAuth',
'CreateOidcUrl',
'OidcResponse',
'TokenResponse',
]
2 changes: 1 addition & 1 deletion network_auth/src/vonage_network_auth/network_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


class NetworkAuth:
"""Class containing methods for authenticating Network APIs following Camara
"""Class containing methods for authenticating Network APIs following CAMARA
standards."""

def __init__(self, http_client: HttpClient):
Expand Down
2 changes: 1 addition & 1 deletion network_number_verification/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# 0.1.0b0
# 1.0.0
- Initial upload
Loading

0 comments on commit cde28c2

Please sign in to comment.