flask-ponywhoosh
Install 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/compiteing/flask-ponywhoosh.git
$ cd flask-ponywhoosh
$ python setup.py install
Example
After installing the package. Clone this repository in order to run the example or just download the source.
$ git clone https://github.com/compiteing/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.
Metadata
Release files for flask-ponywhoosh 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flask_ponywhoosh-1.0-py2.7.egg | Legacy Egg format | - | - | Details |
Release files / flask_ponywhoosh-1.0-py2.7.egg
| Download URL | flask_ponywhoosh-1.0-py2.7.egg |
|---|---|
| Size | 9.8 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
c93ec37e68934823e2d042075e427f2ec7d74cb4f568af85673861f2668b67dd
|
|
BLAKE2b-256 checksum How to use checksums |
ab413933782bcc0f32ffda61b40cf5942df033e9a52677329fabbf8e1e1d9064
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |