PyCon Pune 2018

PyCon Pune

Virtual environments and dependency management in Python

Submitted by Piotr Grzesik (@pgrzesik) on Friday, 15 September 2017

Technical level: Beginner

Abstract

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

  • Kushal Das (@kushaldas) Reviewer 2 years ago

    Thank you for submitting the talk to PyCon Pune. The talk selection team will contact you here in case of any queries. Meanwhile, please make sure that you provide a link to the presentation slides.

  • Kushal Das (@kushaldas) Reviewer 2 years ago

    Thank you for submitting the talk to PyCon Pune. The talk selection team will contact you here in case of any queries. Meanwhile, please make sure that you provide a link to the presentation slides.

Login with Twitter or Google to leave a comment