Skip to main content

Security and authentication functions for use in KBRAIN

Project description

kbrain-security

Common security and authentication functions / decorators for KBRAIN projects.

Setup

poetry

(Poetry)[https://python-poetry.org/docs/] is used to manage project dependencies at the KBRain level. The python version is specified in the pyproject.toml file. A virtual environment can be created by running the command:

poetry shell

From there, dependencies can be installed by typing

poetry install

pre-commit

Once dependencies have been installed via poetry, use the pre-commit install command to configure pre-commit.

Development

Create a feature branch and push your changes there. Open a PR on GitHub. This will trigger CICD and publish a prerelease version of the package with appropriate tags and updates to the pyproject.toml file. Merging a PR into main increments the patch version of the release and tags it appropriately. At this time this package can be installed in KBRAIN services with pipenv using the git protocol.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kbrainsecurity-0.3.2.tar.gz (14.1 kB view hashes)

Uploaded Source

Built Distribution

kbrainsecurity-0.3.2-py3-none-any.whl (14.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page