🌐
GitHub
github.com β€Ί csymvoul β€Ί python-structure-template
GitHub - csymvoul/python-structure-template: A Python project to use as a template when developing a Python application Β· GitHub
project β”œβ”€β”€ README.md β”œβ”€β”€ example β”‚ β”œβ”€β”€ __init__.py β”‚ β”œβ”€β”€ package_1 β”‚ β”‚ β”œβ”€β”€ __init__.py β”‚ β”‚ β”œβ”€β”€ awesome_module.py β”‚ β”‚ β”œβ”€β”€ ...
🌐
GitHub
github.com β€Ί yngvem β€Ί python-project-structure
GitHub - yngvem/python-project-structure: An outdated tutorial on how to manage a Python project Β· GitHub
Some projects might include more code, especially if you are using Cython or creating C-extensions to Python. However, if you are not, then this style will probably suffice. The reason we keep the setup.py minimal is that we want to keep as much of the setup configuration as possible inside the setup.cfg file.
🌐
GitHub
github.com β€Ί kengz β€Ί python-structure
GitHub - kengz/python-structure: Sample project structure for a python package. Β· GitHub
Sample project structure for a python package, contains all the necessary files to publish a PyPI package.
🌐
GitHub
github.com β€Ί johnthagen β€Ί python-blueprint
GitHub - johnthagen/python-blueprint: πŸ—ΊοΈ Example Python project using best practices 🐍 https://github.com/johnthagen/python-blueprint
The project contains a fact package that provides a simple implementation of the factorial algorithm (fact.lib) and a command line interface (fact.cli). This package uses uv to manage dependencies and isolated Python virtual environments.
Starred by 736 users
Forked by 104 users
Languages: Python 56.6% | Dockerfile 43.4%
Author: ferdinandvanwyk
🌐
GitHub
github.com β€Ί bast β€Ί somepackage
GitHub - bast/somepackage: Show how to structure a Python project. Β· GitHub
Show how to structure a Python project. Inspired by https://github.com/kennethreitz/samplemod.
Author: bast
🌐
GitHub
github.com β€Ί nedbat β€Ί pkgsample
GitHub - nedbat/pkgsample: A simple example of how to structure a Python project Β· GitHub
You should examine the files here, decide which are right for you, and adapt them to your needs. This directory is where you put your code. It should have one subdirectory named for your project, and all of your work goes into that subdirectory.
Starred by 14 users
Forked by 7 users
Languages: Python 95.1% | Makefile 4.9% | Python 95.1% | Makefile 4.9%
Starred by 2 users
Forked by 3 users
Find elsewhere
🌐
GitHub
github.com β€Ί topics β€Ί project-structure
project-structure Β· GitHub Topics Β· GitHub
Clean example project showing the recommended folder structure and .claude configuration for Claude Code (Anthropic's AI coding assistant). Built with FastAPI + Python.
Author: rpatterson
🌐
GitHub
github.com β€Ί pypa β€Ί sampleproject
GitHub - pypa/sampleproject: A sample project that exists for PyPUG's "Tutorial on Packaging and Distributing Projects" Β· GitHub
The metadata for a Python project is defined in the pyproject.toml file, an example of which is included in this project. You should edit this file accordingly to adapt this sample project to your needs.
Starred by 5.2K users
Forked by 1.8K users
Languages: Python
🌐
Away With Ideas
awaywithideas.com β€Ί the-optimal-python-project-structure
The optimal python project structure | Away With Ideas
March 21, 2020 - Some examples of .gitignore files can be found in this github repository. I usually start with a small number of files and build gradually. My basic .gitignore might resemble this: # Pycache and compiled python files. __pycache__/ *py[cod] # Jupyter notebook checkpoints .ipynb_checkpoints #Egg info files produced by pip installation *egg-info Β· A readme is a documentation file often written in markdown. It contains useful information so that others can understand what your project is about.
🌐
GitHub
github.com β€Ί topics β€Ί python-project-template
python-project-template Β· GitHub Topics Β· GitHub
dev_template is a user-friendly tool for setting up new Python projects. It provides a consistent structure, easy to use features, and cross-platform compatibility. This tool is for those of us that are lazy, simplifying the installation of packages, creation of directories, config files, and virtual environments.
Author: MatthewDaws
🌐
GitHub
github.com β€Ί realpython β€Ί python-guide β€Ί blob β€Ί master β€Ί docs β€Ί writing β€Ί structure.rst
python-guide/docs/writing/structure.rst at master Β· realpython/python-guide
README.rst samplesite/manage.py samplesite/samplesite/settings.py samplesite/samplesite/wsgi.py samplesite/samplesite/sampleapp/models.py Β· Don't do this. Repetitive paths are confusing for both your tools and your developers. Unnecessary nesting doesn't help anybody (unless they're nostalgic for monolithic SVN repos). ... Note the ".". ... Thanks to the way imports and modules are handled in Python, it is relatively easy to structure a Python project.
Author: realpython
🌐
GitHub
github.com β€Ί charlstown β€Ί Python-Project-Structure
GitHub - charlstown/Python-Project-Structure: A clean and nice way to structure Python projects Β· GitHub
This repository is part of my post: Python Project Structure, where I explain my favorite way to organize and structure Python projects.
Author: charlstown
🌐
Wpcomstaging
waterprogramming.wpcomstaging.com β€Ί 2023 β€Ί 01 β€Ί 18 β€Ί structuring-a-python-project-recommendations-and-a-template-example
Structuring a Python Project: Recommendations and a Template Example – Water Programming: A Collaborative Research Blog
January 18, 2023 - Overall, taking the time to structure a Python project when starting can save a lot of time and heartache in the long run, by making the project easier to understand, maintain, and expand. The repository containing this example project is available on GitHub here: example_python_project.
🌐
GitHub
github.com β€Ί pyscaffold β€Ί pyscaffold
GitHub - pyscaffold/pyscaffold: πŸ›  Python project template generator with batteries included
The project template provides you with following features: All configuration can be done in setup.cfg like changing the description, URL, classifiers, installation requirements and so on as defined by setuptools. That means in most cases it is not necessary to tamper with setup.py. In order to build a source or wheel distribution, just run tox -e build (if you don't use tox, you can also install build and run python -m build).
Author: pyscaffold