Welcome to Data to Science Python (d2spy)
D2spy is a Python package for interacting with Data to Science instances.
Installation
Install the core package with minimal dependencies:
pip install d2spy
Or install with geospatial features for raster clipping and EXIF extraction:
pip install d2spy[geo]
What's the difference?
Core installation (d2spy):
- Requires only
requestslibrary - Full API access: authentication, projects, flights, data uploads
- Server-side analysis: NDVI, ExG, zonal statistics (job submission)
- Perfect for: lightweight integrations, CI/CD pipelines, QGIS plugins (which already include geo libraries)
Geo installation (d2spy[geo]):
- Adds
rasterio,geopandas, andexifreadlibraries - Client-side geospatial processing: raster clipping, EXIF data extraction, bounding box generation
- Required for:
DataProduct.clip(),get_exif_data(),get_bounding_box_from_exif_data()
Bundling with QGIS Plugins
If you're bundling d2spy in a QGIS plugin, extract the wheel and copy the d2spy folder into your plugin directory. Since QGIS already includes most geospatial libraries, geo features will work automatically without needing to install d2spy[geo].
Features
Core Features (available with base installation)
- Sign in to your Data to Science instance
- Access your projects, flights, and data products
- Create new projects and flights
- Upload data products to flights (rasters, point clouds, raw data)
- Server-side analysis: NDVI, ExG, zonal statistics
Geospatial Features (requires d2spy[geo])
- Client-side raster clipping by polygon
- Extract EXIF data from images
- Generate bounding boxes from image collections
Documentation
Metadata
Release files for d2spy 0.4.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| d2spy-0.4.5.tar.gz | 1.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| d2spy-0.4.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.5 MB
Release files / d2spy-0.4.5.tar.gz
| Download URL | d2spy-0.4.5.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eec0b99f1e364e43244204611aa4f4a3953d4a34e10b73e09509ca6c5e6d7744
|
|
BLAKE2b-256 checksum How to use checksums |
865d4595aef557a3e33cac2ad33fa6f5e78a6c35f2cba60c225714e4b50c19dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"EndeavourOS","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 / d2spy-0.4.5-py3-none-any.whl
| Download URL | d2spy-0.4.5-py3-none-any.whl |
|---|---|
| Size | 47.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
302ac62467c4d8b95b74ed61326d67f32e9811cc1fa0afa45644bc3220966501
|
|
BLAKE2b-256 checksum How to use checksums |
211e8fd16541b26d1333633b9e70b1a1f71d9bbcd9d5f07ca8865b5643f69727
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"EndeavourOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|