A package to read 0archive's data from google drive to csv
Project description
ZeroLoader
ZeroLoader is a part of 0archive project. Its purpose is to read 0archive's public data from google drive into csv format.
Setup
-
Get google api credentials
Follow Step 1 from this tutorial.
-
Installation It's recommended to use a virtualenv or conda env.
$ pip install -U zeroloader.py
-
Create environment file
touch .env echo GDRIVE_PUBLIC_FILE_MAPPING_ID=1OwAGYg7dJob_VMW8vt2FP4fO5Ie7B3EW > .env
-
Load data
You need the producer_id to successfully load. The id of each producer could be found from google drive folder name or from this csv.
import zeroloader as zl df = zl.load_data(:producer_id, :yyyy-mm, :path-to-gdrive-api-credentials) # e.g. Load 2020 June's data of storm.mg into a csv df = zl.load_data("5030bba7-81fe-11ea-8627-f23c92e71bad", "2020-06", "service.json")
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 zeroloader.py-1.0.0.tar.gz.
File metadata
- Download URL: zeroloader.py-1.0.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec44e8db9e4e0069ee4d1b83485184b6a76424b5260bab5bd2479e2711d124bf
|
|
| MD5 |
8ce21a80a7fa90e376ab3fe7bfaf2435
|
|
| BLAKE2b-256 |
5f7d2f2eb59206f26810fe5bedd4b6b419f373c7cfacdadc2e96b275c94fd970
|
File details
Details for the file zeroloader.py-1.0.0-py3-none-any.whl.
File metadata
- Download URL: zeroloader.py-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a402b7371f74f347ced2dd834ed0ec0441cc429a8c35e9650f15684842a2df4
|
|
| MD5 |
7875952fd9a01ef53379e86c3f5aec97
|
|
| BLAKE2b-256 |
a026ccd8b1173cdd75e418af94515960fee8485f3c469388ccfe547f0abca5c8
|