Python Patterns

Common Python patterns for this project

sbroenne Updated 7 repo stars

File contents

Python Patterns

Overview

Common Python patterns for this project.

Patterns

  • Use dataclasses with slots=True for data objects
  • Use async/await for I/O operations
  • Use pathlib.Path instead of os.path

sbroenne/pytest-skill-engineering commit 46a868ad98

Frequently asked questions

npx get-skill add sbroenne/python-patterns