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.0b5.tar.gz (356.2 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.0b5-py3-none-win_amd64.whl (25.6 MB view details)

Uploaded Python 3Windows x86-64

rgb_lib-0.3.0b5-py3-none-manylinux_2_34_x86_64.whl (17.2 MB view details)

Uploaded Python 3manylinux: glibc 2.34+ x86-64

rgb_lib-0.3.0b5-py3-none-manylinux_2_34_aarch64.whl (16.4 MB view details)

Uploaded Python 3manylinux: glibc 2.34+ ARM64

rgb_lib-0.3.0b5-py3-none-macosx_12_0_x86_64.whl (16.4 MB view details)

Uploaded Python 3macOS 12.0+ x86-64

rgb_lib-0.3.0b5-py3-none-macosx_12_0_arm64.whl (15.1 MB view details)

Uploaded Python 3macOS 12.0+ ARM64

File details

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

File metadata

  • Download URL: rgb_lib-0.3.0b5.tar.gz
  • Upload date:
  • Size: 356.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.13.5 Linux/6.19.6+deb13-amd64

File hashes

Hashes for rgb_lib-0.3.0b5.tar.gz
Algorithm Hash digest
SHA256 ef31fe72cc0af6948b1473f7334c83cf8d74b33128726ed6a2c0d2ed23129aec
MD5 82855fedca79f9ce5a8c6b1a47d2132f
BLAKE2b-256 3e3a79ee5d5c10496349c38e68ac74ca0c57d7498a2694c8830d5682bd802bcd

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for rgb_lib-0.3.0b5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5e4e3ec638653148c67306846920ade299a910516fba60696331d89a97098d05
MD5 76ab67fea73459f9d9cac3ba9d9ae5dc
BLAKE2b-256 d9180347a7cb7e1748c1e1a006535d83d07ccb4ff6089bb21701db2de3f48e6c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for rgb_lib-0.3.0b5-py3-none-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 8357b39205022b48b66bfb9f29f92ce4157e9bad90de858d3e4372c32607ff2e
MD5 0c1d5fe250823e4672b543ad372f0ffc
BLAKE2b-256 ef253bc6d02e1f7b75a7c07425a2916399e387aeaf695314f29886535bbf2ffa

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for rgb_lib-0.3.0b5-py3-none-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 319e9a1dadf71daa42617d66ecabfd95065e9a587daa6fb72bfabcc4e0dffa80
MD5 f7a00fc65dad56ab69c66b912408dc89
BLAKE2b-256 0d1ff3210e5200897289c407876072321ec4a082cec996e1b3e646f325704495

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for rgb_lib-0.3.0b5-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 854ef70c23d83ba1cdf8b4b53893760162603d115d903c13d599229654abd233
MD5 0ee2474182e2edc161460c2eb48d9703
BLAKE2b-256 6418e2ad21b452d3d025fed83b8c4746ebad523a3a3d447498207e6d1026c26c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for rgb_lib-0.3.0b5-py3-none-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 9be60447d67e9d16738352373a302dfb36279a7f612e2d78105e1419e32c1b19
MD5 267bd73f9128ab5a75058f4a33c4af4a
BLAKE2b-256 9de1e58ed67c0f67b3701bc7918b951b6ff5d6f48c722288b6b4cbf4968272f4

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