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.3.tar.gz (1.5 MB 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.3-py3-none-any.whl (45.8 kB view details)

Uploaded Python 3

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

Hashes for d2spy-0.4.3.tar.gz
Algorithm Hash digest
SHA256 bda520ccccd917e8c55f18f1e54b7dc0bec849effd25c4d0761cd0c060bccaa3
MD5 2ecd90117ad0a58637e1267941ba16dd
BLAKE2b-256 2650bf5a04ea00bc6ffaa2a930ab0e17de1684a5abe233704a6c0c6d87e38527

See more details on using hashes here.

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

Hashes for d2spy-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 24b519f1cd37f88d15f2ae0183071d731d9ad4d40f1454fb8a936a4b5a70051b
MD5 99a61d8c592d9c8e3e763a0a569f9c08
BLAKE2b-256 ed5b52ac03614ce5d2d24c0ca7be8814ae05b851540dc12ae7d18eb7d2e268cb

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