Skip to main content

py3xui

Python SDK for 3x-ui with synchronous and asynchronous clients.

Documentation

Project documentation is now maintained in GitBook-ready format under the docs/ directory.

  • Start here: docs/README.md
  • Table of contents: docs/SUMMARY.md
  • 0.7.0 release notes: docs/release-notes/0.7.0.md

Install

pip install py3xui

Quick Example

from py3xui import Api

api = Api("http://your-3x-ui-host:2053", "username", "password")
api.login()
status = api.server.get_status()
print(status)

Development Checks

pytest
mypy py3xui
pylint py3xui

Metadata

Release files for py3xui 0.7.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 py3xui 0.7.0
File Size Uploaded Provenance Actions
py3xui-0.7.0.tar.gz 38.1 kB Without provenance Details for py3xui-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py3xui 0.7.0
File Interpreter ABI Platform Actions
py3xui-0.7.0-py3-none-any.whl Python 3 none any Details for py3xui-0.7.0-py3-none-any.whl

Total release size: 83.9 kB

Release files / py3xui-0.7.0.tar.gz

Download URL py3xui-0.7.0.tar.gz
Size 38.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b706bed1431926273213d663ff89c4507d4dbc91777ec3ff4e5f4c8d2ca7fafc
BLAKE2b-256 checksum
How to use checksums
a4be08d75617362dd7a2bd250fa37902c628a638a116072753e56debb36bfc9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / py3xui-0.7.0-py3-none-any.whl

Download URL py3xui-0.7.0-py3-none-any.whl
Size 45.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
866bef26ab4b35143abee0bd0dbbd82a49f79162a2df951ec4f9f5d5ee38e088
BLAKE2b-256 checksum
How to use checksums
26a6dc1e5cd9219a309fbb01566dae85dd68a7f22da6ecdfe5ef18793b38b85e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Security for py3xui 0.7.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files No provenance

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