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.15.tar.gz (9.2 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.15-py3-none-any.whl (9.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: webycash_sdk-0.2.15.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

Hashes for webycash_sdk-0.2.15.tar.gz
Algorithm Hash digest
SHA256 eac4a217e658bc7a54d865b2392a3bd7d74c7de89a07fb8554b273cb51197c55
MD5 79e8019a456643bb93aa2abce3406d45
BLAKE2b-256 f220166b9eb28fe797e6b1637a1e63ae7f30067504a827410f056609c8503f74

See more details on using hashes here.

File details

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

File metadata

  • Download URL: webycash_sdk-0.2.15-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

Hashes for webycash_sdk-0.2.15-py3-none-any.whl
Algorithm Hash digest
SHA256 35baf00a3fb184368ec375b1a3932fd044e3d280f2ba3ca9a04727e037b3d62f
MD5 13af4cccab1fba58feb8c68bf084256a
BLAKE2b-256 8fa5e57762746f8d438d35050f7776e6d1458621c3c1910bd6b17d4800f15f55

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