Level up your DevOps game — Best of this Week 27th Aug 2023

Vikas Yadav
3 min readAug 27, 2023

“Live as if you were to die tomorrow. Learn as if you were to live forever.” — Mahatma Gandhi

I compile Site Reliability Engineering/DevOps-related articles every week and help you keep up your learning game.

This week we covered:

  1. The Ultimate Swiss Army Knife for Handling File Paths with Python’s pathlib
  2. Exploring the CNCF Cloud Native Interactive Landscape
  3. Boost Your Productivity with kubectl Aliases
  4. Quick Prototyping with LLM Apps using Flowise

I also write about the tools and tips related to Software Development and SRE regularly on my Linkedin profile. You can check out my profile here: https://www.linkedin.com/in/vikasyadav94/

The Ultimate Swiss Army Knife for Handling File Paths with Python’s pathlib

You won’t believe how much easier your life can be with Python’s pathlib.

It’s intuitive, reduces errors, and makes you more productive.

Pathlib offers tons of wonderful features like:

-> Object-Oriented Approach: Paths are represented as objects, enabling intuitive operations and method chaining.

-> Platform Independence: Paths automatically adapt to the OS format, ensuring cross-platform compatibility.

-> Path Manipulation: Methods for joining, getting parent directory, resolving absolute paths, and existence checks.

-> File System Operations: Supports reading, writing, copying, moving, and deleting files/directories directly with path objects.

-> Flexible Path Handling: Methods for splitting paths, extracting components (name, extension), and easy manipulation.

Check out this blog to learn more about how you can use the pathlib library. And please — don’t use the os library for dealing with paths ever again.

Exploring the CNCF Cloud Native Interactive Landscape

Want to explore the ecosystem which has received funding of more than 59 billion dollars?

Welcome to the CNCF Cloud Native Interactive Landscape! 🌠

Here’s why every tech developer and entrepreneur needs to explore this:

1️⃣ Breathtaking Diversity: With a staggering 1,230 products from orchestration to security, monitoring, serverless innovations, and beyond! — there’s something for everyone. You can explore all the state-of-the-art funded tools related to your domain.

2️⃣ The Stars Have Aligned: A jaw-dropping combined total of 3,795,480 stars on GitHub! 🌟 Witness where the global developer community is throwing its weight.

3️⃣ Future-Proof your team: You’re looking at tools and projects that are shaping the future. A lot of these tools might drastically change the way you operate — it’s good to study them and incorporate them in your workflows!

Boost Your Productivity with kubectl Aliases

Tired of typing the same kubectl command over and over?

Uncover a goldmine of shortcuts to boost your productivity!

If you’re looking to be more efficient, you might want to check out these kubectl aliases. They’re essentially shortcuts to help you work smarter, not harder.

I stumbled upon this repository that offers a script to generate hundreds of these handy shell aliases for kubectl. So, say goodbye to repeatedly typing out every single command and — flag. 🚀

Quick Prototyping with LLM Apps using Flowise

Want to quickly prototype LLM Apps without getting involved in all the complicated stuff?

Here’s something I’ve been playing around with lately.

Flowise is an #opensource tool that lets you quickly build QnA chains rapidly. It also lets you expose the chatbot you created as an API.

For me, this drastically brought down the prototyping time for a lot of experiments that I wanted to do. Give it a try and let me know your thoughts.

--

--