Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laike9m/python-type-challenges
Master Python typing (type hints) with interactive online exercises!
https://github.com/laike9m/python-type-challenges
python python-education python-typing type-hints
Last synced: about 1 hour ago
JSON representation
Master Python typing (type hints) with interactive online exercises!
- Host: GitHub
- URL: https://github.com/laike9m/python-type-challenges
- Owner: laike9m
- License: mit
- Created: 2023-10-23T05:11:41.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-04T05:21:30.000Z (about 1 month ago)
- Last Synced: 2024-10-30T05:26:09.955Z (14 days ago)
- Topics: python, python-education, python-typing, type-hints
- Language: Python
- Homepage: https://python-type-challenges.zeabur.app
- Size: 745 KB
- Stars: 512
- Watchers: 6
- Forks: 32
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python Type Challenges
Master Python typing (type hints) with interactive online exercises!
Click 👉👉 **[HERE](https://python-type-challenges.zeabur.app)** to start
![](docs/images/usage.gif)
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](https://pdm-project.org/) is recommended. After [installing PDM](https://pdm.fming.dev/latest/#installation), you can install needed dependencies with the following steps:
```bash
pdm install
pdm dev # This will run a local Flask server
```Alternatively, you can install dependencies with `requirements.txt`:
```bash
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](docs/Contribute.md) for a detailed guidance.
- **New features & bug fixes**
If you want to fix a bug or add a new feature, follow the [guidance](docs/Development.md).
## Got Questions?
For general questions, you can post them in [Discussions](https://github.com/laike9m/Python-Type-Challenges/discussions).
If you met issues or want to suggest a new feature/improvement, feel free to [open a new issue](https://github.com/laike9m/Python-Type-Challenges/issues/new).
## Sponsor
[![Deployed on Zeabur](https://zeabur.com/deployed-on-zeabur-dark.svg)](https://zeabur.com?referralCode=laike9m&utm_source=laike9m&utm_campaign=oss)
## Credits
This project is inspired [Type Exercise in Rust](https://github.com/skyzh/type-exercise-in-rust/) by [@skyzh](https://github.com/skyzh), and [type-challenges](https://github.com/type-challenges/type-challenges/) by [@antfu](https://github.com/antfu).
Social graph [images](https://unsplash.com/photos/person-sitting-front-of-laptop-mfB1B1s4sMc) come from [Christin Hume](https://unsplash.com/@christinhumephoto).