Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/butla/fake_csv_server
Serves nonsense CSV files of specified size.
https://github.com/butla/fake_csv_server
Last synced: 14 days ago
JSON representation
Serves nonsense CSV files of specified size.
- Host: GitHub
- URL: https://github.com/butla/fake_csv_server
- Owner: butla
- License: mit
- Created: 2015-08-03T21:03:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-13T14:45:20.000Z (over 8 years ago)
- Last Synced: 2024-12-23T02:44:17.793Z (17 days ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fake CSV server
A web server serving nonsense CSV files of specified size. Can be useful in some integration tests.Can send multiple files in parallel and do it much faster than it would be possible to read them from a disk (unless from some crazy SSDs).
Works with Python 3 and 2.Can be deployed to Cloud Foundry.
##Usage
```
$ pip install -r requirements.txt
$ PORT=9099 python fake_csv_server/app.py &
$ curl localhost:9099/fake-csv/3
```In response you'll get a three kilobyte (plus the size of the header line) CSV file.