Tag: #python

Posts tagged with #python

FastAPI on AWS: Choosing Between Lambda and Fargate

FastAPI is a modern, fast web framework for building APIs with Python. When deploying to AWS, two popular choices are Lambda and Fargate. This article explores the pros and cons of each, helping you decide which is the right fit for your next project.

Read more

Observability with AWS Lambda Powertools for Python

Elevate your serverless applications with AWS Lambda Powertools for Python. This guide introduces the three core utilities—Tracer, Logger, and Metrics—for implementing structured logging, distributed tracing, and custom metrics.

Read more

A Guide to Python's pyproject.toml

Discover the pyproject.toml file, the modern, unified standard for configuring Python projects. Learn how it replaces older files like setup.py and requirements.txt and how to use it to manage your project's dependencies and tools.

Read more

Python 3.11: A Leap in Performance

Python 3.11 is one of the most significant releases in the language's history, bringing major performance improvements. We dive into what makes it faster and why you should upgrade.

Read more

Python Best Practices for 2023

A guide to the modern Python best practices you should be using in 2023. From project management with pyproject.toml to type hints and f-strings, these are the standards for writing clean, professional Python code.

Read more

Python Type Hints: A Practical Guide

An introduction to type hints in Python. Learn why adding types to your code can improve readability and prevent bugs, and how to use tools like Mypy to catch errors before you run your code.

Read more

Understanding Python's __main__

A guide to the common Python idiom if __name__ == '__main__':. Learn what this block of code does, why it's important, and how it allows you to write Python files that can be used as both runnable scripts and importable modules.

Read more

Python Type Hints Explained

A guide to type hints in Python. Learn what type hints are, how to use them to annotate your code, and how they can help you write more robust and maintainable programs with the help of static analysis tools.

Read more

Python's Walrus Operator (:=) Explained

A practical guide to the assignment expression operator (:=), also known as the walrus operator, introduced in Python 3.8. Learn how it can simplify common coding patterns and make your code more concise.

Read more

Getting Started with Pytest

An introduction to pytest, the most popular testing framework for Python. Learn how its simple syntax, powerful fixture model, and rich plugin ecosystem can make writing tests easier and more enjoyable.

Read more

A Guide to Python's Pathlib Module

An introduction to Python's modern `pathlib` module. Learn how to use its object-oriented approach to handle filesystem paths in a way that is simpler, more readable, and less error-prone than the traditional `os.path`.

Read more

A Guide to Python's format() Method

A guide to the str.format() method for string formatting in Python. Learn how to use this powerful and flexible method with positional and keyword arguments to create dynamically formatted strings.

Read more

What's New in Python 3.9?

A look at the major new features coming in Python 3.9, including the new dictionary merge operators, more flexible type hinting, and the new zoneinfo module for timezone support.

Read more

A Guide to Python's __init__.py

An explanation of the purpose of the __init__.py file in Python. Learn how it's used to mark directories as Python packages and how you can use it to control your package's namespace.

Read more

What is a 'while' Loop in Python?

A foundational guide to the 'while' loop in Python. Learn how to use this control flow statement to execute a block of code repeatedly as long as a certain condition remains true.

Read more

A Guide to Python Virtual Environments

An essential guide for Python developers on what virtual environments are, why they are crucial for project dependency management, and how to use the built-in venv module to create and manage them.

Read more

What is a 'set' in Python?

A foundational guide to the set, Python's data structure for storing unordered collections of unique elements. Learn how to create sets and perform common mathematical set operations like union and intersection.

Read more

What is a 'string' in Python?

A foundational guide to the string (str) data type in Python. Learn how strings are used to represent text, their immutable nature, and some of the most common operations you can perform on them.

Read more

What is a 'module' in Python?

A foundational guide to modules in Python. Learn how modules are used to organize code into separate files, making your programs more manageable, reusable, and easier to understand.

Read more

A First Look at Python 3.6

An early look at the exciting new features coming in Python 3.6. We explore the new f-strings for improved string formatting, underscores in numeric literals, and the new dictionary implementation.

Read more
Geek Cafe LogoGeek Cafe

Your trusted partner for cloud architecture, development, and technical solutions. Let's build something amazing together.

Quick Links

© 2025 Geek Cafe LLC. All rights reserved.

Research Triangle Park, North Carolina

Version: 8.7.1