
Security News
MCP Steering Committee Launches Official MCP Registry in Preview
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
uwsgidecorators-fallback
Advanced tools
uWSGI API - Python decorators - with fallback for running outside uwsgi
uWSGI API - Python decorators - with fallback for running outside uwsgi
Uwsgi offers a nice pyhton api in the form of decorators. It's a shame that you can nolonger run your code outside of uwsgi. This package implements fallbacks for the uwsgi decorators, that either do nothing, or run the asynchronous stuff synchronously.
Beats import errors right?
this module provides fallbacks for the following uwsgi decorators::
spool
lock
cron
timer
usage, just import the decorators from uwsgidecoratorsfallback instead of uwsgidecorators and your code will nolonger import error outside of uwsgi::
from uwsgidecoratorsfallback import spool, lock, cron, timer
After that just use as intended, outside of uwsgi you get alternatives that either do nothing or run the function synchronously.
FAQs
uWSGI API - Python decorators - with fallback for running outside uwsgi
We found that uwsgidecorators-fallback 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
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.