Skip to content

Commit

Permalink
remove old & irrelevant files
Browse files Browse the repository at this point in the history
  • Loading branch information
potykion committed Jul 18, 2024
1 parent 794cac2 commit 8e5db4b
Show file tree
Hide file tree
Showing 58 changed files with 51 additions and 1,365 deletions.
1 change: 0 additions & 1 deletion .idea/sqldialects.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions .obsidian/app.json

This file was deleted.

3 changes: 0 additions & 3 deletions .obsidian/appearance.json

This file was deleted.

30 changes: 0 additions & 30 deletions .obsidian/core-plugins-migration.json

This file was deleted.

20 changes: 0 additions & 20 deletions .obsidian/core-plugins.json

This file was deleted.

8 changes: 0 additions & 8 deletions .obsidian/types.json

This file was deleted.

179 changes: 0 additions & 179 deletions .obsidian/workspace.json

This file was deleted.

24 changes: 12 additions & 12 deletions app_42.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
import mistune
from flask import Flask, render_template

from potyk_io_back.admin import add_admin_routes
from potyk_io_back.beer import add_beer_routes
from potyk_io_back.blog_pages import BlogPageStore, BlogPage, render_md_as_html_template
from potyk_io_back.books import BookStore
from potyk_io_back.config import BASE_DIR
from potyk_io_back.domain.admin import add_admin_routes
from potyk_io_back.domain.beer import add_beer_routes
from potyk_io_back.domain.blog_pages import BlogPageStore, BlogPage, render_md_as_html_template
from potyk_io_back.domain.books import BookStore
from potyk_io_back.core.config import BASE_DIR
from potyk_io_back.domain.game import GameStore
from potyk_io_back.food import Food, set_restaurants_for_food
from potyk_io_back.index_and_feed import add_index_page, FeedStorage
from potyk_io_back.iter_utils import groupby_dict
from potyk_io_back.movie import MovieStore, add_movie_routes
from potyk_io_back.domain.food import Food, set_restaurants_for_food
from potyk_io_back.domain.index_and_feed import add_index_page, FeedStorage
from potyk_io_back.core.iter_utils import groupby_dict
from potyk_io_back.domain.movie import MovieStore, add_movie_routes
from potyk_io_back.core.q import Q
from potyk_io_back.recipes import add_recipes_routes
from potyk_io_back.restaurants import AddRestForm, Restaurant, RestaurantStorage
from potyk_io_back.rewardy import add_rewardy_routes
from potyk_io_back.domain.recipes import add_recipes_routes
from potyk_io_back.domain.restaurants import AddRestForm, Restaurant, RestaurantStorage
from potyk_io_back.domain.rewardy import add_rewardy_routes
from potyk_io_back.domain.tools import ToolQQ, ToolTag, ToolType


Expand Down
5 changes: 2 additions & 3 deletions apps/bot_tg_auth.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import hashlib
import json
import os
from typing import TypedDict

from dotenv import load_dotenv
from telegram import Bot

from potyk_io_back.cf import Event, Resp
from potyk_io_back.config import BASE_DIR
from potyk_io_back.core.cf import Event, Resp
from potyk_io_back.core.config import BASE_DIR

import hashlib
import hmac
Expand Down
6 changes: 3 additions & 3 deletions apps/bot_tg_ta_indicators.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
from telegram import Bot
from tradingview_ta import Interval

from potyk_io_back.config import BASE_DIR
from potyk_io_back.tv_ta.tickers import TICKERS
from potyk_io_back.tv_ta.tv_ta import TAAnalysisRepo, Analysis
from potyk_io_back.core.config import BASE_DIR
from potyk_io_back.domain.tv_ta import TICKERS
from potyk_io_back.domain.tv_ta import TAAnalysisRepo, Analysis


async def handler(event, context):
Expand Down
4 changes: 2 additions & 2 deletions apps/cli_ta_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
import pandas as pd
from tabulate import tabulate

from potyk_io_back.config import BASE_DIR
from potyk_io_back.tv_ta.tv_ta import (
from potyk_io_back.core.config import BASE_DIR
from potyk_io_back.domain.tv_ta import (
AnalysisRepo,
PredictionRepo,
Analysis,
Expand Down
4 changes: 2 additions & 2 deletions apps/cli_ta_opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
from skimage.metrics import mean_squared_error
from sklearn.model_selection import train_test_split

from potyk_io_back.config import BASE_DIR
from potyk_io_back.tv_ta.tv_ta import PredictionRepo, AnalysisRepo
from potyk_io_back.core.config import BASE_DIR
from potyk_io_back.domain.tv_ta import PredictionRepo, AnalysisRepo


class Deps:
Expand Down
4 changes: 2 additions & 2 deletions apps/cli_untappd_sync.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import json
from collections import defaultdict

from potyk_io_back.config import BASE_DIR
from potyk_io_back.services import sql
from potyk_io_back.core.config import BASE_DIR
from potyk_io_back.core.services import sql


def main(beer_history_path, checkins_path):
Expand Down
2 changes: 1 addition & 1 deletion apps/script_db_vacuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import sqlite3

from potyk_io_back.config import BASE_DIR
from potyk_io_back.core.config import BASE_DIR

db = ...
# db = "potyk-io.db"
Expand Down
2 changes: 1 addition & 1 deletion apps/script_render_all_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import app_42
from app_42 import render_pages, Deps
from potyk_io_back.config import BASE_DIR
from potyk_io_back.core.config import BASE_DIR

os.environ["FLASK_ENV"] = "prod"
# os.environ["FLASK_ENV"] = "development"
Expand Down
4 changes: 2 additions & 2 deletions apps/script_render_feed.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

import app_42
from apps.script_render_all_pages import clean_dir, make_dir
from potyk_io_back.config import BASE_DIR
from potyk_io_back.index_and_feed import FeedCard
from potyk_io_back.core.config import BASE_DIR
from potyk_io_back.domain.index_and_feed import FeedCard


def main(app, deps):
Expand Down
Loading

0 comments on commit 8e5db4b

Please sign in to comment.