MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / _get_package_data

Function _get_package_data

pythonFiles/install_debugpy.py:21–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19
20
21def _get_package_data():
22 json_uri = "https://pypi.org/pypi/{0}/json".format(DEBUGGER_PACKAGE)
23 # Response format: https://warehouse.readthedocs.io/api-reference/json/#project
24 # Release metadata format: https://github.com/pypa/interoperability-peps/blob/master/pep-0426-core-metadata.rst
25 with url_lib.urlopen(json_uri) as response:
26 return json.loads(response.read())
27
28
29def _get_debugger_wheel_urls(data, version):

Callers 1

mainFunction · 0.85

Calls 1

formatMethod · 0.65

Tested by

no test coverage detected