XcT x AyOuB - Auto-start Flask API service
Project description
XcT_x_AyOuB
مكتبة Python تُشغّل خدمة Flask API تلقائياً بمجرد استيرادها.
التثبيت
pip install XcT_x_AyOuB
الاستخدام
import XcT_x_AyOuB
بمجرد استيراد المكتبة، يبدأ سيرفر Flask تلقائياً على البورت 5000 (في الخلفية).
Endpoints
GET /— معلومات الخدمةGET /start?uid=<UID>— بدء المهمةGET /stop?uid=<UID>— إيقاف المهمةGET /list— قائمة الأهداف النشطةGET /status— حالة الخدمةGET /info?uid=<UID>— معلومات اللاعبGET /restart— إعادة تشغيل الحساباتGET /settings— قراءة الإعداداتPOST /settings— تحديث الإعدادات (JSON)
متغيرات البيئة
PORT— تغيير البورت (افتراضي 5000)XCT_NO_AUTOSTART=1— تعطيل التشغيل التلقائيXCT_AUTOSTART_MODE=blocking— تشغيل blocking بدل background
وضع Blocking (مثلاً للاستضافة)
import os
os.environ["XCT_AUTOSTART_MODE"] = "blocking"
import XcT_x_AyOuB
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xct_x_ayoub-1.0.0.tar.gz
(28.7 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 xct_x_ayoub-1.0.0.tar.gz.
File metadata
- Download URL: xct_x_ayoub-1.0.0.tar.gz
- Upload date:
- Size: 28.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df1fe00df1ad0a9f7a504ebd37dc13c047123d1fbd4961d7550cc9a640e9610a
|
|
| MD5 |
1aef54f39c57048ec322d8e17f35fe86
|
|
| BLAKE2b-256 |
1800241a66ed2fb5e777cf4d2f33ae269badbff41cf29a2c66eef759ba448d22
|
File details
Details for the file xct_x_ayoub-1.0.0-py3-none-any.whl.
File metadata
- Download URL: xct_x_ayoub-1.0.0-py3-none-any.whl
- Upload date:
- Size: 27.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a97bad8793cc9b86468cc71095cd15b0bf1dbf1756eb77626b4ca870b2ae06e
|
|
| MD5 |
062ac4c7be36930504b38746feef8ac8
|
|
| BLAKE2b-256 |
2a99c54ba6d1b7d63eedea71d3ba9e241ad4765953aa34959c01767368d88c3e
|