Materials-Consortia / Materials-Consortia/optimade-python-tools
Consider allow mounting a directory to serve static files in FastAPI
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 91
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Description
This will improve ergonomics in the use-case that providers want to have file meta data at /files but also directly serve them without hosting their own independent file server.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by locating the provider file-metadata route and the FastAPI application setup, then determine how a directory could be mounted to serve the same files. Done means providers can expose file metadata at /files while directly serving the corresponding files without an independent file server.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fastapi, python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100