GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” GitHub - godatadriven/python-devcontainer-template: Shows you how to use a Devcontainer for your Python project ๐Ÿณโ™ก๐Ÿ

BranchesTags
Open more actions menu

Latest commit

 

History

16 Commits
16 Commits

Folders and files

NameName
Last commit message
Last commit date
.devcontainer
.devcontainer
 
 
.github/workflows
.github/workflows
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
requirements-dev.txt
requirements-dev.txt
 
 
requirements.txt
requirements.txt
 
 
sales_analysis.py
sales_analysis.py
 
 
test_sales_analysis.py
test_sales_analysis.py
 
 

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:

  • Talk @ GoDataFest, 26th of October [talk slides]
  • Blogpost @ godatadriven.com, 21st of November
  • Talk @ PyData Eindhoven

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 ๐Ÿณโ™ก๐Ÿ

godatadriven.github.io/python-devcontainer-template/

Topics

devcontainerdevcontainer-templatepython-devcontainervscode-devcontainer

Resources

Readme
MIT license
Activity
Custom properties

Stars

18 stars

Watchers

2 watching

Forks

6 forks
Report repository

Packages

Used by

Contributors

Languages

You are visitor 01402503 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.