Skip to main content

This package provides some tools for developing custom components of SpeeDBee-Synapse.

Project description

sccde

speedbeesynapse-sccde is a command line tool for developing custom components for SpeeDBee Synapse.

Install

$ python3 -m venv .venv
$ . ./.venv/bin/activate
(.venv) $ pip3 install speedbeesynapse-sccde

How to use

  • Initialize environment:

    (.venv) $ sccde init
    (.venv) $ ls
    parameter_ui  scc-info.json  source
    
  • Add component sample into the environment:

    (.venv) $ sccde add
    
  • Make sccde package containing all custom components in the environment:

    (.venv) $ sccde make-package
    (.venv) $ ls
    custom_component_package_example.sccpkg  parameter_ui  scc-info.json  source
    

    You can use .sccpkg file for uploading to SpeeDBee Synapse

  • Check syntax and loadability for custom components in the environment:

    (.venv) $ sccde check --no-load
    Custom component package example (695c272b-5534-4702-9e6b-c09f8cbf8b60)
    Version: 0.1.0
    Description: Your package description here
    2 components:
    Sample collector(a43adb25-738e-4028-9ef0-1d569be94d9d)
        Read: OK
        Syntax: OK
        Load: NOT CHECKED
    Sample collector(a8193495-6433-446f-b3e5-cc49baae204e)
        Read: OK
        Syntax: OK
        Load: NOT CHECKED
    (.venv) $ sccde check
    Custom component package example (695c272b-5534-4702-9e6b-c09f8cbf8b60)
    Version: 0.1.0
    Description: Your package description here
    2 components:
    Sample collector(a43adb25-738e-4028-9ef0-1d569be94d9d)
        Read: OK
        Syntax: OK
        Load: NG
        | Traceback (most recent call last):
        |    :
        |   File "./source/python/sample_collector_1.py", line 109, in <module>
        |     raise Exception
        | Exception
        | 
    Sample collector(a8193495-6433-446f-b3e5-cc49baae204e)
        Read: OK
        Syntax: OK
        Load: OK
    Error: "Sample collector"
    

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

speedbeesynapse_sccde-0.1.11-py3-none-any.whl (36.1 kB view details)

Uploaded Python 3

File details

Details for the file speedbeesynapse_sccde-0.1.11-py3-none-any.whl.

File metadata

File hashes

Hashes for speedbeesynapse_sccde-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 6665f48036983dafd9c4a348d7e5666d28108086b7ca94f7ecb5dc0f376bc871
MD5 9c8dc0984d15934dab5d9e5783a32789
BLAKE2b-256 1a9141fa2d9c0c723d2e38ac060fd0e557570669f762ea6323af76542a399cb2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page