Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.

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.0b7.tar.gz (378.4 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.0b7-py3-none-win_amd64.whl (28.3 MB view details)

Uploaded Python 3Windows x86-64

rgb_lib-0.3.0b7-py3-none-manylinux_2_34_x86_64.whl (19.3 MB view details)

Uploaded Python 3manylinux: glibc 2.34+ x86-64

rgb_lib-0.3.0b7-py3-none-manylinux_2_34_aarch64.whl (19.2 MB view details)

Uploaded Python 3manylinux: glibc 2.34+ ARM64

rgb_lib-0.3.0b7-py3-none-macosx_12_0_x86_64.whl (18.4 MB view details)

Uploaded Python 3macOS 12.0+ x86-64

rgb_lib-0.3.0b7-py3-none-macosx_12_0_arm64.whl (17.1 MB view details)

Uploaded Python 3macOS 12.0+ ARM64

File details

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

File metadata

  • Download URL: rgb_lib-0.3.0b7.tar.gz
  • Upload date:
  • Size: 378.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.5 Linux/6.12.95+deb13-amd64

File hashes

Hashes for rgb_lib-0.3.0b7.tar.gz
Algorithm Hash digest
SHA256 0621264cdfd1b3a5c1df1874eb81607130f2566be111cafe03998f0ed083e4a6
MD5 15590811b40b66645010a6778a497cf9
BLAKE2b-256 0203dfa788760892d14c596b968629a0023d52aa926bdb6413bd6b3cccb0a2b3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for rgb_lib-0.3.0b7-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c660f9d39eed6fe99dd275d7889725b9c5308ffd1a50a23449efef1eeb010ae3
MD5 72c311b0317a3b864a9050aff9d7911e
BLAKE2b-256 41143a761cd50c98b9de4d839b253f2bb4667299dd90c7a6adb5d8c5f05b9c37

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for rgb_lib-0.3.0b7-py3-none-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 26787d3b119a7eec21ca2424cbe84a2020dab0ad72ecb66d89a6edda5fc5ab64
MD5 c01e013c29b59ca74c7abd610a79d201
BLAKE2b-256 2ed46ce4ad34e9ddc58129399b0ff2061eb43bb5d6057009499ac936e18d9664

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for rgb_lib-0.3.0b7-py3-none-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 18f312fe3fc8db91cfdc3730906f2579ad8c21043ccb71fc2c04e4470c24f72c
MD5 1312ff92c4e63ed02172b39cca7a971f
BLAKE2b-256 d13cd480f6be2666603078f0d5ed15780422a943dc67c32af6858cbf89936a03

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for rgb_lib-0.3.0b7-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 3b876356dffe2499fbe962eddebf0e9c26c9a18d86b7e9d59cd57dd6f8c82b21
MD5 25ecaedb6fb9321128c52f93200136a9
BLAKE2b-256 293775ea13e55a1682406e43e25e3539e9a5ff24d64b7aa095ac8bdbc8ac26ef

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for rgb_lib-0.3.0b7-py3-none-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 36dee3b39f8aa8919c769ea7188bf7cbe4956754b396119b868bf719024749ba
MD5 69852906437e524a3bd4ecb7c5d256dc
BLAKE2b-256 db088d4af64db1f6496f7a8f76f85ca6d531d739e7fcf1c572a691cf223b0365

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 Sentry Error logging StatusPage Status page