Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Bocadillo is now UNMAINTAINED. This repository will be archived by November 2019. We recommend users to migrate to other well-supported alternatives, such as Starlette or FastAPI. Please see #334 for more information.
Documentation: https://bocadilloproject.github.io
Bocadillo is a Python async web framework that makes building performant and highly concurrent web APIs fun and accessible to everyone.
Python 3.6+
pip install bocadillo
from bocadillo import App, configure
app = App()
configure(app)
@app.route("/")
async def index(req, res):
res.json = {"hello": "world"}
Save this as app.py
, then start a uvicorn server (hot reload enabled!):
uvicorn app:app --reload
Say hello!
$ curl http://localhost:8000
{"hello": "world"}
Ready to dive in? Visit the documentation site.
All changes to Bocadillo are recorded in the changelog. To see what's coming in the next release, read the Unreleased section.
Release notes may also be published as blog posts on Bocadillo News.
Found a bug? A typo? Want to help build a new feature? We'd love to see your contributions! There are also many ways to contribute that don't include code: helping with issues, laying out new ideas, improving docs, etc.
Check out the Contributing guide to get started.
By the way, here is the Bocadillo Contributor Hall of Fame. 👨💻👩💻
Logo designed by Florimond Manca. Sandwich icon designed by macrovector.
FAQs
Fast, highly-concurrent and scalable web APIs for everyone
We found that bocadillo 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.