Skip to main content

Skyworker Processor: {processor_name}

Template repository for the Skyworker AI Processor

Requirements

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

Usage

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.

Example

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 setup.py check

# Build the package.
$ python setup.py sdist

# Publish the package.
$ twine upload dist/*

Changelog

Please see CHANGELOG for details.

Authors

License

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

Metadata

Release files for skyworker-dev-petroleum-price-random 0.3.0

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

Source distribution (sdist)

Source distribution for skyworker-dev-petroleum-price-random 0.3.0
File Size Uploaded Provenance Actions
skyworker_dev_petroleum_price_random-0.3.0.tar.gz 4.2 kB Without provenance Details for skyworker_dev_petroleum_price_random-0.3.0.tar.gz

Release files / skyworker_dev_petroleum_price_random-0.3.0.tar.gz

Download URL skyworker_dev_petroleum_price_random-0.3.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
cac43cfad3c1f56770cddc1fc11af7c102da45eb8f8128d0f1d43789d35dd769
BLAKE2b-256 checksum
How to use checksums
b0d27667cffc462050a1dd68b536fcbe39a3eda630f1f0253695c874aa470f49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.6

Security for skyworker-dev-petroleum-price-random 0.3.0

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