AcademyRulesData and reporting

Python LLM and ML Workflow Rules for Cursor

Data and AI teams that build ML and LLM prototypes in Python and want Cursor to follow a defined toolset.

  • Recommendedour rating
  • 40,892repository stars
  • CC0-1.0licence
  • 4 months agolast update
mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/python-llm-ml-workflow-cursorrules-prompt-file.mdc -o .cursor/rules/python-llm-ml-workflow.mdc
python-llm-ml-workflow.mdc

Loading the file...

What it does

A Cursor rules file for machine learning and LLM work in Python. It defines the assistant's role and a tool stack that includes Poetry or Rye, Ruff, pytest, strict type hints, Docker, FastAPI, Gradio, Streamlit, LangChain, Transformers and vector databases such as FAISS and Chroma.

Use cases

  1. 01Build a small Gradio or Streamlit demo for a model
  2. 02Set up a LangChain pipeline with a vector database
  3. 03Write typed, tested Python for a data analysis task

Questions about
Python LLM and ML Workflow Rules for Cursor.

What is Python LLM and ML Workflow Rules for Cursor used for?

Data and AI teams that build ML and LLM prototypes in Python and want Cursor to follow a defined toolset. A Cursor rules file for machine learning and LLM work in Python. It defines the assistant's role and a tool stack that includes Poetry or Rye, Ruff, pytest, strict type hints, Docker, FastAPI, Gradio, Streamlit, LangChain, Transformers and vector databases such as FAISS and Chroma.

How do I install Python LLM and ML Workflow Rules for Cursor?

Run this in your terminal: mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/python-llm-ml-workflow-cursorrules-prompt-file.mdc -o .cursor/rules/python-llm-ml-workflow.mdc

Is Python LLM and ML Workflow Rules for Cursor open source?

Yes. The code is on GitHub (PatrickJS/awesome-cursorrules) under the CC0-1.0 licence.

Is Python LLM and ML Workflow Rules for Cursor safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.