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

Implement CLI query sqlite --output-type functionality via convert #145

Closed
2 tasks done
andrewtavis opened this issue Jun 7, 2024 · 3 comments
Closed
2 tasks done
Assignees
Labels
feature New feature or request

Comments

@andrewtavis
Copy link
Member

andrewtavis commented Jun 7, 2024

Terms

Description

As discussed in the 24/5/2024 GSoC sync, we'd like Scribe-Data to be able to also export other file types besides JSONs. This issue would look into the exporting of .sqlite database files. The user would call --ouput-type sqlite (or .sqlite just to be sure), and then the resulting JSON files would be converted over to .sqlite data files. To be more explicit, Scribe-Data would first export JSON files as that's the baseline output file type, and then the convert process would run such that these filetypes are converted over to SQLite databases. The files in OUTPUT_DIR/German/ like nouns.json and verbs.json would be within a german.sqlite file with nouns and verbs tables.

Contribution

@mhmohona will be working on this as a part of GSoC 2024! ☀️ Please write in here so I can assign, and let us know if there's anything we can do to support!

@andrewtavis andrewtavis added the feature New feature or request label Jun 7, 2024
@mhmohona
Copy link
Member

mhmohona commented Jun 7, 2024

gonna work on it!

@andrewtavis
Copy link
Member Author

andrewtavis commented Jun 8, 2024

@mhmohona, quick check on things :) I think it make sense to have covert just be from JSON to SQLite, CSV or TSV. The user will always get a JSON at first and then this process can be one directional to what they want? Or can you think of cases where an SQLite Scribe-Data output should be changed to a CSV, etc?

@andrewtavis andrewtavis changed the title Implement CLI query sqlite --output-type functionality via --convert Implement CLI query sqlite --output-type functionality via convert Jun 9, 2024
@andrewtavis
Copy link
Member Author

Closed by #163! The features are really coming along, @mhmohona! ☀️

@github-project-automation github-project-automation bot moved this from Todo to Done in Scribe Board Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Archived in project
Development

No branches or pull requests

2 participants