flask-ponywhoosh
It’s the easiest way to add a search engine in your flask application on the shoulders of Pony ORM and Whoosh. To prove this, we’ve included some templates to render the search engine. Just checkout the example.
Install
The natural way:
$ pip install flask-ponywhoosh
Using the source:
$ git clone https://github.com/jonaprieto/flask-ponywhoosh.git
$ cd flask-ponywhoosh
If you are using python 2:
$ make install-py2
If you are using python 2:
$ make install-py3
A small example
Download the source of this package:
$ git clone https://github.com/jonaprieto/flask-ponywhoosh.git
$ cd flask-ponywhoosh
Then, you can run the example running these commands:
$ pip install -r requirements.txt
$ 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>/ : the form of the search engine
<localhost>/database : raw content of the test database
<localhost> is often 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.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flask-ponywhoosh-1.0.9.tar.gz | 14.3 kB | Without provenance | Details for flask-ponywhoosh-1.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flask_ponywhoosh-1.0.9-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for flask_ponywhoosh-1.0.9-py2.py3-none-any.whl |
Total release size: 25.9 kB
Release files / flask-ponywhoosh-1.0.9.tar.gz
| Download URL | flask-ponywhoosh-1.0.9.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd5d0db32b224eaa846e390b75a9b9975a063498e209003e4ec73f55f4904da6
|
|
BLAKE2b-256 checksum How to use checksums |
0fbef0ae57e7166f3ea1361832a55490f9986290587af2d7b465f11e982d32f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / flask_ponywhoosh-1.0.9-py2.py3-none-any.whl
| Download URL | flask_ponywhoosh-1.0.9-py2.py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
6d490d1963d30f05aab6db52457a7e4e38185c1a273cc4b40958004e619c9daa
|
|
BLAKE2b-256 checksum How to use checksums |
4ad25762feeece37ce0f246c9d26c5ef6c4cfeebf8818580144b2ec4aade0529
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for flask-ponywhoosh 1.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.