How do I build up my package's extra dependencies from groups of dependencies in a pyproject.toml?

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

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Poetry

    Python packaging and dependency management made easy

    As you can see, I build up the extra requirements so that I don't need to repeat code. How do I do something similar in a pyproject.toml file? Based on what I've read online (this issue and this blog), it looks like this feature isn't yet supported. But these links are a bit old, so I'm hoping poetry there's a solution by now.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • Tsukasa-credit-card-gag-scam

    A script I made to resemble a joke video I saw on reddit ( https://www.reddit.com/r/luckystar/comments/m8p9ul/tsukasa_wants_your_credit_card_info/ )

    I've recently started updating my projects to support the feature, right now I have only one example, but a basic one could look like

  • zpy

    Zsh helpers for Python venvs, with uv or pip-tools (by AndydeCleyre)

    My patterns in this regard aren't exactly mainstream, as I use flit+pip-tools+zpy (the latter being my own Zsh interface for Python dependency and environment operations), but FWIW here's how I go about nested requirements.

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

  • Cursor Pagination Example

    2 projects | dev.to | 2 Sep 2024
  • 🚀 Deploying a 3-tier Application with Docker and Nginx Proxy Manager 🌐

    2 projects | dev.to | 22 Jul 2024
  • Passo a Passo: Criando Sua Primeira Biblioteca em Python com Poetry (Parte I)

    2 projects | dev.to | 19 Jul 2024
  • Panic at the Tech Job Market

    2 projects | news.ycombinator.com | 17 Jul 2024
  • Python's virtual environments

    1 project | dev.to | 30 Jun 2024