purlcli fails
@Anurag-S1ngh is already working on this.
Since Oct 31, 2026.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 84/100
Research direction
The failure is clearly in purldb_toolkit/purlcli.py, which imports packagedb.package_managers. Start by checking that module and surrounding purldb_toolkit package layout to confirm the expected package/module path or dependency. Then reproduce with purlcli validate --purl pkg:npm/[email protected]; done is when the command no longer raises ModuleNotFoundError and returns normal validation output.
Written by the indexing model from the issue text.
Description
pipx install purldb-toolkit
installed package purldb-toolkit 0.1.0, installed using Python 3.14.6
These apps are now available
- purlcli
done! ✨ 🌟 ✨
mvargena@M-FVFL11531WG7 238 > purlcli validate --purl pkg:npm/[email protected]
Traceback (most recent call last):
File "/Users/mvargena/.local/bin/purlcli", line 3, in <module>
from purldb_toolkit.purlcli import purlcli
File "/Users/mvargena/.local/pipx/venvs/purldb-toolkit/lib/python3.14/site-packages/purldb_toolkit/purlcli.py", line 21, in <module>
from packagedb.package_managers import VERSION_API_CLASSES_BY_PACKAGE_TYPE
ModuleNotFoundError: No module named 'packagedb'
- Dominant language
- HTML
- Stars
- 70
- Forks
- 76
- Avg merge
- 23m
- Merged PRs (30d)
- 2
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aboutcode-org/purldb
-
Incorrect set comparison between package names and PURLs in NPM sync logicPossibly taken @MuhammadBilal64 claimed this 45 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
aboutcode-org/purldb#890 · 1 comment ·
-
PypiVersionAPI.get_latest_date() crashes when a release entry is missing upload_time_iso_8601Possibly taken @drawliin claimed this 228 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
aboutcode-org/purldb#863 ·
-
Add doctest and tests for clearcode coordinate helpersPossibly taken @drawliin claimed this 236 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
aboutcode-org/purldb#861 ·
-
Preserve version ordering in packagedb VersionResponsePossibly taken @drawliin claimed this 237 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
aboutcode-org/purldb#857 ·
-
NameError: 'e' referenced outside except block in visit_uri() when visit_error is setPossibly taken @mohityadav8 claimed this 243 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
aboutcode-org/purldb#851 ·
All issues in aboutcode-org/purldb
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
EveryInc/compound-engineering-plugin#2085 ·
Maintainers usually reply within 1 day
-
`interface-diff` discards the git error when resolving its default base and reports the wrong causeOpen
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
modelcontextprotocol/servers#5636 ·
Maintainers usually reply within 1 day
-
bug ready-for-pr
Difficulty 1/5 Under an hour Newbie friendliness 82/100
kunchenguid/no-mistakes#1806 · 1 comment ·
Maintainers usually reply within 1 day
-
configuration enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
PelicanPlatform/pelican#3977 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day