Dopamine AI Prompt Library
Open search
Menu
Submitted by
jules_rust24 prompts

Python Flask Json Guide

Cursor rules for Python Flask development with JSON guide.

Added Nov 26, 2026

Prompt

python-flask-json-guide.mdMarkdown · 19 lines · about 160 tokens
This project is heavily reliant on our custom Drawscape Factorio python module.
Here is code examples of how to use the module:
```python
from drawscape_factorio import create as createFactorio
from drawscape_factorio import importFUE5
with open('/path/to/exported-entities.json', 'r') as file:
json_data = json.load(file)
data = importFUE5(json_data)
result = createFactorio(data, {
'theme_name': 'default',
'color_scheme': 'main',
'show_layers': ['assets', 'belts', 'walls', 'rails', 'electrical', 'spaceship']
})
with open(output_file_name, 'w') as f:
f.write(result['svg_string'])

About this prompt

Content type
Code
Industries
Software Development
Models
Cursor
Languages
English
Length
19 lines, about 160 tokens
Added
Nov 26, 2026
License
CC0
Request takedown
jules_rust24 prompts
Profile

More from jules_rust

View all

Semiotic React Dataviz

Cursor rules for Semiotic data visualization library with 30+ chart types, MCP server, and AI-assisted chart generation.