All Projects → fedora-copr → flask-whooshee

fedora-copr / flask-whooshee

Licence: BSD-3-Clause License
Customizable Flask - SQLAlchemy - Whoosh integration

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to flask-whooshee

mathesar
Web application providing an intuitive user experience to databases.
Stars: ✭ 95 (+39.71%)
Mutual labels:  sqlalchemy
telethon-session-sqlalchemy
SQLAlchemy backend for Telethon session storage
Stars: ✭ 34 (-50%)
Mutual labels:  sqlalchemy
opentracing-utils
Convenient utilities for adding OpenTracing support in your python projects
Stars: ✭ 20 (-70.59%)
Mutual labels:  sqlalchemy
flaskbooks
A very light social network & RESTful API for sharing books using flask!
Stars: ✭ 19 (-72.06%)
Mutual labels:  sqlalchemy
carry
Python ETL(Extract-Transform-Load) tool / Data migration tool
Stars: ✭ 115 (+69.12%)
Mutual labels:  sqlalchemy
reactant
Generate code for "models, views, and urls" based on Python type annotations. Supports Django REST, SQLAlchemy, Peewee.
Stars: ✭ 14 (-79.41%)
Mutual labels:  sqlalchemy
bonobo-sqlalchemy
PREVIEW - SQL databases in Bonobo, using sqlalchemy
Stars: ✭ 23 (-66.18%)
Mutual labels:  sqlalchemy
fastapi-sqlalchemy-1.4-async
https://rogulski.it/blog/sqlalchemy-14-async-orm-with-fastapi/
Stars: ✭ 17 (-75%)
Mutual labels:  sqlalchemy
execute-engine
基于Ansible API的任务执行引擎,支持adhoc和playbook两种任务的执行
Stars: ✭ 18 (-73.53%)
Mutual labels:  sqlalchemy
hotpotato
Hotpotato is a space for chefs to display their creations. Follow your favorite chef. Like your favorite recipes. And find the latest gluten-free, vegetarian, and multi-culinary recipes.
Stars: ✭ 13 (-80.88%)
Mutual labels:  sqlalchemy
dvhb-hybrid
A package to mix django and asyncio in one application
Stars: ✭ 45 (-33.82%)
Mutual labels:  sqlalchemy
PythonTwitchBotFramework
asynchronous twitchbot framework made in pure python
Stars: ✭ 78 (+14.71%)
Mutual labels:  sqlalchemy
fastapi-boilerplate
FastAPI boilerplate for real world production
Stars: ✭ 145 (+113.24%)
Mutual labels:  sqlalchemy
fastrates
💵 Free & open source API service for current and historical foreign exchange rates.
Stars: ✭ 26 (-61.76%)
Mutual labels:  sqlalchemy
Resume-Generator
A Resume builder which allows users to build their own custom resumes with details like experience,projects , skills ,education etc. Users can also have the feature to download their resumes . To contribute send PR at development branch from where it will be merged in master once checked.
Stars: ✭ 28 (-58.82%)
Mutual labels:  sqlalchemy
fastapi-starter
A FastAPI based low code starter: Async SQLAlchemy, Postgres, React-Admin, pytest and cypress
Stars: ✭ 97 (+42.65%)
Mutual labels:  sqlalchemy
stream2segment
A Python project to download, process and visualize medium-to-massive amount of seismic waveforms and metadata
Stars: ✭ 18 (-73.53%)
Mutual labels:  sqlalchemy
python-web-boilerplate
Python web template for modern web backend applications
Stars: ✭ 20 (-70.59%)
Mutual labels:  sqlalchemy
sqlalchemy jsonfield
SQLALchemy JSONField implementation for storing dicts at SQL independently from JSON type support
Stars: ✭ 19 (-72.06%)
Mutual labels:  sqlalchemy
framequery
SQL on dataframes - pandas and dask
Stars: ✭ 63 (-7.35%)
Mutual labels:  sqlalchemy

Flask-Whooshee

Build Status PyPI Version License

Adds Whoosh integration to Flask-SQLAlchemy.

Flask-Whooshee provides a more advanced Whoosh integration for Flask. Its main power is in the ability to index and search joined queries.

The project is in early beta stage and is fairly stable. However, API may still change before 1.0.0 release.

Flask-Whooshee is licensed under BSD License. Note that up until 0.3.0 it was licensed under GPLv2+.

Quickstart

Install it from PyPI:

$ pip install Flask-Whooshee

Flask-Whooshee supports two different methods of setting up the extension. You can either initialize it directly, thus binding it to a specific application instance:

app = Flask(__name__)
whooshee = Whooshee(app)

and the second is to use the factory pattern which will allow you to configure whooshee at a later point:

whooshee = Whooshee()
def create_app():
    app = Flask(__name__)
    whooshee.init_app(app)
    return app

Now you can create a basic whoosheer:

@whooshee.register_model('title', 'content')
class Entry(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    title = db.Column(db.String)
    content = db.Column(db.Text)

and finally you can search the model:

Entry.query.whooshee_search('chuck norris').order_by(Entry.id.desc()).all()

Links

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].