Giter Club home page Giter Club logo
Concurrency in Python with Asyncio photo

concurrency-in-python-with-asyncio Goto Github PK

repos: 2.0 gists: 0.0

Name: Concurrency in Python with Asyncio

Type: Organization

Bio: Code for the Manning book Concurrency in Python with Asyncio

Concurrency in Python with Asyncio

Source code to the Manning book Concurrency in Python with Asyncio.

Running

This code ran successfully with Python version 3.10.2. Using a different version may give you different results or may not work.

Steps to Run Code Listing

  1. Install Python 3.10.2, installers available at the bottom of the page at: https://www.python.org/downloads/release/python-3102/

  2. Create a virtual environment and activate it. Instructions available here.

  3. Install the dependencies for the project by running pip install -r requirements.txt within your virtual environment.

  4. Several functions are in the util module - for this to import properly you need to include this module in your PYTHONPATH. You can do this by running export PYTHONPATH=${PYTHONPATH}:concurrency-in-python-with-asyncio/util within your terminal, changing concurrency-in-python-with-asyncio to whichever path you have cloned this repository on your local machine.

  5. You should now be able to run any code listing successfully with python3 scriptname.py, for example, python3 chapter_01/listing_1_1.py will run the first code listing from the first chapter.

Concurrency in Python with Asyncio's Projects

Concurrency in Python with Asyncio doesnโ€™t have any public repositories yet.

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.