Skip to main content

Welcome to Data to Science Python (d2spy)

image Jupyter Notebook License: MIT

Data to Science logo

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 requests library
  • 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, and exifread libraries
  • 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)

Source distribution for d2spy 0.4.5
File Size Uploaded
d2spy-0.4.5.tar.gz 1.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for d2spy 0.4.5
File Interpreter ABI Platform
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}

Release history Release notifications | RSS feed

This release

0.4.5 This release

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page