Skip to main content

No project description provided

Project description

fixie-proto

This repository contains protocol buffer definitions for working with the Fixie platform. The intention is for this to define our public-facing APIs. Tooling in this repository should then make it easy to use the already compiled protos in various languages.

Buf Schema Registry (BSR)

For languages supported by the Buf Schema Registry, instructions for adding these protos like a normal dependency can be found here. For example, to add a TypeScript dependency using yarn:

yarn config set npmScopes.buf.npmRegistryServer https://buf.build/gen/npm/v1/
yarn add @buf/fixie-ai_fixie.bufbuild_connect-es@latest

As of July 2023, BSR has support for JavaScript/Typscript, Go, JVM-based languages like Java and Kotlin, and Swift.

Directly supported languages

We also support additional languages (albeit with fewer options) directly. In particular, Python is available via pip: PyPI.

pip install fixie-proto

Including Fixie protos in a proto library

The easiest way to depend on Fixie protos for your own proto library is by building with Buf and adding buf.build/fixie-ai/fixie as a dependency in your buf.yaml.

If you're using protoc instead, consider including this repository as a submodule in your own repository.

Other languages

Buf can be used to easily compile our protos in other languages too, including: Ruby, Objective-C, PHP, C#, Scala, C++, Dart, and Rust. You'll need to create a buf.gen.yaml file that uses the relevant protoc plugin for your language. You can also define language-specific proto options without modifying the proto files themselves using managed mode. You can then compile the protos in your language of choice by running:

buf generate --template buf.gen.yaml buf.build/fixie-ai/fixie

If you'd prefer to use protoc, see the advice above about including Fixie protos in your own proto library.

Using JSON instead

If you'd prefer not to deal with protos, we've got you covered! All of our APIs can accept and return JSON instead. Just set your Content-Type header to application/json instead of application/proto.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fixie-proto-0.1.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

fixie_proto-0.1.1-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file fixie-proto-0.1.1.tar.gz.

File metadata

  • Download URL: fixie-proto-0.1.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.6 Linux/6.2.6-76060206-generic

File hashes

Hashes for fixie-proto-0.1.1.tar.gz
Algorithm Hash digest
SHA256 61b158b67e7cf0d71dc9cf0ff10dce4c39ab49e4a529dbe91d31c2a5673092b1
MD5 9844f6ce46e2bf642412d57b976f5c67
BLAKE2b-256 eab07da102c47a0f696c8b0c4dcafaac5aaa2dfdb28ac1932e70ff61c0f5ce5f

See more details on using hashes here.

File details

Details for the file fixie_proto-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: fixie_proto-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.6 Linux/6.2.6-76060206-generic

File hashes

Hashes for fixie_proto-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d4df1c09b9f3aa30a723ffd0107853eadeaf6f10803622b7848924c3da952e41
MD5 47e278558f52f2f7eaa64d29c8935e1a
BLAKE2b-256 bfa2bb13415603c04ce7ba1ff67473ed5992c6137ef81f89a385df60159b1149

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page