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.0.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for tombulled_param-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eff932f618a0077175026f61df304c2e7dfe566918e832138a165ae28dc11e9d |
|
MD5 | 4ee98ef6dc7daa0a8531ab4c23b9fb9a |
|
BLAKE2b-256 | c7250a916ef66e37ae036fb949e2fe78d7cb3c40dc726a6120031c19d211de4d |