Enhanced function parameters
Project description
param
Enhanced function parameters
Installation
pip install git+https://github.com/tombulled/param.git@main
Usage
from param import Param, params
@params
def get(url: str, params: dict = Param(default_factory=dict)):
print("GET", url, params)
>>> get("https://httpbin.com/get")
GET https://httpbin.com/get {}
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
tombulled-param-0.1.6.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for tombulled_param-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d9e2e3e5076d34aa149d5e23c3c1fd91ebe9dd1b60d5132cbcce29e5bb15a1f |
|
MD5 | 8de591c5ca0fe8921fc388f93f525a0c |
|
BLAKE2b-256 | f5be79bf1eece682944bc4f7296ecb54981660cf336ebeea4d53f73fcab8ab3a |