Coder Social home page Coder Social logo

kostyll / asyncio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from python/asyncio

0.0 1.0 0.0 2.09 MB

This project is the asyncio module for Python 3.3. Since Python 3.4, asyncio is part of the standard library.

Home Page: https://github.com/python/asyncio/wiki

License: Apache License 2.0

Makefile 0.16% Python 96.05% C 3.64% Shell 0.14%

asyncio's Introduction

Tulip is the codename for my reference implementation of PEP 3156.

PEP 3156: http://www.python.org/dev/peps/pep-3156/

This requires Python 3.3 or later!

Copyright/license: Open source, Apache 2.0. Enjoy.

Master GitHub repo: https://github.com/python/asyncio

The actual code lives in the 'asyncio' subdirectory. Tests are in the 'tests' subdirectory.

To run tests:
  • make test
To run coverage (coverage package is required):
  • make coverage

On Windows, things are a little more complicated. Assume 'P' is your Python binary (for example C:Python33python.exe).

You must first build the _overlapped.pyd extension and have it placed in the asyncio directory, as follows:

C> P setup.py build_ext --inplace

If this complains about vcvars.bat, you probably don't have the required version of Visual Studio installed. Compiling extensions for Python 3.3 requires Microsoft Visual C++ 2010 (MSVC 10.0) of any edition; you can download Visual Studio Express 2010 for free from http://www.visualstudio.com/downloads (scroll down to Visual C++ 2010 Express).

Once you have built the _overlapped.pyd extension successfully you can run the tests as follows:

C> P runtests.py

And coverage as follows:

C> P runtests.py --coverage

--Guido van Rossum <[email protected]>

asyncio's People

Contributors

1st1 avatar ajdavis avatar asvetlov avatar benjaminp avatar cf-natali avatar eliben avatar fafhrd91 avatar geertj avatar giampaolo avatar gvanrossum avatar ludovic-gasc avatar pitrou avatar saghul avatar schlamar avatar shibturn avatar vstinner avatar

Watchers

 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.