
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
flama
Advanced tools
Fire up your models with the flame 🔥
Flama is a python library which establishes a standard framework for development and deployment of APIs with special focus on machine learning (ML). The main aim of the framework is to make ridiculously simple the deployment of ML APIs, simplifying (when possible) the entire process to a single line of code.
The library builds on Starlette, and provides an easy-to-learn philosophy to speed up the building of highly performant GraphQL, REST and ML APIs. Besides, it comprises an ideal solution for the development of asynchronous and production-ready services, offering automatic deployment for ML models.
Some remarkable characteristics:
Components.
Flama ASGI objects like Request, Response, Session and so on are defined as Components ready to be injected in
your endpoints.Components as the base of the plugin ecosystem, allowing you to create custom or use those already defined in your
endpoints, injected as parameters.docs, and provides a Swagger UI and ReDoc endpoints.limit-offset and page numbering,
to name a few.Flama is fully compatible with all supported versions of Python. We recommend you to use the latest version available.
For a detailed explanation on how to install flama visit: https://flama.dev/docs/getting-started/installation.
Visit https://flama.dev/docs/getting-started/quickstart to get started with Flama.
Visit https://flama.dev/docs/ to view the full documentation.
from flama import Flama
app = Flama()
@app.route("/")
def home():
"""
tags:
- Salute
summary:
Returns a warming message
description:
This is a more detailed description of the method itself.
Here we can give all the details required and they will appear
automatically in the auto-generated docs.
responses:
200:
description: Warming hello message!
"""
return {"message": "Hello 🔥"}
This example will build and run a Hello 🔥 API. To run it:
flama run examples.hello_flama:app
This project is absolutely open to contributions so if you have a nice idea, please read our contributing docs before submitting a pull request.
FAQs
Fire up your models with the flame 🔥
We found that flama 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.

Research
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.