The Mairror API
- Not authorized
curl -i -X POST -H "Content-Type: multipart/form-data" -F "file=@shakil.jpg" -F "source=streamlit" http://127.0.0.1:8000/images/upload
- Authorized
curl -i -X POST -H "Content-Type: multipart/form-data" -F "file=@shakil.jpg" -F "source=streamlit" http://127.0.0.1:8000/images/upload
- Use conda-minify to export only the top level requirements without the build string. It must be installed and executed within the conda
base
environment.
conda run --name base conda-minify -n mairror-api > environment.yml
- Use the conversion tool
utils/conversor.py
to convert the requirements to a pip requirements file. It reads the previously generated YAML file and outputs a requirements.txt file in the same folder.
python utils/conversor.py