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
Release history Release notifications | RSS feed
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)
Built Distribution
rgb_lib-0.1.2-py3-none-any.whl
(117.6 MB
view details)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 059c5e38dd077661e0a420afa460e15222ac872ae10f0ef543a37800f7c68185 |
|
MD5 | 8f5e8a3159437e2f71ce2299cb7bec6a |
|
BLAKE2b-256 | 10df3c5d38ad0848364e571d024fe95b919c4848e33c65570e2f15b832d58911 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85320e73f39bcb7e7ad85e66349ef4c90e80aa137a4c18d733d24803412a6741 |
|
MD5 | 1373d786598032af2ed25dec09982403 |
|
BLAKE2b-256 | 229b3fd80659adc1f5bc23979b679e286e50a85aa93db598b71d735f47528e28 |