AcademySoftwareFoundation / AcademySoftwareFoundation/openvdb
pyopenvdb file streaming
- Dominant language
- C++
- Stars
- 3.4k
- Forks
- 774
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 34
Description
### Is your feature request related to a problem? Please describe.
Currently `pyopenvdb` only supports writing to local disk. This prevents writing directly to a destination in some cases (e.g. to cloud storage).
### Describe the solution you'd like
The vdb read and write functions accept a file object (or pathlike object) instead of a `str`.
### Describe alternatives you've considered
Currently our workaround is to write to a temporary file on local disk and copy it's contents to the destination.
Contributor guide
Research direction
Start at the pyopenvdb vdb read and write entry points and trace how they currently require local paths. Determine how file objects and pathlike objects should be handled, then add coverage for both read and write cases, including a non-local destination; done means callers no longer need a temporary local file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100