Skip to main content

About

r2cloud python sdk makes it easier for you to work with your r2cloud server using the python programming language. The SDK uses an object-oriented design and tries to look like r2cloud API.

Installation

with pip3

pip install r2cloud

from repo

make install
make doc # for generate documentation

Quick start

import r2cloud.api
import r2cloud.tools.common

# init api
station = r2cloud.api('https://192.168.0.10')
# login to r2cloud
station.login("myemail@example.org", "my_password")

# get all observations
obs = station.observationList()

# filter observation of "NOAA 19", "NOAA 18" and "NOAA 15"
obs = r2cloud.tools.common.filterSat(obs, ["NOAA 19", "NOAA 18", "NOAA 15"])

# filter observation with data only
obs = r2cloud.tools.common.filterHasData(obs)

# print all filtred observations ids
for ob in obs:
    print("Observation " + str(ob.id) + " by " + ob.name)

more examples you can find in /examples dir on github

Examples Screenshots

    

Metadata

Release files for r2cloud 0.0.3

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

Source distribution (sdist)

Source distribution for r2cloud 0.0.3
File Size Uploaded Provenance
r2cloud-0.0.3.tar.gz 7.2 kB Without provenance Details

Release files / r2cloud-0.0.3.tar.gz

Download URL r2cloud-0.0.3.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4b0d3427c2a59edf691c64a9af6787d01a94d37b103d4b9bcabc1de118537b21
BLAKE2b-256 checksum
How to use checksums
5ca6e9779a647349fb58f27ec58a56f682b293647fdd2de9ec12c003a8c8963f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.5

Security for r2cloud 0.0.3

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