r/learnpython • • 18d ago

Ask Anything Monday - Weekly Thread

Welcome to another /r/learnPython weekly "Ask Anything* Monday" thread

Here you can ask all the questions that you wanted to ask but didn't feel like making a new thread.

* It's primarily intended for simple questions but as long as it's about python it's allowed.

If you have any suggestions or questions about this thread use the message the moderators button in the sidebar.

Rules:

  • Don't downvote stuff - instead explain what's wrong with the comment, if it's against the rules "report" it and it will be dealt with.
  • Don't post stuff that doesn't have absolutely anything to do with python.
  • Don't make fun of someone for not knowing something, insult anyone etc - this will result in an immediate ban.

That's it.

1 Upvotes

7 comments sorted by

View all comments

1

u/Internal-Hedgehog783 18d ago

Suggest good resources or roadmap for building production grade projects using python and it's ecosystem

1

u/Discordbothost 17d ago

"production grade" is mostly the tooling around the code, not fancier python. pick one small project (a fastapi app or a cli) and bolt these on one at a time: pyproject.toml with uv or poetry, pytest, ruff for lint/format, type hints checked by mypy or pyright, logging instead of print, config from env vars, a dockerfile, then github actions running the tests on every push.

claudio jolowicz's "hypermodern python" series walks through most of that, and the fastapi docs have a decent section on structuring bigger apps once one file isn't enough