Tools for fetching tabular data from Coscine
Project description
Coscine Tabular Data
pip install coscine
pip install pandas
pip install jyrkio-coscine-tabular-data
Usage:
First, create a Coscine API Token at https://coscine.rwth-aachen.de/ Set that to the environment variable of COSCINE_API_TOKEN.
Syntax
import coscine
from coscine_tabular_data import getTableFromCoscine
try:
contents = getTableFromCoscine("<YOUR PROJECT in COSCINE>", "<FILE_NAME in COSCINE>")
for path, dataframe in contents.items():
print(dataframe)
except coscine.TooManyResults:
print("Found more than 1 project with the same property!")
except coscine.NotFoundError:
print("Failed to find a project via the property!")
Sample programming code:
import coscine
from coscine_tabular_data import getTableFromCoscine
try:
contents = getTableFromCoscine("2026-03-21", "data-measurements.csv")
for path, dataframe in contents.items():
print(dataframe)
except coscine.TooManyResults:
print("Found more than 1 project with the same property!")
except coscine.NotFoundError:
print("Failed to find a project via the property!")
The file name should have the .CSV ending.
Expected result:
Humidity Temperature Time
0 45 21.4 0
1 44 21.8 1
2 43 22.1 2
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jyrkio_coscine_tabular_data-0.1.6.tar.gz.
File metadata
- Download URL: jyrkio_coscine_tabular_data-0.1.6.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3afec48951ea507c6da1b8a7f5203b24b11eba441c13f14d30a005c0c3b2189f
|
|
| MD5 |
ab55eb19312117cd61d2af5269c35705
|
|
| BLAKE2b-256 |
aa9e0afc02a6cfbb9bb5565489a7d50c73f6ca1e022c94027f6bb057402a4013
|
File details
Details for the file jyrkio_coscine_tabular_data-0.1.6-py3-none-any.whl.
File metadata
- Download URL: jyrkio_coscine_tabular_data-0.1.6-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1178d43a741bc58dd130870b16cd4bb289b26e653dccfb407aa269242376cfcd
|
|
| MD5 |
3f77e9ea6653522c16a9e4c6b1e380c1
|
|
| BLAKE2b-256 |
47ca5a58bfaca5ffe6d065418bd976b281bd639c8118e4154505720f59379c9e
|