Skip to main content

A Python client for Dewey Data (https://deweydata.io/).

Project description

deweypy

Dewey Data Python Client

Getting Started

To download your data using the Dewey Data Python Client, follow these steps in your command line or terminal:

  1. Install the client
pip install deweypy
  1. Make a directory for your downloads
mkdir dewey-downloads/
  1. Locate FOLDER_ID

FOLDER_ID can be extracted from the end of the end of the API URL after data/

  1. Run client
python -m deweypy --api-key <YOUR_API_KEY> speedy-download <FOLDER_ID>

A few notes...

  • For now, please use the CLI to download data. This method is well tested; notebook support will be available soon.
  • Increasing the number of workers for multi-threaded downloads yields diminishing returns, as API requests are limited both by our bucket’s rate limits and your own. We recommend the default of 8 workers, but you can override this with: --num-workers <INT> following speedy-download <FOLDER_ID>.
  • If your dataset is date-partitioned, you can limit the data processed by specifying partition boundaries at the end of your command:
--partition-key-before YYYY-MM-DD --partition-key-after YYYY-MM-DD
  • --partition-key-before includes all partitions up to and including the given date.
  • --partition-key-after includes all partitions from and including the given date onward.

Working with data post-download

For guidance on analyzing your downloaded data, check out the provided notebook tutorial. It demonstrates how to work with Polars, Pandas, and DuckDB, and includes methods for exporting data to Parquet format for more efficient downstream analysis.

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

deweypy-0.8.0.tar.gz (25.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deweypy-0.8.0-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

Details for the file deweypy-0.8.0.tar.gz.

File metadata

  • Download URL: deweypy-0.8.0.tar.gz
  • Upload date:
  • Size: 25.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for deweypy-0.8.0.tar.gz
Algorithm Hash digest
SHA256 8cfdace2b1926017475f2e1698c738526e2a145764152d8809bfb7dd41d963ef
MD5 1053a4ec08ca74e5d7679e2fe0ae77bf
BLAKE2b-256 537ca42439d918a3330b08d1c0efb592b03bad7ec826609b993f3eb5d6bf69a8

See more details on using hashes here.

File details

Details for the file deweypy-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: deweypy-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for deweypy-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2fa1659579141fe6a3ca185b7bc9c385d1202a1c982d00813e6f928f391dd53d
MD5 accddd3b8080bf7c36e8fbc47f3f3ec1
BLAKE2b-256 74c74de65fe82dd2b1c8db609cc632e84fef646c01ee960728406b7ee8293d65

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