MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / check_pypi_stats

Function check_pypi_stats

aura/info.py:31–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29
30
31def check_pypi_stats() -> dict:
32 try:
33 if config.get_pypi_stats_path(): # Put into try except
34 return {
35 "enabled": True,
36 "description": "PyPI typosquatting protection enabled"
37 }
38 except MissingFile:
39 pass
40
41 return {
42 "enabled": False,
43 "description": "PyPI download stats not found, typosquatting protection is disabled. Run `aura update` to download"
44 }
45
46
47def check_reverse_dependencies() -> dict:

Callers 1

gather_aura_informationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected