Logo
Python Snacks
Logo
Articles
Advertise
Contact
Books
Sign Up

best-practices

Recommended or community-endorsed ways to write clean, maintainable code.


Using Pre-commit Hooks for your Python Project

Using Pre-commit Hooks for your Python Project

Keep your code clean, consistent, and manageable with your team members.

Oct 15, 2025

•

6 min read

The Basics of Python Packaging

The Basics of Python Packaging

Leveraging Python packaging to make your code reusable and accessible

Oct 8, 2025

•

7 min read

Python Generators - The One Tool to Add to Your Toolbelt

Python Generators - The One Tool to Add to Your Toolbelt

Sep 24, 2025

•

7 min read

Understanding Python's Context Managers

Understanding Python's Context Managers

Python Context Managers Tutorial: Prevent Resource Leaks and Database Connection Errors

Aug 6, 2025

•

6 min read

An Overview of Companies using the FastAPI and Django Python Web Frameworks

An Overview of Companies using the FastAPI and Django Python Web Frameworks

See which major tech players are using Python's top web frameworks: Django and FastAPI

Jul 30, 2025

•

8 min read

Leveraging the Power of Python Generators for Real-Time Data Processing

Leveraging the Power of Python Generators for Real-Time Data Processing

Explore how to use Python generators to enhance efficiency and scalability in your data-heavy applications, with real-world examples and tips.

Sep 12, 2024

•

6 min read

Python Lambda Functions: The Basics, Syntax, and Examples

Python Lambda Functions: The Basics, Syntax, and Examples

See how you can leverage Python’s lambda functions for concise, efficient coding with practical examples.

Sep 4, 2024

•

5 min read

Python virtual environments - what you need to know

Python virtual environments - what you need to know

Reduce "dependency hell" by leveraging Python's venv module.

Apr 17, 2024

•

5 min read

Cerberus: The One Package You Need for Data Validation

Cerberus: The One Package You Need for Data Validation

Plus: NumPy 2 release on the horizon, a tutorial on data cleaning, and more

Jan 17, 2024

•

5 min read

Letting Python Do the Heavy Lifting: A Dive into *args and **kwargs

Letting Python Do the Heavy Lifting: A Dive into *args and **kwargs

Want more fexibility in your code? Leveraging *args and **kwargs may be the key.

Dec 6, 2023

•

7 min read

background

Become a better software engineer today.

Newsletter

Login

Upgrade to Pro

Sample Issue

Advertise

Tools

Tutorials

Templates

Resources

Newsletter

Blog

Latest Posts

Experts

Creators

Most Popular

Resources

Support

Recommendations

Software Engineering Books

© 2026 Python Snacks.

Report abuse

Privacy policy

Terms of use

Powered by beehiiv