Skip to main content

A search engine for flask framework using pony orm.

Project description

PonyWhoosh

flask-ponywhoosh

PyPI Package latest release Test

Get a search engine in your flask application using Pony ORM and Whoosh. We included some templates to render the search engine.

Install

$ pip install flask-ponywhoosh

The hard way:

$ git clone https://github.com/jonaprieto/flask-ponywhoosh.git
$ cd flask-ponywhoosh
$ python setup.py install

Example

After installing the package. You can clone this repository in order to run the example or just download the source.

$ git clone https://github.com/jonaprieto/flask-ponywhoosh.git
$ cd flask-ponywhoosh

Then, you can run the example using:

python example.py runserver

You will see in the shell some outputs showing settings of flask-ponywhoosh (debug mode is on by default). We provide two urls by default:

  • localhost/search : the form of the search engine

  • localhost/database : contents of the database for our example

Recall localhost is usually http://127.0.0.1:5000.

Hacking

Customize the templates, URL routes and other stuffs, please checkout the documentation on:

Screenshots

Adding what fields of your models in your database you want to search.

PonyWhoosh PonyWhoosh

Project details


Download files

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

Source Distribution

flask-ponywhoosh-1.0.2.tar.gz (5.0 kB view hashes)

Uploaded source

Built Distributions

flask_ponywhoosh-1.0.2-py2.py3-none-any.whl (7.5 kB view hashes)

Uploaded py2 py3

flask_ponywhoosh-1.0.2-py2.7.egg (10.2 kB view hashes)

Uploaded 2 7

flask_ponywhoosh-1.0.2-py2-none-any.whl (7.5 kB view hashes)

Uploaded py2

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page