This release is a pre-release and may not be stable for production use.
dsm-app-client (Python)
Plug your app into DSM: a client for a dsm-app-host's local ingress, which is your app's own DSM account. Python 3.10+, standard library plus protobuf.
Its protobuf types (dsm_app_client/generated/dsm_app_pb2.py) are committed, so it installs with no protoc. From a release, install.sh puts its wheel in ~/.local/share/dsm/clients:
python3 -m venv .venv && . .venv/bin/activate
pip install ~/.local/share/dsm/clients/dsm_app_client-0.1.0b4-py3-none-any.whl
python3 ~/.local/share/dsm/examples/account_status.py
From the repo root, pip install -e clients/python instead, and the examples are in clients/python/examples: account_status.py (your account at a glance) and first_payment.py (a connect code, a wallet, 0.05 ERA received). After a change to proto/dsm_app.proto, make client-types regenerates the types; CI fails when they differ (ci/client_types_check.sh).
AppAccount:offer,connections,request,result,wait;issue,give;open_vault,vaults,close_vault;decide;owned,owns,identity,fund; andingress.activity.WalletAccount:preview,approve,connections,sync,pending,respond,log,disconnect.grant.*builds what an offer asks for;ask.*builds requests (send,owns,accept,contacts,login,sign,price,trade,match.*,duel.*).- Objects are named by symbol (
"ERA","SWORD") or id; amounts in the object's own units ("0.10"). Results are plain dataclasses:outcome,fact,owns,signed, with the wire's message asraw.pbis every generated message. local_app()andlocal_wallet("wallet" | "wallet2")find the accountsdsm-app upanddsm-dev-wallet up(or, from the repo,make app-devandmake dev-wallet) run. Elsewhere,AppAccount(Ingress.from_secret_file(url, secret_file)).
The guide: BUILDING_APPS.md.
Metadata
Release files for dsm-app-client 0.1.0b4
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 |
|---|---|---|---|---|
| dsm_app_client-0.1.0b4.tar.gz | 75.0 kB | Without provenance | Details for dsm_app_client-0.1.0b4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dsm_app_client-0.1.0b4-py3-none-any.whl | Python 3 | none | any | Details for dsm_app_client-0.1.0b4-py3-none-any.whl |
Total release size: 150.5 kB
Release files / dsm_app_client-0.1.0b4.tar.gz
| Download URL | dsm_app_client-0.1.0b4.tar.gz |
|---|---|
| Size | 75.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a02e4d88b2af89a3c6d8c86705eaefdca31ffc28ca7954a4499b497fbca2a7c4
|
|
BLAKE2b-256 checksum How to use checksums |
4d402ae6f6d640b7d6cf8c0b508343e7e0d17747c0339c879bbaca9b3870e8b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.2
|
Release files / dsm_app_client-0.1.0b4-py3-none-any.whl
| Download URL | dsm_app_client-0.1.0b4-py3-none-any.whl |
|---|---|
| Size | 75.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f83060f6c4af35a229e99e7952aa915b78fa10beb5a27749019bd5d4ecec6e71
|
|
BLAKE2b-256 checksum How to use checksums |
f3ecd0a953ec55fbd3849a8bde1b9f871b906b006c82b0a3f1a729065800f795
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.2
|
Security for dsm-app-client 0.1.0b4
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.