pteropy
適用於Pterodactyl api的python庫
基本設置
run.py
from pteropy import Pterodactyl_Application
#導入套件
base_url = "https://面板網址"
api_key = "api key"
#基本設定
ptero = Pterodactyl_Application(base_url, api_key)
#傳給套件
套件範例
run.py
from pteropy import Pterodactyl_Application
base_url = "https://面板網址"
api_key = "api key"
ptero = Pterodactyl_Application(base_url, api_key)
#創建用戶
ptero.create_user(username="用戶名",email="用戶email", password="密碼")
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pteropy-0.1.0.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pteropy-0.1.0.tar.gz.
File metadata
- Download URL: pteropy-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d008413d5e9b8f58d40be81a55420ad87840bb3c409969987dfab7d76773ffd5
|
|
| MD5 |
57719cbffdb5ff5a62cc8258d1977226
|
|
| BLAKE2b-256 |
347f2e44cbb1b56ece3aa2c49969ae4fd21dfae8036ce3e780f51bfb3d432b70
|
File details
Details for the file pteropy-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pteropy-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b40a2957970dec97d36cb2fcfb46a07709bbf10e17506b4fa131c5a302bdc5a1
|
|
| MD5 |
ac531be4db6ca41736690461eba1aead
|
|
| BLAKE2b-256 |
bf76762c883a21084d6d30a725cbae0605eee5decd2e05e14266e661a2d866db
|