Our Top 3 Recommended Pytest Commands
Today I want to share with you 3 of my favourite commands when using Pytest. But first of all...
Whats Pytest?
For those of you who are new to Pytest (checkout new instructor-led course here):
Pytest is a flexible, mature and feature-rich framework for testing Python code.
Pytest has been
How to Reduce Pytest Execution Times
I have to admit, after adding the final test for checking the Nornir course code repo, it felt good. 56 tests in total. Job done! Well, kind of. After performing a final run and feeling smug that I was getting a screen of green passes, it raised the next question:
Dynamically Generating Tests with Pytest Parametrization
In this post, I'm going to show you how to dynamically generate tests within Pytest using, in my opinion, one of its best features - parametrization.
But first of all ...
What is Pytest?
Pytest is a flexible open-source framework for testing Python code.
Its key strength lies in
Network Discovery with Slurp'it
Today, we will look at a new tool to hit the market named Slurp'it. Which defines itself as:
a powerful and easy-to-use network discovery solution ...
That sounds great, right? But what exactly does this mean? We will look at some of Slurp'it's features, the
🚀 Just Released - Packet Coders Tools
✨Packet Coders are proud to announce our new suite of Network Automation Tools. Designed to assist with the learning and use of the common tools and parsers being used in the hashtag#networkautomation eco-system at the moment.
Available Tools
⭐ Jinja Renderer - click here
⭐ TTP Parser - click here
⭐ TextFSM
Accelerate Your Pip Installs with Uv
Have you ever found yourself patiently waiting as Pip installs the various Python packages needed for your latest project? Well, the good folks at Astral aim to solve this common frustration with their new tool: uv!
What is Uv?
uv is a fast (10-100 times faster) high-speed package installer and
An Introduction to Pandas for Network Automation
What is Pandas?
Pandas is a Python library for performing data exploration, manipulation and analysis that allows you to work with data in easy-to-use Panda data structures, namely DataFrames. Pandas' popularity can be thanked based on its ease of use, flexibility and support in helping data scientists work with
Diff`ing Files with Difftastic
What is Difftastic?
Difftasic is a CLI tool that allows you to compare files based on their syntax rather than rely on line-by-line matching.
For example, this means that if you had the following files, Difftastic would not detect any differences.
$ cat vlans_1.json
{ "vlans": [100, 200,
Subscribe to our newsletter and stay updated.
Don't miss anything. Get all the latest posts delivered straight to your inbox.