Skip to main content

PonyWhoosh

flask-ponywhoosh

PyPI Package latest release Test

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.

PonyWhoosh1

PonyWhoosh2

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)

Source distribution for flask-ponywhoosh 1.0.9
File Size Uploaded
flask-ponywhoosh-1.0.9.tar.gz 14.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flask-ponywhoosh 1.0.9
File Interpreter ABI Platform
flask_ponywhoosh-1.0.9-py2.py3-none-any.whl Python 3, Python 2 none any Details

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

Release history Release notifications | RSS feed

This release

1.0.9 This release

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.2

4 release files

1.0.1

2 release files

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page