csvbase-client
The command line client and pandas integration for csvbase.
Status
Semantic versioning is followed, see the changelog.
Usage
Get a table
In pandas:
>>> import pandas as pd
>>> pd.read_csv("csvbase://meripaterson/stock-exchanges")
>>> pd.read_csv("csvbase://meripaterson/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]
From the command line
csvbase-client table get meripaterson/stock-exchanges
csvbase_row_id,Continent,Country,Name,MIC,Last changed
1,Africa,Lesotho,HYBSE,,2019-03-25
2,Asia,Kazakhstan,Astana International Financial Centre,AIXK,2018-11-18
3,Africa,South Africa,ZAR X,ZARX,2018-11-18
[ full file omitted ]
Set (aka "upsert") a table:
csvbase-client table set meripaterson/stock-exchanges stock-exchanges.csv
Nothing is output upon success and exit code is 0.
Installing
Executable
Download these from the github release page.
Pip + PyPI
pip install csvbase-client
Docker
docker pull calpaterson/csvbase-client
Then when you run:
# mount your own xdg-cache directory as a volume inside the container
docker run -v "${XDG_CACHE_HOME:-$HOME/.cache}":/root/.cache calpaterson/csvbase-client
Metadata
Release files for csvbase-client 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| csvbase-client-0.1.1.tar.gz | 26.8 kB | Without provenance | Details for csvbase-client-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| csvbase_client-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for csvbase_client-0.1.1-py3-none-any.whl |
Total release size: 54.9 kB
Release files / csvbase-client-0.1.1.tar.gz
| Download URL | csvbase-client-0.1.1.tar.gz |
|---|---|
| Size | 26.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c510b08c3a5e2657e26497d349047d3f1c96f89ee30f6e243779ab45e30e6a19
|
|
BLAKE2b-256 checksum How to use checksums |
cb89da135b35c2fff39b40acc812bf2897376ce3b91510f43cf0ff6949fedcce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.2
|
Release files / csvbase_client-0.1.1-py3-none-any.whl
| Download URL | csvbase_client-0.1.1-py3-none-any.whl |
|---|---|
| Size | 28.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4cabfdf01aa0a48189ce1411c68a364178b8172acb68cc3fc86f3b321f54ca76
|
|
BLAKE2b-256 checksum How to use checksums |
3432665ace40e2f7bf0b38322a192d2470d1cc5e4eff929e10f91d462388171f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.2
|
Security for csvbase-client 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.