Thunderargs
=========
Abstract
--------
Bla-bla-bla bla-bla-bla
Installation
------------
.. code-block:: bash
sudo pip install thunderargs
Usage
-----
You can use it like this:
.. code-block:: python
from thunderargs import Arg
from thunderargs.endpoint import Endpoint
@Endpoint
def max_int(x: Arg(int), y: Arg(int)):
return max(x,y)
Or you can use it with flask, like this:
.. code-block:: python
@app.route('/calc_with_expander/')
def calc_with_expander(x:Arg(int), y:Arg(int),
op:Arg(str, default='+', expander=OPERATION)):
return str(op(x,y))
(Since version 0.3 this feature was moved to `other repo <https://bitbucket.org/dsupiev/flask-thunderargs>`_.)
Or you can write your own proxy to any other framework!
Read the example.py
Metadata
Release files for thunderargs 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| thunderargs-0.3.1.zip | 7.1 kB | Without provenance | Details for thunderargs-0.3.1.zip |
Release files / thunderargs-0.3.1.zip
| Download URL | thunderargs-0.3.1.zip |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba18f6de3828a50003c7ee38a416484b75d42647a70c96e5e592d23da3ab0bbe
|
|
BLAKE2b-256 checksum How to use checksums |
5bde6d0c79fd2fbc86b3ea8bbed8003a505eb7b43d0525816e7dd4f85da8a2e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for thunderargs 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.