Coder Social home page Coder Social logo

rav1kantsingh / syft-proto Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openmined/syft-proto

0.0 1.0 0.0 1.32 MB

The JSON proto file which defines types for all Serde encoding across languages

License: Apache License 2.0

JavaScript 65.72% Python 20.92% Makefile 0.23% Ruby 0.56% Swift 12.56%

syft-proto's Introduction

Syft-Proto

This repo defines the Syft protocol, and contains the information required to serialize Syft messages as either msgpack or protobuf.

msgpack

proto.json contains constants for encoding PySyft data types.

Protobuf

Schemas are found in ./protobuf, in a directory structure that roughly matches the package structure of PySyft. To compile new or modified schemas to Python stubs, run ./build_stubs.sh, which uses the Buf toolchain for working with Protobuf. To install buf, follow the instructions here.

Using Syft-Proto as a Dependency

Python

Can be installed with pip: pip install syft-proto

Example code:

from syft_proto import proto_info
print(proto_info)

Javascript/NPM

Can be installed with npm:

npm i --save https://github.com/OpenMined/syft-proto

Example code:

const proto = require('syft-proto').proto_info
console.log(proto)

Kotlin/Java

Using Gradle:

implementation 'org.openmined.kotlinsyft:syft-proto-jvm:<latest_version>'

syft-proto's People

Contributors

karlhigley avatar cereallarceny avatar vvmnnnkv avatar mccorby avatar jasopaum avatar mjjimenez avatar iamtrask avatar lariffle avatar tudorcebere avatar abogaziah avatar gmuraru avatar youben11 avatar alanaboudib avatar ionesiojunior avatar synapticarbors avatar midokura-silvia avatar sukhadj avatar yugandhartripathi avatar systemshift avatar vkkhare avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.