Remnawave Python SDK
[!WARNING] This repository is a fork of the official SDK
remnawave/python-sdk.
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
Production Version
Install the latest release from PyPI:
pip install remnapy
Pin the version to the panel line you run:
# pyproject.toml
dependencies = ["remnapy (>=3.2.1, <3.3.0)"]
Development Version
If you need the unreleased code from the development branch:
pip install git+https://github.com/remnashop/remnapy.git@development
🫥 Compatible versions
The package version mirrors the Remnawave panel version exactly — remnapy 3.2.1 targets Remnawave 3.2.1.
| Package Version | Remnawave Panel Version |
|---|---|
| 3.2.1 | >=3.2.1, <3.3.0 |
Dependencies
rapid-api-client(==0.6.0)orjson(>=3.10.15, <4.0.0)httpx(>=0.27.2, <0.28.0)pydantic[email](>=2.9.2, <3.0.0)pydantic-core(>=2.33.1, <2.34.0)cryptography(>=46.0.3, <47.0.0)
🚀 Usage
Here’s a quick example to get you started:
import os
import asyncio
from remnapy import RemnawaveSDK
from remnapy.models import (
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.
Previously maintained by @sm1ky at sm1ky/remnawave-api.
The official Remnawave repository is located at remnawave/python-sdk.
This repository is a fork of the official SDK.
Metadata
Release files for remnapy 3.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| remnapy-3.2.1.tar.gz | 183.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| remnapy-3.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 279.2 kB
Release files / remnapy-3.2.1.tar.gz
| Download URL | remnapy-3.2.1.tar.gz |
|---|---|
| Size | 183.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ceee26394019e653fa19d91ba802c7547e859e7478385c7e75ef1cfbef49841f
|
|
BLAKE2b-256 checksum How to use checksums |
f04c045dc496739a7707fefd34226321323ef2a28dec8b95a51e968c800d7ae4
|
| 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 Aug 6, 2026.
Transparency logRelease files / remnapy-3.2.1-py3-none-any.whl
| Download URL | remnapy-3.2.1-py3-none-any.whl |
|---|---|
| Size | 96.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
57b1033618bfd4e322d938cefec292bbea48b77670ab8fc56bcc5ae3119f9254
|
|
BLAKE2b-256 checksum How to use checksums |
11e3c12eaddeb341b922eb4dafae09e93e2947a266dee6516fadc79342ca22e5
|
| 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 Aug 6, 2026.
Transparency log