Skip to content
/ tygs Public

Tygs aims to be a pure async PythonWeb framework with included RPC, PUB/SUB and task queues

License

Notifications You must be signed in to change notification settings

Tygs/tygs

Repository files navigation

Tygs

http://travis-ci.org/Tygs/tygs.svg?branch=master http://coveralls.io/repos/github/Tygs/tygs/badge.svg?branch=master

Tygs wants to be a Pure Python Web framework providing a sweet API for :

  • easy asynchronous HTTP;
  • PUB/SUB between your code on: server/server, server-client, client-client;
  • RPC between your code on: server/server, server-client, client-client;
  • easy task queues;
  • in memory key/value store for caching and more;
  • multiprocessing to bypass the GIL and still play nice and easy with the above.

For now it's nothing, since the project just started. No promises.

Dependencies:

  • Python 3.5.1+ (uses async/await);
  • aiohttp
  • jinja2
  • aiohttp-jinja2,
  • path.py

Licence: WTFPL

Install

It is not pushed on pypi yet:

python setup.py install

Developement

Install for dev:

python setup.py develop
Style Guide :

Deactivate dev mode:

python setup.py develop --uninstall

Running all tests:

python setup.py test

This can take long as it will setup the whole test env with tox, a virtualenv, etc.

You can install test dependencies manually:

pip install pytest-cov, mock, tox

And run the tests manually:

# in all envs
tox
# in only the current env
py.test tests

After that, you can run tests coverage this way:

# cmd only coverage
py.test --cov tygs tests
# dump an HTML report in htmlcov dir
py.test  --cov-report html --cov tygs tests

About

Tygs aims to be a pure async PythonWeb framework with included RPC, PUB/SUB and task queues

Resources

License

Stars

Watchers

Forks

Packages