This release is a pre-release and may not be stable for production use.
nextx-sdk
Thư viện chính thức để gọi NextX API từ Python, hỗ trợ cả đồng bộ và async.
Mã trong kho này được sinh tự động từ OpenAPI của NextX. Vui lòng không sửa trực tiếp, xem CONTRIBUTING.md.
Cài đặt
pip install nextx-sdk
Yêu cầu Python 3.11 trở lên.
Bắt đầu
import os
from nextx_sdk import create_client, SANDBOX_URL
from nextx_sdk.api.crm import contacts_list
# Khoá API của workspace, tạo trong phần mềm NextX, gửi ở header X-Api-Key
nx = create_client(api_key=os.environ["NEXTX_API_KEY"], base_url=SANDBOX_URL)
page = contacts_list.sync(client=nx, page_size=20)
for c in page.items or []:
print(c.full_name)
# async
page = await contacts_list.asyncio(client=nx, page_size=20)
Ứng dụng đối tác dùng OAuth 2.0 thì tạo client bằng create_client(access_token=token).
Ghi chú
- Mỗi endpoint là một mô-đun trong
nextx_sdk.api.<phân hệ>với 4 hàm:sync,sync_detailed,asyncio,asyncio_detailed. Các hàm*_detailedtrả thêm mã trạng thái và header. - Mặc định client gọi môi trường production (
PROD_URL). Khi thử nghiệm, dùngSANDBOX_URLvới khoá sandbox. - Mã trạng thái không có trong tài liệu sẽ ném
nextx_sdk.errors.UnexpectedStatus.
Tài liệu
- Hướng dẫn: https://developers.nextx.vn/docs/sdk
- Phiên bản và chính sách ngừng hỗ trợ: VERSIONING.md
- Nhật ký thay đổi: CHANGELOG.md
Giấy phép MIT.
Metadata
Release files for nextx-sdk 0.1.1b11
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 |
|---|---|---|---|---|
| nextx_sdk-0.1.1b11.tar.gz | 228.0 kB | With provenance | Details for nextx_sdk-0.1.1b11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nextx_sdk-0.1.1b11-py3-none-any.whl | Python 3 | none | any | Details for nextx_sdk-0.1.1b11-py3-none-any.whl |
Total release size: 726.5 kB
Release files / nextx_sdk-0.1.1b11.tar.gz
| Download URL | nextx_sdk-0.1.1b11.tar.gz |
|---|---|
| Size | 228.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9417e31b5f306f00be0d76c0a837c16f175174fa347f9865dec583476141e5e
|
|
BLAKE2b-256 checksum How to use checksums |
92ff325b994cbeae7f32013ade488d0b15b4b23362696f55fcc7bdb54538a44a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Oct 28, 2026.
Transparency logRelease files / nextx_sdk-0.1.1b11-py3-none-any.whl
| Download URL | nextx_sdk-0.1.1b11-py3-none-any.whl |
|---|---|
| Size | 498.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e69c201a03c7c256c1d0a4c90d557dc8daa87e590a7a96a66017d0986ca24ff1
|
|
BLAKE2b-256 checksum How to use checksums |
5ca645403ae39aaed8d659f59d1649c5891e9edcf1c4020a3b3bcb4e0b5b5c79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Oct 28, 2026.
Transparency logSecurity for nextx-sdk 0.1.1b11
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for nextx_sdk-0.1.1b11.tar.gz
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 Oct 28, 2026.
Transparency logA 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.