What does the structure of a modern Python project look like?

  Рет қаралды 9,722

InfoWorld

InfoWorld

Күн бұрын

Пікірлер: 11
@Vnifit
@Vnifit Жыл бұрын
Really great stuff, I really like your explanations! Your cadence reminds me a bit of "Bill Hammack the Engineer Guy", and that's great as I find it a very smooth and understandable speech pattern, that isn't racing fast and is pleasent to listen to, despite the complexity of information. Found you from your Cython video. Keep up the great work!
@NaJoeLibre
@NaJoeLibre 3 ай бұрын
Exactly what I was looking for, thank you!
@goncalocastro3412
@goncalocastro3412 Ай бұрын
thank you, this video has amazing and valuable information
@GstvMtz
@GstvMtz 4 ай бұрын
Hi, excelente video! would be really helpfull to post the repository as well. Thanks!
@XoloJay
@XoloJay Жыл бұрын
I'm lost. requirements.txt is mentioned in the markdown, but I assume now it's no longer used as the toml file now supercedes it as I don't see it in your project structure?
@InfoWorld
@InfoWorld Жыл бұрын
Sorry about that! Yes, in a modern project, you can use pyproject.toml in place of requirements.txt. However: if you want to provide a requirements.txt file for backwards compatibility side-by-side with pyproject.toml, you can do that -- it's just often easier to pick one standard and stick with it. -Serdar
@renancalmon9946
@renancalmon9946 Жыл бұрын
I'm currently working on a python project in which I must use python 3.8.10. Does this python version support the toml file? If not, which is the best way to structure the project in this case?
@InfoWorld
@InfoWorld Жыл бұрын
On the whole, I do recommend upgrading to a newer version of Python if you can. 3.8 is only receiving security fixes at this point and will be end-of-life by the end of 2024. That said, any version of Python that supports Setuptools will support pyproject.toml. For details, see this document. which talks about modernizing an existing setup.py based project: packaging.python.org/en/latest/guides/modernize-setup-py-project/ -Serdar
@faysoufox
@faysoufox 10 ай бұрын
The video is interesting, do you have the link to this project ? It's like seeing a toy and not being to try it :)
@InfoWorld
@InfoWorld 10 ай бұрын
You can see some additional details about a modern Python project layout at the official site for the Python Packaging Authority: packaging.python.org/en/latest/tutorials/packaging-projects/ -Serdar
What does '__init__.py' do in Python?
6:50
Indently
Рет қаралды 100 М.
If Your Hair is Super Long
00:53
im_siowei
Рет қаралды 30 МЛН
Горы Бесплатной пиццы
00:56
Тимур Сидельников
Рет қаралды 8 МЛН
Secret to sawing daughter in half
00:40
Justin Flom
Рет қаралды 31 МЛН
How To Structure A Programming Project…
19:00
Tech With Tim
Рет қаралды 120 М.
7 Tips To Structure Your Python Data Science Projects
14:49
ArjanCodes
Рет қаралды 123 М.
The SIMPLEST Way to Organize Your Files and Folders
10:14
Lea David
Рет қаралды 294 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 922 М.
25 nooby Python habits you need to ditch
9:12
mCoding
Рет қаралды 1,8 МЛН
How To Structure Your Programming Projects
13:11
Hallden
Рет қаралды 272 М.
Insane Theoretical Physics Discussion with ChatGPT and DeepSeek
4:59
Unzicker's Real Physics
Рет қаралды 33 М.
Junior vs Senior React Folder Structure - How To Organize React Projects
16:16
I made a new file format
2:53
TEMPER
Рет қаралды 137 М.
How GitHub's Database Self-Destructed in 43 Seconds
12:04
Kevin Fang
Рет қаралды 1 МЛН