Phi Suite Schema.py
| Homepage | https://phisuite.com |
|---|---|
| GitHub | https://github.com/phisuite |
Overview
This project contains the Python module to create the Schema API server & client.
For more details, see Phi Suite Schema.
Installation
pip install phisuite.schema
Creating the server
from phisuite import schema
class EventAPIServicer(schema.EventAPIServicer):
def Get(self, request, context):
...
server = grpc.server(futures.ThreadPoolExecutor(max_workers=10))
schema.add_EventAPIServicer_to_server(EventAPIServicer(), server)
server.add_insecure_port('[::]:50051')
server.start()
For more details, see gRPC Basics - Python: Creating the server.
Creating the client
from phisuite import schema
channel = grpc.insecure_channel('localhost:50051')
stub = schema.EventAPIStub(channel)
event = stub.Get(options)
For more details, see gRPC Basics - Python: Creating the client.
Metadata
Release files for phisuite.schema 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| phisuite.schema-0.0.2.tar.gz | 8.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| phisuite.schema-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.5 kB
Release files / phisuite.schema-0.0.2.tar.gz
| Download URL | phisuite.schema-0.0.2.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ac54fc8ac2d28489203c5bcc35e32f034e2db5b8ecb8c2631e6c1d1d280b008
|
|
BLAKE2b-256 checksum How to use checksums |
a111cc81630dba14cf601ed5a31383c5ed20eff28d6b616ee96abe5318634b1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
|
Release files / phisuite.schema-0.0.2-py3-none-any.whl
| Download URL | phisuite.schema-0.0.2-py3-none-any.whl |
|---|---|
| Size | 25.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
922820da5a2928e7bc160aa7b94aa1b5acf7b6c64f20da7cf28e6cf366230aee
|
|
BLAKE2b-256 checksum How to use checksums |
dd2a4e7c2250e0afbbaccf679e0ed40668354e09d227a27ee46c7bde7b2e039f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
|
Security for phisuite.schema 0.0.2
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.