<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/building-a-research-os-from-django-to-30-000-samples-rhrshfoqw" -->

---
title: Building a Research OS: From Django to 30,000 Samples
description: A gastroenterologist with almost no programming background taught himself Django in 2020 to track roughly 30,000 clinical samples for an IBD study, after...
canonical: https://daily.dev/posts/building-a-research-os-from-django-to-30-000-samples-rhrshfoqw
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Building a Research OS: From Django to 30,000 Samples | daily.dev
og:description: A gastroenterologist with almost no programming background taught himself Django in 2020 to track roughly 30,000 clinical samples for an IBD study, after...
og:url: https://daily.dev/posts/building-a-research-os-from-django-to-30-000-samples-rhrshfoqw
og:image: https://api.daily.dev/og/posts/RHrsHFoqW.png
og:image:alt: Building a Research OS: From Django to 30,000 Samples
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Building a Research OS: From Django to 30,000 Samples

**[Planet Python](https://daily.dev/sources/planetpython)** · [@mkennedy](https://daily.dev/mkennedy) · 90 min read · 0 upvotes · 0 comments

## Summary

A gastroenterologist with almost no programming background taught himself Django in 2020 to track roughly 30,000 clinical samples for an IBD study, after finding that most research teams rely on Microsoft Excel. That project grew into Foundry120, a research platform holding 10 terabytes of clinical and genomics data across hospitals in Scotland, running on Azure with 350 CPUs available for compute-heavy genomics pipelines. The platform now includes Helix, an agentic AI assistant that writes and runs analysis code in a sandboxed VM, with Django enforcing role-based access control so the AI only sees data its human user is permitted to see. The conversation covers why Django's batteries-included approach suited a non-programmer, the shift from Django templates to a TypeScript/React front end backed by Django REST Framework, the decision to treat all data as files in Azure Blob Storage with a metadata layer on top, governance constraints that rule out an MCP server due to GDPR, and the changing nature of research work as AI takes over analysis while humans shift to verification. Django's move to an annual, calendar-versioned release cycle is also mentioned as recent news.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://talkpython.fm/episodes/show/560/building-a-research-os-from-django-to-30-000-samples>

## Questions this post answers

### Why did Shaun Chuah choose Django to build a clinical sample-tracking system as a non-programmer?

Django was chosen because it is mature and battle-tested, shipping with built-in authentication and database migrations that let a non-programmer avoid getting security or schema changes wrong while handling sensitive clinical data. Its admin dashboard was a further bonus. The framework's tagline, 'the web framework for perfectionists with deadlines,' matched the two-year timeline to deliver a 30,000-sample study.

_daily.dev surfaces real framework decisions like this one for developers weighing Django against alternatives._

### How does Foundry120 keep an AI agent from accessing clinical data it shouldn't see?

Django sits as a security layer between the AI and the raw data: every request from the Helix agent is screened by Django, which spins up an isolated VM, transfers only the needed file from Azure Blob Storage into that sandbox, runs the analysis there, and stores the output back in blob storage. Because permissions are enforced in Django rather than trusted to the model, Helix only ever sees files the requesting human is already authorized to view.

_developers designing AI agent permissions can compare this Django-enforced sandbox pattern on daily.dev._

### How is Django changing its release versioning and cadence?

Django is moving to an annual release cycle with calendar-based version numbers, meaning future releases will be named for their year rather than incrementing through numbers like 5.2 or 6.0. Every release under the new scheme will get long-term-support-level care, which is intended to make it simpler for newcomers to understand which version they should use.

_track Django's release cadence changes on daily.dev before planning your next upgrade._

## Similar posts on daily.dev

- [Python in Digital Humanities](https://daily.dev/posts/python-in-digital-humanities-p3zbh4yts) · Planet Python · 0 upvotes · 0 comments
- [The State of Django 2026: Boring is so back](https://daily.dev/posts/the-state-of-django-2026-boring-is-so-back-yewlc1n0l) · JetBrains · 0 upvotes · 0 comments
- [Python Developers Survey 2026](https://daily.dev/posts/python-developers-survey-2026-isli6yjmy) · Django News · 0 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#azure](https://daily.dev/tags/azure), [#django](https://daily.dev/tags/django), [#agentic-ai](https://daily.dev/tags/agentic-ai), [#health-tech](https://daily.dev/tags/health-tech)

[View this post on daily.dev](https://daily.dev/posts/building-a-research-os-from-django-to-30-000-samples-rhrshfoqw)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Building a Research OS: From Django to 30,000 Samples","url":"https://daily.dev/posts/building-a-research-os-from-django-to-30-000-samples-rhrshfoqw","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/building-a-research-os-from-django-to-30-000-samples-rhrshfoqw"},"datePublished":"2026-08-26T21:49:40.335Z","dateModified":"2026-08-27T18:00:29.738Z","description":"A gastroenterologist with almost no programming background taught himself Django in 2020 to track roughly 30,000 clinical samples for an IBD study, after...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a776140e79073b823d8768b54eb9244d?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a776140e79073b823d8768b54eb9244d?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Planet Python","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Michael Kennedy","url":"https://daily.dev/mkennedy","image":"https://media.daily.dev/image/upload/s--CAIUuwxP--/f_auto,q_auto/v1701901463/avatars/avatar_5Q1yteeM08cxesQG2actL","description":"Python enthusiast. Host of @talkpython and @pythonbytes podcasts, founder of Talk Python Training.","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":60}},"commentCount":0,"discussionUrl":"https://daily.dev/posts/building-a-research-os-from-django-to-30-000-samples-rhrshfoqw","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,azure,django,agentic-ai,health-tech","timeRequired":"PT90M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Planet Python","item":"https://daily.dev/sources/planetpython"},{"@type":"ListItem","position":3,"name":"Building a Research OS: From Django to 30,000 Samples"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/building-a-research-os-from-django-to-30-000-samples-rhrshfoqw#faq","mainEntity":[{"@type":"Question","name":"Why did Shaun Chuah choose Django to build a clinical sample-tracking system as a non-programmer?","acceptedAnswer":{"@type":"Answer","text":"Django was chosen because it is mature and battle-tested, shipping with built-in authentication and database migrations that let a non-programmer avoid getting security or schema changes wrong while handling sensitive clinical data. Its admin dashboard was a further bonus. The framework's tagline, 'the web framework for perfectionists with deadlines,' matched the two-year timeline to deliver a 30,000-sample study. daily.dev surfaces real framework decisions like this one for developers weighing Django against alternatives."}},{"@type":"Question","name":"How does Foundry120 keep an AI agent from accessing clinical data it shouldn't see?","acceptedAnswer":{"@type":"Answer","text":"Django sits as a security layer between the AI and the raw data: every request from the Helix agent is screened by Django, which spins up an isolated VM, transfers only the needed file from Azure Blob Storage into that sandbox, runs the analysis there, and stores the output back in blob storage. Because permissions are enforced in Django rather than trusted to the model, Helix only ever sees files the requesting human is already authorized to view. developers designing AI agent permissions can compare this Django-enforced sandbox pattern on daily.dev."}},{"@type":"Question","name":"How is Django changing its release versioning and cadence?","acceptedAnswer":{"@type":"Answer","text":"Django is moving to an annual release cycle with calendar-based version numbers, meaning future releases will be named for their year rather than incrementing through numbers like 5.2 or 6.0. Every release under the new scheme will get long-term-support-level care, which is intended to make it simpler for newcomers to understand which version they should use. track Django's release cadence changes on daily.dev before planning your next upgrade."}}]}
```

