Simple Data Converter - Flask & Simple-DataTables
Hello! This article presents a simple Data Converter codebase powered by Flask and Simple-DataTables JS Library. This experimental project can be used to visualize CSV files using data tables, export in different formats, and edit the information using the console. The source code
, published on Github under the MIT license, will be updated to support charts and other conversions (to PDF, to data frames.. etc). Thanks for reading!
- π Data Converter - source code
- π Free Support via email and Discord
β¨ Project Features
- π Minimal set up
- π CSV files upload / Visualisation
- π Search, Pagination, Export to JSON, SQL, and Text
- π Edit (via console): Update/Remove/Add columns
New columns can be provisioned using data with different formats: Random Strings, Integers, and Timestamps (UNIX format). Β
β¨How to start the project
This tool can be compiled and started in any environment that has Python3 and GIT installed.
Step #1 - Clone the sources
Step #2 - Install the dependencies
Step #3 - Start the app
If all goes well, we should be able to visit the app in the browser and visualize the default CSV files shipped with the code (samples directory).
β¨Helpers
The project comes with a few basic helpers for CSV data format:
csv_print()
- print a CSV file to the consolecsv_col_remove()
- remove a column (by name)csv_col_update()
- update a column with generated datacsv_col_add()
- add a new column (generated data)csv_to_json()
- CSV to JSON converter
Generated data is generated in different formats: random strings
, random integers
, and UNIX timestamps
.
Print a CVS file
Delete Columns from a CSV file
CSV Add Content - New column provisioned with random integers
Thanks for reading! For more resources, feel free to access:
- β¨ AppSeed for more tools and free starters
- β¨ More sample projects published on Github