fdray


Namefdray JSON
Version 0.1.14 PyPI version JSON
download
home_pageNone
SummaryA Python interface for POV-Ray (Persistence of Vision Raytracer)
upload_time2025-07-27 00:10:08
maintainerNone
docs_urlNone
authorNone
requires_python>=3.11
licenseMIT License Copyright (c) 2024 Daizu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords 3d graphics pov-ray povray ray-tracing rendering
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # fdray - Python Ray Tracing Interface for POV-Ray

[![PyPI Version][pypi-v-image]][pypi-v-link]
[![Python Version][python-v-image]][python-v-link]
[![Build Status][GHAction-image]][GHAction-link]
[![Coverage Status][codecov-image]][codecov-link]

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

```bash
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](https://www.povray.org/download/)

## Quick Start

```python
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](https://daizutabi.github.io/fdray/).

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Acknowledgments

- POV-Ray team for their excellent ray tracing engine
- The Python community for inspiration and support

<!-- Badges -->
[pypi-v-image]: https://img.shields.io/pypi/v/fdray.svg
[pypi-v-link]: https://pypi.org/project/fdray/
[python-v-image]: https://img.shields.io/pypi/pyversions/fdray.svg
[python-v-link]: https://pypi.org/project/fdray
[GHAction-image]: https://github.com/daizutabi/fdray/actions/workflows/ci.yaml/badge.svg?branch=main&event=push
[GHAction-link]: https://github.com/daizutabi/fdray/actions?query=event%3Apush+branch%3Amain
[codecov-image]: https://codecov.io/github/daizutabi/fdray/coverage.svg?branch=main
[codecov-link]: https://codecov.io/github/daizutabi/fdray?branch=main

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "fdray",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": null,
    "keywords": "3d, graphics, pov-ray, povray, ray-tracing, rendering",
    "author": null,
    "author_email": "daizutabi <daizutabi@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/2f/90/900e55e1f9a73a41cde473ac477da8700ead7ee30efd9f2d4135d0d3a0be/fdray-0.1.14.tar.gz",
    "platform": null,
    "description": "# fdray - Python Ray Tracing Interface for POV-Ray\n\n[![PyPI Version][pypi-v-image]][pypi-v-link]\n[![Python Version][python-v-image]][python-v-link]\n[![Build Status][GHAction-image]][GHAction-link]\n[![Coverage Status][codecov-image]][codecov-link]\n\nfdray is a Python library that provides a clean interface to POV-Ray,\nmaking it easy to create and render 3D scenes programmatically.\n\n## Features\n\n- **Simple Scene Description**: Express 3D scenes in clean, readable Python code\n- **Pythonic API**: Natural integration with Python's ecosystem\n- **POV-Ray Integration**: Seamless integration with a high-quality rendering engine\n- **Jupyter Support**: Interactive scene development in Jupyter notebooks\n\n## Installation\n\n```bash\npip install fdray\n```\n\nRequires POV-Ray to be installed:\n\n- **Linux**: `sudo apt-get install povray`\n- **macOS**: `brew install povray`\n- **Windows**: Download from [POV-Ray website](https://www.povray.org/download/)\n\n## Quick Start\n\n```python\nfrom fdray import Camera, Color, LightSource, Scene, Sphere\n\n# Create a simple scene\nscene = Scene(\n    Camera(longitude=20, latitude=30),\n    LightSource(0, Color(\"white\")),  # 0: at camera location\n    Sphere((0, 0, 0), 1, Color(\"red\")),\n)\n\n# Render the scene\nscene.render(width=800, height=600)\n```\n\n## Documentation\n\nFor detailed documentation and examples, visit our\n[documentation site](https://daizutabi.github.io/fdray/).\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- POV-Ray team for their excellent ray tracing engine\n- The Python community for inspiration and support\n\n<!-- Badges -->\n[pypi-v-image]: https://img.shields.io/pypi/v/fdray.svg\n[pypi-v-link]: https://pypi.org/project/fdray/\n[python-v-image]: https://img.shields.io/pypi/pyversions/fdray.svg\n[python-v-link]: https://pypi.org/project/fdray\n[GHAction-image]: https://github.com/daizutabi/fdray/actions/workflows/ci.yaml/badge.svg?branch=main&event=push\n[GHAction-link]: https://github.com/daizutabi/fdray/actions?query=event%3Apush+branch%3Amain\n[codecov-image]: https://codecov.io/github/daizutabi/fdray/coverage.svg?branch=main\n[codecov-link]: https://codecov.io/github/daizutabi/fdray?branch=main\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 Daizu  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "A Python interface for POV-Ray (Persistence of Vision Raytracer)",
    "version": "0.1.14",
    "project_urls": {
        "Documentation": "https://daizutabi.github.io/fdray/",
        "Issues": "https://github.com/daizutabi/fdray/issues",
        "Source": "https://github.com/daizutabi/fdray"
    },
    "split_keywords": [
        "3d",
        " graphics",
        " pov-ray",
        " povray",
        " ray-tracing",
        " rendering"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "a0930f1bb2c58340dd6a410218f7a8ab16c2760809aabe16caf610ffdd1ad202",
                "md5": "26fb5cc6e9c95393df3e05dd02218e6f",
                "sha256": "298f17a4626f1bb1d3d952e0252fadf8ebed9e7d1b86c8ba1c5c6bafeb102068"
            },
            "downloads": -1,
            "filename": "fdray-0.1.14-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "26fb5cc6e9c95393df3e05dd02218e6f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 35443,
            "upload_time": "2025-07-27T00:10:06",
            "upload_time_iso_8601": "2025-07-27T00:10:06.336719Z",
            "url": "https://files.pythonhosted.org/packages/a0/93/0f1bb2c58340dd6a410218f7a8ab16c2760809aabe16caf610ffdd1ad202/fdray-0.1.14-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "2f90900e55e1f9a73a41cde473ac477da8700ead7ee30efd9f2d4135d0d3a0be",
                "md5": "b5894113e1bd1587adc93896ebdc66cd",
                "sha256": "08b3c45411e84be0b40d1b1a28b6c2ca90c788cecb6fa303ba4473c6dff3bc18"
            },
            "downloads": -1,
            "filename": "fdray-0.1.14.tar.gz",
            "has_sig": false,
            "md5_digest": "b5894113e1bd1587adc93896ebdc66cd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 6360717,
            "upload_time": "2025-07-27T00:10:08",
            "upload_time_iso_8601": "2025-07-27T00:10:08.679159Z",
            "url": "https://files.pythonhosted.org/packages/2f/90/900e55e1f9a73a41cde473ac477da8700ead7ee30efd9f2d4135d0d3a0be/fdray-0.1.14.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-27 00:10:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "daizutabi",
    "github_project": "fdray",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "fdray"
}
        
Elapsed time: 1.65929s