vonage-network-auth
Package for working with Network APIs that require Oauth2 in Python.
What it is and what it does
vonage-network-auth is a client library for generating OAuth2-authenticated JWTs needed to call Vonage Network APIs. It wraps HTTP client and authentication logic to produce signed tokens for services like Sim Swap and Number Verification. The package is designed primarily as a component of the larger vonage SDK, though it can be used independently if you need direct control over network authentication.
The package depends on vonage-http-client for HTTP operations, vonage-utils for utility functions, and pydantic for data validation. It requires Python 3.9 or later and has low installation friction as a pure Python wheel. The library is actively maintained and supports modern Python versions through 3.13.
Use it for:
- Generate OAuth2 JWTs for Vonage Sim Swap API calls within your application.
- Authenticate requests to Vonage Number Verification endpoints.
- Integrate network authentication into a custom Vonage SDK implementation.
- Handle OAuth2 token generation for other Vonage Network APIs requiring authentication.
- Standalone authentication client when you need direct control over JWT creation.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Generates authenticated JWTs for Vonage Network APIs that require OAuth2, such as Sim Swap and Number Verification.
Yes, if you need to call Vonage Network APIs that require OAuth2. The package is actively maintained, has low install friction, uses a permissive license, and supports current Python versions. Install it as a direct dependency only if using the APIs independently; otherwise, access it through the vonage SDK.
Install
vonage-network-auth on PyPI
pip
pip install vonage-network-authuv
uv add vonage-network-authpoetry
poetry add vonage-network-authInstalling vonage-network-auth
Before you install
Low install friction with a pure Python wheel distribution. Actively maintained as of 2026-07-20 with 213 repository stars. Supports current Python versions from 3.9 through 3.13.
License in practice
Licensed under Apache Software License (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install vonage-network-auth
from vonage_network_auth import NetworkAuth
from vonage_http_client import HttpClient, Auth
network_auth = NetworkAuth(HttpClient(Auth(application_id='app-id', private_key='key')))
Requires a valid Vonage application ID and private key for authentication.
Verify before relying
- Whether this package is intended for direct use or primarily as a dependency of the vonage SDK.
- Specific Vonage Network APIs supported beyond Sim Swap and Number Verification.
- JWT expiration and refresh token handling mechanisms.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — vonage-http-client, vonage-utils, pydantic |
| Maintenance | actively maintained — 623 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 335,174/month — #7,482 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: vonage_network_auth-1.0.2-py3-none-any.whl
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
vonage-jwtGenerates and verifies JWTs for Vonage API…
permissive · top 15,000 on PyPI
vonage-network-number-verificationVerifies a mobile device's phone number by…
permissive · top 15,000 on PyPI
vonage-network-sim-swapVonage Network Sim Swap API client that checks…
permissive · top 15,000 on PyPI
vonage-http-clientProvides a synchronous HTTP client for…
permissive · top 15,000 on PyPI
vonageVonage provides a unified Python interface to…
permissive · top 15,000 on PyPI
vonage-verifyVonage Verify package provides Python…
permissive · top 15,000 on PyPI
atlassian-jwt-authGenerates and verifies JWT tokens for Atlassian…
permissive · top 15,000 on PyPI
vonage-verify-legacyProvides Python bindings for Vonage's legacy…
permissive · top 15,000 on PyPI
edx-rest-api-clientProvides OAuth2 and JWT utilities for…
permissive · top 15,000 on PyPI
opentokServer-side SDK for generating OpenTok…
permissive · top 5,000 on PyPI