Metadata-Version: 2.0
Name: archerv2
Version: 0.6
Summary: Thrift app the flask way...The Right Way
Home-page: https://github.com/dstarner15/archerv2
Author: Daniel Starner
Author-email: starner.daniel5@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Other Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Utilities
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: click (>=3.3)
Requires-Dist: thriftpy (>=0.3.9)

Archer
------

.. image:: http://img.shields.io/travis/eleme/archerv2/master.svg?style=flat
   :target: https://travis-ci.org/eleme/archerv2


Archer is a micro RPC framework inspired by `Flask` based on `Thrift`.

Archer is super easy to use
```````````````````````````

Save in a hello.py:

.. code:: python

   from archerv2 import Archer
   app = Archer('PingPong')

   @app.api('ping')
   def ping():
       return 'pong'


Save in a hello.thrift::

    service PingPong {
        string ping(),
    }

Archer would find the thrift file for you, and relying on `Thriftpy <https://thriftpy.readthedocs.org/en/latest/>`_
to generate code on the fly.

And Easy to Setup
`````````````````


And run it:

.. code:: bash

   $ pip install Archer
   $ archerv2 run
   * Running on 127.0.0.1:6000/

Archer would find the app instance to start a dev server, and reload it
when detecting changes on your python or thrift file.

Quick to get some feedback
``````````````````````````

Just run the command:

.. code:: bash

   $ archerv2 call ping

   * pong

Use the client shell
````````````````````

Jump into shell with client at your hand:

.. code:: bash

   $ archerv2 client
   >>> client.ping()

Pretty cool, eh!

Links
`````

* `documentation <http://archerv2-thrift.readthedocs.org/en/latest/index.html>`_


