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.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2643a49a062b20fcd53c0294c93585159df8fef312f87c6a903305c2c546d8bd |
|
MD5 | 0cc6a7ce8cdcd86bd07ee409f5e7b63e |
|
BLAKE2b-256 | ea5d70e4e2dec0908416f713287dae789f209ddcfd01a61fc83c746813efa0ee |