You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**TypeScript**: Primary language for all new code
@@ -158,7 +174,6 @@ CoCalc is organized as a monorepo with key packages:
158
174
- Prefix git commits with the package and general area. e.g. 'frontend/latex: ...' if it concerns latex editor changes in the packages/frontend/... code.
159
175
- When pushing a new branch to Github, track it upstream. e.g. `git push --set-upstream origin feature-foo` for branch "feature-foo".
160
176
161
-
162
177
## React-intl / Internationalization (i18n)
163
178
164
179
CoCalc uses react-intl for internationalization with SimpleLocalize as the translation platform.
@@ -216,11 +231,42 @@ Same flow as above, but **before 3. i18n:upload**, delete the key. Only new keys
216
231
- Ignore everything in `node_modules` or `dist` directories
217
232
- Ignore all files not tracked by Git, unless they are newly created files
218
233
219
-
# Important Instruction Reminders
234
+
# CoCalc Python API Client Investigation
235
+
236
+
## Overview
237
+
238
+
The `python/cocalc-api/` directory contains a uv-based Python client library for the CoCalc API, published as the `cocalc-api` package on PyPI.
239
+
240
+
It also contains a test framework (`python/cocalc-api/tests/README.md`) and an MCP client (`python/cocalc-api/src/cocalc_api/mcp/README.md`).
241
+
For convenience, a `python/cocalc-api/Makefile` exists.
242
+
243
+
## Client-Server Architecture Investigation
244
+
245
+
### API Call Flow
246
+
247
+
1.**cocalc-api Client** (Python) → HTTP POST requests
248
+
2.**Next.js API Routes** (`/api/conat/{hub,project}`) → Bridge to conat messaging
0 commit comments