Description
I have a need in conda-recipe-manager
to acquire a mapping of import
names to conda package
names.
Currently, this project supports querying the API for a single string look-up:
For what we plan to do with conda-recipe-manager
, this could easily turn into a very large number (at least in the thousands) of API requests a day. For data that seems to change pretty infrequently, that seems excessive and costly.
I would much rather have a local cache of this mapping data, but periodically update it through a new API in this project.
The current size of the JSON file containing this mapping in cf-countyfair
is ~800kb. I have gotten that down to about 300kb by removing some redundant fields. If we expect this list to grow significantly, the new query may need to be built with pagination in mind.
See this conversation for additional context: conda/conda-recipe-manager#218
tl;dr
I would like to request a new API endpoint that exposes the import
mapping data currently available in cf-countyfair
.