Function argument conversion
Project description
A decorator to apply a function on certain arguments of a function.
import cvargs
@cvargs.convert(foo=float, kwargs=str)
def func(foo, *bar, **kwargs):
...
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
cvargs-0.1.0.tar.gz
(2.0 kB
view details)
File details
Details for the file cvargs-0.1.0.tar.gz.
File metadata
- Download URL: cvargs-0.1.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7179aee06fb574b87851cbb97e5a853c498806e5597a1b639fbb09f1fcdcedf3
|
|
| MD5 |
a56983875b99e25b64bf626e0e8e97d0
|
|
| BLAKE2b-256 |
13d5f7459293f06048432f5729ade248c146d350e5b33caddf23bd36af5ff833
|