Giter VIP home page Giter VIP logo

Tygs

image

image

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

tygs's Projects

0bin icon 0bin

Client side encrypted pastebin

aiohttp icon aiohttp

http client/server for asyncio (PEP-3156)

ayo icon ayo

High level API for asyncio that integrates well with non ayo code

tygs icon tygs

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

ww icon ww

Wonderful wrappers for Python built-in types

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.