Repository | Description | Try it |
---|---|---|
python-flask-api-tutorial | A step by step Todo List API tutorial with Flask + Python | |
django-locallibrary-tutorial | An example website written in Django by MDN | |
Gitpod-PyQt | A PyQt example for Gitpod | |
wxPython-example | A wxPython example for Gitpod | |
template-python-django | A Django example for Gitpod | |
template-python-flask | A Flask example for Gitpod |
pyenv versions
to see which Python versions are pre-installed in Gitpod.
The easiest way to install a new Python version is to use pyenv install <VERSION>
. For example, suppose you wanted to install Python 3.6.4
, you would run pyenv install 3.6.4
.
You can switch between Python versions using pyenv local <VERSION>
. For example, if you wanted to switch to Python version 2.7.17
you would run pyenv local 2.7.17
. This will create a .python-version
file that controls which Python version is the default in your project.
If you want to set up a custom dockerfile so that you don’t have to repeat the process, here’s how your .gitpod.Dockerfile
could look like:
requirements.txt
file to manage dependencies? If so, add this to your .gitpod.yml to automatically pre-install all dependencies when starting a workspace:
setup.cfg
or a pycodestyle.cfg
in the project root and adjust pycodestyle rules there like this:
gp init
and commit the two generated files.
Kivy
and PyQt
Name | Framework | Try it |
---|---|---|
Tic-Tac-Toe-GUI | Kivy | |
Pong | Kivy | |
Gitpod-PyQt | PyQt |
.theia/
, and inside add a file called launch.json
, finally, add the following to it: