How do you decide when to keep a project in a single python file vs break it up into multiple files?

This page summarizes the projects mentioned and recommended in the original post on /r/learnpython

Scout Monitoring - Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • Airflow

    Apache Airflow - A platform to programmatically author, schedule, and monitor workflows

  • Check out taskinstance.py in the Airflow project, it's a well targeted file, it has only one main class TaskInstance and a few small supporting classes and functions. It is ~3000 lines long: https://github.com/apache/airflow/blob/main/airflow/models/taskinstance.py

  • MicroPython

    MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems

  • boot.py and main.py comes from Micropython.

  • Scout Monitoring

    Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.

    Scout Monitoring logo
  • requests

    A simple, yet elegant, HTTP library.

  • The requests package has been the golden standard for package structure for as long as I can remember.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • urllib3 v2.0.0 is now generally available!

    2 projects | /r/Python | 26 Apr 2023
  • I built a chatbot that lets you talk to any Github repository

    2 projects | /r/node | 31 Mar 2023
  • Development environment for the Python requests package

    1 project | dev.to | 12 Mar 2023
  • Trying to install autoscan from https://github.com/NiNiyas/autoscan and stuck with no idea what the problem is.

    6 projects | /r/PleX | 5 Mar 2023
  • Pain when going back to other languages

    2 projects | /r/rust | 5 Mar 2023