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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for kbrainsecurity-0.3.2.tar.gz
Algorithm Hash digest
SHA256 5c1ed4e354810c0ccbc54f2229e75e46a54f76fa6e7890bda0bb512bec71cd4c
MD5 d11c4b1eccd87a9e2609d9e2ed074f30
BLAKE2b-256 1ee3335558826f45cef8aa7c282efdc7ae5c32d0ef41b91e84ba5f7d67894c80

See more details on using hashes here.

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

Hashes for kbrainsecurity-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f856b83db028943a10ea7e3a0aabc2a5de7ef30c6bee8dc6288fed0960ff1da4
MD5 08ef300b68edf11ce9696af229a8633c
BLAKE2b-256 340dc3a626006bd14dafbee2212e5aa7d8a6c3fbb0ab57e940cdc16e599487b8

See more details on using hashes here.

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