semvec/pypi-packages huggingface dataset:
li-autenticador 0.0.7
Engine de autenticação da Loja Integrada
License: MIT

# LI-Autenticador

## Versão:

[![PyPi version](https://pypip.in/v/li-autenticador/badge.png?style=flat)](https://pypi.python.org/pypi/li-autenticador)
[![PyPi downloads](https://pypip.in/d/li-autenticador/badge.png?style=flat)](https://pypi.python.org/pypi/li-autenticador)


## Build Status

### Master

[![Build Status](https://travis-ci.org/lojaintegrada/LI-Autenticador.svg?branch=master)](https://travis-ci.org/lojaintegrada/LI-Autenticador)
[![Coverage Status](https://coveralls.io/repos/lojaintegrada/LI-Autenticador/badge.svg?branch=master)](https://coveralls.io/r/lojaintegrada/LI-Autenticador?branch=master)

## Descrição

Possibilita adicionar autenticação simples a API baseada em Flask.


## Exemplo

Em um módulo que seja acessível a API, de preferência no mesmo onde a App Flask é criada implemente:

módulo app.py

```python
from flask import Flask
import autenticacao_api


autenticacao = autenticacao_api.autenticacao()
autenticacao.define_valor('chave_necessario', 'VALOR-NECESSARIO')

app_flask = Flask("App")
```

No código que precise de autenticação, faça:

módulo recursos.py

```python
import app

@app.app_flask.route("/secure")
@app.autenticacao.requerido
def secure():
    return "Autenticado!"
```
maxrect 0.0.1dev
Find the maximal area rectangle from a polygon.
License: MIT

maxrect
=======

Find the maximally inscribed, axis-aligned rectangle for a given polygon.
Find the intersection of multiple polygons.

.. image:: https://pl-amit.s3.amazonaws.com/demo/maxrect/maximal-rectangle.png


Installation
------------

.. code-block:: bash

    pip install git+https://${GITHUB_TOKEN}@github.com/planetlabs/maxrect.git


CLI
---

.. code-block:: bash


    # For a given GeoJSON file
    $ max-rect [path/to/file]

    # Piping
    $ cat path/to/file.geojson | max-rect

    # For a quick visualization
    $ cat path/to/file.geojson | max-rect | geojsonio

    # For comparison between the original polygon and the inscribed rectangle
    $ cat path/to/file.geojson | max-rect --compare | geojsonio

    # Find the intersection of two geojson files
    poly-intersect path/to/file1.geojson path/to/file2.geojson | geojsonio

    # Find the largest inscribed rectangle that sits within multiple shapes
    poly-intersect path/to/file1.geojson path/to/file2.geojson | max-rect | geojsonio

    # Find the intersection of two geojson files
    poly-intersect path/to/file1.geojson path/to/file2.geojson | geojsonio

    # Find the largest inscribed rectangle that sits within multiple shapes
    poly-intersect path/to/file1.geojson path/to/file2.geojson | max-rect | geojsonio


Python
------

.. code-block:: python

    from maxrect import get_intersection, get_maximal_rectangle, rect2poly

    # For a given convex polygon
    coordinates1 = [ [x0, y0], [x1, y1], ... [xn, yn] ]
    coordinates2 = [ [x0, y0], [x1, y1], ... [xn, yn] ]

    # find the intersection of the polygons
    _, coordinates = get_intersection([coordinates1, coordinates2])

    # get the maximally inscribed rectangle
    ll, ur = get_maximal_rectangle(coordinates)

    # casting the rectangle to a GeoJSON-friendly closed polygon
    rect2poly(ll, ur)
planet_stack_finder 0.0.9
Find local clusters from geojson.
License: MIT
Keywords: stack_finder,planet,planet labs,overlaps

# Planet Labs Stack Finder #

Find locations where there are deep stacks of imagery by clustering the location of geojson polygons. 

Input is a list of geojson dictionaries.

Each dictionary in the list must have keys ['geometry']['coordinates'] or
['coordinates'] 

## Generic Setup ##
`pip install planet_stack_finder`

## Setup from github repo ##
`pip install -e .[test]`

## Tests ##
`pytest`

## CLI ##
```
find-stacks /path/to/file.metadata
cat path/to/file.geojson | planet search | find-stacks
``` 

## Python ##
```
from stackfinder import findstacks
```