[FR] External Data Support
See original GitHub issueWhat’s the problem this feature will solve?
Project Jupyter uses data_files
for discovery of runtime extensions. This feature was deprecated without a viable alternative.
Describe the solution you’d like
The flit
project recently added support for external_data
, which is a simplified and constrained version of data_files
. We could support an equivalent feature in setuptools
, with caveats about when it is appropriate to use it.
Alternative Solutions
Project Jupyter and other current consumers of data_files
could instead switch to using a flit
backend, which we have been actively exploring.
Additional context
Project Jupyter uses data_files
to allow libraries to provide shared setting and static assets files that are consumed by Jupyter at runtime. We have explored using entry_points
for this purpose, but it did not scale well.
Code of Conduct
- I agree to follow the PSF Code of Conduct
Issue Analytics
- State:
- Created a year ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Manage external data ranges and their properties
Click a cell in the external data range for which you want to change the underlying query. Select Data > Properties. ... In...
Read more >External Data for Jira Fields
Fetch external data to Jira cloud custom fields by REST API, database, MySQL, Postgres, Salesforce, Azure, Oracle, MSSQL, assets.
Read more >An Implementer's Guide to External Data Support for ...
5 Getting Started with External Data – Non-Oracle Sources.... ... An Implementer's Guide to External Data Support for Universal Sources.
Read more >Harnessing the power of external data
A well-structured plan for using external data can provide a competitive ... Meanwhile, a wealth of external data could—and still can—help ...
Read more >Implementing an external data service
This protocol provides for the communication between Case Manager Client and the external data source. About this task. In addition to implementing the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If there’s buy-in I can take a crack at implementation.
Hi @ofek, thanks for pointing that out! The consensus at the summit was that I should draft a PEP to standardize the handling of the
data
andheaders
directories for build backends. I will useflit
andhatch
as existing implementation examples.As for Jupyter, we could have used
flit
already (in fact I had a WIP), but many of the consumers ofjupyter-packaging
are usingsetuptools
-specific mechanisms and extensions.