Piotr Grzesik

@pgrzesik

Virtual environments and dependency management in Python

Submitted Sep 15, 2017

During my talk I’d like to present what Python has to offer when it comes to virtual environments and how to manage multiple Python environments with pyenv and virtualenv. In the second part I will focus on ways of managing dependencies and why it’s worth to think about it.

Outline

Outline:

  • Intro (2 mins)
    • Who am I?
    • What I do ?
    • What I will be talking about ?
  • Few words about pip (2 mins)
  • Managing Python versions and virtual environments (8 mins)
    • Managing Python versions with pyenv
      • What it is and how it works?
      • How to use it ?
    • Virtual environments in Python
      • What it is and how it works?
      • How to use it ?
    • Integration of pyenv and virtualenv
      • How to use it ?
  • Few words about conda (2 mins)
  • Managing dependencies in Python (8 mins)
    • Why should we care about dependency management?
    • Few words about pipreqs
    • Handling dependencies with pip-tools
      • What it has to offer ?
      • How to use it ?
    • Overview of Pipfile
    • pipenv
      • What it has to offer ?
      • How it works?
  • Summary (1 min)
  • Q&A session (2 mins)

Requirements

Nothing

Speaker bio

I’m a software developer, currently working at Pragmatic Coders in Krakow, PL. While mostly using Python as my language of choice, I sometimes write a little bit of JavaScript and Solidity. I also know a thing or two about Amazon Web Services.

In addition to that, I’m co-organising meetups of Pykonik, Krakow Python User Group.

I already had a chance to give this talk on 4Developers conference in Poland, on Pykonik (https://www.meetup.com/Pykonik/) and will be presenting it on upcoming PyWaw meetup (http://pywaw.org/) as well as PyData Warsaw conference (https://pydata.org/warsaw2017/).

Slides

http://slides.com/progressive/venvs-6#/

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

PyCon Pune 2017 more