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.4.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for tombulled_param-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 972773bce7d7eb1e989acbeff3ed5baed04c976349f13fbafb3ee813c83047d3 |
|
MD5 | 031e4bda82c40b57640e32530b8d4a35 |
|
BLAKE2b-256 | 6f6e916ba7c4575180586ba9b7f8e10b7b0f5d02a448fe49963aea2eeac6b9f3 |