https://github.com/calpaterson/csvbase
a simple web database
https://github.com/calpaterson/csvbase
Last synced: 3 months ago
JSON representation
a simple web database
- Host: GitHub
- URL: https://github.com/calpaterson/csvbase
- Owner: calpaterson
- License: agpl-3.0
- Created: 2021-11-30T20:58:15.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-15T06:35:08.000Z (10 months ago)
- Last Synced: 2024-04-16T02:22:16.783Z (10 months ago)
- Language: Python
- Homepage: https://csvbase.com
- Size: 1.16 MB
- Stars: 243
- Watchers: 9
- Forks: 7
- Open Issues: 44
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
- jimsghstars - calpaterson/csvbase - a simple website for sharing table data - with an API (Python)
README
![]()
# csvbase
A simple website for sharing table data.

## What it's about
1. Paste your CSV file
2. Get a table on the web you can share with people via url
3. They can export it into pandas/excel/spark/whateverIn short: making it really easy to share dataframes.
## For example
A good demo is
[meripaterson/stock-exchanges](https://csvbase.com/meripaterson/stock-exchanges),
which is an up-to-date list of the world's stock exchanges.If you wanted to load that dataset into
[pandas](https://github.com/pandas-dev/pandas), for example, you would run:```python
>>> import pandas as pd
>>> # you just put in the same url as on the website, bit of magic here
>>> stock_exchanges = pd.read_csv("https://csvbase.com/meripaterson/stock-exchanges")
>>> stock_exchanges
csvbase_row_id Continent Country Name MIC Last changed
0 1 Africa Lesotho HYBSE NaN 2019-03-25
1 2 Asia Kazakhstan Astana International Financial Centre AIXK 2018-11-18
2 3 Africa South Africa ZAR X ZARX 2018-11-18
3 4 South America Argentina Bolsas y Mercados Argentinos NaN 2018-04-02
4 5 North America United States of America Delaware Board of Trade NaN 2018-04-02
.. ... ... ... ... ... ...
246 247 North America United States of America Long-Term Stock Exchange LTSE 2020-09-14
247 248 North America United States of America Miami International Securities Exchange MIHI 2020-09-24
248 249 North America United States of America Members' Exchange NaN 2020-09-24
249 250 Africa Zimbabwe Victoria Falls Stock Exchange NaN 2020-11-01
250 251 Asia China Beijing Stock Exchange NaN 2021-12-27[251 rows x 6 columns]
```It's just as easy to:
1. [Export to XLSX (MS Excel)](https://csvbase.com/meripaterson/stock-exchanges/export)
2. [Export to R](https://csvbase.com/meripaterson/stock-exchanges/export)
3. Execute create/read/update/delete operations via a [simple REST API](https://csvbase.com/meripaterson/stock-exchanges/docs)
4. [And get the CSV back as well, of course](https://csvbase.com/meripaterson/stock-exchanges/export)## A few more details
This repo has the full sourcecode for the website. There is no other repo with
more stuff in it. Except the [client
code](https://github.com/calpaterson/csvbase-client).For tips on how to get started, see [HACKING.md](HACKING.md).
Csvbase is licensed under the AGPLv3 or later. You're free to reuse it as you
like under that licence but please bear in mind the one-man-and-his-dog nature
of this operation: I can't support you and there is NO warranty; not even for
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.