balderich-py
- NSSCTF平台API Python包,你可以使用此库来和Balderich后端进行快速交互。编写属于你的自动化bot。
安装
-
你可以直接使用pip来进行安装本包
pip install balderich
-
请注意:你需要使用Python3.8及以上版本来安装本包。
使用
-
你可以通过以下方式来快速的创建一个客户端
import balderich # 直接传入字符串 client = balderich.NSSClient(key='xxx', secret='xxxx') # 传入配置文件路径 client = balderich.NSSClient(balderich.AuthConfig('config.json')) # 传入配置文件IO流 client = balderich.NSSClient(balderich.AuthConfig(open('config.json', 'rb')))
然后你便可以开始使用客户端下各模块API来进行交互,例如查询用户信息
data = client.user.get_user_info(1) print(data)
Metadata
Release files for balderich 1.5
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 | |
|---|---|---|---|---|
| balderich-1.5.tar.gz | 10.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| balderich-1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.1 kB
Release files / balderich-1.5.tar.gz
| Download URL | balderich-1.5.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56d130826d74078eacc861a58d2f9a66d035bfeeb950a1d842818081adbfd118
|
|
BLAKE2b-256 checksum How to use checksums |
45bbae5126849abc912678404ca650eb5e269850a74492876cfb6ed3387f1f00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / balderich-1.5-py3-none-any.whl
| Download URL | balderich-1.5-py3-none-any.whl |
|---|---|
| Size | 13.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
81fa64198d652384440fd51250fea1813e50e5b1a67fac1e7309117eed8dc866
|
|
BLAKE2b-256 checksum How to use checksums |
90944aeb3b3a857281b6f1d8a52e2d302d595934b277c6ffcae06ba25164a5bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for balderich 1.5
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.