Skip to main content

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

Project description

https://travis-ci.org/OpenBudget/apies.svg?branch=master http://img.shields.io/coveralls/OpenBudget/apies.svg?branch=master

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:

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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: apies-0.0.16.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.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1

File hashes

Hashes for apies-0.0.16.tar.gz
Algorithm Hash digest
SHA256 e4214ed188a2ecf9976fbb92ef5a286f92b835f6bf9119fdae1a2685f2d28cd4
MD5 0e04be86aefa616409ea6739ab6864ab
BLAKE2b-256 548f40c11ec49cee31f3b775df4da95817b7a6f5743f902f7a95900a9f7985a9

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: apies-0.0.16-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.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1

File hashes

Hashes for apies-0.0.16-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d468af79c90f2e45590a7eb32348414ab35288b3c817eb06c7b27570f4662234
MD5 efe5345549f0c101b74ab63a734e0b08
BLAKE2b-256 b35c47bec40a442abad6f442b14cff90a63099c4906b793286f95f74161a103f

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