OpenImageIO (OIIO) for Python
Project description
py-oiio
Python wheels for OpenImageIO
Currently, just a simple explainer, etc on how to create a usable python module.
Usage
import oiio
from oiio import ImageInput, ImageOutput
from oiio import ImageBuf, ImageSpec, ImageBufAlgo
Everything else should be the same as in the official OIIO documentation.
Windows build steps
- Get vcpkg and run script to install
- Install OpenImageIO
./vcpkg install openimageio[pybind11]:x64-windows - Copy the
vcpkg\installed\x64-windows\lib\python3.10\site-packages\OpenImageIO.cp310-win_amd64.pydfile tooiio - Copy DLLs from
vcpkg\installed\x64-windows\bintooiio - Rename pyd file to
OpenImageIO
Releasing on PyPI
- Follow the above steps to build OpenImageIO for Python
- Navigate to the root directory
- Run
py -m build - Then run
twine upload dist/*and follow the prompts.
License
Licensed under the MIT license.
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
joon_oiio-0.1.tar.gz
(11.6 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
joon_oiio-0.1-py3-none-any.whl
(11.7 MB
view details)
File details
Details for the file joon_oiio-0.1.tar.gz.
File metadata
- Download URL: joon_oiio-0.1.tar.gz
- Upload date:
- Size: 11.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8990bf60040ffa3d01bdbf207a446317c11196f15443d58325391dcd1b4e3f0e
|
|
| MD5 |
465fe737e8e5705b47e46bdb4880a0fc
|
|
| BLAKE2b-256 |
53e8ecbd61b45645b09b9bfbe772a44d317cbf0b88091de252f27ee10ed836a7
|
File details
Details for the file joon_oiio-0.1-py3-none-any.whl.
File metadata
- Download URL: joon_oiio-0.1-py3-none-any.whl
- Upload date:
- Size: 11.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4307ee7246edabad31988ce6bcfac0f165431dee5fda619d8c388e69768d590
|
|
| MD5 |
3ece015816c75af77de95953e67ed2f6
|
|
| BLAKE2b-256 |
98ebddd8e51fd4b804f6bf2198bd62c2e4d0e4eaaadf7426f53a36bad9e7264b
|