Utilities for the FP Orchestrator, including CLI tools for managing Protocol Buffers
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fp_orchestrator_utils-0.1.12.tar.gz.
File metadata
- Download URL: fp_orchestrator_utils-0.1.12.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d42650f38d3f4b3667b80dc9c8725c5dd94a3a048c85be68a69b6ac8c7d76754
|
|
| MD5 |
0135168766219cb7f1b6570678038f2f
|
|
| BLAKE2b-256 |
c69084b78a4d505f5d445b135638284095024ce9bca190e275fdc93a1af8b725
|
File details
Details for the file fp_orchestrator_utils-0.1.12-py3-none-any.whl.
File metadata
- Download URL: fp_orchestrator_utils-0.1.12-py3-none-any.whl
- Upload date:
- Size: 28.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac6f0f839b8240dffe8e77f248fa1e2a9c62fb540f509c6e205140cc45b8776d
|
|
| MD5 |
0d0359771deda7a3a42294d063881191
|
|
| BLAKE2b-256 |
e03cd8c5cf00d9273db45931c8afe33f1562a55162de46acf0b23e6162415784
|