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.7.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for tombulled_param-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea0474ed6e55ac6b9a5be3bb1fc962e8d5b7aea1d35b9e8975811f0d80a82d7f |
|
MD5 | b11cd1d30da444b0693283ecf1c61258 |
|
BLAKE2b-256 | 91650aa155e777a8157e30abbbee2f3582f595d591ccfab9e61e3f35c2c64f78 |