This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Homebrew | |
export PATH="/usr/local/bin:${PATH}" | |
# NVM | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" | |
# Pyenv | |
export PATH="$HOME/.pyenv/bin:$PATH" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
from time import time | |
from typing import List, Type | |
import matplotlib.pyplot as plt | |
import orjson | |
import pandas as pd | |
from fastapi.encoders import jsonable_encoder | |
from fastapi.utils import create_response_field | |
from pydantic import BaseModel |