fdray - Python Ray Tracing Interface for POV-Ray
fdray is a Python library that provides a clean interface to POV-Ray, making it easy to create and render 3D scenes programmatically.
Features
- Simple Scene Description: Express 3D scenes in clean, readable Python code
- Pythonic API: Natural integration with Python's ecosystem
- POV-Ray Integration: Seamless integration with a high-quality rendering engine
- Jupyter Support: Interactive scene development in Jupyter notebooks
Installation
pip install fdray
Requires POV-Ray to be installed:
- Linux:
sudo apt-get install povray - macOS:
brew install povray - Windows: Download from POV-Ray website
Quick Start
from fdray import Camera, Color, LightSource, Scene, Sphere
# Create a simple scene
scene = Scene(
Camera(longitude=20, latitude=30),
LightSource(0, Color("white")), # 0: at camera location
Sphere((0, 0, 0), 1, Color("red")),
)
# Render the scene
scene.render(width=800, height=600)
Documentation
For detailed documentation and examples, visit our documentation site.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- POV-Ray team for their excellent ray tracing engine
- The Python community for inspiration and support
Metadata
Release files for fdray 0.1.17
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 | |
|---|---|---|---|---|
| fdray-0.1.17.tar.gz | 28.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fdray-0.1.17-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 63.9 kB
Release files / fdray-0.1.17.tar.gz
| Download URL | fdray-0.1.17.tar.gz |
|---|---|
| Size | 28.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
910d1423518692aeb85c66ade7b0e37b9c2b862c7e9ce0bd0cd7aa7d6444a348
|
|
BLAKE2b-256 checksum How to use checksums |
ea19007d65d926fa37cf6be72fe9e63f6c74677d372f0550991bdee5744d32f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / fdray-0.1.17-py3-none-any.whl
| Download URL | fdray-0.1.17-py3-none-any.whl |
|---|---|
| Size | 35.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e667a9ad6667bde4877bc1c8ca5aea4e298af68a333a062d87c585b17ab39d2b
|
|
BLAKE2b-256 checksum How to use checksums |
7b9de571cdf249fefa02a8f42a76a8491fc84ef14dfa6e704418a47891cec4d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for fdray 0.1.17
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.