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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for kbrainsecurity-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c98a80e20d5e4ad92446271ef7b6adf16b8ca7b07b8974d0085531c1aa0e8c03 |
|
MD5 | e9ab008dc62971c1b1a6dc99923bd7c3 |
|
BLAKE2b-256 | 03d31587ff7b5ca963ae32c9b1b8149837c09a17f6287f4defb0a0576b353467 |