Skip to main content

Skyworker AI Processor

Project description

Skyworker Processor: {processor_name}

Template repository for the Skyworker AI Processor


  • Python >= 3.6
  • pip
  • venv (recommended)


The return value of skyworker_processor.process() function should be the pandas.DataFrame object with following columns:

  • measurement - Measurement Name
  • value - Calculated Value

and the index of each row should be the unique timestamp.


import pandas as pd
from datetime import datetime

time_series = [
        "timestamp": 1628150400,
        "measurement": "Electricity Price",
        "value": 0.23,
        "timestamp": 1628236800,
        "measurement": "Electricity Price",
        "value": 0.25,

data_frame = pd.DataFrame(time_series)
# Set "timestamp" column as index.
data_frame.index = data_frame["timestamp"]
# Compose "time" column from the "timestamp"
data_frame["time"] = data_frame["timestamp"].map(datetime.fromtimestamp)
del data_frame["timestamp"]

Build & Publish

Build and Publish is a part of the CI/CD pipeline, but you can publish your package manually:

# Check the package.
$ python check

# Build the package.
$ python sdist

# Publish the package.
$ twine upload dist/*


Please see CHANGELOG for details.



Copyright © 2021 Omedia.
Released under the Other/Proprietary License.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page