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.8.tar.gz (5.3 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.8-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: speaksynk_flow_processor-1.2.8.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.8 Linux/6.5.0-1015-azure

File hashes

Hashes for speaksynk_flow_processor-1.2.8.tar.gz
Algorithm Hash digest
SHA256 ff869307aa1d8791420bf2b6e7b1040581e4d8db60ba61ee4bcc496cedb8aff1
MD5 7eeb06d128c00ae179d3a325cc03c322
BLAKE2b-256 464c4cc0f99b267927825d6c2c36a6c2b51e72c9bb44ae0dbf63e63d37e356d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for speaksynk_flow_processor-1.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 16bcc7eaf6d29efc9862e0e90093f0fa651dd52f1ab69b2c290ee3b9db664d5e
MD5 75c7665457e67e52e92297e8b68cbefc
BLAKE2b-256 df8aa91e0e68d2ad81939af915c49cd8548c55db3b05a2a21976d1706a19c28b

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