A kit of helpers and tools to simplify more intensive use of ViUR
Project description
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
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
And use the lint
command
$ pipenv run lint
tu run pep8check
and type_check
at once.
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
viur_toolkit-0.1.2.tar.gz
(27.4 kB
view details)
Built Distribution
File details
Details for the file viur_toolkit-0.1.2.tar.gz
.
File metadata
- Download URL: viur_toolkit-0.1.2.tar.gz
- Upload date:
- Size: 27.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e5afb2c35406c2bf018b89f4c3f10288740dc671d0db48af8223b2346341ec4 |
|
MD5 | db724e507c3418d264103dacb983f33d |
|
BLAKE2b-256 | ba9604fa682163bb6c28e9c98e2eb16840128001c383d1081b3b82e49b9c96dc |
File details
Details for the file viur_toolkit-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: viur_toolkit-0.1.2-py3-none-any.whl
- Upload date:
- Size: 31.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c382207c01b55095ee7c5c1545818d3410562907f46c89fc28571521474e6c94 |
|
MD5 | 0a3d0444bed397ca711626394257b54e |
|
BLAKE2b-256 | f208fb729826cf08f6dfde827e0eb8c130bb1be0635cc3bd8c007bc8f10abe91 |