Giter VIP home page Giter VIP logo

ww's Introduction

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

ww's People

Contributors

gordonzola avatar luciend avatar robzouille avatar sametmax avatar trnsnt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.