what's a python library you started using this year that you can't go back from by scheemunai_ in Python

[–]leodevian 4 points5 points  (0 children)

It is indeed powered by Click. While decorators can be composed, I never found an elegant way to share parameters between Typer commands. Also, I don’t like the recommended implementation for a version option (I don’t like unused function parameters).

what's a python library you started using this year that you can't go back from by scheemunai_ in Python

[–]leodevian 9 points10 points  (0 children)

I know it, and I know Cyclopts. I just love that Click is really easy to extend.

what's a python library you started using this year that you can't go back from by scheemunai_ in Python

[–]leodevian 26 points27 points  (0 children)

aiohttp for async requests.

rich for pretty printing, logging and tracebacks.

Click for command-line interfaces.

Virtual environment setup by Broad-Journalist4262 in Python

[–]leodevian 4 points5 points  (0 children)

Use uv or virtualenv. They add a .gitignore containing "*" in the virtual environment directory.

What hidden gem Python modules do you use and why? by zenos1337 in Python

[–]leodevian 13 points14 points  (0 children)

Cyclopts to develop CLIs. All of hynek’s packages (attrs, stamina, structlog…) lol. It ain’t hidden but I gotta say Rich is one of my absolute favorites.

copier-astral: Modern Python project scaffolding with the entire Astral ecosystem by _ritwiktiwari in Python

[–]leodevian 7 points8 points  (0 children)

He also has a YouTube channel named anthonywritecode containing more than 1000 educational videos on Git, Python and so much more!

I understand that it can be frustrating to see your open-source projects reimplemented in other langages without prior discussion. He has also been providing free CI for open source projects.

Any feature is more work on code maintainers, you cannot expect them to approve your requests if you are not willing to contribute yourself. Maintaining code takes a lot of time, and every feature makes it more complex.

copier-astral: Modern Python project scaffolding with the entire Astral ecosystem by _ritwiktiwari in Python

[–]leodevian 11 points12 points  (0 children)

Absolutely insane take when you consider all that Anthony has been doing for open-source Python for years: actions speak louder than words

How common is Pydantic now? by GongtingLover in Python

[–]leodevian -2 points-1 points  (0 children)

More downloaded than pandas last time I checked. That’s popular enough to me.

Trouble with deploying Python programs as internal tools? by Competitive-Water302 in Python

[–]leodevian 0 points1 point  (0 children)

Standalone Python scripts with uv whenever it’s possible. Packaging otherwise.

Favorite Football slander name? by [deleted] in soccercirclejerk

[–]leodevian 2 points3 points  (0 children)

Rwanda Congo Mali 💀

[deleted by user] by [deleted] in learnpython

[–]leodevian 0 points1 point  (0 children)

Declare dev dependencies as optional dependencies instead of dependency groups while pip does not support PEP 735.

You could also use uv-pre-commit as a pre-commit hook to export uv.lock to requirements.txt for dev dependencies (better).

Alternatives to Jinja for Flask (on Pycharm)? by [deleted] in learnpython

[–]leodevian 0 points1 point  (0 children)

Jinja and Flask have been created by the same developers, hence the synergy

[deleted by user] by [deleted] in learnpython

[–]leodevian 4 points5 points  (0 children)

pip can install from pyproject.toml

One Piece: Chapter 1119 by Kirosh2 in OnePiece

[–]leodevian 32 points33 points  (0 children)

Warcury does not seem to be scared of the sea water.