bndr/pipreqs

Support requirement extras in mapping file

Open

#103 aberto em 26 de out. de 2017

Ver no GitHub
 (0 comments) (1 reaction) (0 assignees)Python (368 forks)batch import
enhancementhelp wantedmapping

Métricas do repositório

Stars
 (5.545 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Per #61, it's occasionally useful to be able to use an extras requirement (e.g. requests[security] or scikit-learn[alldeps]). This can be accomplished using Requirement objects and the Requirement.parse method to extract the name prior to performing a search against the package index API and to add it back during the serialization step.

Guia do colaborador