Python package for interacting with a Data to Science instance.
Project description
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
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 d2spy-0.4.3.tar.gz.
File metadata
- Download URL: d2spy-0.4.3.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bda520ccccd917e8c55f18f1e54b7dc0bec849effd25c4d0761cd0c060bccaa3
|
|
| MD5 |
2ecd90117ad0a58637e1267941ba16dd
|
|
| BLAKE2b-256 |
2650bf5a04ea00bc6ffaa2a930ab0e17de1684a5abe233704a6c0c6d87e38527
|
File details
Details for the file d2spy-0.4.3-py3-none-any.whl.
File metadata
- Download URL: d2spy-0.4.3-py3-none-any.whl
- Upload date:
- Size: 45.8 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24b519f1cd37f88d15f2ae0183071d731d9ad4d40f1454fb8a936a4b5a70051b
|
|
| MD5 |
99a61d8c592d9c8e3e763a0a569f9c08
|
|
| BLAKE2b-256 |
ed5b52ac03614ce5d2d24c0ca7be8814ae05b851540dc12ae7d18eb7d2e268cb
|