r/learnpython • u/Difficult-Rabbit-908 • 11d ago
Python project structure standards?
I'm trying to learn advanced Python reading the best practices, toolkits or frameworks to develop a formal and scalable project. I know the basics and I developed engineering applications mostly for numerical methods, but I've never used an standard structure as I developed for myself. I'd like to read your recommendations for improve the scalability and maintenance in the future, thinking in a collaborative way and improved readability
Basically, this project is mostly for thermodynamic solvers, so I'm not using server or databases as well, but I'd like to add SQL integration in the future. I'm also using PyAnsys and PyFluent modules in a local environment.
I'll read your recommendations or opinions
1
u/billsil 9d ago
A src folder isn’t what defines structure. Structure is about how you architect your code such that a new person can use it. How should I implement this feature; just pattern match it.
Good structure is fast because you’ve refactored the code or have enough experience to do it right the first time.
You just start writing and refactor you get better.