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.
A simple flask library for building microservices with RBAC JWT security, OpenAPI client and SQLAlchemy database support.
.. excerpt-start
|docs-status| |build-status| |pypi-status| |codecov-status| |pre-commit-status|
A simple Flask library for building microservices with RBAC JWT security, OpenAPI client and SQLAlchemy database support.
.. code-block:: bash
$ pip install flask-ligand
Using Flask
_ to create a REST based microservice is a daunting process which will definitely require the use of
many different Flask extensions
_ which will really slow down the process of actually writing a functional REST
microservice that can be used safely in a production environment. This library seeks to use the best
Flask extensions
_ loosely combined together to deliver a delightful developer experience by providing the following
functionality out-of-the-box:
SQLAlchemy ORM
_Flask
_ endpoints
defined via BlueprintsSwaggerUI
_ docs for quickly developing and testing your Flask
_ application without the need
of external tools like curl, Postman or HoppscotchGenerate OpenAPI clients
_ for a variety of languages
OpenID Connect
_ IAM like Auth0
_ or Keycloak
_
RBAC
_pagination
_ and ETag
_ support for your endpointsFlask-Migrate
_ library and command-line tools.. _Flask
: https://flask.palletsprojects.com/en/2.2.x/
.. _Flask extensions
: https://flask.palletsprojects.com/en/2.2.x/extensions/
.. _SQLAlchemy ORM
: https://www.sqlalchemy.org/
.. _SwaggerUI
: https://swagger.io/tools/swagger-ui/
.. _Generate OpenAPI clients
: https://openapi-generator.tech/
.. _Auth0
: https://auth0.com/
.. _Keycloak
: https://www.keycloak.org/
.. _RBAC
: https://en.wikipedia.org/wiki/Role-based_access_control
.. _OpenID Connect
: https://openid.net/connect/
.. _pagination
: https://flask-smorest.readthedocs.io/en/latest/pagination.html
.. _ETag
: https://flask-smorest.readthedocs.io/en/latest/etag.html
.. _Flask-Migrate
: https://flask-migrate.readthedocs.io/en/latest/
.. |docs-status| image:: https://img.shields.io/readthedocs/flask-ligand/stable?logo=readthedocs :target: https://flask-ligand.readthedocs.io/en/stable/ :alt: Docs .. |build-status| image:: https://img.shields.io/github/actions/workflow/status/cowofevil/flask-ligand/bump_and_publish_release.yml?branch=main&logo=github :target: https://github.com/cowofevil/flask-ligand/actions/workflows/bump_and_publish_release.yml :alt: Build .. |pypi-status| image:: https://img.shields.io/pypi/v/flask-ligand?color=blue&logo=pypi :target: https://pypi.org/project/flask-ligand/ :alt: PyPI .. |codecov-status| image:: https://img.shields.io/codecov/c/gh/cowofevil/flask-ligand?color=teal&logo=codecov :target: https://app.codecov.io/gh/cowofevil/flask-ligand :alt: Codecov .. |pre-commit-status| image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white :target: https://github.com/pre-commit/pre-commit :alt: pre-commit
.. excerpt-end
Documentation
_Changelog
_Contributing
_License
_.. _Documentation
: https://flask-ligand.readthedocs.io/en/stable/
.. _Changelog
: ./CHANGELOG.md
.. _Contributing
: ./CONTRIBUTING.rst
.. _License
: ./LICENSE
FAQs
A simple flask library for building microservices with RBAC JWT security, OpenAPI client and SQLAlchemy database support.
We found that flask-ligand 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.