semvec/pypi-packages huggingface dataset:
vertexarray 0.1.0
Simple vertex array that avoids repeating vertices
License: MIT

VertexArray
===========

A simple library for efficiently storing & manipulating vertex arrays in python.

Requirements
------------

1. Python 3.+

This library is pure python 3 and has no other requirements.

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

`python3 setup.py install`

Usage
-----

```python

>>> from vertexarray import VertexArray
>>> va = VertexArray()
>>> face = va.extend([(1, 0, 0), (0, 1, 0), (0, 0, 1)])

```

0.1.0 (2016-04-06)
------------------

- Initial development version, copied & renamed from maze-builder.
MIBEL_Downloader 0.66
Downloader for MIBEL Market Prices and Load/Wind Forecasts
License: MIT

Downloader for MIBEL Market Prices and Load/Wind Forecasts
==========================================================

Simple script to download public information provided by the portuguese and spanish TSOs (REN and REE).
Exports information as a csv file and/or as a pandas DataFrame. Takes into account daylight savings time.

This downloader supports:

* MIBEL Day-ahead Energy Market Prices [REN.pt]
* Portuguese Secundary Reserve Prices and Offers [REN.pt]
* Portuguese Terciary Reserve Prices and Offers [REN.pt]
* Iberian Load Forecasts - 7 days ahead [REE.es]
* Iberian Wind Power Forecasts - 24 hours ahead [REE.es]
* Portuguese Generation - hydro, solar, etc... [REN.pt]

Installation
------------

.. code-block:: bash

  pip install MIBEL_Downloader

Dependencies:

* pandas
* BeautifulSoup
* html5lib

Documentation
-------------

.. code-block:: python

    download_range(download_type, start_date, end_date, timezone_, path)

* **download_type**:   'day_ahead_price', 'secondary_reserve', 'tertiary_reserve', 'wind_forecast', 'load_forecast', 'generation_PT', 'secondary_offers','tertiary_offers'
* **start_date**: format Y-m-d
* **end_date**: format Y-m-d
* **timezone\_**: complete list of timezones at: http://stackoverflow.com/questions/13866926/python-pytz-list-of-timezones
* **path**: False(bool) to disable .csv export; empty to use current directory; 'path' to defined specific path

Example
-------

.. code-block:: python

    import MIBEL_Downloader as mibel

    # 'day_ahead_price'
    # 'secondary_reserve'
    # 'tertiary_reserve'
    # 'wind_forecast'
    # 'load_forecast'
    # 'generation_PT'
    # 'secondary_offers'
    # 'tertiary_offers'

    # single download type
    df = mibel.download_range(download_type='day_ahead_price',
                         start_date='2015-01-01',
                         end_date='2015-05-01',
                         timezone_='UTC',
                         path=False)
    print(df['day_ahead_price'])

    # multiple download types
    mibel.download_range(download_type=['day_ahead_price', 'wind_forecast', 'load_forecast'],
                         start_date='2015-01-01',
                         end_date='2015-05-01',
                         timezone_='UTC',
                         path='c:/output/')
Flask-ObjectRocket 0.2.1
User authentication with the ObjectRocket API.
License: MIT

[![Circle CI](https://circleci.com/gh/objectrocket/Flask-ObjectRocket.svg?style=svg)](https://circleci.com/gh/objectrocket/Flask-ObjectRocket) [![codecov.io](https://codecov.io/github/objectrocket/Flask-ObjectRocket/coverage.svg?branch=master)](https://codecov.io/github/objectrocket/Flask-ObjectRocket?branch=master) [![Coverage Status](https://coveralls.io/repos/github/objectrocket/Flask-ObjectRocket/badge.svg?branch=master)](https://coveralls.io/github/objectrocket/Flask-ObjectRocket?branch=master)

Flask-ObjectRocket
==================
A Flask / Flask-RESTful extension implementing support for user authentication with the ObjectRocket API.

#### install
This package is distributed on pypi. You can install it via pip:
```bash
pip install flask-objectrocket
```

#### configuration & usage
Configure this extension as you would any other Flask extension:

```python
from flask import Flask
from flask.ext.objectrocket import ObjectRocket

app = Flask(__name__)
app.config.from_pyfile('app-config.cfg')

# Initialize the extension with init_app.
objectrocket = ObjectRocket()
objectrocket.init_app(app)

# Or initialize the extension directly.
objectrocket = ObjectRocket(app)
```

The following Flask configuration attributes are available for this extension:
```python
# The ObjectRocket APIv2 URL (you should never have to change this).
OBJECTROCKET_BASE_URL = None
# Bind the authenticated user object to flask.g.user for request duration.
OBJECTROCKET_BIND_USER = True
# Cache the authenticated user's instances to flask.g.instances for request duration.
OBJECTROCKET_BIND_INSTANCES = True
```

Now that the extension is initialized, use it with [Flask-RESTful](http://flask-restful.readthedocs.org/en/latest/):

```python
from flask.ext.objectrocket import ObjectRocketResource

class MyResource(ObjectRocketResource):
    """All of this resource's handlers are now protected with ObjectRocket token authentication."""

    def get(self):
        ...

    def post(self):
        ...
```

If you are not using Flask-RESTful, you can also use the [objectrocket_authentication](https://github.com/objectrocket/Flask-ObjectRocket/blob/master/flask_objectrocket.py) decorator and the [ObjectRocketUser](https://github.com/objectrocket/Flask-ObjectRocket/blob/master/flask_objectrocket.py) class directly.

#### tests
`tox` should get you where you need to be. As of this writing, test coverage is at `100%`. It is a good idea to keep it that way.

#### license
Flask-ObjectRocket is distributed under MIT license, see `LICENSE` for more details.