Skip to main content

Schemas for the Arrakis API

Project description

arrakis-schema

Schemas for the Arrakis API


Endpoints

The Arrakis server responds to API requests corresponding to the four main actions exposed by the client API:

  • stream
  • describe
  • find
  • count

as well as two actions which aid in publication:

  • partition
  • publish

All API requests are done in a two-stage approach by first sending an Arrow Flight descriptor to the server, returning back a Flight info object which contains the request and the server to contact, contained within a Flight ticket. This ticket is then sent to receive back the expected payload with a specific Arrow flight schema dependent on the request, serialized in the Arrow streaming format.

The Flight descriptors sent to the server in the first stage are all specified here as JSON packets which are UTF-8-encoded, using the command variant of the Flight descriptor, which can be used to specify any application-specific command.

Schemas

The generic Flight descriptor schema is described within each endpoint in {endpoint}.json. In addition, a generic descriptor specification for all endpoints is described in descriptor.json.

Usage

from arrakis_schema import load_schema

schema = load_schema("count.json")

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

arrakis_schema-0.1.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arrakis_schema-0.1.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file arrakis_schema-0.1.0.tar.gz.

File metadata

  • Download URL: arrakis_schema-0.1.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.2

File hashes

Hashes for arrakis_schema-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a1e79b95af1f28c6966585ee61db5e923f1a450e36f3b67327f6b30677e3c6e2
MD5 e6ac7356536ab5acda8d07aeaa22c695
BLAKE2b-256 023a7107bebe8331a9dde8583cad474ed617ad2c6bfb8dc294b114be6828a1c2

See more details on using hashes here.

File details

Details for the file arrakis_schema-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for arrakis_schema-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e2c3b90c3abba1a85142b30ca0b96def166f9bbb1a466915922cb9fce3b1778
MD5 b165c57a3a9254be4d9c0c3bdf82d8c4
BLAKE2b-256 8706b5139f2580647138005012ebf973750fb29499d0b075728bb69b70d20913

See more details on using hashes here.

Supported by

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