Skip to main content

Dominon gRPC proto

PyPI PyPI

The gRPC protobuf definitions for the Dominion project

The dominion.proto file specifies the Dominion service definition. The Makefile creates two Python modules that can be used by the Dominion server and clients.

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 gRPC generated code

Just run make

Building the package

Bump the version in the setup.py file

Here is the command to build the package:

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

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

(🐙)/dominion-grpc-proto
$ ls dist
dominion_grpc_proto-0.2.0-py3-none-any.whl

Publish the package

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

(🐙)/dominion-grpc-proto
$ poetry run twine upload -p <redacted> dist/*.whl

Uploading distributions to https://upload.pypi.org/legacy/
Uploading dominion_grpc_proto-0.2.0-py3-none-any.whl
100%|███████████████████████████████████| 10.3k/10.3k [00:02<00:00, 3.54kB/s]

View at:
https://pypi.org/project/dominion-grpc-proto/0.2.0/

Metadata

Release files for dominion-grpc-proto 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for dominion-grpc-proto 0.3.0
File Interpreter ABI Platform Actions
dominion_grpc_proto-0.3.0-py3-none-any.whl Python 3 none any Details for dominion_grpc_proto-0.3.0-py3-none-any.whl

Release files / dominion_grpc_proto-0.3.0-py3-none-any.whl

Download URL dominion_grpc_proto-0.3.0-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1643213f737bf6e1a65fe2e562dfbc2e7a1fecfac1164e72d7e0ddb0832d175
BLAKE2b-256 checksum
How to use checksums
dc3c237d0aeb8164ae3ad09ba637011c17897b3d03841222296bd30914a7feb7
Upload date
Uploaded using Trusted Publishing?
What is 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.0 CPython/3.8.2

Security for dominion-grpc-proto 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page