semvec/pypi-packages huggingface dataset:
fauxgeo 0.3.0
programmatically generate geospatial rasters for testing
License: BSD
Keywords: fauxgeo

# FauxGeo: generate simple geospatial rasters

FauxGeo is a python library that generates simple OSGeo-supported rasters.  The primary purpose for this library is to help test geoprocessing functions.

![PyPI](https://badge.fury.io/py/fauxgeo.png)
![Build](https://travis-ci.org/wbierbower/fauxgeo.svg?branch=master)

## Features

Available Signal Functions

| Signal Function | RasterFactory Method     |
| :------------- | :------------- |
| uniform      | `.uniform(val)`      |
| ramp | `.ramp(zero_index, slope=1)` |
| saw tooth | `.saw(low, high, period)` |
| triangle | `.triangle(low, high, period)` |
| step | `.step(low, high, period)` |
| random range | `.random(low, high)` |
| random from list | `.random(list)` |
| alternating | `.alternate(val1, val2)` |

## Installation

To install FauxGeo, simply:

```bash
$ pip install fauxgeo
```

## Usage

```python
import numpy as np
from fauxgeo import RasterFactory, Affine

options = {
  'affine': Affine.identity(),
  'epsg': 4326,
  'datatype': np.float32,
  'nodata': -9999,
  'driver': 'GTIFF',
  'shape': (10, 10)
}

factory = RasterFactory(**options)
factory.ramp(0, 10, 5).to_file('path/to/file')
```

## Tests

```bash
$ python setup.py test
```
pyramid-letsencrypt 0.1
A package which provides an easy way to host Let's Encrypt domain validation content in your Pyramid project.
License: BSD
Keywords: wsgi pylons pyramid ssl letsencrypt

.. image:: https://travis-ci.org/niteoweb/pyramid_letsencrypt.svg?branch=master
    :target: https://travis-ci.org/niteoweb/pyramid_letsencrypt


pyramid_letsencrypt
====================

``pyramid_letsencrypt`` provides an easy way to host Let's Encrypt domain
validation content in your Pyramid project, with just a config entry.

This plugin is needed for deployment scenarios where you do not have a
reverse proxy (think Nginx and the lot) in front of your Pyramid app to serve
static content. One of such scenarios is hosting your Pyramid app on Heroku.

Usage
-----

Include ``pyramid_letsencrypt`` in your project and set the
``letsencrypt.content`` setting:

.. code-block:: ini

    pyramid.includes =
        ...
        pyramid_letsencrypt

    letsencrypt.content = FOO.BAR


Testing & development
---------------------

If you have ``tox`` installed, run all tests with:

.. code-block:: bash

    $ tox

To run only a specific Python environment:

.. code-block:: bash

    $ tox -e py35

If you don't have ``tox`` installed, you can install the testing requirements,
then run the tests.

.. code-block:: bash

    $ python3 -m venv env
    $ env/bin/pip install -e ".[testing]"
    $ env/bin/nosetests


Changelog
=========

0.1 (2016-07-24)
----------------

- Initial release.
  [zupo]