semvec/pypi-packages huggingface dataset:
pyramid-arima 0.9.0
Python's forecast::auto.arima equivalent
License: MIT
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4
Keywords: arima timeseries forecasting pyramid pyramid-arima scikit-learn statsmodels

[![PyPI version](https://badge.fury.io/py/pyramid-arima.svg)](https://badge.fury.io/py/pyramid-arima)
[![Linux build status](https://travis-ci.org/tgsmith61591/pyramid.svg?branch=master)](https://travis-ci.org/tgsmith61591/pyramid)
[![Windows build status](https://ci.appveyor.com/api/projects/status/592vawuu69kd6d21?svg=true)](https://ci.appveyor.com/project/tgsmith61591/pyramid)
[![PyPy build status](https://circleci.com/gh/tgsmith61591/pyramid.svg?style=svg)](https://circleci.com/gh/tgsmith61591/pyramid)
[![codecov](https://codecov.io/gh/tgsmith61591/pyramid/branch/master/graph/badge.svg)](https://codecov.io/gh/tgsmith61591/pyramid)
![Supported versions](https://img.shields.io/badge/python-2.7-blue.svg)
![Supported versions](https://img.shields.io/badge/python-3.5-blue.svg)

# pyramid
Pyramid is a no-nonsense statistical Python library with a solitary objective: bring R's
[`auto.arima`](https://www.rdocumentation.org/packages/forecast/versions/7.3/topics/auto.arima)
functionality to Python. Pyramid operates by wrapping
[`statsmodels.tsa.ARIMA`](https://github.com/statsmodels/statsmodels/blob/master/statsmodels/tsa/arima_model.py) and
[`statsmodels.tsa.statespace.SARIMAX`](https://github.com/statsmodels/statsmodels/blob/master/statsmodels/tsa/statespace/sarimax.py)
into one estimator class and creating a more user-friendly estimator interface for programmers familiar with scikit-learn.


## Installation

Pyramid is on pypi under the package name `pyramid-arima` and can be downloaded via `pip`:

```bash
$ pip install pyramid-arima
```

To ensure the package was built correctly, import the following module in python:

```python
from pyramid.arima import auto_arima
```


### Documentation

All of your questions and more (including examples and guides) can be answered
by the [Pyramid documentation](https://www.alkaline-ml.com/pyramid). If not,
always feel free to file an issue.
pygame.snake 0.0.1a0
The super-simple pygame framework.
License: MIT
Keywords: engine python pygame

# pygame.snake

_Snake supports scenes through the `@game.scene` decorator. This
README doesn't cover them though. Despite that, snake's scenes are
awesome, look out for the documentation for them when I make it!_

---

Snake has been designed with the absolute beginner in mind.
None of that fussing around with `pygame.event.get()`,
`pygame.display.set_mode()`, `pygame.image.load()`, etc.

In fact, you can make a game in snake without `import pygame`
anywhere! A lot of the following code snippets are actually entire
snake projects. It's that simple to use.

```py
import snake

game = snake.Game()

while True:
    game.next_frame()
    game.assets.player.stamp((0, 0))
```

`game.assets`? That's the `assets/` folder automatically loaded
with file types detected and filtered into the right things for you.

`game.assets.player` could have been `assets/player.png`. It might
also have been `assets/player.jpg` or any other image format. Snake
doesn't care.

That's boring. Let's get some user input going on:

```py
import snake

game = snake.Game()

while True:
    events = game.next_frame()

    if events.keys.space:
        print("Space is pressed!")
    else:
        print("Space isn't pressed")
```

That was easy. Notice how the keyboard was dropped into `events.keys`?
Let's have a look at mouse input:

```py
print("Mouse is at " + str(events.mouse.pos))
```

Nice. I wonder if we can scroll?

```py
if events.scroll.up:
    print("Scroll up")
```

Oh. Nice. My game's a little more advanced though. I'm going to need
some sprites. No worries.

```py
player = game.sprite(game.assets.player)

while True:
    game.next_frame()
    player.x += 1
```

Too easy. Onto fonts:

```py
label = game.sprite(game.assets.my_font)

while True:
    events = game.next_frame()

    if events.keys.space:
        label.text = "Space is pressed"
    else:
        label.text = "Space is not pressed"
```

Remember that `game.assets.my_font` is going to be
`assets/my_font.ttf`, so make sure you have a font file there.

Quitting isn't even something that needs to be covered. It's handled
implicitly for you. No problems there.

Now at the moment everything has been working with the origin, but
that's boring. Let's add an FPS counter in the top right corner.

```py
counter = game.sprite(game.assets.my_font)
counter.stick = game.NE

while True:
    game.next_frame()

    counter.text = str(round(game.fps, 2))
```

We've got a few new things here. The important part is
`counter.stick` which tells snake where to place the sprite.
North-east is the top right which is what we want. The default is
`game.CENTRE`. The other new thing is `game.fps`. No surprises there;
it's the FPS.

I don't like the fact the text is mushed right against the side of the
window though. Let's fix that:

```py
counter = game.sprite(game.assets.my_font, x=32, y=32)
```

Now we're offsetting it by 32 pixels in both directions. Easy as
anything.
yedis 2.10.6.0
Python client for Redis key-value store, extended to support additional features from YugaByteDB
License: MIT
Keywords: YugaByte,YugaByteDB,Yedis,Redis,key-value store

yedis
========

The Python interface to the Redis key-value store, extended to support additional features from YugaByteDB.

This has been forked from https://github.com/andymccurdy/redis-py and is intended to be
used against the YEDIS API end point of YugaByteDB. This client also supports additional
commands (such as the time-series related commands) for use against YugaByte DB that
are not part of the official Redis API.

Please refer to `YugaByte DB docs <https://docs.yugabyte.com/>`_ for reference.


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

yedis requires a running YugaByteDB instance listening on the YEDIS end point, or a normal Redis server. See `YugaByteDB quickstart <https://docs.yugabyte.com/v1.0/quick-start/install/>`_ or `Redis's quickstart
<http://redis.io/topics/quickstart>`_ for installation instructions.

To install yedis, simply:

.. code-block:: bash

    $ sudo pip install yedis

or alternatively (you really should be using pip though):

.. code-block:: bash

    $ sudo easy_install yedis

or from source:

.. code-block:: bash

    $ sudo python setup.py install


Getting Started
---------------

.. code-block:: pycon

    >>> import redis
    >>> r = redis.StrictRedis(host='localhost', port=6379, db=0)
    >>> r.set('foo', 'bar')
    True
    >>> r.get('foo')
    'bar'

By default, all responses are returned as `bytes` in Python 3 and `str` in
Python 2. The user is responsible for decoding to Python 3 strings or Python 2
unicode objects.

If **all** string responses from a client should be decoded, the user can
specify `decode_responses=True` to `StrictRedis.__init__`. In this case, any
Redis command that returns a string type will be decoded with the `encoding`
specified.

API Reference
-------------
Please refer to `YugaByte API Refernce <https://docs.yugabyte.com/latest/api/>`_ for details on
the commmands that Yugabyte's YEDIS end point supports.
For other use cases, the `official Redis command documentation <http://redis.io/commands>`_ does a
great job of explaining each command in detail.

yedis is forked off redis-py, please refer to
https://github.com/andymccurdy/redis-py for the details of the implementation and limitations.

Author
^^^^^^

yedis is based on a fork of redis-py, extended to support the additional
commands for use against YugaByteDB's YEDIS API end point.

redis-py is developed and maintained by Andy McCurdy (sedrik@gmail.com).
It can be found here: http://github.com/andymccurdy/redis-py
geokey-dataimports 0.5.0
Import data from various formats into GeoKey
License: MIT

.. image:: https://img.shields.io/pypi/v/geokey-dataimports.svg
    :alt: PyPI Package
    :target: https://pypi.python.org/pypi/geokey-dataimports

.. image:: https://img.shields.io/travis/ExCiteS/geokey-dataimports/master.svg
    :alt: Travis CI Build Status
    :target: https://travis-ci.org/ExCiteS/geokey-dataimports

.. image:: https://img.shields.io/coveralls/ExCiteS/geokey-dataimports/master.svg
    :alt: Coveralls Test Coverage
    :target: https://coveralls.io/r/ExCiteS/geokey-dataimports

geokey-dataimports
==================

Import data from various formats (GeoJSON, KML, CSV) into GeoKey.

Install
-------

geokey-dataimports requires:

- Python version 2.7
- GeoKey version 1.6 or greater

Install the geokey-dataimports from PyPI:

.. code-block:: console

    pip install geokey-dataimports

Or from cloned repository:

.. code-block:: console

    cd geokey-dataimports
    pip install -e .

Add the package to installed apps:

.. code-block:: python

    INSTALLED_APPS += (
        ...
        'geokey_dataimports',
    )

Migrate the models into the database:

.. code-block:: console

    python manage.py migrate geokey_dataimports

Copy static files:

.. code-block:: console

    python manage.py collectstatic

You're now ready to go!

Run within Docker container
---------------------------

If you're cloning the repository and have GeoKey running within a Docker container, configure it like such:

1. Make sure repositories are cloned next to each other, e.g. file structure is:

.. code-block:: console

    /MyProjects/geokey/
    /MyProjects/geokey-dataimports/

2. Modify *Dockerfile* (within "geokey" repository) so that it looks similar to:

.. code-block:: console

    ...
    ADD /geokey /app
    ADD /geokey-dataimports /extensions/geokey-dataimports
    ...
    RUN pip install -e /app
    RUN pip install -e /extensions/geokey-dataimports

3. Modify *docker-compose.yml* and add a new volume:

.. code-block:: console

    ...
    volumes:
      - ./geokey:/app/geokey
      - ../geokey-dataimports/geokey_dataimports:/extensions/geokey-dataimports/geokey_dataimports
    ...

You can also run migrations, make new ones, etc. using *geokey* container. For example, to run only geokey-dataimports tests:

.. code-block:: console

    docker-compose exec geokey python manage.py test geokey_dataimports

Update
------

Update the geokey-dataimports from PyPI:

.. code-block:: console

    pip install -U geokey-dataimports

Migrate the new models into the database:

.. code-block:: console

    python manage.py migrate geokey_dataimports

Copy new static files:

.. code-block:: console

    python manage.py collectstatic

Test
----

Run tests:

.. code-block:: console

    python manage.py test geokey_dataimports

Check code coverage:

.. code-block:: console

    coverage run --source=geokey_dataimports manage.py test geokey_dataimports
    coverage report -m --omit=*/tests/*,*/migrations/*