• Stars
    star
    108
  • Rank 321,259 (Top 7 %)
  • Language
    Python
  • Created about 4 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Examples and exercises from the free ebook "Python for Network Engineers"

Examples and exercises from the book "Python for Network Engineers"

Python 3.7 Python 3.8

All examples and exercises have been tested in Python 3.7 and 3.8.

The assignments will be useful even if you are reading another Python book. All tasks are focused on network topics.

Links

How to create your own repository for tasks

Git/Github basics

Creating a repository on GitHub

To create your own repository based on a template, you need:

  • open tasks repo
  • above the file list, click Use this template
  • type a name for your repository
  • click Create repository from template
  • now you have a new repository with the same directory structure and files as pyneng-examples-exercises-en

Clone repository

To work locally with the repository, you need to clone it. To do this, use the git clone command:

$ git clone [email protected]:natenka/my_tasks.git
Cloning into 'my_tasks'...
remote: Counting objects: 241, done.
remote: Compressing objects: 100% (191/191), done.
remote: Total 241 (delta 43), reused 239 (delta 41), pack-reused 0
Receiving objects: 100% (241/241), 119.60 KiB | 0 bytes/s, done.
Resolving deltas: 100% (43/43), done.
Checking connectivity... done.

In the command output above, you need to change:

  • username natenka to your username on GitHub
  • repository name my_tasks to the name of your repository

As a result, in the current directory where the git clone command was executed, a directory with the name of the repository will appear, in my case - "my_tasks". This directory now contains local copy of the repository with tasks.

Tasks (exercises)

The exercises directory contains tasks with numbers corresponding to the sections of the book. In addition, there are all additional files (configurations, etc.) that are used in tasks.

Tests

Starting from section “4. Data types in Python ”there are automated tests for testing tasks. They help to check whether everything matches the task, and also give feedback on what does not correspond to the task. As a rule, after the first period of adaptation to tests, it becomes easier to do tasks with tests. Testing is done using the pyneng utility.

Learn more about how to work with the pyneng utility.

More Repositories

1

pyneng-examples-exercises

Задания и примеры из книги "Python для сетевых инженеров"
Python
235
star
2

pyneng-book

Репозиторий книги "Python для сетевых инженеров": основы Python с примерами на сетевой тематике.
116
star
3

Ansible-for-network-engineers

Репозиторий книги "Ansible для сетевых инженеров". Книга не обновляется и не дописывается! Используется версия Ansible 2.9
88
star
4

pyneng-book-en

Python for Network Engineers: https://pyneng.readthedocs.io/en/latest/
44
star
5

q_and_a

Python Q&A for Network Engineers
Python
30
star
6

old-pyneng-slides

СТАРЫЕ презентации к курсу Python для сетевых инженеров
CSS
28
star
7

advpyneng-examples-exercises

Задания и примеры из книги "Advanced Python для сетевых инженеров"
Python
28
star
8

100-days-of-Python

100 Days Of Code/Python
Python
27
star
9

pyneng-examples

Python code examples for Network Engineers
Python
26
star
10

advpyneng-book

(Книга в процессе написания!) Репозиторий книги "Advanced Python для сетевых инженеров"
25
star
11

NetDay

Материалы курсов "Сетевые Дни"
24
star
12

pyneng-answers

Ответы на задания из книги/курса "Python для сетевых инженеров"
Python
21
star
13

pyneng-answers-en

Answers to tasks from the book "Python for Network Engineers"
Python
12
star
14

DELETE-pyneng-book-uk

Книга переїхала на нову платформу!
11
star
15

ansible-example-exercises

Задания и примеры из книги "Ansible для сетевых инженеров"
10
star
16

natenka

8
star
17

old-100-days-of-Clojure

100 Days Of Clojure
Clojure
7
star
18

tools-online-courses

My tools for online courses
Python
6
star
19

dotfiles

Shell
6
star
20

learning-go-notes

Notes on learning Go
5
star
21

asyncpyneng-book

Репозиторий книги "Основы asyncio для сетевых инженеров"
5
star
22

asyncio-study-group

Изучаю Python asyncio
Python
3
star
23

PyNEng

3
star
24

pyneng-tasks-solutions

Solutions for tasks from the book Python for network engineers
Python
3
star
25

advpyneng-cli-course

Python
3
star
26

pyneng-cli-course

CLI tool for running tests in the Python for network engineers course
Python
2
star
27

pyneng-quiz

Python
2
star
28

pyneng.io

Python для мережевих інженерів - книга, курс та завдання з основ Python
SCSS
2
star
29

pyneng-cli

CLI tool for testing tasks from the book Python for Network Engineers
Python
2
star
30

grade-system

Система проверки лабораторных для проекта "CCIE за год"
Python
2
star
31

notes

1
star
32

advpyneng

1
star
33

pynenguk-examples

Приклади коду з курсу Python для мережевих інженерів
1
star
34

pynenguk-quiz

Запитання за темами курсу/книги Python для мережевих інженерів.
Python
1
star
35

pynenguk-tasks

Завдання для книги/курсу Python для мережевих інженерів
Python
1
star