bndr / bndr/pipreqs

qiqres doesn't work on dynamic loading class

Open
#328 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.5k
Forks
424
PR merge metrics
No merged PRs in 30d

Description

it fails to find requests
>a = 'requests'
>
>__import__(a)

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure with the provided __import__(a) example, then trace how pipreqs identifies imported packages and handles dynamically constructed import names. Done means the example detects requests and includes it in the generated requirements output.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.