This repository provides the Python bindings for gRPC services used in the How To Sea project. gRPC facilitates inter-service communication, serving as an internal API.
To avoid code duplication in gRPC client stub implementations across various services, we have packaged these implementations and made them available on PyPi.
Note: This package is hosted on the public PyPi server. For sensitive information, a private PyPi server should be used to ensure privacy.
Each folder represents a distinct package.
This package includes the Python bindings for a gRPC server, allowing any service to communicate with the authentication service for verifications.
To create and release a new package, follow these steps:
- Create a new top-level module with a unique name.
- Add the source code.
- Include the module name in the package list in the top-level
pyproject.toml
file. - Deploy a new version.
- Clear the
dist
folder. - Run
python3 -m build
from the top module. - Run
python3 -m twine upload --repository pypi dist/*
to upload the new release to PyPi.
Note: Ensure you have the correct API keys set in your ~/.pypirc
file to upload to PyPi.