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.2.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for tombulled_param-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 313d2459df86d3013f49ad4a99e41dfbb59130d527da3423365373ff21186a6a |
|
MD5 | a4184681d3f2b3730ed041a1e8cad5a0 |
|
BLAKE2b-256 | 0ef732e0a5666817926abaafa354c32c2ddc221b31d8c5d17866387ef5898957 |