Rework resource with resource providers
This merge request rework the resource loader to:
- Use stream as much as possible (instead of path)
- Path are still used for SSL files (but that's something which probably have to be discussed outside of this MR)
- Create specialised resource providers to allow to create new ones
For that:
- A package
daiquiri.core.resources
was created for the implementation -
daiquiri.resources.utils
still contain the root provider -
YamlDict
was created to replaceConfigDict
- Every part of the application was updated with this new API
The aim is to be able to implement a Beacon resource provider at one point.
On side change:
-
daiquiri.app
was moved intodaiquiri.cli.server
for consistency.daiquiri.app
just contain a link for compatibility with stuffs already installed in beamlines.