Skip to content

Commit fbc21f7

Browse files
committed
README: add Python reference server, cross-link from Node
1 parent 9d8237d commit fbc21f7

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ A runnable, in-memory implementation of OCAS in Node.js. Start it with `npm inst
3838

3939
---
4040

41+
### [ocas-reference-python](./ocas-reference-python/), OCAS reference server (Python)
42+
43+
The same reference server, in Python with FastAPI. Identical behaviour and rules to the Node version, so you can see the spec is genuinely portable across stacks. Start it with `uvicorn ocas.server:app --reload` and FastAPI even serves its own interactive docs at `/docs`. Ships with a pytest conformance suite. Built for learning and conformance testing, not production.
44+
45+
📁 [`./ocas-reference-python/`](./ocas-reference-python/) · 🟢 `uvicorn` · ✅ tested · *Implements OCAS draft v0.1*
46+
47+
---
48+
4149
## How to get involved
4250

4351
- **Adopt a spec.** The fastest way to help is to implement one of our standards in a real product and tell us what broke. Adoption stories beat theoretical critique.

ocas-reference-node/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,6 @@ It's deliberately small and readable. If you want to build a real OCAS server, t
9898

9999
## Where this fits
100100

101-
This is one implementation of OCAS. The spec is the source of truth; if this server and the spec ever disagree, the spec wins (and please [open an issue](https://github.com/the-foundation-stack/Foundation/issues)). Implementations in other languages — Python, Go, PHP, Ruby are very welcome as contributions.
101+
This is one implementation of OCAS. The spec is the source of truth; if this server and the spec ever disagree, the spec wins (and please [open an issue](https://github.com/the-foundation-stack/Foundation/issues)). There's also a [Python reference server](../ocas-reference-python/) with identical behaviour. Implementations in further languages (Go, PHP, Ruby, Rust) are very welcome as contributions.
102102

103103
Licensed Apache 2.0, same as the rest of The Foundation.

0 commit comments

Comments
 (0)