Skip to main content

Utilities for the FP Orchestrator, including CLI tools for managing Protocol Buffers, S3 interactions, and HAR model training and inference.

Project description

FP Orchestrator Utils

This package provides utilities for managing Protocol Buffers and S3 storage integration in the sensor layer of my Final Project.

Features

  • Protocol Buffer Management: Simplifies the creation and management of Protocol Buffers for gRPC services. This protocol buffers are stored in S3 for centralized access.
  • S3 Storage Integration: Provides a service for uploading, downloading, and managing S3 objects.
  • CLI Commands: Includes command-line interface commands for managing Protocol Buffers and S3 storage.

Installation

To install the package, run:

pip install fp-orchestrator-utils

Usage

Setup your environment by creating a .env file with the environment variables required for S3 and Protocol Buffers:

AWS_ACCESS_KEY_ID=your_access_key_id
AWS_SECRET_ACCESS_KEY=your_secret_access_key
AWS_REGION=your_aws_region
S3_BUCKET_NAME=your_s3_bucket_name
S3_PROTO_PREFIX=your_s3_proto_prefix

Command Line Interface

You can use the CLI to manage Protocol Buffers and S3 storage. The available commands are:

# Download Protocol Buffers from S3, it will download all the proto files from the defined S3 bucket prefix.
fp-orchestrator-utils proto download
# Generate Python code from the downloaded Protocol Buffers
fp-orchestrator-utils proto generate
# Upload Protocol Buffers to S3
fp-orchestrator-utils proto upload

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

fp-orchestrator-utils-0.4.1.tar.gz (29.8 kB view details)

Uploaded Source

Built Distribution

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

fp_orchestrator_utils-0.4.1-py3-none-any.whl (40.9 kB view details)

Uploaded Python 3

File details

Details for the file fp-orchestrator-utils-0.4.1.tar.gz.

File metadata

  • Download URL: fp-orchestrator-utils-0.4.1.tar.gz
  • Upload date:
  • Size: 29.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for fp-orchestrator-utils-0.4.1.tar.gz
Algorithm Hash digest
SHA256 80648f87752642a11b806d2345cdaa32cfbc7dfc2a94babb80cb4223be21e611
MD5 84ae54b2f1dcfad3396cde3089fe5ec2
BLAKE2b-256 3a203b0eeca3fd430f0940d86acc250e324f981197e32db81e2edc114e0daf6d

See more details on using hashes here.

File details

Details for the file fp_orchestrator_utils-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for fp_orchestrator_utils-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 77e8f3fad95fe9a774eff9a4612d57ac899556e6b2b74d0dd16fa3dd67db55fa
MD5 9146f8a23e1772b65f9d77f65ff35265
BLAKE2b-256 c8eb28687f9a9d6f67686e4c69f9ccb20b865b225661aae8f0b6381758000c40

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