Library for reading, writing and managing Agisoft Photoscan/Metashape PSX projects.
Project description
About
Python library for reading, writing and managing Agisoft Photoscan/Metashape PSX projects. Unofficial.
Pretty rough at the moment.
Questions? Contributions? Bug reports? Open an issue on the gitlab page for the project.
I am very interested in hearing your use cases for pypsxlib
to help drive the roadmap.
Contributors
- Luke Miller
Thanks
pypsxlib
made for '39', supported by Creative Victoria
Roadmap
- Test suite to find where the psx specification is unsupported
Quickstart
Installing
pip install pypsxlib
How do I...
Load a .PSX project
from pypsxlib import Project
project = Project().load_psx("myProject.psx")
Save a .PSX project
project = Project("myProject")
project.path = "/path/for/project"
project.save() # project.name and project.path must be set
Add a Chunk
p = Project("myProject")
p.defaults() # create a new app and document
p.add_chunk() # add an empty chunk
Access a chunk
chunk = p.apps[0].documents[0].chunks[0]
Access thumbnails
chunk.frames[0].thumbnails
Source
git clone https://gitlab.com/dodgyville/pypsxlib.git
Reference
.psx project layout
myProject.psx
myProject.files/
myProject.files/project.zip
myProject.files/<chunkid>/
myProject.files/<chunkid>/chunk.zip
myProject.files/<chunkid>/<frameid>/
myProject.files/<chunkid>/<frameid>/frame.zip
myProject.files/<chunkid>/<frameid>/thumbnails/
myProject.files/<chunkid>/<frameid>/thumbnails/thumbnails.zip
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
pypsxlib-0.1.0.tar.gz
(7.5 kB
view hashes)