Do you recommend using Pipenv or the default VirtualEnv for Django + Docker setup?

This page summarizes the projects mentioned and recommended in the original post on /r/django

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • pip-tools

    A set of tools to keep your pinned Python dependencies fresh.

  • To manage my dependencies I use pip-tools. I don't like Pipenv or Poetry because in my IMHO they do too much trying to simultaneously manage the virtualenv and dependency updates. See this article which shows how to use all three in Docker.

  • Poetry

    Python packaging and dependency management made easy

  • Take a look at Poetry. It's now my go-to method for creating and managing virtual environments. It has all of the benefits of Pipenv in terms of managing your venvs and letting your activate them easily, but it's much smoother and faster than Pipenv and if you're publishing libraries, it'll automatically create the setup.py for you.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • docker-django

  • You can find an example here : https://github.com/Atem18/docker-django/blob/main/docker-images/Dockerfile

  • docker-django-example

    A production ready example Django app that's using Docker and Docker Compose.

  • You can make it hands free using a few line shell script too which gets run during your Docker build process, it involves using the -c flag of pip3. I have an example of that here: https://github.com/nickjj/docker-django-example

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts