Skip to main content

DewDL

DewDL is intended to enable quick access to products from the Unified Data Library.

Getting Started

DewDL can be used by explicitly passing credentials into functions found in dewdl.requests._udl_request; however, the preferred method is to store credents via the config interface to avoid accidental distribution of passwords. Follow the steps below to store your credentials in a dewdl.json config file:

Option 1 - Username and Password

NOTE:

You can add your password using quotations to avoid parsing issues in the terminal

dewdl config user <your-user>
dewdl config password <your-password>

Option 2 - NPE Certificates

dewdl config crt /path/to/crt/file
dewdl config key /path/to/key/file

Review Config Contents

The config file path and contents can be shown at anytime with the following command:

dewdl config show

Making Requests to the UDL

>>> from datetime import datetime
>>> from dewdl.enums import UDLEnvironment, UDLQueryType
>>> from dewdl.requests import UDLRequest

# Define an endpoint to get elsets after Sep 16, 2024
>>> elset_query = UDLQuery(UDLQueryType.ELSET, UDLEnvironment.PROD).after(datetime(2024, 9, 16))

# Make the request
>>> response = UDLRequest.get(elset_query)

# Use the response data as a list
>>> elset_list = response.json()

Metadata

Release files for dewdl 0.2.4

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

Source distribution (sdist)

Source distribution for dewdl 0.2.4
File Size Uploaded Provenance Actions
dewdl-0.2.4.tar.gz 10.9 kB Without provenance Details for dewdl-0.2.4.tar.gz

Built distribution (wheel)

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

Total release size: 24.6 kB

Release files / dewdl-0.2.4.tar.gz

Download URL dewdl-0.2.4.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f61fad710a1b286251db02c12875c407f245eb730ce363ba0739c773ee2eb732
BLAKE2b-256 checksum
How to use checksums
a1703af4cdc3e62d6640e9a2618c0a32af2c6a9fac412156ea7853ae40c1f04e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release files / dewdl-0.2.4-py3-none-any.whl

Download URL dewdl-0.2.4-py3-none-any.whl
Size 13.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07c23f7650ed33361c15ab6bed3a2082b7912000b084d26a6fcb99194ba4bc09
BLAKE2b-256 checksum
How to use checksums
b9b8a86beb2922f54798caab045449faa24a8d6cfb66529cc5f1632d3f6fa216
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Security for dewdl 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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