Skip to main content

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 to webycash_sdk/, on LD_LIBRARY_PATH / DYLD_LIBRARY_PATH, or bundled in the wheel.

License

MIT — see repository LICENSE.

Project details


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.14.tar.gz (10.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

webycash_sdk-0.2.14-py3-none-any.whl (10.0 MB view details)

Uploaded Python 3

File details

Details for the file webycash_sdk-0.2.14.tar.gz.

File metadata

  • Download URL: webycash_sdk-0.2.14.tar.gz
  • Upload date:
  • Size: 10.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for webycash_sdk-0.2.14.tar.gz
Algorithm Hash digest
SHA256 7055c8d578b6094d0ae44d29be3910eb0c81825ec132c89b3908b9d9e21e3f74
MD5 630085293ee12a694a2c26fe0ebcedab
BLAKE2b-256 4d7fff9f8b4a581b8db67fc82da51d7e9497620214db4e0357cd6f5b58c94911

See more details on using hashes here.

File details

Details for the file webycash_sdk-0.2.14-py3-none-any.whl.

File metadata

  • Download URL: webycash_sdk-0.2.14-py3-none-any.whl
  • Upload date:
  • Size: 10.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for webycash_sdk-0.2.14-py3-none-any.whl
Algorithm Hash digest
SHA256 2af2e6acd1807add5df78f0987d464a379a937a43e384f283e14b9535913bc15
MD5 505968f496f3034d16b8be2252fc1211
BLAKE2b-256 d5c41ca0c4ab56d66331c83992cc134249d46a4f917c21c06264745ad82d48db

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page