Skip to main content

Interactive photogrammetric design for geological objects

Project description

PyPho

This repository provides a Python package dedicated to photogrammetric design called PyPho.
Notebooks for testing and using pypho online are provided in a twin repository: PyPho_notebooks

Development

Current version: 0.0.4
Main repository for PyPho is at: GitHub/PyPho

Dependencies

PyPho primarilly depends on the incredible pyvista package for the interactive scenes and 3D visualisation.
Pyvista in turns relies on trame and interfaces vtk for this.
Note that trame comes with a main package, but requires companion packages to be installed as well to support the various backends.

Some computational aspects such as rotations are imported from scipy
and dataframes manipulations rely on pandas.
Note that numpy is also used, but should be already installed as a dependence of pandas.

Please refer to the pyproject.toml file for a complete list of requirements and versions.
Check the project.dependencies variable.

Environment and Install

It is recommended to create an environment to separate contexts when using python packages.
You can either create a venv or use a conda env.

Installation

See below for creating your environment if needed: Python Virtual Env

For installing PyPho simply run:

python -m pip install pypho

If you want additional dependencies installed, you can add [option].
Here are the available options:

  • for notebook support (recommended for pypho):
    python -m pip install pypho[nb]
    

Python Virtual Env

  • Make sure the python version installed complies with the specifications in the toml file
  • Go to where you'd like to create the env: cd where_you_have_your_envs
  • Create the environment: python -m venv .\pypho
  • Activate it by running the activate script .\pypho\Scripts\activate
  • then install pypho with pip: see installation

Conda Env

  • Start your conda command line.
  • Create and environment based on the desired python version: conda create -c conda-forge -n pypho python=3.11
  • Activate it: conda activate pypho
  • then install pypho with pip: see installation

See the conda documentation for a detailed view of environments: conda envs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypho-0.0.4.tar.gz (261.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypho-0.0.4-py3-none-any.whl (259.2 kB view details)

Uploaded Python 3

File details

Details for the file pypho-0.0.4.tar.gz.

File metadata

  • Download URL: pypho-0.0.4.tar.gz
  • Upload date:
  • Size: 261.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for pypho-0.0.4.tar.gz
Algorithm Hash digest
SHA256 13827dc79a0ba0a45d6614a17e3b6fdbe65f69de99e19ce0251cf24e3ea6f857
MD5 1db0ce0091669941387396908a20c7eb
BLAKE2b-256 5d588691304e05627a31d89ca7ca8ccd35dc0aad5a48341cb75f65cd094c47e6

See more details on using hashes here.

File details

Details for the file pypho-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: pypho-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 259.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for pypho-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e58239a28b954d0e5faf025afcddae597ffd0d8589157b4387280384844684bb
MD5 7eb9d3e042bd02d918138cdb255974ef
BLAKE2b-256 91fa4199712ddbce4567f8bb8139bf03bbcb9259788bb3b0a1098332da5ce3b7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page