Skip to content
P

python-project-structure

Python project organization, module architecture, and public API design

by wshobsonFree

Launch
#1808in AI Skills
0In stores

Description

python-project-structure is an agent skill from the wshobson/agents collection for organizing Python projects, their modules and their publi…

Highlights

  • Module cohesion and single-purpose modules
  • Explicit public APIs with __all__
  • Flat versus nested directory layouts
  • Test file placement
  • Layouts for applications and libraries
  • Installs with the skills CLI

Ratings & Reviews

No ratings yet

Be the first to rate python-project-structure.

People also visit

P

python-design-patterns

Fundamental design principles for writing maintainable, testable Python code

AI Skills
Launch
G

golang-project-layout

Golang project layout and workspace setup

AI Skills
Launch
D

django-patterns

Django architecture patterns, REST API design

AI Skills
Launch
A

airflow-dag-patterns

Build production Apache Airflow DAGs

AI Skills
Launch
A

async-python-patterns

Comprehensive guide to asyncio, concurrent patterns

AI Skills
Launch
B

backtesting-frameworks

Robust backtesting systems

AI Skills
Launch

python-project-structure FAQ

What does this skill help with?

Organizing Python projects and modules so code is easy to find, and public interfaces are clear.

What is __all__ used for?

Defining a module's public API, so the parts meant for other code to use are explicit.

Does it cover tests?

Yes. It covers where test files should be placed.

Can it reorganize an existing project?

Yes. Reorganizing an existing codebase for clarity is one of the uses, and the moves should be checked against the test suite.

How do I install it?

Run npx skills add https://github.com/wshobson/agents --skill python-project-structure.

What security audits does it have?

skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.

What are the best python-project-structure alternatives?

Popular alternatives to python-project-structure include python-design-patterns, golang-project-layout and django-patterns. See all python-project-structure alternatives

Developer Stuff

Badges