× Want to read this newsletter every week?! × 👋  Join FAUN
 
Best news, tutorials, libraries and more from Pythonistas.Python Weekly Newsletter, Pydo, a FAUN Newsletter.
 
🔗 View in your browser.   |  ✍️ Publish on FAUN   |  🦄 Become a sponsor
 
Best news, tutorials, libraries and more from Pythonistas.
PyDo
 
Curated Python news, tutorials, tools and more!
 
 
⭐ Patrons
 
bytevibe.co bytevibe.co
 
Show off your love for all things TECH
 
 
If you're seeking a cozy sweatshirt to wear during your extended coding sessions or a mug to exhibit your passion for programming, you can find it all here.

We're offering an immediate 20% off on all products when you use the code "THANKSFAUN" at checkout!
 
 
goteleport.com goteleport.com
 
Stolen credentials are the #1 cause of data breaches
 
 
Teleport makes your infrastructure more secure, scalable, and easier to use by eliminating static credentials like SSH keys and passwords and replacing them with biometric-based access.

The Teleport platform supports modern DevOps workflows. And with fewer credentials to steal, security teams can improve security and compliance.

Try today .
 
 

👉 Spread the word and help developers find you by promoting your projects on FAUN. Get in touch for more information.

 
👨‍💻👩‍💻 Humans Behind Code
 
faun.dev faun.dev
 
Bernard Halas, Claudie Lead Engineer: Enabling Kubernetes Freedom Across Clouds
 
 
Claudie is a platform for managing multi-cloud Kubernetes clusters, with each nodepool in a different cloud provider. It supports cloud bursting, service interconnect, managed Kubernetes for providers that do not offer it, and cost savings.

Today, we are talking with Bernard Halas, the Lead Engineer of Claudie. Read on to learn more about the human and the code!
 
 
👉Are you the developer/founder of an Open Source project? Apply here and get featured on Humans Behind Code.
 
⭐ Sponsors
 
www.manageengine.com www.manageengine.com
 
The all-in-one monitoring solution for IT admins, DevOps and SREs
 
 
Get deep visibility into the performance of your complex enterprise applications and cloud native workloads. Identify potential issues, improve productivity, and ensure that your business and end users are unaffected by downtime and substandard performance.

Download a 30-day free trial .
 
 
👉 Spread the word and help developers find you by promoting your projects on FAUN. Get in touch for more information.
 
🔗 Stories, Tutorials & Articles
 
www.pythonmorsels.com www.pythonmorsels.com
 
Using "any" and "all" in Python   ✅
 
 
Python's any and all functions are built-in functions that can help check whether all or any items match a given condition in an iterable.

Instead of using a for loop and a conditional statement, one can use the any and all functions along with a generator expression to make the code more concise and readable.

The any function returns True if at least one item is truthy, while the all function returns True if all items are truthy. It is also possible to use the in operator to check if a given item is contained in an iterable.
 
 
www.databricks.com www.databricks.com
 
Hello Dolly: Democratizing the magic of ChatGPT with open models   ✅
 
 
Databricks has released an open source language model called Dolly , which has been trained on a small corpus of instruction data and fine-tuned to exhibit ChatGPT-like interactivity.

Despite being only 6 billion parameters and two years old, Dolly exhibits instruction-following capabilities such as brainstorming and text generation.

The release of Dolly is part of Databricks' effort to democratize large language models and help organizations build their own models rather than relying on centralized LLM providers.

However, the technology is still in its early stages and users should be aware of potential issues such as factual accuracy, bias, and offensive responses.
 
 
www.datafold.com www.datafold.com
 
4 ways to build dbt Python models
 
 
dbt is a powerful data transformation tool that supports SQL transformation and model creation. It was originally created in Python but is intended for SQL transformation. However, with the trend towards language convergence among various data warehouse vendors, the trend towards support for Python in dbt is on the rise.

This article covers how to create a dbt Python model for use with Snowflake, Databricks, Google BigQuery and third-party adapters such as dbt-fal. The article explores the benefits of using Python with dbt, including being able to apply machine learning techniques to data transformation.
 
 
lukeplant.me.uk lukeplant.me.uk
 
