
Security News
libxml2 Maintainer Ends Embargoed Vulnerability Reports, Citing Unsustainable Burden
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
Integrates the Coralillo Redis ORM into flask
This is an easy application that stores and retrieves cars from redis database.
.. code-block:: python
# app.py
from flask import Flask, request, redirect
from flask_coralillo import Coralillo
from coralillo import Model, fields
app = Flask(__name__)
engine = Coralillo(app)
class Car(Model):
name = fields.Text()
class Meta:
engine = engine
@app.route('/')
def list_cars():
res = '<h1>Cars</h1><ul>'
for car in Car.get_all():
res += '<li>{}</li>'.format(car.name)
res += '</ul><h3>Add car</h3>' + \
'<form method="POST">' + \
'<input name="name">' + \
'<input type="submit" value="Add">' + \
'</form>'
return res
@app.route('/', methods=['POST'])
def add_car():
newcar = Car.validate(**request.form.to_dict()).save()
return redirect('/')
if __name__ == '__main__':
app.run()
Now if you run python app.py
and you visit http://localhost:5000
you will be able to intercact with your brand new Flask-Coralillo application.
For more information visit https://getfleety.github.io/coralillo/
FAQs
Flask module for the Coralillo redis ORM
We found that Flask-Coralillo 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
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.