Skip to main content

A flask blueprint providing an API for accessing and searching an ElasticSearch index created from source datapackages

Project description

# apies

[![Travis](https://img.shields.io/travis/OpenBudget/apies/master.svg)](https://travis-ci.org/datahq/apies)
[![Coveralls](http://img.shields.io/coveralls/OpenBudget/apies.svg?branch=master)](https://coveralls.io/r/OpenBudget/apies?branch=master)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/apies.svg)

apies is a flask blueprint providing an API for accessing and searching an ElasticSearch index created from source datapackages.

## endpoints

TBD

## configuration

Flask configuration for this blueprint:

```python
from apies import apies_blueprint
import elasticsearch

app.register_blueprint(
apies_blueprint(['path/to/datapackage.json', Package(), ...],
elasticsearch.Elasticsearch(...),
'index-to-search-in',
document_doctype='document',
dont_highlight=['fields', 'not.to', 'highlight']),
url_prefix='/search/'
)

```

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apies-0.0.13.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

apies-0.0.13-py2.py3-none-any.whl (8.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file apies-0.0.13.tar.gz.

File metadata

  • Download URL: apies-0.0.13.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for apies-0.0.13.tar.gz
Algorithm Hash digest
SHA256 542d48c66dbee1e33c1af38367cbf45e34f87da08d90ab9f3563e2342c2f03ff
MD5 f48a2d1e77b4996585e4ed13a846c675
BLAKE2b-256 d4b802a031cdaa78abf8430fd6cdd57fbd500723d44b060e74de5a3793a041dd

See more details on using hashes here.

Provenance

File details

Details for the file apies-0.0.13-py2.py3-none-any.whl.

File metadata

  • Download URL: apies-0.0.13-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for apies-0.0.13-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c1c438a6886fea29729f7ec4317648c44f2409fec14bdf59cfc0b0c50a42bd80
MD5 ab3c226d2463fd40e45b0882cfcef682
BLAKE2b-256 f2da3ce0f8b8681b95da7c4ca06a6de3d4af916c77e1ece893f912789373ea7e

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page