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.3.tar.gz
(27.3 kB
view details)
Built Distribution
File details
Details for the file viur_toolkit-0.1.3.tar.gz
.
File metadata
- Download URL: viur_toolkit-0.1.3.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 | 765727aa52b73c9ed9821fd0ebd3c6785f3a8386d5cac383f685c08ca654ca89 |
|
MD5 | ad0cad66a013a5a8bff1cf5c52208a28 |
|
BLAKE2b-256 | aa4bb01ef3c5b132a4028decad1c066bcdb2a7ace86bc79bc5e0dcd5ef7446c4 |
File details
Details for the file viur_toolkit-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: viur_toolkit-0.1.3-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 | 96c621e27094a0581123a3e61d8df1f6586a5a03c4b840aeadb7a4b3e1928a43 |
|
MD5 | c449859b47f5cf35cc775310706f7a67 |
|
BLAKE2b-256 | a0750cf5c39f1670eebfc81df4036a2f7770e4a1ee0dda9549cd0bf195a7f6d2 |