A search engine for flask framework using pony orm.
Project description
flask-ponywhoosh
Install the package, import it and start adding what fields of your models in your database you want to search. We included some templates for the search engine.
Install
The easiest way:
$ 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.
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
Built Distribution
Hashes for flask_ponywhoosh-1.0.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98afa7aacb882a65e919b2c7a063ddc0a3900d3c7574a722a14a8931c8451862 |
|
MD5 | 9e861a5d14ab0e8dc198f1d776ae24f0 |
|
BLAKE2b-256 | 5f58ae3926a11ab6a3b4605137677d41524c29302fda14abb2962f9a19a848bb |