Skip to main content

No project description provided

Project description

SpeakSynk Flow Processor

Parent class to create steps, ideally this will save us some common functions of the steps.

Implementation

from speaksynk_flow_processor.AWSSpeakSynkFlowProcesor import AWSSpeakSynkFlowProcesor


class Implementation(AWSSpeakSynkFlowProcesor):
    def __init__(self):
        super().__init__()
        self.filekey = "break_time/%s" % self._identifier
        self.local_file = "out.txt"


    def run(self):
        super().run(self)
        self.download('xxxxx')
        '''
            Do your logic here
        '''
        self.upload('xxxx', 'xxxxx')

    def close(self):
        super().close(self)
        '''
            Do your close logic here
        '''


Ideally this save us some time in creating more steps and only taking care of the run method

CLI

By default we have designed a CLI to run the steps, in order to run the steps you can run poetry run speaksynk-steps run this method will automalically instatiate the method and run the proper methods.

Install

  • pip install poetry
  • poetry install

Test

  • poetry run pytest

Use

  • poetry run speaksynk-steps run

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

speaksynk_flow_processor-1.2.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

speaksynk_flow_processor-1.2.1-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file speaksynk_flow_processor-1.2.1.tar.gz.

File metadata

  • Download URL: speaksynk_flow_processor-1.2.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.2.0-1018-azure

File hashes

Hashes for speaksynk_flow_processor-1.2.1.tar.gz
Algorithm Hash digest
SHA256 0dc2231163f3df721bf0a5c01be04367d4d55b52756b0fbc0356799f1ffb2540
MD5 1a447eaf3b0f929b03e7a115187d025b
BLAKE2b-256 a95c5efb1fc224b4a5966d5c6e9cd5b13aede9fe763239b575af3c67f8ea1249

See more details on using hashes here.

File details

Details for the file speaksynk_flow_processor-1.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for speaksynk_flow_processor-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a36f2a6733868a8e61d6e374317745b630d20945d4870e27ea9dc7c96e94e261
MD5 5b7f3cbee37e7f6cea45848d4ee2806b
BLAKE2b-256 c0d4f6c25cd39cf1d196f2d3c2bd504f5aff313ad2b72484d7a2e714c5e1f1b4

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