A search engine for flask framework using pony orm.
Project description
flask-ponywhoosh
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.
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 Distributions
Hashes for flask_ponywhoosh-1.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b56de9a483f62eeebf119e1a22d3ac2f7b968157be9c0f19e1f7f0fcb11b8427 |
|
MD5 | 6c21c3cb8aa5485d215520a503b6acb4 |
|
BLAKE2b-256 | 49221126998d9283a326c3b4321e02dfa70e55f436fe374e7ac6e3d946323274 |
Hashes for flask_ponywhoosh-1.0.2-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | b079bdb1c8cdde52051497b844d5bdcf4f532e2ae511d05683c2aee6e510689d |
|
MD5 | fc1ea2ab2d55ec507a2ecc7247e2751a |
|
BLAKE2b-256 | 3ddef9a527ce88db054a0bbd15f2fb7e9f58f8d265d4df00502cecc043455de5 |
Hashes for flask_ponywhoosh-1.0.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94e792ad5da738dfdd8d3a0973990dd816fb071b1c4345b4ebca40d13e08a188 |
|
MD5 | d551cb35f11615dadf8689c9e0c6e7c5 |
|
BLAKE2b-256 | 01624ceab3cd07afb8af553254323ff7d49df8928f6b3ed48d26d13c623a9ea0 |