Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
# AUTOGENERATED! DO NOT EDIT! File to edit: 01_data.loader.ipynb (unless otherwise specified). | |
__all__ = ['auto_str', 'GetAttr', 'ObjectFactory', 'DbTargetProvider', 'FileSourceProvider', 'DatabaseTarget', | |
'FileSource', 'PgSqlDbBuilder', 'PgSqlDb', 'MySqlDbBuilder', 'MySqlDb', 'create_excel_file_source', | |
'create_csv_file_source', 'ExcelSource', 'CSVSource', 'db_targets', 'file_sources', 'ingest'] | |
# Cell | |
import os | |
import logging | |
import pandas as pd |
This file contains 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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "lldb", | |
"request": "launch", | |
"name": "Debug executable 'hello-world'", | |
"cargo": { | |
"args": [ | |
"build", |
This file contains 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
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "cargo debug", | |
"type": "shell", | |
"command": "cargo", | |
"args": [ | |
"debug", | |
"--debugger=lldb", |
This file contains 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
set runtimepath^=~/.nvim runtimepath+=~/.nvim/after | |
let &packpath = &runtimepath | |
"---- vim-plug setup ---- | |
if has('nvim') | |
let vimplug_exists=expand('~/.config/nvim/autoload/plug.vim') | |
else | |
let vimplug_exists=expand('~/.vim/autoload/plug.vim') | |
endif |
This file contains 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
(use-package ligature | |
:load-path "/Users/mengwangk/.emacs.d/exp/.emacs.d/ligature.el/" | |
:config | |
;; Enable the "www" ligature in every possible major mode | |
(ligature-set-ligatures 't '("www")) | |
;; Enable traditional ligature support in eww-mode, if the | |
;; `variable-pitch' face supports it | |
(ligature-set-ligatures 'eww-mode '("ff" "fi" "ffi")) | |
;; Enable all Cascadia Code ligatures in programming modes | |
(ligature-set-ligatures 'prog-mode '("|||>" "<|||" "<==>" "<!--" "####" "~~>" "***" "||=" "||>" |
This file contains 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
version: "3" | |
services: | |
backend: | |
build: backend | |
restart: always | |
ports: | |
- 8088:8088 | |
networks: | |
- app_network |
This file contains 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
FROM python:3.8-slim | |
RUN mkdir /streamlit | |
COPY requirements.txt /streamlit | |
WORKDIR /streamlit | |
RUN pip install -r requirements.txt |
This file contains 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 sys | |
from pathlib import Path | |
file = Path(__file__).resolve() | |
parent, root = file.parent, file.parents[1] | |
sys.path.append(str(root)) | |
try: | |
sys.path.remove(str(parent)) | |
except ValueError: |
This file contains 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
FROM tiangolo/uvicorn-gunicorn:python3.8-slim | |
RUN mkdir /fastapi | |
COPY requirements.txt /fastapi | |
WORKDIR /fastapi | |
RUN pip install -r requirements.txt |
OlderNewer