Top

nexuscli module

# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from nexuscli.nexuscli import TimeSeries
from nexuscli.nexuscli import set_target
from nexuscli.nexuscli import time_series
from nexuscli.nexuscli import dataset_list
from nexuscli.nexuscli import daily_difference_average
from nexuscli.nexuscli import subset
from nexuscli.nexuscli_ow import set_target
from nexuscli.nexuscli_ow import run_file
from nexuscli.nexuscli_ow import run_str

Sub-modules

nexuscli.nexuscli

This module provides a native python client interface to the NEXUS (https://github.com/apache/incubator-sdap-nexus) webservice API.

Usage:

import nexuscli

nexuscli.set_target("http://nexus-webapp:8083")
nexuscli.dataset_list()

nexuscli.nexuscli_ow

This module provides a native python client interface to the NEXUS Livy webservice API.

Usage:

from nexuscli import nexuscli_ow

nexuscli_ow.set_target("http://host:port")

filename = "mycode.py"
nexuscli_ow.run_file(filename)

The code in the file passed to run_file must b...