Skip to main content

A kit of helpers and tools to simplify more intensive use of ViUR

Project description

viur-toolkit

Badge showing current PyPI version Badge displaying the license
A kit of helpers and tools to simplify more intensive use of ViUR

Usage

Install with pip

pip install viur-toolkit

Install with pipenv

pipenv install viur-toolkit

Example

from viur import toolkit

if toolkit.user_has_access("root"):
    print("Hello root user!")

Development / Contributing

Create a fork and clone it

Setup the local environment with pipenv:

cd viur-toolkit
pipenv install --dev

Install as editable in your project

cd myproject
pipenv install -e path/to/viur-toolkit

Code linting & type checking

Use the lint command

$ pipenv run lint

tu run pep8check and type_check at once.

Branches

Depending on what kind of change your Pull Request contains, please submit your PR against the following branches:

  • main: fixes/patches that fix a problem with existing code go into this branch. This results in a new patch version (X.X.n+1 where n is the current patch-level).
  • develop: new features, refactorings, or adjustments for new versions of dependencies are added to this branch. This becomes a new minor version (X.n+1.0) where n is the current minor-level). Depending on the complexity of the changes, a new major release (n+1.0.0, where n is the current major level) may be chosen instead.

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

viur_toolkit-0.1.6.tar.gz (28.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

viur_toolkit-0.1.6-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

Details for the file viur_toolkit-0.1.6.tar.gz.

File metadata

  • Download URL: viur_toolkit-0.1.6.tar.gz
  • Upload date:
  • Size: 28.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for viur_toolkit-0.1.6.tar.gz
Algorithm Hash digest
SHA256 01a96fc40d8bc05fdfe7ffd23ca46e806d0bc4e81e1913761663fb895410a4ff
MD5 c6cf19c11634c61a913460bb20c21079
BLAKE2b-256 f206bf69b770e942b99c86456bb08c78138cabda95fb22ef9df386c19239fe53

See more details on using hashes here.

File details

Details for the file viur_toolkit-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: viur_toolkit-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 31.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for viur_toolkit-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 df7d6b0c8990db32fee1bb8b9bb19c243dc035f0449a2bf7df3affec9481fa19
MD5 c04689329dd2774612a37b5b83d42f7d
BLAKE2b-256 06cf6dc55f3166b2a1b32360075b8f9784f12f3bd966248f4bef54d4b807b9e7

See more details on using hashes here.

Supported by

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