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

Uploaded Source

Built Distribution

apies-0.0.6-py2.py3-none-any.whl (7.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: apies-0.0.6.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for apies-0.0.6.tar.gz
Algorithm Hash digest
SHA256 480eaf3de14bce445dc722943007a1714aff7c38e2a4536a7f8846226bf78e68
MD5 a20e4cb04378ce93e9db31c78c8e9a49
BLAKE2b-256 e81f7f1eaff24c9832845140a247992b5ff65eec254a55dd19098fd30e74ea44

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: apies-0.0.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for apies-0.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 11531c6dfcd89f3db551312ea7f5ac04e935ba795c1d56ed9417ec9c37a6bb5c
MD5 b5bd5c2e93cb33a380172473d6b2da5b
BLAKE2b-256 df87475321bb2fb003d3836b9a18e1d6bd6ba6fa4a14e22eacbb893338b99464

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