Skip to main content
=========
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

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)

Source distribution for thunderargs 0.3.1
File Size Uploaded
thunderargs-0.3.1.zip 7.1 kB Details

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
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page