Skip to main content

Python package for interacting with a Data to Science instance.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

d2spy-0.4.1.tar.gz (28.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

d2spy-0.4.1-py3-none-any.whl (40.7 kB view details)

Uploaded Python 3

File details

Details for the file d2spy-0.4.1.tar.gz.

File metadata

  • Download URL: d2spy-0.4.1.tar.gz
  • Upload date:
  • Size: 28.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.9 Linux/6.16.8-1-MANJARO

File hashes

Hashes for d2spy-0.4.1.tar.gz
Algorithm Hash digest
SHA256 e406b17e3acc5baf1ca72e4dc2ffe1d190e7f4e04a93d8d95e110d250a1b3577
MD5 c7d5d36129a33fafdcb70e82b18effe8
BLAKE2b-256 051c9bc53cf1a8200555ba942bf6a475c5c08bb751a123698b5e58ec6c883002

See more details on using hashes here.

File details

Details for the file d2spy-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: d2spy-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 40.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.9 Linux/6.16.8-1-MANJARO

File hashes

Hashes for d2spy-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 278b44b008ff6efcf425e8ffff36a9eea9b346404c5db81c02cbdda25ce5d3d5
MD5 0fcd86ea8d82a7ffda85df858ff4caaf
BLAKE2b-256 67c7c0222ca52d3244377f265becaff8d9aaa1a6c237afd0887d0c0a9e8dfb62

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page