Pythonrole
a simple scaffold for running Python in Windows Azure
Install / Use
/learn @smarx/PythonroleREADME
This is a simple scaffold for packaging a Python app to run on Windows Azure.
Usage
- Edit
app.pyto do whatever you want, and add any required modules todependencies.txt. If this is a web app, be sure to listen on the port specified in thePORTenvironment variable (and for best results when running locally, listen on the IP address specified in theADDRESSenvironment variable. - Run
run.cmdto build and run the application locally. When running locally, python.exe must be in the path. (It is not automatically installed as it is in the cloud.) - Run
pack.cmdto outputPackAndRun.cspkg. That file, along withServiceConfiguration.cscfgis what you need to deploy via the Windows Azure portal (or with some other tool) to get the app running in the cloud.
Related Skills
node-connect
350.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.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.
openai-whisper-api
350.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
