Client for Updating a Simple Data Warehouse on Blob Storage
Project description
datablob
Client for Updating a Simple Data Warehouse on Blob Storage
design philosophy
- optimize for simplicity and user friendliness
- storage is cheap (compared to compute)
- pre-compute as much as possible
- should work out of the box
- advanced configuration should be opt-in
- explicit is better than implicit
- straightforwardness over magic
install
pip install datablob
supported formats
- csv
- geojson points
- json
- json lines
- parquet, including geoparquet
usage
More examples coming soon
from datablob import DataBlobClient
client = DataBlobClient(bucket_name="example-test-bucket-123", bucket_path="prefix/to/dataportal")
client.update_dataset(name="fleet", version="2", data=rows)
# automatically creates the following files
# s3://example-test-bucket-123/prefix/to/dataportal/fleet/v2/meta.json
# s3://example-test-bucket-123/prefix/to/dataportal/fleet/v2/data.csv
# s3://example-test-bucket-123/prefix/to/dataportal/fleet/v2/data.json
# s3://example-test-bucket-123/prefix/to/dataportal/fleet/v2/data.jsonl
# s3://example-test-bucket-123/prefix/to/dataportal/fleet/v2/data.parquet
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
datablob-0.3.0.tar.gz
(6.8 kB
view details)
File details
Details for the file datablob-0.3.0.tar.gz.
File metadata
- Download URL: datablob-0.3.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
755ba2e582a3cbd84843f557b02325c3db615d5e1d8942ba37fb49662928bf8d
|
|
| MD5 |
d81269091b5435324ae713c66be53c00
|
|
| BLAKE2b-256 |
1eb1aa3426f009f687f91138af8c58501fed71c7eaf8b6e2772dead40e2845e1
|