No project description provided
Project description
pysailfish
How to publish to pypi
# set up pypi token
$ poetry config pypi-token.pypi my-token
# build the project
$ poetry build
# publish the project
$ poetry publish
# DONE
How to use QC CLI
# Install lean
$ poetry add lean
$ poetry install
# Login
$ poetry run lean login --user-id xxx --api-token xxx
# Initial workspace
$ poetry run lean init
# Pull projects
$ poetry run lean cloud pull
# Push projects
$ poetry run lean cloud push
kubernetes helm related
# check helm template
$ helm template pysailfish ./chart --values=./chart/values.dev.yaml
# install helm chart
$ helm upgrade --wait --timeout=1200s --install --values ./chart/values.dev.yaml pysailfish ./chart
# uninstall helm chart
$ helm uninstall pysailfish
GRPC related
# generate python script from proto file
$ cd pysailfish/app/grpc_api
$ poetry run python -m grpc_tools.protoc -I protos --python_out=. --grpc_python_out=. protos/pysailfish.proto
$ poetry add grpcio-tools
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
pysailfish-1.0.0.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for pysailfish-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11477bfe0ebf6ddfa4334b34ba99aca6294a5a3cf03d4fe3065d61da271e5111 |
|
MD5 | 4762fe15ae629aa759c4da430629cd74 |
|
BLAKE2b-256 | 909ef0d4155b41cf97f7fdbb7181ebd78d49d1dbdf10d59830767ed38e0fd4a4 |