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

Publish

Publishing to PyPI is handled with Poetry.

To configure the access token, which only needs to be done once, run:

poetry config pypi-token.pypi <token>

To publish a new release run:

poetry publish

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.1.2.tar.gz (116.3 MB view details)

Uploaded Source

Built Distribution

rgb_lib-0.1.2-py3-none-any.whl (117.6 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rgb-lib-0.1.2.tar.gz
  • Upload date:
  • Size: 116.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.9.2 Linux/5.18.0-0.deb11.4-amd64

File hashes

Hashes for rgb-lib-0.1.2.tar.gz
Algorithm Hash digest
SHA256 059c5e38dd077661e0a420afa460e15222ac872ae10f0ef543a37800f7c68185
MD5 8f5e8a3159437e2f71ce2299cb7bec6a
BLAKE2b-256 10df3c5d38ad0848364e571d024fe95b919c4848e33c65570e2f15b832d58911

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rgb_lib-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 117.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.9.2 Linux/5.18.0-0.deb11.4-amd64

File hashes

Hashes for rgb_lib-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 85320e73f39bcb7e7ad85e66349ef4c90e80aa137a4c18d733d24803412a6741
MD5 1373d786598032af2ed25dec09982403
BLAKE2b-256 229b3fd80659adc1f5bc23979b679e286e50a85aa93db598b71d735f47528e28

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