Skip to content

Latest commit

 

History

History

depscloud-api-python

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Getting Started with Python

To install:

protobuf==3.12.2
grpcio==1.30.0
depscloud_api==0.1.5

Usage:

import grpc
from depscloud_api.v1alpha.tracker import tracker_pb2_grpc, tracker_pb2

target = "api.deps.cloud:443"
creds = grpc.ssl_channel_credentials()

channel = grpc.secure_channel(target, creds)

sourceService = tracker_pb2_grpc.SourceServiceStub(channel)
moduleService = tracker_pb2_grpc.ModuleServiceStub(channel)
dependencyService = tracker_pb2_grpc.DependencyServiceStub(channel)

Google Analytics