Skip to main content

deepinspection python

Python client library for deepinspection. Designed to simplify and exemplify interaction with the External API.

See the Optram example for a complete example including converting to a custom format for internal use.

Install

Use your preferred package manager:

poetry add deepinspection

or

pip install deepinspection

Usage

import deepinspection


client = deepinspection.track.client(
    customer_id="customer-id",
    # subdomain="subdomain",  # optional, defaults to customer_id
    client_id="XYZ",
    client_secret="XYZ",
)

# list exports
exports = client.exports.fastenings.list()

# get export data
export = exports[0]

for fastening in client.exports.fastenings.get_data(export["id"]):
    pass

The customer id should match with the website url https://customer-id.track.deepinspection.io/.

exports

[
  {
    "updated": "2024-02-01T23:20:20.605136+00:00",
    "id": "461731a1-96c8-4ed6-99e4-9fe424eb9c40",
    "measurement_name": "20231001_124327_2011T",
    "measured": "2023-10-01T12:43:27.605136+00:00",
    "type": "fastenings",
    "downloaded": null,
    "created": "2024-02-01T23:20:20.605136+00:00",
    "user_id": "a338595f-6eba-481b-9f0f-112290a1078b"
  },
...

export_data

{"id": "56fb582a-0280-43fa-81f3-2a444e7e4273", "position_geographical": {"track_section": "111",
...

Metadata

Release files for deepinspection 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deepinspection 0.1.1
File Size Uploaded
deepinspection-0.1.1.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for deepinspection 0.1.1
File Interpreter ABI Platform
deepinspection-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.6 kB

Release files / deepinspection-0.1.1.tar.gz

Download URL deepinspection-0.1.1.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cabb373b4acf026090523fce1e6dd5899a8e43ef30ec2ecc1a50af33232335c3
BLAKE2b-256 checksum
How to use checksums
7108ce0f18cd1ec4415654d32e2999a02d8d3bc8799971a93a9cb3d94ab61c23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.9.19 Linux/6.5.0-1018-azure

Release files / deepinspection-0.1.1-py3-none-any.whl

Download URL deepinspection-0.1.1-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa1a97d84a4cc67584b17fb8c26fce3cfd9caa0f80c3ff6cfbc66e8b91e86356
BLAKE2b-256 checksum
How to use checksums
3a45bc8cf84228c08d4353b852e20114036422c02419adcdda9f8039c3dda34b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.9.19 Linux/6.5.0-1018-azure

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

1 release file

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