Skip to main content

Remnawave Python SDK

Stars Forks Issues Supported python versions Downloads PyPi Package Version Publish Python Package

A Python SDK client for interacting with the Remnawave API. This library simplifies working with the API by providing convenient controllers, Pydantic models for requests and responses, and fast serialization with orjson.

📦 Installation

Install the latest version from PyPI:

pip install remnawave-api

Development Version

If you need the development version:

pip install git+https://github.com/sm1ky/remnawave-api.git@development

🫥 Compatible versions

Contract Version Remnawave Panel Version
3.5.0 >=3.4.4
3.4.5 >=3.4.4
3.4.4 >=3.4.4
3.4.3 >=3.4.0
3.2.2 >=3.2.0
3.2.1 >=3.2.0
3.2.0 >=3.2.0
3.0.1 >=3.0.0
2.8.1 >=2.8.0
2.8.0 >=2.8.0
2.7.1 >=2.7.0
2.6.3 >=2.6.3
2.6.2 >=2.6.2
2.6.1 >=2.6.0
2.4.4 >=2.4.0
2.3.2 >=2.3.0, <2.4.0
2.3.0 >=2.3.0, <2.3.2
2.2.6 ==2.2.6
2.2.3 >=2.2.13
2.1.19 >=2.1.19, <2.2.0
2.1.18 >=2.1.18
2.1.17 >=2.1.16, <=2.1.17
2.1.16 >=2.1.16
2.1.13 >=2.1.13, <=2.1.15
2.1.9 >=2.1.9, <=2.1.12
2.1.8 ==2.1.8
2.1.7.post1 ==2.1.7
2.1.4 >=2.1.4, <2.1.7
2.1.1 >=2.1.1, <2.1.4
2.0.0 >=2.0.0,<2.1.0
1.1.3 >=1.6.12,<2.0.0
1.1.2 >=1.6.3,<=1.6.11
1.1.1 1.6.1, 1.6.2
1.1.0 1.6.0
1.0.8 1.5.7

Dependencies

  • orjson (>=3.10.15, <4.0.0)
  • rapid-api-client (>=0.8.4, <0.9.0)
  • httpx (>=0.27.2, <1.0.0)
  • pydantic[email] (>=2.9.2, <3.0.0)
  • cryptography (>=48.0.1, <51.0.0)

🚀 Usage

Here’s a quick example to get you started:

import os
import asyncio

from remnawave import RemnawaveSDK  # Updated import for new package
from remnawave.models import (  # Updated import path
    UsersResponseDto, 
    UserResponseDto,
    GetAllConfigProfilesResponseDto,
    CreateInternalSquadRequestDto
)

async def main():
    # URL to your panel (ex. https://vpn.com or http://127.0.0.1:3000)
    base_url: str = os.getenv("REMNAWAVE_BASE_URL")
    # Bearer Token from panel (section: API Tokens) 
    token: str = os.getenv("REMNAWAVE_TOKEN")

    # Initialize the SDK
    remnawave = RemnawaveSDK(base_url=base_url, token=token)

    # Fetch all users
    response: UsersResponseDto = await remnawave.users.get_all_users()
    total_users: int = response.total
    users: list[UserResponseDto] = response.users
    print("Total users: ", total_users)
    print("List of users: ", users)

if __name__ == "__main__":
    asyncio.run(main())

❤️ About

This SDK was originally developed by @kesevone for integration with Remnawave's API.

Maintained by @sm1ky at sm1ky/remnawave-api.

Metadata

Release files for remnawave-api 3.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for remnawave-api 3.5.0
File Size Uploaded Provenance Actions
remnawave_api-3.5.0.tar.gz 73.8 kB With provenance Details for remnawave_api-3.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for remnawave-api 3.5.0
File Interpreter ABI Platform Actions
remnawave_api-3.5.0-py3-none-any.whl Python 3 none any Details for remnawave_api-3.5.0-py3-none-any.whl

Total release size: 184.3 kB

Release files / remnawave_api-3.5.0.tar.gz

Download URL remnawave_api-3.5.0.tar.gz
Size 73.8 kB
Tags Source
SHA-256 checksum
How to use checksums
bf41f39ecb6a381482dc2a459b79406012e6b1293ba8f1a4c8f357676be07eb2
BLAKE2b-256 checksum
How to use checksums
706e76c013a699f9c7b364eb6c317106ed0f4e02775fff633f122f13665d64ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Release files / remnawave_api-3.5.0-py3-none-any.whl

Download URL remnawave_api-3.5.0-py3-none-any.whl
Size 110.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2cc9b4627712ff8e99e4cb00cc16a8f0fecb1df3702e737e4678bd58d1b86a74
BLAKE2b-256 checksum
How to use checksums
97250b3f8a099430b3b98fb8019cbec84edb45207fdbae89e92692f8d2ae3d5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Security for remnawave-api 3.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for remnawave_api-3.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page