API reference
The objectstore package, from objectstore 0.4.1, as published on mojoshelf (commit 41fac2800882), by mojo doc from Mojo 1.2.0.
Source.
objectstore — storage and HTTP for magmalake.
from objectstore import FileIOResolver, HttpClient, S3Client
Modules: http (a libcurl-backed client, because no Mojo HTTP package
resolves from conda), crypto (SHA-256/HMAC, because nothing provides them
and SigV4 is made of them), sigv4, path (URI handling), fileio (the
InputFile/OutputFile/FileIO traits and the scheme resolver), local,
ranges (coalescing many byte ranges into few requests), httpio, s3, and
— over SAS/bearer URLs only — gcs and azure.
Modules
-
objectstore.azureobjectstore.azure— Azure Blob Storage through SAS-token URLs. 4 structs · 1 function -
objectstore.cryptoobjectstore.crypto— SHA-256, HMAC-SHA256 and hex, in pure Mojo. 1 struct · 9 functions -
objectstore.fileioobjectstore.fileio— theInputFile/OutputFile/FileIOtraits and the scheme resolver. 4 structs · 3 traits -
objectstore.gcsobjectstore.gcs— Google Cloud Storage over the S3-compatible XML endpoint. 2 structs · 1 function -
objectstore.httpobjectstore.http— an HTTP/HTTPS client over libcurl. 5 structs · 15 functions -
objectstore.httpioobjectstore.httpio— a read-onlyInputFileoverhttp(s)://. 2 structs · 1 function -
objectstore.localobjectstore.local— the filesystem backend. 2 structs · 4 functions -
objectstore.pathobjectstore.path— URI parsing and location handling. 1 struct · 6 functions -
objectstore.rangesobjectstore.ranges— byte ranges, and the plan that turns many into few. 2 structs · 1 trait · 3 functions -
objectstore.s3objectstore.s3— an S3 client overHttpClient, signed with SigV4. 5 structs · 9 functions -
objectstore.sigv4objectstore.sigv4— AWS Signature Version 4, header and query flavours. 3 structs · 11 functions