Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

godatadriven/python-devcontainer-template

Repository files navigation

python-devcontainer-template

An example repo for using a Devcontainer + Python 🐳🐍.

Devcontainers help us:

  • πŸ”„ Get a reproducible development environment
  • ⚑️ Instantly onboard new team members onto your project
  • πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦ Better align the environments between team members
  • ⏱ Keeping your dev environment up-to-date & reproducible saves your team time going into production later

(πŸ“ Note: Devcontainers are a relatively new concept. For now, Devcontainers are only properly supported by VSCode.)

This template

This template demonstrates how you can build a Devcontainer with the following set up:

  • Python 3.10
  • Java (OpenJDK 11.0.16)
  • pyspark, mypy, pytest and black

Usage

First, make sure you have the Remote Development extension installed and have Docker running.

Then, there's 2 options:

Using the template

  1. Click Use this template to create a new repo.

    use this template GitHub button

  2. Clone the repo and open it in VSCode.

  3. You should see the following notification:

    folder contains a dev container config file

    Press Reopen in Container and you the Devcontainer will be loaded.

That's it πŸ™ŒπŸ» Enjoy developing.

Using the button

Another option is to open this repo in VSCode using a special link. Press the following button:

Open in Remote - Containers

πŸš€ This clones this repo and opens it in a Devcontainer right away.

  • πŸ’‘ To now have this repo push to your own repo, add a different Git remote using git remote add.

About

Media

This repo was mentioned at the following places:


Created by Jeroen Overschie, working at Xebia Data. A leading Data and AI consultancy company in The Netherlands.

About

Shows you how to use a Devcontainer for your Python project πŸ³β™‘πŸ

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /