back to home

realpython / python-guide

Python best practices guidebook, written for humans.

29,516 stars
5,909 forks
129 issues
BatchfileMakefile

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing realpython/python-guide in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind-ai.vercel.app/repo/realpython/python-guide)
Preview:Analyzed by RepoMind

Repository Summary (README)

Preview

Hitchhiker's Guide to Python

Python Best Practices Guidebook

→ Read the free guide at: docs.python-guide.org <https://docs.python-guide.org>_

.. image:: https://farm1.staticflickr.com/628/33173824932_58add34581_k_d.jpg


Work in progress. If you'd like to help, please do. There's a lot of work to be done.

This guide is currently under heavy development. This opinionated guide exists to provide both novice and expert Python developers a best practice handbook to the installation, configuration, and usage of Python on a daily basis.

Topics include:

  • Platform and version-specific installations
  • Py2app, Py2exe, bbfreeze, pyInstaller
  • Pip
  • Numpy, scipy, statpy, pyplot, matplotlib
  • Virtualenv
  • Fabric
  • Exhaustive module recommendations, grouped by topic/purpose
  • Which libraries to use for what
  • Server configurations & tools for various web frameworks
  • Documentation: writing it
  • Testing: Jenkins & tox guides
  • How to easily interface hg from git

If you aren't fond of reading reStructuredText, there is an almost up-to-date HTML version at docs.python-guide.org <https://docs.python-guide.org>_.