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.1.tar.gz (7.7 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.1-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for arrakis_schema-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ff821d535e776707a155aa1786ea699f9babfd605ebf00c41ebb508449241620
MD5 39ff2ed754c932614917e484385dcd4e
BLAKE2b-256 7f05215a43b9fcbb7ce996668fa6b950302186d94ff8452fdb502878df1cf012

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrakis_schema-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 674df6a238ebd8a8a2456ee7dab340d574a51a6c2cabd3cf1557bd9166b9f0f2
MD5 2b695b3169fc930012948dd04719e9e0
BLAKE2b-256 0f95d6106aa4d7d3ad49184c1fa42590186fccf7bd47b370fca4e5d2e7982042

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