Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
4ef5c60
Beginning to understand file structure, added a summary MD file to he…
KDW1 Jan 14, 2026
60429d3
Identifying the relevant functions to bring over to Flask
KDW1 Jan 14, 2026
faad5ca
More small changes, picking apart pyodideState and simulationState
KDW1 Jan 14, 2026
783ab62
Made a backendPreference form with binary values pyodide and flask
KDW1 Jan 14, 2026
237c52a
Adding the Pyodide and Flask toggle button to the main page (still ha…
KDW1 Jan 14, 2026
4155bc6
Added the icions that help you distinguish between you backend prefer…
KDW1 Jan 14, 2026
90ddba6
Added backend preference as a keyboard shortcut to toggle, added to k…
KDW1 Jan 14, 2026
b14270e
Beginning to work on the validation Flask api route, trying to figure…
KDW1 Jan 14, 2026
7683901
Adding any files I forgot
KDW1 Jan 14, 2026
1a2843b
More progress on the validateGraphSimulation route, trying to figure …
KDW1 Jan 14, 2026
fe3757b
Clarified with Remi, how to approach the backend functionality. Can s…
KDW1 Jan 14, 2026
cf233c7
Copied over the worker intialization function
KDW1 Jan 16, 2026
0ab1841
Added intializationStatus and the alternative route for the pyodide b…
KDW1 Jan 16, 2026
c8a2f26
Small changes finished, don't know why I am having so many complicati…
KDW1 Jan 16, 2026
e886570
Need to work on passing the backend preference top down from handlers…
KDW1 Jan 16, 2026
d97cc4a
May need to rever the backendPreferenceStore system
KDW1 Jan 16, 2026
6bbee04
Marginal changes to backend preference
KDW1 Jan 20, 2026
232ab1e
Reset the workers so that they check for the backend preference via t…
KDW1 Jan 20, 2026
18da70e
Achevied a different evaluation result which is amazing
KDW1 Jan 20, 2026
762e44c
Changed the preference switcher so it interacts with switchBackend(),…
KDW1 Jan 21, 2026
7279693
Any remaining miscellaneous changes
KDW1 Jan 21, 2026
439f5a4
Resolved the majority of merge conflicts, merging remote-trakcing bra…
KDW1 Jan 21, 2026
7279b80
Merge branch 'main' of https://github.com/pathsim/pathview into flask…
KDW1 Jan 23, 2026
3ad7976
Working on Flask Backend type
KDW1 Jan 23, 2026
7eb0aaa
Removed stdlib packages in requirements.txt to avoid error with pip i…
KDW1 Jan 23, 2026
3514e21
Set up the proper flask backend architecture for execution and evalua…
KDW1 Jan 23, 2026
e8505db
Successfully transfered all the worker.ts Flask alternative code into…
KDW1 Jan 23, 2026
3335c72
Removed a bunch of the unnecessary, zombie code
KDW1 Jan 23, 2026
d3c3757
Developing new /streamData api route, which will handle all the loopi…
KDW1 Jan 23, 2026
729acff
Beginning to refine the /streamData endpoint, the generator function …
KDW1 Jan 23, 2026
15e54d5
Successfully decoding chunks from a readable stream that comes from a…
KDW1 Jan 23, 2026
273c008
Made some progress on reading the chunks from the Flask api endpoint …
KDW1 Jan 23, 2026
e274f7b
Pulling and updating my local version with the most local commits, cu…
KDW1 Jan 28, 2026
8b5d326
Added code that separates the responses since sometimes multiple API …
KDW1 Jan 28, 2026
c9380d3
Asynchronously handling data chunks now, the intiial continue functio…
KDW1 Jan 28, 2026
53ab0c7
Changed the sequential order of the stream-data passing code, so now …
KDW1 Jan 28, 2026
d022eef
The streaming code works fairly efficiently now
KDW1 Jan 28, 2026
44c82af
Removed all the logs that I added, and removed some unnecessary zombi…
KDW1 Jan 28, 2026
381f147
Merge branch 'main' into flask-backend
KDW1 Jan 28, 2026
c96ce88
Trying to implement a system that saves namespace in session, there i…
KDW1 Jan 28, 2026
86f0d77
Beginning to work on THE meta-namespace (reverting back changes)
KDW1 Jan 30, 2026
02c2092
Merge branch 'flask-backend' of https://github.com/KDW1/pathview into…
KDW1 Jan 30, 2026
e1a486f
Merge branch 'main' of https://github.com/pathsim/pathview into flask…
KDW1 Jan 30, 2026
04f5014
Added individual namespaces
KDW1 Jan 30, 2026
d82dee9
Added the url parameter switch for the backend type
KDW1 Jan 30, 2026
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ tmpclaude-*


__pycache__/
src/example.py
13 changes: 13 additions & 0 deletions package-lock.json

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

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "eslint .",
"format": "prettier --write ."
"format": "prettier --write .",
"start:backend": "python src/backend.py",
"start:both": "concurrently \"npm run dev\" \"npm run start:backend\""
},
"devDependencies": {
"@sveltejs/adapter-static": "^3.0.0",
Expand All @@ -40,6 +42,7 @@
"@codemirror/theme-one-dark": "^6.0.0",
"@xyflow/svelte": "^1.5.0",
"codemirror": "^6.0.0",
"dotenv": "^17.2.3",
"katex": "^0.16.0",
"pathfinding": "^0.4.18",
"plotly.js-dist-min": "^2.35.0",
Expand Down
8 changes: 8 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Web application dependencies (not needed for core package)
Flask>=3.1.1
flask-cors>=6.0.1

numpy
pathsim
pathsim_chem
dotenv
Loading