Skip to content

Code-and-Cogito/code-cogito-public

Repository files navigation

Code & Cogito — Public Code Repository

Decoding history through code. Understanding philosophy through data.

Blog Languages License Last Commit Stars

About

This repository contains the free, open-source Python code accompanying Code & Cogito blog articles. Each script is a standalone, runnable analysis that demonstrates the core concepts discussed in the corresponding article.

Series

Using Python to reconstruct 500 years of intellectual evolution — from Florence's trade networks to Darwin's revolution.

# Article Code
01 Why Florence Became the Cradle of the Renaissance florence_network_analysis.py
02 The Medici Family: A Financial Empire's Cultural Investment medici_bank_analysis.py
03 Da Vinci's Anatomical Revolution vitruvian_man_analysis.py
04 The Magic of Vanishing Points: Perspective perspective_analysis.py
05 Humanism — The Birth of Human Dignity humanism_analysis.py
06 The Printing Press: Information Revolution printing_press_analysis.py
07 Reformation — When Authority Crumbles reformation_analysis.py
08 Enlightenment — When Reason Becomes the New God enlightenment_analysis.py
09 Romanticism: When Poets Rebel romanticism_analysis.py
10 The Industrial Revolution: When Machines Changed Everything industrial_revolution_analysis.py
11 Darwin's Evolution: The Final Revolution darwin_analysis.py
12 The Ultimate Legacy: What Did We Inherit? legacy_analysis.py

Using Python to draw parallels between the Industrial Revolution (1760-1840) and today's digital transformation.

# Article Code
01 Steam Engine vs Cloud Computing steam_vs_cloud_analysis.py
02 Factory Discipline vs Platform Algorithms factory_vs_platform_analysis.py
03 Marx's Alienation in the Algorithm Age alienation_analysis.py
04 Data Archaeology of the Industrial Revolution data_archaeology_analysis.py
05 Child Labour vs Algorithmic Bias child_labour_vs_bias_analysis.py

📅 Articles coming May 2026

Using Python to explore the surprising structural parallels between quantum physics and Eastern philosophical traditions.

# Article Code
01 Quantum Revolution: From Newton to Planck quantum_revolution_analysis.py
02 Copenhagen Interpretation vs Kyoto School copenhagen_kyoto_analysis.py
03 Quantum Superposition and Taoism superposition_dao_analysis.py
04 Uncertainty Principle and Buddhist Emptiness uncertainty_emptiness_analysis.py
05 Quantum Entanglement vs Indra's Net entanglement_indra_analysis.py
06-12 ... Browse all →

📅 Articles coming June–October 2026

Using Python to draw parallels between Renaissance intellectual revolutions and their modern digital counterparts.

# Article Code
01 Humanism vs Age of Personal Branding humanism_vs_branding_analysis.py
02 Printing Revolution vs Social Media Explosion printing_vs_social_analysis.py
03 Reformation vs Decentralization Movement reformation_vs_decentralization_analysis.py

📅 Articles coming June–July 2026

Using Python to analyze 400 years of financial bubbles and crises — from tulip mania to crypto collapse.

# Article Code
01 Tulip Mania vs Bitcoin Bubble tulip_vs_bitcoin_analysis.py
02 South Sea Bubble vs Dot-Com Bubble south_sea_vs_dotcom_analysis.py
03 Great Depression vs 2008 Financial Crisis depression_vs_2008_analysis.py
04 Japan's Lost Decades vs Taiwan's Housing Crisis japan_lost_decades_analysis.py
05 Bank Runs: Northern Rock to SVB bank_runs_analysis.py
06 Collapse of FTX: Bankruptcy of Trust ftx_collapse_analysis.py

📅 Articles coming September–December 2026

Quick Start

# Clone the repository
git clone https://github.com/Code-and-Cogito/code-cogito-public.git
cd code-cogito-public

# Install dependencies
pip install networkx matplotlib numpy pandas

# Run any script
python series-01-renaissance/article-01-florence/florence_network_analysis.py

Requirements

  • Python 3.8+
  • networkx
  • matplotlib
  • numpy
  • pandas

Deep Dive Packs

Want the complete code, datasets, Jupyter Notebooks, and PDF cheatsheets? Check out our Deep Dive Packs.

Languages

All blog articles are available in three languages:

Author

Wina — Ocean physics researcher & cross-disciplinary content creator.

License

MIT License — see LICENSE for details.

About

Python code for Code & Cogito blog — analyzing history, philosophy, and finance through data | 用 Python 解構歷史、哲學、金融 | NetworkX, Matplotlib, NumPy

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages