cosmicpython/book

A Book about Pythonic Application Architecture Patterns for Managing Complexity. Cosmos is the Opposite of Chaos you see. O'R. wouldn't actually let us call it "Cosmic Python" tho.

Python

3,872

2,051 commits

updated Sep 8, 2025

See the code

README

Book repo

BookCode
Book Build StatusCode build status

Table of Contents

O'Reilly have generously said that we will be able to publish this book under a CC license, In the meantime, pull requests, typofixes, and more substantial feedback + suggestions are enthusiastically solicited.

Below is just instructions for me and bob really.

Dependencies:

  • asciidoctor
  • Pygments (for syntax higlighting)
  • asciidoctor-diagram (to render images from the text sources in ./images)
gem install asciidoctor
python2 -m pip install --user pygments
gem install pygments.rb
gem install asciidoctor-diagram

Commands

make html  # builds local .html versions of each chapter
make test  # does a sanity-check of the code listings

cosmicpython/book

A Book about Pythonic Application Architecture Patterns for Managing Complexity. Cosmos is the Opposite of Chaos you see. O'R. wouldn't actually let us call it "Cosmic Python" tho.

Python

3,872

2,051 commits

updated Sep 8, 2025

See the code

README

Book repo

BookCode
Book Build StatusCode build status

Table of Contents

O'Reilly have generously said that we will be able to publish this book under a CC license, In the meantime, pull requests, typofixes, and more substantial feedback + suggestions are enthusiastically solicited.

Below is just instructions for me and bob really.

Dependencies:

  • asciidoctor
  • Pygments (for syntax higlighting)
  • asciidoctor-diagram (to render images from the text sources in ./images)
gem install asciidoctor
python2 -m pip install --user pygments
gem install pygments.rb
gem install asciidoctor-diagram

Commands

make html  # builds local .html versions of each chapter
make test  # does a sanity-check of the code listings

Project health

Overall

2.5/10

Maintained

0/10

Code review

4/10
OpenSSF Scorecard

Significant stargazers

(top 24 of 30)

Adam Johnson

3,982 followers · starred Mar 2020

Michael Herman

2,884 followers · starred Mar 2020

Miroslav Šedivý

89 followers · starred Jun 2020

David Lord

2,325 followers · starred Apr 2024