Skip to main content

RGB Lib Python language bindings.

Project description

RGB Lib Python bindings

Python bindings for the rgb-lib Rust library.

Installation

From PyPI (wheel)

Install the latest stable release from PyPI by running:

pip install rgb-lib

From source distribution (sdist)

Installation from source distribution (tested on Linux) has the following requirements:

The process is quite long and requires several GB of disk space, due to the builds of the required Docker image and the rgb-lib rust library.

Usage

Once installed, you can import the rgb_lib module and call its APIs.

As an example:

import rgb_lib

keys = rgb_lib.generate_keys(rgb_lib.BitcoinNetwork.REGTEST)
print(keys.account_xpub)

Demo

The demo/ directory contains a demonstration of the most common operations in the form of a Jupyter notebook. See the included README.md file for more details.

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

rgb_lib-0.3.0b6.tar.gz (365.7 kB view details)

Uploaded Source

Built Distributions

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

rgb_lib-0.3.0b6-py3-none-win_amd64.whl (27.2 MB view details)

Uploaded Python 3Windows x86-64

rgb_lib-0.3.0b6-py3-none-manylinux_2_34_x86_64.whl (18.2 MB view details)

Uploaded Python 3manylinux: glibc 2.34+ x86-64

rgb_lib-0.3.0b6-py3-none-manylinux_2_34_aarch64.whl (17.5 MB view details)

Uploaded Python 3manylinux: glibc 2.34+ ARM64

rgb_lib-0.3.0b6-py3-none-macosx_12_0_x86_64.whl (17.4 MB view details)

Uploaded Python 3macOS 12.0+ x86-64

rgb_lib-0.3.0b6-py3-none-macosx_12_0_arm64.whl (16.0 MB view details)

Uploaded Python 3macOS 12.0+ ARM64

File details

Details for the file rgb_lib-0.3.0b6.tar.gz.

File metadata

  • Download URL: rgb_lib-0.3.0b6.tar.gz
  • Upload date:
  • Size: 365.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.4 CPython/3.13.5 Linux/7.0.4+deb13-amd64

File hashes

Hashes for rgb_lib-0.3.0b6.tar.gz
Algorithm Hash digest
SHA256 44ca4426f003729c5e067d9bbdb833e67c5c57d2502c4384d1fab146b4e15b26
MD5 771313db57aa5a327e73b2ab8b0b00a8
BLAKE2b-256 48306ba099659109e85241f636f84d46a105f7bf466193d2310f01301c72a720

See more details on using hashes here.

File details

Details for the file rgb_lib-0.3.0b6-py3-none-win_amd64.whl.

File metadata

  • Download URL: rgb_lib-0.3.0b6-py3-none-win_amd64.whl
  • Upload date:
  • Size: 27.2 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.4 CPython/3.13.5 Linux/7.0.4+deb13-amd64

File hashes

Hashes for rgb_lib-0.3.0b6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 82eb6c76dd166f2031d73bc06927839e7f09c3660cd723f9b7de3c9eee5b1511
MD5 4e745cfb38aefb439db4874a85173b6f
BLAKE2b-256 e4b61a35a36b3b6c42dcef7a1ab650df89ea4cddb206a0b85aabc5639aed0fc8

See more details on using hashes here.

File details

Details for the file rgb_lib-0.3.0b6-py3-none-manylinux_2_34_x86_64.whl.

File metadata

  • Download URL: rgb_lib-0.3.0b6-py3-none-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 18.2 MB
  • Tags: Python 3, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.4 CPython/3.13.5 Linux/7.0.4+deb13-amd64

File hashes

Hashes for rgb_lib-0.3.0b6-py3-none-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 c35545b2749f823bcb1bf8c47e4f47b4155969e20701cfed91ac089018bf51ae
MD5 5d4aa92ad78acb807b3c4f40148b90e5
BLAKE2b-256 0c90b5912bd1c63a55c12ec7c9e1496cf7e3510c57f71dc9480796dde5549589

See more details on using hashes here.

File details

Details for the file rgb_lib-0.3.0b6-py3-none-manylinux_2_34_aarch64.whl.

File metadata

  • Download URL: rgb_lib-0.3.0b6-py3-none-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 17.5 MB
  • Tags: Python 3, manylinux: glibc 2.34+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.4 CPython/3.13.5 Linux/7.0.4+deb13-amd64

File hashes

Hashes for rgb_lib-0.3.0b6-py3-none-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 12ff27e9a3356c51dddc165155083f64fdc5e1691d6ac00e2d14004e219ce88b
MD5 ad2c35ebd95f41ea9f6f2553cb7356b6
BLAKE2b-256 9b5b394354993544e5a6d4e9e3c49cafbc5e7d4b884892e6ac29c5628a5472d8

See more details on using hashes here.

File details

Details for the file rgb_lib-0.3.0b6-py3-none-macosx_12_0_x86_64.whl.

File metadata

  • Download URL: rgb_lib-0.3.0b6-py3-none-macosx_12_0_x86_64.whl
  • Upload date:
  • Size: 17.4 MB
  • Tags: Python 3, macOS 12.0+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.4 CPython/3.13.5 Linux/7.0.4+deb13-amd64

File hashes

Hashes for rgb_lib-0.3.0b6-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 dae28b5f05c8756d98864768bf95cfdae087d36155a33f32448cc2f6e1950107
MD5 b2e74f7d0365eb2bee595508625465df
BLAKE2b-256 b2ece3c02a3aaa3125563aaeafb1e1fc39615493dc7df6c8bce54f0367dea602

See more details on using hashes here.

File details

Details for the file rgb_lib-0.3.0b6-py3-none-macosx_12_0_arm64.whl.

File metadata

  • Download URL: rgb_lib-0.3.0b6-py3-none-macosx_12_0_arm64.whl
  • Upload date:
  • Size: 16.0 MB
  • Tags: Python 3, macOS 12.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.4 CPython/3.13.5 Linux/7.0.4+deb13-amd64

File hashes

Hashes for rgb_lib-0.3.0b6-py3-none-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 0d3408ffc14fdbeacd2f0ab050d81cf87c9b3edb61908d0311c0fd70432af5d4
MD5 367af5f8b2c1ac865c1a85b89e925424
BLAKE2b-256 9185e090ad45d992ecbf2dcd797b666de30bb9587aeb5892a1b32967a90323b6

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