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.1.tar.gz
(27.3 kB
view details)
Built Distribution
File details
Details for the file viur_toolkit-0.1.1.tar.gz
.
File metadata
- Download URL: viur_toolkit-0.1.1.tar.gz
- Upload date:
- Size: 27.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 858d35d2eb3c278c93a1d3d301c0f1538084f3637d827de1af144242302dc481 |
|
MD5 | 3a214d5b856ec53d81164f860d6f4a81 |
|
BLAKE2b-256 | 42d0cdf2c5a7ffa7a09866bce6fe3bb5f9cfdd7d0061f3aebcc120044b578cab |
File details
Details for the file viur_toolkit-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: viur_toolkit-0.1.1-py3-none-any.whl
- Upload date:
- Size: 31.3 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 | 59c745a4269efee8db853544052b6fe0b29b5f7f21e488b2329ba075f6190e37 |
|
MD5 | 0affc4cfed5e61cccff7766100520db1 |
|
BLAKE2b-256 | 23e6764c47c58d1f590a52ce2525998448a796e06f3c3d1c3dfec54ecb0f400a |