Skip to main content

sliderule python client

SlideRule's Python client makes it easier to interact with SlideRule from a Python script.

Detailed documentation on installing and using this client can be found at slideruleearth.io.

I. Installing the SlideRule Python Client

conda install -c conda-forge sliderule

Basic functionality of sliderule-python depends on requests, numpy, and geopandas. See requirements.txt for a full list of the requirements.

II. Example Usage

# import
from sliderule import sliderule, icesat2

# initialize
sliderule.init(verbose=False)

# region of interest
region = [ {"lon":-105.82971551223244, "lat": 39.81983728534918},
           {"lon":-105.30742121965137, "lat": 39.81983728534918},
           {"lon":-105.30742121965137, "lat": 40.164048017973755},
           {"lon":-105.82971551223244, "lat": 40.164048017973755},
           {"lon":-105.82971551223244, "lat": 39.81983728534918} ]

# request parameters
parms = {
    "poly": region,
    "srt": icesat2.SRT_LAND,
    "cnf": icesat2.CNF_SURFACE_HIGH,
    "len": 40.0,
    "res": 20.0,
    "fit": {}
}

# make request
gdf = sliderule.run("atl03x", parms)

III. Reference and User's Guide

Please see our documentation page for reference and user's guide material.

Metadata

Release files for sliderule 5.8.2

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

Source distribution (sdist)

Source distribution for sliderule 5.8.2
File Size Uploaded Provenance Actions
sliderule-5.8.2.tar.gz 1.7 MB Without provenance Details for sliderule-5.8.2.tar.gz

Built distribution (wheel)

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

Total release size: 1.8 MB

Release files / sliderule-5.8.2.tar.gz

Download URL sliderule-5.8.2.tar.gz
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
e3de6199725f40a09d7a4962bf49e08dba4ce1a69bb4a8623faceee65e1a9a17
BLAKE2b-256 checksum
How to use checksums
ff398fb8b637f41bb3a78f614a9b99359ea77e319b93c2a17aa94d74a4b5440c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / sliderule-5.8.2-py3-none-any.whl

Download URL sliderule-5.8.2-py3-none-any.whl
Size 91.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3b6b58138e0c3d9feda77d65b321650946f71618232f99307444d3c4c23f2cc
BLAKE2b-256 checksum
How to use checksums
0b08072a2410e73435d541f24f149481cadcc650d66358f20aeea6113f87aa34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for sliderule 5.8.2

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.

Release history Release notifications | RSS feed

This release

5.8.2 This release

2 release files No provenance

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