The different uses of Python type hints
 
 
Using type hints in Python helps with autocomplete, refactor, static analysis, and tool checks while working with annotated libraries like Pydantic, FastAPI, etc.

Type hints can distinguish immediate error checking and type checking for build & deployment processes. Different use cases require awareness before adding type hints, which may be irrelevant if the codebase rejects them.
 
 
death.andgravity.com death.andgravity.com
 
Limiting concurrency in Python asyncio: the story of async imap_unordered()   ✅
 
 
This article is a guide for experienced developers who need to do asynchronous processing many times, such as scraping data or calling an API multiple times.

It discusses ways to limit the concurrency in asyncio to avoid loading everything in memory at once and overloading the services being called.

The article covers various techniques such as:
  • asyncio.gather(),
  • asyncio.Semaphore,
  • asyncio.as_completed(),
  • asyncio.Queue,
  • asyncio.wait()

The article also highlights common issues and bugs that can arise with each technique and how to fix them.
 
 
 
⭐ Supporters
 
faun.dev faun.dev
 
Post Developers Jobs for Free on FAUN
 
 
FAUN's Job Board offers an exceptional platform to connect with skilled developers, DevOps professionals, and software engineers who are eager to contribute to the success of your organization.

Post your job openings on FAUN's Job Board today and watch your talent pool grow.

Get started now .
 
 
👉 Spread the word and help developers find you by promoting your projects on FAUN. Get in touch for more information.
 
⭐ Jobs & Career Opportunities
 
faun.dev faun.dev
 
Senior Site Reliability Engineer (100% Remote)
 
 
Join the Web3 Revolution: Status.im is seeking a talented Infrastructure Engineer!

Contribute to the future of secure, private, and open web3 with Ethereum-based tools, DApps, and cutting-edge blockchain technology. Work remotely with a diverse, global team.

Apply now and help build the decentralized web of tomorrow.
 
 

👉 Promote your jobs in this newsletter. Start posting on FAUN Jobs

 
🎦 Videos, Talks & Presentations
 
www.youtube.com www.youtube.com
 
Intro to TDD with Python and the FizzBuzz Code Kata
 
 
In this video, you will learn about the following topics:
  • An intro to Test Driven Development (TDD)
  • Red-Green-Refactor
  • The importance of source control
  • Code coverage in Python
The video shows you how I use pytest to test your code and Coverage to learn how much of your code is truly tested. You will use the FizzBuzz Code Kata to learn about all these topics.
 
 
 
⚙️ Tools, Apps & Software
 
github.com github.com
 
centerofci/mathesar
 
 
Web application providing an intuitive user experience to databases.
 
 
github.com github.com
 
aleksul/repid
 
 
Repid framework: simple to use, fast to run and extensible to adopt job scheduler
 
 
github.com github.com
 
nomic-ai/pyllamacpp
 
 
Official supported Python bindings for llama.cpp + gpt4all
 
 
github.com github.com
 
autometrics-dev/autometrics-py
 
 
Python Library autometric makes creating Prometheus metrics a breeze by using a decorator to instrument functions and class methods throughout your codebase.
 
 

👉 Spread the word and help developers find and follow your Open Source project by promoting it on FAUN. Get in touch for more information.

 
😂 Meme of the week
 
 
 
 
❤️ Thanks for reading
 
 
👉 Never miss an issue
Join FAUN Developer Community and subscribe to our newsletter here.

👋 Keep in touch and follow us on social media:
- 💼LinkedIn
- 📝Medium
- 🐦Twitter
- 👥Facebook
- 📸Instagram

👌 Was this newsletter helpful?
We'd really appreciate it if you could share it with your friends! You can also donate to help us keep this newsletter going.

ℹ️ Have a question or feedback?
Feel free to reach out to us at community@faun.dev. We'd love to hear from you!

🤩 Want to sponsor our newsletter?
Reach out to us at sponsors@faun.dev and we'll get back to you as soon as possible.