Skip to main content

Dominion gRPC client library

Project description

Dominion gRPC client

Client library using the gRPC protocol for the Dominion project

Build and publish

This section is for the Dominion developers. If you just want to implement a player or a client library you can stop reading.

Pre-requisites

Create a Python 3.8.2 environment

$ pyenv install 3.8.2
$ pyenv local
$ poetry init
$ poetry env use 3.8.2
$ poetry install

Save the following to ~/.pypirc

[distutils]
index-servers=
    pypi
    pypitest

[pypitest]
repository = https://test.pypi.org/legacy/
username = <your user name>

[pypi]
repository = https://pypi.org/legacy/
username = <your user name>

Building the package

Bump the version in setup.py

Here is the command to build the package:

(🐙)/dominion-grpc-client-py
$ poetry run python setup.py bdist_wheel

The result is tar-gzipped file in the dist subdirectory:

(🐙)/dominion-grpc-client-py
$ ls dist
dominion_grpc_client-0.6.0-py3-none-any.whl

Publish the package

Next, we can upload the package using twine to PyPI.

(🐙)/dominion-grpc-client-py
$ poetry run twine upload -p ${PYPI_PASSWORD} dist/*.whl

Uploading distributions to https://upload.pypi.org/legacy/
Uploading dominion_grpc_client-0.6.0-py3-none-any.whl
100%|█████████████████████████████| 8.07k/8.07k [00:01<00:00, 4.31kB/s]

View at:
https://pypi.org/project/dominion-grpc-client/0.3/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

dominion_grpc_client-0.6.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file dominion_grpc_client-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: dominion_grpc_client-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2

File hashes

Hashes for dominion_grpc_client-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b21c17af388d24a2a1808dd754f65734416ed2defe0714655e1764cc3ac5e124
MD5 fb90e720658382703212972636bb7924
BLAKE2b-256 595b39d60df638757a9a9d86877736813c108cdd8598dd3ae53e0e94f50a570b

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