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-electricity-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-electricity-price-random 0.3.0
File Size Uploaded Provenance Actions
skyworker_dev_electricity_price_random-0.3.0.tar.gz 4.3 kB Without provenance Details for skyworker_dev_electricity_price_random-0.3.0.tar.gz

Release files / skyworker_dev_electricity_price_random-0.3.0.tar.gz

Download URL skyworker_dev_electricity_price_random-0.3.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1a3b2e0f5ca58d6fb11cb7efdafe5902f487ab4b1505d4dfe12ec3fb7550534f
BLAKE2b-256 checksum
How to use checksums
7011acc64a25138e6b877d0c7c4ce6b24d04c81fe2bcc013217e53a231e4cac6
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-electricity-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