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.3.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for tombulled_param-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8992500c71cc254f79c88754a671d79c2b04021ce637a9aa44fb3b26da3687f4 |
|
MD5 | 3d6053cf0de88d36afec138910e2e505 |
|
BLAKE2b-256 | 9cf9dfd292112fecd16356c3865796b5d009189e5e43dd805228a6bcc32ed39b |