Skip to main content

A search engine for flask framework using pony orm.

Project description

.. image:: https://github.com/compiteing/flask-ponywhoosh/blob/master/docs/_static/logo.png?raw=true
:target: https://pypi.python.org/pypi/flask-ponywhoosh
:scale: 100%
:align: center
:alt: PonyWhoosh

flask-ponywhoosh
================
|PyPI Package latest release| |Test|

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:

.. code:: bash

$ pip install flask-ponywhoosh

The hard way:

.. code:: bash

$ 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.

.. code:: bash

$ git clone https://github.com/compiteing/flask-ponywhoosh.git
$ cd flask-ponywhoosh

Then, you can run the example using:

.. code:: bash

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:

- http://pythonhosted.org/flask-ponywhoosh/
- https://pypi.python.org/pypi/flask-ponywhoosh


Screenshots
-----------

Adding what fields of your models in your database you want to search.

.. image:: https://github.com/compiteing/flask-ponywhoosh/blob/master/images/databaseconfig.gif?raw=true
:target: https://pypi.python.org/pypi/flask-ponywhoosh
:scale: 60%
:align: center
:alt: PonyWhoosh




.. image:: http://g.recordit.co/6MnvKNod6y.gif
:target: https://pypi.python.org/pypi/flask-ponywhoosh
:scale: 25%
:align: center
:alt: PonyWhoosh



.. |PyPI Package latest release| image:: http://img.shields.io/pypi/v/flask-ponywhoosh.png?style=flat

.. |Test| image:: https://travis-ci.org/compiteing/flask-ponywhoosh.svg?branch=master
:target: https://travis-ci.org/compiteing/flask-ponywhoosh

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

flask_ponywhoosh-1.0-py2.7.egg (9.8 kB view details)

Uploaded Egg

File details

Details for the file flask_ponywhoosh-1.0-py2.7.egg.

File metadata

File hashes

Hashes for flask_ponywhoosh-1.0-py2.7.egg
Algorithm Hash digest
SHA256 c93ec37e68934823e2d042075e427f2ec7d74cb4f568af85673861f2668b67dd
MD5 34049e5418e1e4759acc17b7f282d10d
BLAKE2b-256 ab413933782bcc0f32ffda61b40cf5942df033e9a52677329fabbf8e1e1d9064

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page