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
File details
Details for the file kbrainsecurity-0.3.2.tar.gz
.
File metadata
- Download URL: kbrainsecurity-0.3.2.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/5.15.0-1041-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c1ed4e354810c0ccbc54f2229e75e46a54f76fa6e7890bda0bb512bec71cd4c |
|
MD5 | d11c4b1eccd87a9e2609d9e2ed074f30 |
|
BLAKE2b-256 | 1ee3335558826f45cef8aa7c282efdc7ae5c32d0ef41b91e84ba5f7d67894c80 |
File details
Details for the file kbrainsecurity-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: kbrainsecurity-0.3.2-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/5.15.0-1041-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f856b83db028943a10ea7e3a0aabc2a5de7ef30c6bee8dc6288fed0960ff1da4 |
|
MD5 | 08ef300b68edf11ce9696af229a8633c |
|
BLAKE2b-256 | 340dc3a626006bd14dafbee2212e5aa7d8a6c3fbb0ab57e940cdc16e599487b8 |