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.
Metadata
Release files for joon-oiio 0.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 | |
|---|---|---|---|
| joon_oiio-0.1.tar.gz | 11.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| joon_oiio-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.3 MB
Release files / joon_oiio-0.1.tar.gz
| Download URL | joon_oiio-0.1.tar.gz |
|---|---|
| Size | 11.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8990bf60040ffa3d01bdbf207a446317c11196f15443d58325391dcd1b4e3f0e
|
|
BLAKE2b-256 checksum How to use checksums |
53e8ecbd61b45645b09b9bfbe772a44d317cbf0b88091de252f27ee10ed836a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.9
|
Release files / joon_oiio-0.1-py3-none-any.whl
| Download URL | joon_oiio-0.1-py3-none-any.whl |
|---|---|
| Size | 11.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c4307ee7246edabad31988ce6bcfac0f165431dee5fda619d8c388e69768d590
|
|
BLAKE2b-256 checksum How to use checksums |
98ebddd8e51fd4b804f6bf2198bd62c2e4d0e4eaaadf7426f53a36bad9e7264b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.9
|