
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
|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.
.. code:: bash
$ pip install flask-ponywhoosh
.. code:: bash
$ git clone https://github.com/jonaprieto/flask-ponywhoosh.git
$ cd flask-ponywhoosh
If you are using python 2:
.. code:: bash
$ make install-py2
If you are using python 2:
.. code:: bash
$ make install-py3
Download the source of this package:
.. code:: bash
$ git clone https://github.com/jonaprieto/flask-ponywhoosh.git
$ cd flask-ponywhoosh
Then, you can run the example running these commands:
.. code:: bash
$ 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
is often http://127.0.0.1:5000.
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
Adding what fields of your models in your database you want to search.
|PonyWhoosh1|
|PonyWhoosh2|
.. |PonyWhoosh| image:: https://github.com/jonaprieto/flask-ponywhoosh/blob/master/docs/_static/logo.png?raw=true :class: align-center :target: https://pypi.python.org/pypi/flask-ponywhoosh .. |PyPI Package latest release| image:: http://img.shields.io/pypi/v/flask-ponywhoosh.png?style=flat .. |Test| image:: https://travis-ci.org/jonaprieto/flask-ponywhoosh.svg?branch=master :target: https://travis-ci.org/jonaprieto/flask-ponywhoosh .. |PonyWhoosh1| image:: https://github.com/jonaprieto/flask-ponywhoosh/blob/master/images/databaseconfig.gif?raw=true :class: align-center :target: https://pypi.python.org/pypi/flask-ponywhoosh .. |PonyWhoosh2| image:: http://g.recordit.co/6MnvKNod6y.gif :class: align-center :target: https://pypi.python.org/pypi/flask-ponywhoosh
FAQs
A search engine for Flask using Pony ORM and Whoosh.
We found that flask-ponywhoosh demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.