{"id":16175382,"url":"https://github.com/app-generator/devtool-data-converter","last_synced_at":"2025-08-01T10:36:45.373Z","repository":{"id":42861841,"uuid":"456875443","full_name":"app-generator/devtool-data-converter","owner":"app-generator","description":"Open-Source Data Converter - CVS, XLS, DF | AppSeed","archived":false,"fork":false,"pushed_at":"2022-12-06T12:43:15.000Z","size":3498,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-11T05:55:14.986Z","etag":null,"topics":["appseed-sample","data-converter","data-science"],"latest_commit_sha":null,"homepage":"https://appseed.us/developer-tools/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/app-generator.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-08T09:59:16.000Z","updated_at":"2025-03-02T11:27:40.000Z","dependencies_parsed_at":"2023-01-23T18:46:07.114Z","dependency_job_id":null,"html_url":"https://github.com/app-generator/devtool-data-converter","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdevtool-data-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdevtool-data-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdevtool-data-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdevtool-data-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/app-generator","download_url":"https://codeload.github.com/app-generator/devtool-data-converter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243955698,"owners_count":20374373,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["appseed-sample","data-converter","data-science"],"created_at":"2024-10-10T04:44:44.320Z","updated_at":"2025-03-19T00:31:19.616Z","avatar_url":"https://github.com/app-generator.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Data Converter \n\nThis [developer tool](https://appseed.us/developer-tools/) provides simple helpers for data management - provided by [AppSeed](https://appseed.us/). \n\n- 👉 Free [support](https://appseed.us/support/) via Email and [Discord](https://discord.gg/fZC6hup)\n- 👉 More [Developer Tools](https://appseed.us/developer-tools/) - provided by AppSeed\n\n\u003cbr /\u003e \n\n\u003e Features\n\n- CSV Files:\n  - Print\n  - Columns: Remove, Update\n  - Add New Column with random values:\n    - `timestamp`, `random_int` and `random string` (via Faker)\n  - `csv_to_json` Helper\n- [Support](https://appseed.us/support) via **Github** (issues tracker) and [Discord](https://discord.gg/fZC6hup).\n \n\u003cbr /\u003e\n\nThe project is bundled with a simple `Flask` app that loads the information from `samples/data.csv` and presents the information using data tables.  \n\n\u003cbr /\u003e\n\n## ✨ Quick Start\n\n- Clone the project\n- Install Python modules:\n  - `pip install -r requirements.txt` \n- Start the `Flask` app\n  - The `http://localhost:5000/datatables/` route will display the contents of `samples/data.csv` using data tables.\n- Save your CSV content using the same file\n  - `samples/data.csv`\n- Refresh the `http://localhost:5000/datatables/` page\n\nAt this point, you should see your data nicely paginated.        \n\n\u003cbr /\u003e\n\n![Data Converter - Provided by AppSeed.](https://user-images.githubusercontent.com/51070104/153058975-1947b69f-231d-48cc-afb2-8cc867b8b284.png)\n\n\u003cbr /\u003e \n\n## ✨ Complete Set UP\n\n\u003e Clone Sources (this repo)\n\n```bash\n$ git clone https://github.com/app-generator/devtool-data-converter.git\n$ cd devtool-data-converter\n```\n\n\u003cbr /\u003e\n\n\u003e Install Modules using a Virtual Environment\n\n```bash\n$ virtualenv env\n$ source env/bin/activate\n$ pip install -r requirements.txt\n```\n\nOr for **Windows-based Systems**\n\n```bash\n$ virtualenv env\n$ .\\env\\Scripts\\activate\n$\n$ # Install modules - SQLite Database\n$ pip3 install -r requirements.txt\n```\n\n\u003cbr /\u003e\n\n\u003e Set up the environment\n\n```bash\n$ export FLASK_APP=run.py\n$ export FLASK_ENV=development\n```\n\nOr for **Windows-based Systems**\n\n```bash\n$ # CMD terminal\n$ set FLASK_APP=run.py\n$ set FLASK_ENV=development\n$\n$ # Powershell\n$ $env:FLASK_APP = \".\\run.py\"\n$ $env:FLASK_ENV = \"development\"\n```\n\n\u003cbr /\u003e\n\n\u003e Edit `sample/data.csv` manually or using a `Python` console:\n\nOpen a new terminal, activate the `VENV` and update the `CSV` sample using provided helpers:\n\n```\n$ python\n\u003e\u003e\u003e \n\u003e\u003e\u003e from util import *\n\u003e\u003e\u003e input = 'samples/data.csv'\n\u003e\u003e\u003e csv_print( input )\n```\n\n\u003cbr /\u003e\n\n\u003e Print only 2 lines\n\n```python\n\u003e\u003e\u003e from util import *\n\u003e\u003e\u003e input = 'samples/data.csv'\n\u003e\u003e\u003e \n\u003e\u003e\u003e csv_print( input ) # print all file\n\u003e\u003e\u003e \ncsv_print( input, 2 )  # print header and first 2 lines\n... \nproduct_code,product_info,value,currency,type\nNike_Air,Nike Air More Uptempo,105,usd,transaction\nNike_Club,Nike Club Joggers BB,55,usd,transaction\n```\n\n\u003cbr /\u003e\n\n\u003e Remove a column from the the `CSV` file\n\n```python\n\u003e\u003e\u003e csv_col_remove( input, 'value' ) # `vaue` is the column name\n```\n\n\u003cbr /\u003e\n\n\u003e Add a column to the `CSV` file\n\n```python\n\u003e\u003e\u003e csv_col_add( input, 'value' ) # `vaue` is the column name   \n```\n\n\u003cbr /\u003e\n\n--- \nData Converter - Provided by **AppSeed** [App Generator](https://appseed.us/app-generator).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fdevtool-data-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapp-generator%2Fdevtool-data-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fdevtool-data-converter/lists"}