monacloud
SDK Python chính thức, zero-dependency, cho MONA Cloud. Client đồng bộ dùng urllib trong standard library, chạy trên Python 3.9+ và mặc định gọi https://api.monacloud.vn.
Cài đặt
pip install monacloud
Deploy app và đợi job
import os
from monacloud import MonaCloud
token = os.environ["MONACLOUD_TOKEN"]
sandbox = MonaCloud(token=token, sandbox=True)
preview = sandbox.create_vps({"app_name": "demo-app", "package_slug": "standard-1"})
preview_done = sandbox.wait_job(preview["id"], timeout=60)
print("sandbox:", preview_done["result"])
cloud = MonaCloud(token=token)
job = cloud.create_vps({"app_name": "demo-app", "package_slug": "standard-1"})
done = cloud.wait_job(job["id"], timeout=600)
print("production:", done["result"])
Client hỗ trợ prices, packages, tạo VPS/database, đọc và chờ job, list/start/stop/rebuild/delete service và me. Mọi lỗi API là MonaCloudError với code, message, next_step, status và body.
Sandbox vẫn dùng header kỹ thuật X-Vibecloud-Sandbox: 1; token vc_live_* tiếp tục tương thích.
Test offline
python -m unittest
Xem hướng dẫn AI agent.
Metadata
Release files for monacloud 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| monacloud-0.1.0.tar.gz | 8.0 kB | Without provenance | Details for monacloud-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| monacloud-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for monacloud-0.1.0-py3-none-any.whl |
Total release size: 14.5 kB
Release files / monacloud-0.1.0.tar.gz
| Download URL | monacloud-0.1.0.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75c20533be2bb8935fb0cd325b3e8bd55392be2ea43fdd1353b0e70859cb2230
|
|
BLAKE2b-256 checksum How to use checksums |
eea622aa0ab7975c94825111d675810bab9a8ab62b09407f03e266cabd9fb0ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / monacloud-0.1.0-py3-none-any.whl
| Download URL | monacloud-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
36c4b3824d436091eda93e96c6c3cdfc8cee7200addae3ebb096c81520112bb8
|
|
BLAKE2b-256 checksum How to use checksums |
d2b7ef00f52e1c33add4573acb023fb4fae68361d4c87f6c78e663cdeae2e477
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Security for monacloud 0.1.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.