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.10.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

apies-0.0.10-py2.py3-none-any.whl (8.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for apies-0.0.10.tar.gz
Algorithm Hash digest
SHA256 d8207b9c6007807cf067404648c7cadf5bb6781d9d80bd0291603c860593ec7b
MD5 cf63bdb2a2068d04e3520388853f265e
BLAKE2b-256 911c3de118552eaa0a882a525eb8a357582a0f0efe2fd829fcff7c9e0f69beba

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: apies-0.0.10-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.2 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/40.9.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for apies-0.0.10-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d21c5bedf1b21e838be34b888aa14867b58fbd69dcff763901a35e57f0aae751
MD5 1b71ef87f3bd6bf985175b415de621a0
BLAKE2b-256 7ca2848845ec1ce6e21c1ee9f54a23266892f7269b288af2c2c269e414e2b762

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