https://github.com/limebrains/csv-django-parser
CSV django parser
https://github.com/limebrains/csv-django-parser
Last synced: 4 months ago
JSON representation
CSV django parser
- Host: GitHub
- URL: https://github.com/limebrains/csv-django-parser
- Owner: limebrains
- License: mit
- Created: 2017-01-11T22:50:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-11T23:46:26.000Z (over 8 years ago)
- Last Synced: 2025-01-14T04:12:23.690Z (6 months ago)
- Size: 780 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CSV django parser
Application objectives:
1. Fork that repository.
2. In your fork create following steps
3. Create django project `./manage.py startproject csvparser`
4. Create django application named parser `./manage.py startapp parser`
5. Create parser app with view under url of `/parser/upload`
* for GET
* return html with a form which would let user upload a csv file
* for POST
* parse uploaded csv file with proper handling of exceptions. Sample file is part of this project (input.csv).
* save data into database
6. Create list view under `/parser/list` display output of parsed csv in table.7. Submit Pull request towards `https://github.com/limebrains/csv-django-parser`
## We highly recommend usage of [celery](http://docs.celeryproject.org/en/latest/) for asynchronous parsing.