Typer and Pydantic are absolutely mandatory on any Python project I write. A million times better than argparse
and dicts everywhere.
Apples and oranges comparison
typer under the hood is click. Which you are right click is better than argparse cuz it's optparse.
Left scratching my head, are you praising, click? What is your typer sales point over plain ol' click.
Some questions
-
combining typer and click. Shows how to use click and/or typer to group sub-commands.
-
wake up, trio (and as a crutch anyio) is a thing. Making click and typer (and pathlib.Path) immediately legacy. No matter what it does. Here is the click trio port trio-click. Which i just checked, is actively maintained.
Where is the typer trio port?
- Upon hearing cli, i think textual, not click (or now typer). So as the cli grows, the UI/UX becomes clunky. Splitting the source code into multiple modules doesn't change that. typer has examples with: progress bar, prompt, cli application directory, and launch applications. All which is better accomplished from an actual cli GUI.
I have no idea what you're talking about. Typer adds a nice type annotation based interface which is both nice to use and means all your arguments are statically typed checked.
I don't use async Python normally (IMO it's one of those "if you need this you shouldn't be using Python" features).
I don’t use async Python normally
Great! The Ludwicks have been waiting for a champion of blocking I/O to emerge. Where world+dog-FizzyOrange
preference lies is 100% clear and has been since before we were born. Even us lowly Python devs prefer fast over idle CPUs.
This is why initially liked fastapi. It says fast
right there in the name. It's curiously not named, abandonwareapi.
Typer adds a maintenance burden that, as SQLModel 70+ PRs attest, the author does not have time for. No other details are necessary to know. Abandonware is really just a time sink hurting everyone pulled in.
I'm not unreasonable. Fix the situation with SQLModel and my attitude will flip from critic --> supporter. And then will appreciate and look forward to posts about: fastapi, SQLModel, and Typer. Past grievances will be memory holed.
Are you.. ok? I think maybe you should see a psychiatrist.
Projection huh? I expect this in a political, not a python community. Vet psyche techniques somewhere else.
Instead of attacking the messenger, why not follow advice and just do the maintenance work?
I'm warning others away from an author that has neglected to do package maintenance, but then continues to do marketing?
In any other market, this is the pattern of a con artist. Gaslighting is also expected from a con artist.
For SQLModel users, lets throw some well deserved shade at tiangolo.
Is typer what tiangolo has been working on while not maintaining sqlmodel.
Will he stop maintaining typer as well?
Python
Welcome to the Python community on the programming.dev Lemmy instance!
📅 Events
Past
November 2023
- PyCon Ireland 2023, 11-12th
- PyData Tel Aviv 2023 14th
October 2023
- PyConES Canarias 2023, 6-8th
- DjangoCon US 2023, 16-20th (!django 💬)
July 2023
- PyDelhi Meetup, 2nd
- PyCon Israel, 4-5th
- DFW Pythoneers, 6th
- Django Girls Abraka, 6-7th
- SciPy 2023 10-16th, Austin
- IndyPy, 11th
- Leipzig Python User Group, 11th
- Austin Python, 12th
- EuroPython 2023, 17-23rd
- Austin Python: Evening of Coding, 18th
- PyHEP.dev 2023 - "Python in HEP" Developer's Workshop, 25th
August 2023
- PyLadies Dublin, 15th
- EuroSciPy 2023, 14-18th
September 2023
- PyData Amsterdam, 14-16th
- PyCon UK, 22nd - 25th
🐍 Python project:
- Python
- Documentation
- News & Blog
- Python Planet blog aggregator
💓 Python Community:
- #python IRC for general questions
- #python-dev IRC for CPython developers
- PySlackers Slack channel
- Python Discord server
- Python Weekly newsletters
- Mailing lists
- Forum
✨ Python Ecosystem:
🌌 Fediverse
Communities
- #python on Mastodon
- c/django on programming.dev
- c/pythorhead on lemmy.dbzer0.com
Projects
- Pythörhead: a Python library for interacting with Lemmy
- Plemmy: a Python package for accessing the Lemmy API
- pylemmy pylemmy enables simple access to Lemmy's API with Python
- mastodon.py, a Python wrapper for the Mastodon API