PythonNet
Razor page application dashboard calling Python scripts via HTMX.
Install / Use
/learn @iceHub82/PythonNetREADME
Project Overview
This project demonstrates how to call Python scripts from a .NET 9 Razor Pages web application, using the recently published CSnakes library to enable Python execution within .NET.
Solution Details
- The application is built on .NET 9 Razor Pages and integrates with CSnakes, allowing seamless Python script execution within .NET.
- A minimal API endpoint is used, together with HTMX, to call Python scripts and return dynamically generated stock graph images (PNG format) using the matplotlib and pandas libraries in Python.
Setup Instructions
Upon initial project startup, a Python virtual environment will be created, and required packages will be installed automatically. This process may take a few moments, with progress visible in the console output.
Related Skills
node-connect
338.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
83.4kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
83.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
338.0kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
