Skip to content
项目

laike9m/Python-Type-Challenges

在 GitHub 查看

关于

通过交互式在线练习掌握 Python 类型标注!

学习与教育

这些数字如何统计

实测星标增长

24小时
+1
7天
+4
15天
+4
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Python Type Challenges

Master Python typing (type hints) with interactive online exercises!

Click 👉👉 HERE to start

Happy typing!

How to Run Locally

You can also run the challenge locally. To do that, clone the project and install necessary dependencies, using either PDM or requirements.txt.

PDM is recommended. After installing PDM, you can install needed dependencies with the following steps:

pdm install
pdm dev  # This will run a local Flask server

Alternatively, you can install dependencies with requirements.txt:

pip install -r requirements.txt
flask run

How to Contribute

  • Add new challenges

    Adding a new challenge is pretty simple: you only need to create a new folder, add a question.py and a solution.py, and that's it. See here for a detailed guidance.

  • New features & bug fixes

    If you want to fix a bug or add a new feature, follow the guidance.

Got Questions?

For general questions, you can post them in Discussions.

If you met issues or want to suggest a new feature/improvement, feel free to open a new issue.

Credits

This project is inspired Type Exercise in Rust by @skyzh, and type-challenges by @antfu.

Social graph images come from Christin Hume.

探索相关项目

加载中…