Skip to content
Myr

help-typer.md

This file

Path

docs/help-typer.md

252 lines · 11.1 KiB · Markdown

Last changed by

📝 Update link syntax to minimal Markdown (#1623)Sebastián Ramírezbefore adoption3780a29

History of this file

Take it

The walk stopped after 200 commits: lines older than 7a803a5 point at it.

📝 Update release notesgithub-actions[bot]before adoption7a803a5

lines 1–14why, one step back
1# Help Typer - Get Help
23Are you liking **Typer**?45Would you like to help Typer, other users, and the author?67Or would you like to get help with **Typer**?89There are very simple ways to help (several involve just one or two clicks).1011And there are several ways to get help too.1213## Subscribe to the newsletter14

📝 Update link syntax to minimal Markdown (#1623)Sebastián Ramírezbefore adoption3780a29

line 15why, one step back
15You can subscribe to the (infrequent) [**FastAPI and friends** newsletter](https://fastapi.tiangolo.com/newsletter/) to stay updated about:

📝 Update release notesgithub-actions[bot]before adoption7a803a5

lines 16–24why, one step back
16
17* News about FastAPI and friends, including Typer 🚀18* Guides 📝19* Features ✨20* Breaking changes 🚨21* Tips and tricks ✅2223## Star **Typer** in GitHub24

📝 Update link syntax to minimal Markdown (#1623)Sebastián Ramírezbefore adoption3780a29

line 25why, one step back
25You can "star" Typer in GitHub (clicking the star button at the top right): [https://github.com/fastapi/typer](https://github.com/fastapi/typer).

📝 Update release notesgithub-actions[bot]before adoption7a803a5

lines 26–30why, one step back
26
27By adding a star, other users will be able to find it more easily and see that it has been already useful for others.2829## Watch the GitHub repository for releases30

📝 Update link syntax to minimal Markdown (#1623)Sebastián Ramírezbefore adoption3780a29

line 31why, one step back
31You can "watch" Typer in GitHub (clicking the "watch" button at the top right): [https://github.com/fastapi/typer](https://github.com/fastapi/typer).

📝 Update release notesgithub-actions[bot]before adoption7a803a5

lines 32–38why, one step back
32
33There you can select "Releases only".3435By doing it, you will receive notifications (in your email) whenever there's a new release (a new version) of **Typer** with bug fixes and new features.3637## Connect with the author38

📝 Update link syntax to minimal Markdown (#1623)Sebastián Ramírezbefore adoption3780a29

line 39why, one step back
39You can connect with [me (Sebastián Ramírez / `tiangolo`)](https://tiangolo.com), the author.

📝 Update release notesgithub-actions[bot]before adoption7a803a5

lines 40–42why, one step back
40
41You can:42

📝 Update link syntax to minimal Markdown (#1623)Sebastián Ramírezbefore adoption3780a29

line 43why, one step back
43* [Follow me on **GitHub**](https://github.com/tiangolo).

📝 Update release notesgithub-actions[bot]before adoption7a803a5

lines 44–45why, one step back
44 * See other Open Source projects I have created that could help you.
45 * Follow me to see when I create a new Open Source project.

📝 Update link syntax to minimal Markdown (#1623)Sebastián Ramírezbefore adoption3780a29

line 46why, one step back
46* [Follow me on **Twitter**](https://twitter.com/tiangolo).

📝 Update release notesgithub-actions[bot]before adoption7a803a5

lines 47–48why, one step back
47 * Tell me how you use Typer (I love to hear that).
48 * Hear when I make announcements or release new tools.

📝 Update link syntax to minimal Markdown (#1623)Sebastián Ramírezbefore adoption3780a29

line 49why, one step back
49* [Connect with me on **Linkedin**](https://www.linkedin.com/in/tiangolo/).

📝 Update release notesgithub-actions[bot]before adoption7a803a5

line 50why, one step back
50 * Hear when I make announcements or release new tools (although I use Twitter more often 🤷‍♂).

📝 Update link syntax to minimal Markdown (#1623)Sebastián Ramírezbefore adoption3780a29

line 51why, one step back
51* Read what I write (or follow me) on [**Dev.to**](https://dev.to/tiangolo) or [**Medium**](https://medium.com/@tiangolo).

📝 Update release notesgithub-actions[bot]before adoption7a803a5

lines 52–56why, one step back
52 * Read other ideas, articles, and read about tools I have created.
53 * Follow me to read when I publish something new.5455## Tweet about **Typer**56

📝 Update link syntax to minimal Markdown (#1623)Sebastián Ramírezbefore adoption3780a29

line 57why, one step back
57[Tweet about **Typer**](https://twitter.com/compose/tweet?text=I'm loving Typer because... https://github.com/fastapi/typer cc @tiangolo) and let me and others know why you like it.

📝 Update release notesgithub-actions[bot]before adoption7a803a5

lines 58–64why, one step back
58
59I love to hear about how **Typer** is being used, what have you liked in it, in which project/company you are using it, etc.6061## Help others with questions in GitHub6263You can try and help others with their questions in:64

📝 Update link syntax to minimal Markdown (#1623)Sebastián Ramírezbefore adoption3780a29

lines 65–66why, one step back
65* [GitHub Discussions](https://github.com/fastapi/typer/discussions/categories/questions?discussions_q=category%3AQuestions+is%3Aunanswered)
66* [GitHub Issues](https://github.com/fastapi/typer/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Aquestion+-label%3Aanswered+)

📝 Update release notesgithub-actions[bot]before adoption7a803a5

lines 67–93why, one step back
67
68In many cases you might already know the answer for those questions. 🤓6970Just remember, the most important point is: try to be kind. People come with their frustrations and in many cases don't ask in the best way, but try as best as you can to be kind. 🤗7172The idea is for the **Typer** community to be kind and welcoming. At the same time, don't accept bullying or disrespectful behavior towards others. We have to take care of each other.7374---7576Here's how to help others with questions (in discussions or issues):7778### Understand the question7980* Check if you can understand what is the **purpose** and use case of the person asking.8182* Then check if the question (the vast majority are questions) is **clear**.8384* In many cases the question asked is about an imaginary solution from the user, but there might be a **better** one. If you can understand the problem and use case better, you might be able to suggest a better **alternative solution**.8586* If you can't understand the question, ask for more **details**.8788### Reproduce the problem8990For most of the cases and most of the questions there's something related to the person's **original code**.9192In many cases they will only copy a fragment of the code, but that's not enough to **reproduce the problem**.93

📝 Update link syntax to minimal Markdown (#1623)Sebastián Ramírezbefore adoption3780a29

line 94why, one step back
94* You can ask them to provide a [minimal, reproducible, example](https://stackoverflow.com/help/minimal-reproducible-example), that you can **copy-paste** and run locally to see the same error or behavior they are seeing, or to understand their use case better.

📝 Update release notesgithub-actions[bot]before adoption7a803a5

lines 95–114why, one step back
95
96* If you are feeling too generous, you can try to **create an example** like that yourself, just based on the description of the problem. Just have in mind that this might take a lot of time and it might be better to ask them to clarify the problem first.9798### Suggest solutions99100* After being able to understand the question, you can give them a possible **answer**.101102* In many cases, it's better to understand their **underlying problem or use case**, because there might be a better way to solve it than what they are trying to do.103104### Ask to close105106If they reply, there's a high chance you would have solved their problem, congrats, **you're a hero**! 🦸107108* Now, if that solved their problem, you can ask them to:109110 * In GitHub Discussions: mark the comment as the **answer**.111 * In GitHub Issues: **close** the issue**.112113## Watch the GitHub repository114

📝 Update link syntax to minimal Markdown (#1623)Sebastián Ramírezbefore adoption3780a29

line 115why, one step back
115You can "watch" Typer in GitHub (clicking the "watch" button at the top right): [https://github.com/fastapi/typer](https://github.com/fastapi/typer).

📝 Update release notesgithub-actions[bot]before adoption7a803a5

lines 116–122why, one step back
116
117If you select "Watching" instead of "Releases only" you will receive notifications when someone creates a new issue or question. You can also specify that you only want to be notified about new issues, or discussions, or PRs, etc.118119Then you can try and help them solve those questions.120121## Ask Questions122

📝 Update link syntax to minimal Markdown (#1623)Sebastián Ramírezbefore adoption3780a29

line 123why, one step back
123You can [create a new question](https://github.com/fastapi/typer/discussions/new?category=questions) in the GitHub repository, for example to:

📝 Update release notesgithub-actions[bot]before adoption7a803a5

lines 124–159why, one step back
124
125* Ask a **question** or ask about a **problem**.126* Suggest a new **feature**.127128**Note**: if you do it, then I'm going to ask you to also help others. 😉129130## Review Pull Requests131132You can help me review pull requests from others.133134Again, please try your best to be kind. 🤗135136---137138Here's what to have in mind and how to review a pull request:139140### Understand the problem141142* First, make sure you **understand the problem** that the pull request is trying to solve. It might have a longer discussion in a GitHub Discussion or issue.143144* There's also a good chance that the pull request is not actually needed because the problem can be solved in a **different way**. Then you can suggest or ask about that.145146### Don't worry about style147148* Don't worry too much about things like commit message styles, I will squash and merge customizing the commit manually.149150* Also don't worry about style rules, there are already automated tools checking that.151152And if there's any other style or consistency need, I'll ask directly for that, or I'll add commits on top with the needed changes.153154### Check the code155156* Check and read the code, see if it makes sense, **run it locally** and see if it actually solves the problem.157158* Then **comment** saying that you did that, that's how I will know you really checked it.159

📝 Update and simplify usage of admonitions (#1755)Sebastián Ramírezbefore adoptione3f56c0

line 160why, one step back
160/// note

📝 Update release notesgithub-actions[bot]before adoption7a803a5

lines 161–185why, one step back
161
162Unfortunately, I can't simply trust PRs that just have several approvals.163164Several times it has happened that there are PRs with 3, 5 or more approvals, probably because the description is appealing, but when I check the PRs, they are actually broken, have a bug, or don't solve the problem they claim to solve. 😅165166So, it's really important that you actually read and run the code, and let me know in the comments that you did. 🤓167168///169170* If the PR can be simplified in a way, you can ask for that, but there's no need to be too picky, there might be a lot of subjective points of view (and I will have my own as well 🙈), so it's better if you can focus on the fundamental things.171172### Tests173174* Help me check that the PR has **tests**.175176* Check that the tests **fail** before the PR. 🚨177178* Then check that the tests **pass** after the PR. ✅179180* Many PRs don't have tests, you can **remind** them to add tests, or you can even **suggest** some tests yourself. That's one of the things that consume most time and you can help a lot with that.181182* Then also comment what you tried, that way I'll know that you checked it. 🤓183184## Create a Pull Request185

📝 Update link syntax to minimal Markdown (#1623)Sebastián Ramírezbefore adoption3780a29

line 186why, one step back
186You can [contribute](contributing.md) to the source code with Pull Requests, for example:

📝 Update release notesgithub-actions[bot]before adoption7a803a5

lines 187–195why, one step back
187
188* To fix a typo you found on the documentation.189* To propose new documentation sections.190* To fix an existing issue/bug.191 * Make sure to add tests.192* To add a new feature.193 * Make sure to add tests.194 * Make sure to add documentation if it's relevant.195

🔒️ Only allow team members to modify dependencies (#1744)Sofie Van Landeghembefore adoption54889c9

lines 196–198why, one step back
196Note that PRs from non-team members are not allowed to modify `pyproject.toml` or `uv.lock`, to prevent supply chain risk.
197If you would like to add a new dependency, create a new [Discussion](https://github.com/fastapi/typer/discussions/categories/questions) to explain why.198

📝 Update release notesgithub-actions[bot]before adoption7a803a5

lines 199–206why, one step back
199## Help Maintain Typer
200201Help me maintain **Typer**! 🤓202203There's a lot of work to do, and for most of it, **YOU** can do it.204205The main tasks that you can do right now are:206

📝 Update link syntax to minimal Markdown (#1623)Sebastián Ramírezbefore adoption3780a29

lines 207–208why, one step back
207* [Help others with questions in GitHub](#help-others-with-questions-in-github) (see the section above).
208* [Review Pull Requests](#review-pull-requests) (see the section above).

📝 Update release notesgithub-actions[bot]before adoption7a803a5

lines 209–215why, one step back
209
210Those two tasks are what **consume time the most**. That's the main work of maintaining Typer.211212If you can help me with that, **you are helping me maintain Typer** and making sure it keeps **advancing faster and better**. 🚀213214## Join the chat215

📝 Update link syntax to minimal Markdown (#1623)Sebastián Ramírezbefore adoption3780a29

line 216why, one step back
216Join the 👥 [FastAPI and Friends Discord chat server](https://discord.gg/VQjSZaeJmf) 👥 and hang out with others in the community. There's a `#typer` channel.

📝 Update release notesgithub-actions[bot]before adoption7a803a5

lines 217–219why, one step back
217
218/// tip219

📝 Update link syntax to minimal Markdown (#1623)Sebastián Ramírezbefore adoption3780a29

line 220why, one step back
220For questions, ask them in [GitHub Discussions](https://github.com/fastapi/typer/discussions/new?category=questions), there's a much better chance you will receive help there.

📝 Update release notesgithub-actions[bot]before adoption7a803a5

lines 221–237why, one step back
221
222Use the chat only for other general conversations.223224///225226### Don't use the chat for questions227228Have in mind that as chats allow more "free conversation", it's easy to ask questions that are too general and more difficult to answer, so, you might not receive answers.229230In GitHub, the template will guide you to write the right question so that you can more easily get a good answer, or even solve the problem yourself even before asking. And in GitHub I can make sure I always answer everything, even if it takes some time. I can't personally do that with the chat. 😅231232Conversations in the chat are also not as easily searchable as in GitHub, so questions and answers might get lost in the conversation.233234On the other side, there are thousands of users in the chat, so there's a high chance you'll find someone to talk to there, almost all the time. 😄235236## Sponsor the author237

📝 Update link syntax to minimal Markdown (#1623)Sebastián Ramírezbefore adoption3780a29

line 238why, one step back
238You can also financially support the author (me) through [GitHub sponsors](https://github.com/sponsors/tiangolo).

📝 Update release notesgithub-actions[bot]before adoption7a803a5

lines 239–247why, one step back
239
240There you could buy me a coffee ☕️ to say thanks. 😄241242## Sponsor the tools that power Typer243244As you have seen in the documentation, Typer is built on top of Click.245246You can also sponsor:247

📝 Update link syntax to minimal Markdown (#1623)Sebastián Ramírezbefore adoption3780a29

line 248why, one step back
248* Pallets Project (Click maintainers) [via the PSF](https://palletsprojects.com/donate) or [via Tidelift](https://tidelift.com/subscription/pkg/pypi-click)

📝 Update release notesgithub-actions[bot]before adoption7a803a5

lines 249–252why, one step back
249
250---251252Thanks! 🚀