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.
Release files for flask-ponywhoosh 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flask-ponywhoosh-1.0.5.tar.gz | 12.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flask_ponywhoosh-1.0.5-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 23.6 kB
Release files / flask-ponywhoosh-1.0.5.tar.gz
| Download URL | flask-ponywhoosh-1.0.5.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
170b104ac5876f5316bd791ef67c29f76d53510173a71ba5b8b1d67a0cd30afa
|
|
BLAKE2b-256 checksum How to use checksums |
0f985e3f24596a8a01ac01dc9c950146312e2ab6da983b71cc18e61350074584
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / flask_ponywhoosh-1.0.5-py2.py3-none-any.whl
| Download URL | flask_ponywhoosh-1.0.5-py2.py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
8f778ed26a14ec7ef93fc658143aed21332c1aff8f7116f0b6240a74b5771cde
|
|
BLAKE2b-256 checksum How to use checksums |
e249b7e453ca461f53396422c287c5635db0086cf1e6d71203ca80188fefced1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |