News for hackers. Stuff that matters.

Ask HN: What are some of the better Python blogs?

I'm working on a Python project right now and time and time again I keep discovering that there are far easier ways to do things than what I've done.

Where can I find some good blogs or similar that write about Python and Pythonic ways to do things?

Presently discovering so many ways I could use pytest more efficiently than I already was doing.

Would love to discover what else I'm missing out on, had I known about:

pandera pydantic (omg, BaseSettings!) requests_mock pytest_cases __post_init__ (dataclasses) kw_only (dataclasses) (potentially) hamilton vulture isort (although I really wish I'd remove unused imports)

earlier I believe I could've saved a lot of time, and some bugs.

Things that already were on my radar,

Poetry (this was maybe a mistake to use tbh) mypy + plugins black flake8 hypothesis

Presently I'm looking for a clean way to use GraphQL around InfluxDB.

( 4 comments | 2 points | on HN )
Re:Ask HN: What are some of the better Python blogs? by liveware on Saturday April 01, 2023 @09:21AM (#35400114)
PyCoder's Weekly[https://pycoders.com/] is a good newsletter for learning more about Python.
Re:Ask HN: What are some of the better Python blogs? by zainhoda on Saturday April 01, 2023 @02:28PM (#35402689)
These days I just ask ChatGPT: “What is the best way to do X in Python?”
Re:Ask HN: What are some of the better Python blogs? by quickthrower2 on Saturday April 01, 2023 @08:54PM (#35405912)
I think this is good for the scenario where python is not your main language, but you have to use it occasionally and just want to get shit done.

Whereas I think training python code through the neural net behind your eyes will be more efficient in the long run if you expect to do a lot of python.

Re:Ask HN: What are some of the better Python blogs? by aynyc on Saturday April 01, 2023 @03:42PM (#35403410)
I usually find pycon videos to be more helpful on various topics.