Skip to content

greyli/Python-Type-Challenges

This branch is 91 commits behind laike9m/Python-Type-Challenges:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bd474e6 Β· Nov 26, 2023
Nov 21, 2023
Nov 24, 2023
Nov 12, 2023
Nov 24, 2023
Nov 26, 2023
Nov 24, 2023
Nov 26, 2023
Oct 31, 2023
Nov 8, 2023
Oct 23, 2023
Nov 20, 2023
Nov 19, 2023
Nov 19, 2023
Nov 19, 2023
Nov 6, 2023

Repository files navigation

Python Type Challenges

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

🌟🌟 Click HERE to start 🌟🌟

Happy typing!

How to Run Locally

This project use PDM, a modern Python package and dependency manager, to manage dependencies. After you have installed PDM, you can run this project locally based on the following steps:

pdm plugin add pdm-autoexport
pdm install
pdm dev  # This will run a local Flask server

Alternatively, you can install dependencies just using pip:

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 59.3%
  • HTML 29.4%
  • JavaScript 11.3%