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.
Metadata
Release files for deweypy 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| deweypy-0.8.0.tar.gz | 25.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| deweypy-0.8.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.8 kB
Release files / deweypy-0.8.0.tar.gz
| Download URL | deweypy-0.8.0.tar.gz |
|---|---|
| Size | 25.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8cfdace2b1926017475f2e1698c738526e2a145764152d8809bfb7dd41d963ef
|
|
BLAKE2b-256 checksum How to use checksums |
537ca42439d918a3330b08d1c0efb592b03bad7ec826609b993f3eb5d6bf69a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / deweypy-0.8.0-py3-none-any.whl
| Download URL | deweypy-0.8.0-py3-none-any.whl |
|---|---|
| Size | 29.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2fa1659579141fe6a3ca185b7bc9c385d1202a1c982d00813e6f928f391dd53d
|
|
BLAKE2b-256 checksum How to use checksums |
74c74de65fe82dd2b1c8db609cc632e84fef646c01ee960728406b7ee8293d65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|