Webcash cross-platform SDK — Python bindings
Project description
webycash-sdk (Python)
Python bindings for the Webcash wallet SDK (FFI to libwebycash_sdk).
Install
pip install webycash-sdk
Wheels bundle the native library for common platforms when published.
Quick start
from webycash_sdk import Wallet, version
print(version())
with Wallet("my_wallet.db") as w:
print(w.balance())
Development
From the repository root:
# Build native library, then copy the shared library next to this package:
# cp native/target/release/libwebycash_sdk.* python/webycash_sdk/
pip install -e "python[dev]"
pytest python/tests/
Or run ./scripts/dev-python.sh.
Documentation
Requirements
- Python 3.8+
- Native
libwebycash_sdk(.so/.dylib/.dll) next towebycash_sdk/, onLD_LIBRARY_PATH/DYLD_LIBRARY_PATH, or bundled in the wheel.
License
MIT — see repository LICENSE.
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
webycash_sdk-0.2.16.tar.gz
(9.2 MB
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 webycash_sdk-0.2.16.tar.gz.
File metadata
- Download URL: webycash_sdk-0.2.16.tar.gz
- Upload date:
- Size: 9.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0621aa1cf899f264f84906a65bb76235bf4e65ba245bdbc2c33828d151eca671
|
|
| MD5 |
fb6e530fb8a7b51945afcfb188c5bb82
|
|
| BLAKE2b-256 |
48e3fbe3c7e2e6868688aafc4660a34061071a93fde5b53d0c510e5ab162f490
|
File details
Details for the file webycash_sdk-0.2.16-py3-none-any.whl.
File metadata
- Download URL: webycash_sdk-0.2.16-py3-none-any.whl
- Upload date:
- Size: 9.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
714449cd3b8645dbd2f29a4a5b755c94a46adaf316791771bc941b193c3cf3af
|
|
| MD5 |
bc3b4411836d5173c1a86f64fa02bf11
|
|
| BLAKE2b-256 |
bdbec01e139cba0143e6fa854b743fe3b9f6f9bf9832d63dbb02e67e63f3df3e
|