Pyaccelerad
Pyaccelerad is a Python interface for Accelerad, designed to mimic the API of Pyradiance.
It wraps the Accelerad binaries (accelerad_rpict, accelerad_rtrace, etc.) allowing you to call them from Python.
Installation
pip install .
Requirements
Accelerad Binaries: You must have Accelerad installed.
By default, Pyaccelerad looks for binaries in:
C:\Program Files\Accelerad\bin
You can override this by setting the ACCELERAD_BIN environment variable to your Accelerad bin directory.
Usage
import pyaccelerad as pa
# Call accelerad_rpict
# Arguments are passed as flags.
# e.g. -ab 5 becomes ab=5
# Positional arguments are passed as a list.
# Example: accelerad_rpict -ab 5 -vf view.vf scene.oct
output_image_data = pa.rpict("scene.oct", ab=5, vf="view.vf")
# You can write the output to a file
with open("output.hdr", "wb") as f:
f.write(output_image_data)
Mapped Functions
The following functions are mapped to their Accelerad counterparts:
rpict->accelerad_rpictrtrace->accelerad_rtracercontrib->accelerad_rcontribrfluxmtx->accelerad_rfluxmtxgenBSDF->accelerad_genBSDF
Notes on Binaries
Accelerad binaries are compiled against specific CUDA versions. Ensure your installed Accelerad version matches your hardware and drivers. Pyaccelerad does not bundle these binaries; it relies on your local installation.
Metadata
Release files for pyaccelerad 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyaccelerad-0.1.1.tar.gz | 7.9 kB | Without provenance | Details for pyaccelerad-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyaccelerad-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for pyaccelerad-0.1.1-py3-none-any.whl |
Total release size: 16.2 kB
Release files / pyaccelerad-0.1.1.tar.gz
| Download URL | pyaccelerad-0.1.1.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ff71c18ec7daec612b2caf0aced69e0b4f90eb02bfdfac23f1b3ac2806976065
|
|
BLAKE2b-256 checksum How to use checksums |
54ced3ea2482a91dcac3d6b96f4274368c5484a5138af4ad4f5427734e20b5b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / pyaccelerad-0.1.1-py3-none-any.whl
| Download URL | pyaccelerad-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c5988df188a9c0274f104ea45bf1415f115d19328ff1144831cba087772d6638
|
|
BLAKE2b-256 checksum How to use checksums |
922e818c7814930e6850f799d0ff8d8d5496ea6c5d3507c8dd8ec0ae740ab65d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Security for pyaccelerad 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.