Giter Club home page Giter Club logo

demo-beginner-concurrency's Introduction

Demo Repository for PyCharm Webcast

This repository contains the code used for the 2022-Feb-22 PyCharm Webcast Beginner Concurrency with Python asyncio.

The code in this repo is designed for use with Arista EOS network infrastructure. You could adapt it for your own use for other networking devices - left as an exercise for the User.

Installation

You will need to git-clone and install the project files directly as the repo is not deployed on PyPi. The project uses poetry, so you will need to create a Python3.8 virtualenv with poetry. Once created, you can install the files:

poetry install

You should then have a script called demo available in your virtualenv. You can verify via:

demo --help

Usage: demo [OPTIONS] COMMAND [ARGS]...

  Beginner-Concurency Demo CLI

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  find-host  Find switch-port where host with mac-addresss
  versions   Run inventory OS versions demo
  xcvrs      Run inventory transceivers demo

Before You Begin

Before you try out the demo features you will need to export two variables into your enviornment for network device authentication:

  • NETWORK_USERNAME - the login username value
  • NETWORK_PASSWORD = the login password

You will also need to create a text-file called inventory.text that contains the list of devices, one per line. The demo must be run on a computer that has IP reachability to those devices and DNS for devices in the file.

demo-beginner-concurrency's People

Contributors

jeremy-schulman-copilot 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.