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.
Metadata
Release files for flask-ponywhoosh 1.0.2
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.2.tar.gz | 5.0 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flask_ponywhoosh-1.0.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
| flask_ponywhoosh-1.0.2-py2.7.egg | Legacy Egg format | - | - | Details |
| flask_ponywhoosh-1.0.2-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 30.2 kB
Release files / flask-ponywhoosh-1.0.2.tar.gz
| Download URL | flask-ponywhoosh-1.0.2.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aaef34dffff4885cc1011ec8628249fb5f13e742af45e4f113d940f508425acd
|
|
BLAKE2b-256 checksum How to use checksums |
bb261e75c6f35e5b76175bc8ed1d856ef33319a3849b8c4521bab55878ca5649
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / flask_ponywhoosh-1.0.2-py2.py3-none-any.whl
| Download URL | flask_ponywhoosh-1.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b56de9a483f62eeebf119e1a22d3ac2f7b968157be9c0f19e1f7f0fcb11b8427
|
|
BLAKE2b-256 checksum How to use checksums |
49221126998d9283a326c3b4321e02dfa70e55f436fe374e7ac6e3d946323274
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / flask_ponywhoosh-1.0.2-py2.7.egg
| Download URL | flask_ponywhoosh-1.0.2-py2.7.egg |
|---|---|
| Size | 10.2 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
b079bdb1c8cdde52051497b844d5bdcf4f532e2ae511d05683c2aee6e510689d
|
|
BLAKE2b-256 checksum How to use checksums |
3ddef9a527ce88db054a0bbd15f2fb7e9f58f8d265d4df00502cecc043455de5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / flask_ponywhoosh-1.0.2-py2-none-any.whl
| Download URL | flask_ponywhoosh-1.0.2-py2-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
94e792ad5da738dfdd8d3a0973990dd816fb071b1c4345b4ebca40d13e08a188
|
|
BLAKE2b-256 checksum How to use checksums |
01624ceab3cd07afb8af553254323ff7d49df8928f6b3ed48d26d13c623a9ea0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |