Skip to main content

Phi Suite Data.py

Homepage https://phisuite.com
GitHub https://github.com/phisuite

Overview

This project contains the Python module to create the Data API server & client.
For more details, see Phi Suite Data.

Installation

pip install phisuite.data

Creating the server

from phisuite import data

class EventAPIServicer(data.EventAPIServicer):
    def Publish(self, request, context):
        ...

server = grpc.server(futures.ThreadPoolExecutor(max_workers=10))
data.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 data

channel = grpc.insecure_channel('localhost:50051')

stub = data.EventAPIStub(channel)
event = stub.Publish(event)

For more details, see gRPC Basics - Python: Creating the client.

Metadata

Release files for phisuite.data 0.0.2

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

Source distribution (sdist)

Source distribution for phisuite.data 0.0.2
File Size Uploaded Provenance
phisuite.data-0.0.2.tar.gz 8.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for phisuite.data 0.0.2
File Interpreter ABI Platform
phisuite.data-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 34.1 kB

Release files / phisuite.data-0.0.2.tar.gz

Download URL phisuite.data-0.0.2.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6e0f6c7bf85253ce89f0716bd6a4ec0476aee7a3d60a7625d1649691561fc51d
BLAKE2b-256 checksum
How to use checksums
ed5ac61ae1d82d6e500a9d4c75a88e2df1bc262c374b8188333974c2f91f6021
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.data-0.0.2-py3-none-any.whl

Download URL phisuite.data-0.0.2-py3-none-any.whl
Size 25.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c1c3f1400cf590e580a78cf2af5df47ad8798b456a552d518a77481dcd506b9
BLAKE2b-256 checksum
How to use checksums
fdc5796eb15f82079ef216be1d0fa2a67e8a9e3b9def6fdf8957dadc041632c3
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.data 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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files 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