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.2.tar.gz (5.2 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.2-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: speaksynk_flow_processor-1.2.2.tar.gz
  • Upload date:
  • Size: 5.2 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.2.tar.gz
Algorithm Hash digest
SHA256 5c73a34573aaef2937e4b79597c8931da6202fa9ae21e272a78d8f68b428b4c3
MD5 6d49803e8a18733c28af86619df97da2
BLAKE2b-256 ad4ae8a32b81429a06fefa5f43caffae5ec7138731bcb49c75f76d37b22b0935

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for speaksynk_flow_processor-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3c6f90ef365aab1b5bd2d70b64df5d3c904175ad8f8d860328b8019dd2883f39
MD5 c6925536ef50e77f8298bc67dbd88cf0
BLAKE2b-256 fa7e9254f29a5e9d9df4315b802473107a8bd5946458ec625d6374cef6e37776

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