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.1.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for tombulled_param-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d78d5a69dec1d162ed9c3079d35a66708ea6fda51d589703e021cd9a7466d98d |
|
MD5 | fc315abc118cbf0fc4891a2294d95838 |
|
BLAKE2b-256 | 72e3561c3f6f59ac31482f68267ac6004aad5feaadcd4e14ce694058315672b1 |