Skip to content
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

python data file to JSON converter #183

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brendanshean
Copy link
Member

WHAT

Add a script that convert a python data file (e.g. scripts/data/quookas.py) to a JSON file

WHY

Ruby can handle the .json file much easier than the .py one

HOW

From document root:
python ./scripts/data/json_converter.py ./scripts/data/haiti.py
this will generate a haiti.json file that can be used with our ruby code.

Screenshots

(If applicable. Also, please censor any sensitive data)

@brendanshean brendanshean changed the title data.*py converter script python data file to JSON converter Mar 25, 2024
@brendanshean brendanshean requested a review from dandrabik March 25, 2024 14:10
Copy link
Member

@dandrabik dandrabik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Nice, this'll make it much easier to export.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants