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:
- Install the client
pip install deweypy
- Make a directory for your downloads
mkdir dewey-downloads/
- Locate
FOLDER_ID
FOLDER_ID can be extracted from the end of the end of the API URL after data/
- 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>followingspeedy-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-beforeincludes all partitions up to and including the given date.--partition-key-afterincludes 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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cfdace2b1926017475f2e1698c738526e2a145764152d8809bfb7dd41d963ef
|
|
| MD5 |
1053a4ec08ca74e5d7679e2fe0ae77bf
|
|
| BLAKE2b-256 |
537ca42439d918a3330b08d1c0efb592b03bad7ec826609b993f3eb5d6bf69a8
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fa1659579141fe6a3ca185b7bc9c385d1202a1c982d00813e6f928f391dd53d
|
|
| MD5 |
accddd3b8080bf7c36e8fbc47f3f3ec1
|
|
| BLAKE2b-256 |
74c74de65fe82dd2b1c8db609cc632e84fef646c01ee960728406b7ee8293d65
|