Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "Python 3",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:1-3.11-bullseye",
"customizations": {
"codespaces": {
"openFiles": [
"README.md",
"main.py"
]
},
"vscode": {
"settings": {},
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance"
]
}
},
"updateContentCommand": "[ -f packages.txt ] && sudo apt update && sudo apt upgrade -y && sudo xargs apt install -y <packages.txt; [ -f requirements.txt ] && pip3 install --user -r requirements.txt; pip3 install --user streamlit; echo '✅ Packages installed and Requirements met'",
"postAttachCommand": {
"server": "streamlit run main.py --server.enableCORS false --server.enableXsrfProtection false"
},
"portsAttributes": {
"8501": {
"label": "Application",
"onAutoForward": "openPreview"
}
},
"forwardPorts": [
8501
]
}
1 change: 1 addition & 0 deletions AutomateFinancesWithPython.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
streamlit run main.py
2 changes: 1 addition & 1 deletion categories.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"Uncategorized": [], "Shopping": ["NOON.COM", "LULU HYPERMARKET", "AMAZON AE"], "Travel": ["ETIHAD AIRWAYS"], "Insurance": ["EMIRATES INSURANCE"], "Bank Fee": ["ADCB BANK FEE"], "Subscriptions": ["NETFLIX.COM"]}
{"Uncategorized": [], "Shopping": ["NOON.COM", "LULU HYPERMARKET", "AMAZON AE", "ETIHAD AIRWAYS"], "Travel": ["ETIHAD AIRWAYS"], "Insurance": ["EMIRATES INSURANCE"], "Bank Fee": ["ADCB BANK FEE"], "Subscriptions": ["NETFLIX.COM"], "abcd": ["BOOKING.COM"]}
1 change: 0 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
st.set_page_config(page_title="Simple Finance App", page_icon="💰", layout="wide")

category_file = "categories.json"

if "categories" not in st.session_state:
st.session_state.categories = {
"Uncategorized": [],
Expand Down
13 changes: 13 additions & 0 deletions notes_Damijan_20250419.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

git clone https://github.com/podatkar/AutomateFinancesWithPython.git

http://localhost:8501/

BASH

mapa

C:\DAMIJAN\Git_mapa\AutomateFinancesWithPython

$ streamlit run main.py