Skip to content

add python script to export json schemas into excel format #140

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions fireschematoexcel/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
**General Requirements**
1. Python: pip3 install -r requirements.txt

**Executing the script**
1. Run:
```python
python3 schematoexcel.py
```
2. The script will create an excel file called "fire_schemas.xlsx" inside the "fireschematoexcel" folder containing:
- Worksheets of product and entity schemas
- Worksheets of all enums associated with properties in the schemas
- Worksheets of all the item attributes reffered to inside the product and entity schemas, organised as pseudoschemas
1 change: 1 addition & 0 deletions fireschematoexcel/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
openpyxl==3.0.9
Loading