Check if a package or username is available from some of the most popular package managers.
Pana is available from pip
:
pip install pana
Package Manager | Status |
---|---|
PyPI | ✅ |
npm | ✅ |
NuGet | ✅ |
crates | ✅ |
from pana import Pana
# Print both lists to stdout
print(Pana.check_pkg("pana"))
print(Pana.check_user("azazelm3dj3d"))
# Example output
"""
[
['pypi', False],
['npm', False],
['nuget', True],
['crates/docs', False]
]
"""
Search for a specific package
pana -p pana
Search for a username
pana -u azazelm3dj3d