semvec/pypi-packages huggingface dataset:
pyApp-Redis 1.0
Redis Extension for PyApp
License: BSD-3-Clause
Requires Python: >=3.6
Keywords: application,framework

#############
pyApp - Redis
#############

*Let us handle the boring stuff!*

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
   :target: https://github.com/ambv/black
      :alt: Once you go Black...

This extension provides a `Redis` client factory to allow configuration to be
configured via pyApp settings.

The extension also provides checks to confirm the settings are correct and that
the application is able to connect to the redis instance.

It is strongly recommended to install the `hiredis` companion package to improve
the performance of the redis client.

Installation
============

Install using *pip*::

    pip install pyapp-redis

Install using *pipenv*::

    pipenv install pyapp-redis


Add the `REDIS` block into your runtime settings file::

    REDIS = {
        "default": {
            "url": "redis://user:pass@host:port/1",
        },
    }


.. note::

    The URL is a defined by Redis client see the
    `documentation <https://github.com/andymccurdy/redis-py/blob/master/redis/client.py#L599>`_.
    In addition to the url any argument that can be provided to `Redis.from_url` can be provided.


Usage
=====

The following example creates a `Redis` client instance::

    from pyapp_ext.redis import get_client

    # Get connection
    redis = get_client()

    redis.set("foo")


API
===

`pyapp_ext.redis.get_client(default: str = None) -> Redis`

    Get named `Redis` client instance
census-api 0.0.2
Python wrapper to query the US Census API
License: BSD-3-Clause

# Census API Package

[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/chrispyles/census_api/master?filepath=demo%2Fcensus_api-demo.ipynb)

This package is a wrapper for querying the US Census API. 

## Installation

You can install `census_api` using pip.

```bash
pip install census_api
```

## Branches

The `master` branch contains the current state of `census_api` as it is hosted on PyPI. The `dev` branch contains the next version of `census_api` in development. _Do not commit directly to the `master` branch._ Make commits in the `dev` branch and then PR to the `master` branch before uploading to PyPI.

## Changelog

**v0.0.2:**

* Fixed `__init__.py` import error

**v0.0.1:**

* Initial release!
iso6709 0.1.5
A library for parsing ISO6709 format Degree Minute Second style coordinates.
License: BSD-3-Clause
Keywords: iso6709,coordinates,dms

ISO 6709
========

This is a package for converting ISO6709 formatted strings into decimal representation.

Formats
=======

This library supports the following DMS formats:

- ``±DD.DDDD±DDD.DDDD/`` -  Latitude and Longitude in Degrees
- ``±DDMM.MMMM±DDDMM.MMMM/`` - Latitude and Longitude in Degrees and Minutes
- ``±DDMMSS.SSSS±DDDMMSS.SSSS/`` - Latitude and Longitude in Degrees, Minutes and Seconds

As well as the standard altitude/height suffix: ``±AAAA``

Usage
=====

    >>> from iso6709 import Location
    >>> loc = Location('+27.5916+086.5640+8850/') # Mount Everest
    >>> print (loc.lat.degrees, loc.lng.degrees, loc.alt
    27.5916 86.5640 8850


Changelog
=========

0.1.5 (2019-07-01)
------------------

* Update license clause to SPDX format

0.1.4 (2019-06-28)
------------------

* Add support for negative altitudes (thanks @pistatium!)
* Bumped development versions for security fixes

0.1.3 (2017-08-25)
------------------

* Fix an issue where rst files weren't included in source pkg.

0.1.2 (2017-08-25)
------------------

* First release on PyPI.