Skip to main content

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

basic usage

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, xlsx=True)
# 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.points.geojson
# 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
# s3://example-test-bucket-123/prefix/to/dataportal/fleet/v2/data.points.shp.zip
# s3://example-test-bucket-123/prefix/to/dataportal/fleet/v2/data.tsv
# s3://example-test-bucket-123/prefix/to/dataportal/fleet/v2/data.xlsx

examples

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.7.0.tar.gz (7.9 kB view details)

Uploaded Source

File details

Details for the file datablob-0.7.0.tar.gz.

File metadata

  • Download URL: datablob-0.7.0.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for datablob-0.7.0.tar.gz
Algorithm Hash digest
SHA256 b0455efd7d38df9fcc58d402e8bbbe52a5c9d541cfc8839695989cf9cf430184
MD5 73d1dda4ad65b8b76628e99f192e0d37
BLAKE2b-256 f7fbaf1baae98fafc3c4780db44e6cbb9492a9132e7ca20c759a99119aa7f40b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page