Skip to main content

RGB Lib Python language bindings.

Project description

RGB Lib Python bindings

This project builds a Python library, rgb-lib, for the rgb-lib Rust library, which is included as a git submodule. The bindings are created by the rgb-lib-ffi project, which is located inside the rgb-lib submodule.

Install from PyPI

Install the latest release by running:

pip install rgb-lib

Install locally

Requirements

In order to install the project locally, run:

# Update the submodule
git submodule update --init

# Generate the bindings
./generate.sh

# Build the source and wheels archives
poetry build

# Install the wheel
pip install ./dist/rgb_lib-<version>-py3-none-any.whl

# or install the sdist
pip install ./dist/rgb-lib-<version>.tar.gz

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.0.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

rgb_lib-0.0.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file rgb-lib-0.0.1.tar.gz.

File metadata

  • Download URL: rgb-lib-0.0.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.2 Linux/5.10.0-15-amd64

File hashes

Hashes for rgb-lib-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4d3ac6bb06fa528ca3657c0b81cabd97f326d8254c879f30b20edd57db96dc1a
MD5 34cac70e7aaf62f7fc7def1eff964477
BLAKE2b-256 d944cf21246ddeb1d9a79d84c3757fc5d0a0139588e1910a4c45983a4cb7a315

See more details on using hashes here.

File details

Details for the file rgb_lib-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: rgb_lib-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.2 Linux/5.10.0-15-amd64

File hashes

Hashes for rgb_lib-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e257dd967bdd3d5899b58d9e1be028c4befd0f2431c2f6d242f7d341649cc5e7
MD5 dd5bcd55f2cb99d74fc3f8b9b66923bf
BLAKE2b-256 a459db7c4014d340a427e6fa6c9f3abe9ab86c49f58f1def0bb339842e9b1379

See more details on using hashes here.

Supported by

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