Cursor rules for Python Flask development with JSON guide.
.cursorrules or .cursor/rules/python-flask-json-guide.mdc 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']) This project is heavily reliant on our custom Drawscape Factorio python module.
Here is code examples of how to use the module:
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']) Cursor rules for Cypress development with API testing.
Cursor rules for Elixir development with Phoenix and Docker integration.
FastAPI best practices and patterns for building modern Python web APIs
Cursor rules for FastAPI services with router/service/repository boundaries, typed provider adapters, bulkhead isolation, idempotency, and domain exceptions.
Cursor rules for Go development with backend scalability.
Cursor rules for Go development with ServeMux REST API integration.