semvec/pypi-packages huggingface dataset:
three60cube 0.0.9
A class to project 360x180 images onto a cube
License: MIT
Requires Python: >=3.6

# Three60Cube

A Package to project a 360 x 180 image onto a cube.

## Installation

```
pip install three60cube
```

## Usage

Creation of projection template:
```
from three30cube import Three60Cube

# create instance
transf = Three60Cube()

# open image
transf.open_image("/Users/casperkaandorp/Desktop/streetview/Abstede_1.JPG")

# calculate a projection for one side
transf.get_pane(pane=1, dim=512)

# save transformation template
transf.save_cache("/Users/casperkaandorp/Desktop/streetview/templ.pickle")
```

With the saved transformation template you can perform new projections without 
calculating the transformation:

```
# create instance with transformation template
transf = Three60Cube("/Users/casperkaandorp/Desktop/streetview/templ.pickle")

# open image
transf.open_image("/Users/casperkaandorp/Desktop/streetview/Abstede_2.JPG")

# perform projection, write image to HDD
transf.save_pane("/Users/casperkaandorp/proj_2.JPG", pane=2, dim=512)
```

Panes 0 through 3 are taken from the left to right side of the 360 image. Pane 4 is the top of the cube and pane 5 is the bottom part. The `dim` parameter refers to dimension of the output image; a `dim` of 500 will produce a 500 x 500px image.

To do: testing and meaningful messages when filepaths are incorrect
thegmu-nextcloud-tools 0.2.0
The GMU NextCloud Tools
License: MIT
Keywords: thegmu-nextcloud-tools,nextcloud,git

thegmu-nextcloud-tools
======================


.. image:: https://www.thegmu.com/jaz/static/img/birdie_logo_64x96.png


``thegmu-nextcloud-tools`` is a collection of Python tools for providing additional features to NextCloud (https://nextcloud.com). The NextCloud software is a Dropbox like file sharing service that you host yourself. Our first nextCloud tool is to mirror a GIT repo as an NextCloud folder.


:Authors: Mybrid Wonderful, Gregg Yearwood
:Date: 09/23/2020
:Support: mybrid@thegmu.com
:Version: # -*- coding: utf-8 -*- """ The GMU version for every Python project that is compliant to push to PyPi. """  __version__ = "0.2.0"
:Docs: http://the-gmu-nextcloud-tools.readthedocs.io/
:Source: https://bitbucket.org/thegmu/thegmu-nextcloud-tools
:Dnextload: http://pypi.python.org/pypi/thegmu-nextcloud-tools