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.4.tar.gz
(27.3 kB
view details)
Built Distribution
File details
Details for the file viur_toolkit-0.1.4.tar.gz
.
File metadata
- Download URL: viur_toolkit-0.1.4.tar.gz
- Upload date:
- Size: 27.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32c93250db953018cf3bd5e413b6c2f0cb1b60602e8ad40da45f04d0b2cbcebd |
|
MD5 | 745c1b10d19d68dc32f1849c5d9eec2b |
|
BLAKE2b-256 | f1eaed8484637e5b718c51f95ced321de39c50f769fe1adcf8d7421f948f63a7 |
File details
Details for the file viur_toolkit-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: viur_toolkit-0.1.4-py3-none-any.whl
- Upload date:
- Size: 31.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21632f3f4df49d1588688cf3ea13e1624bc3b099ebcaf5b653a5b13b1bab691c |
|
MD5 | 3bc0184b6420c7486d1537c002f64947 |
|
BLAKE2b-256 | 029b6001c61ba13fcbbd1c1b663e5ef47ad9d0a52c305803af249c7ee3f59e46 |