values.get(input) - create list from input
Project description
Install
$ [sudo] pip install values
Functions
function | description |
---|---|
values.get(input) |
return list with input values or [] if input is None |
Examples
>>> import values
>>> values.get(1)
[1]
>>> values.get("string")
["string"]
>>> values.get([1,2])
[1,2]
>>> values.get(None)
[]
readme-md - README.md generator
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
values-2018.11.22.tar.gz
(1.3 kB
view hashes)
Built Distribution
Close
Hashes for values-2018.11.22-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 190c0abf6630a797c29010ebd47e99265d8d89cdc1e4d9a4e03534db3fd492ab |
|
MD5 | b6956972f4426ed15fe449cef3b666c3 |
|
BLAKE2b-256 | 19b76dca40cf1719744cac41ce446898e3914b48c9cd5f1c2264ccbaf5cf5f66 |