vast-daft
Daft custom connector (DataSource / DataSink) for VastDB.
Installation
pip install vast-daft
Or with uv:
uv add vast-daft
Quick Start
Reading from VastDB
import pyarrow as pa
from vast_daft import VastDBConfig, VastDBDataSource
config = VastDBConfig(
endpoint="http://vastdb:9090",
access_key="YOUR_ACCESS_KEY",
secret_key="YOUR_SECRET_KEY",
bucket="my-bucket",
schema="my-schema",
)
schema = pa.schema([
("id", pa.string()),
("name", pa.string()),
("value", pa.float64()),
])
source = VastDBDataSource(config, "my_table", schema)
df = source.read()
df.show()
Writing to VastDB
import daft
from vast_daft import VastDBConfig, VastDBDataSink
config = VastDBConfig(...)
schema = pa.schema([("id", pa.string()), ("value", pa.float64())])
sink = VastDBDataSink(config, "my_table", schema)
daft.from_pydict({"id": ["a", "b"], "value": [1.0, 2.0]}).write_sink(sink).show()
Metadata
Release files for vast-daft 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vast_daft-0.2.3.tar.gz | 32.0 kB | Without provenance | Details for vast_daft-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vast_daft-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for vast_daft-0.2.3-py3-none-any.whl |
Total release size: 62.6 kB
Release files / vast_daft-0.2.3.tar.gz
| Download URL | vast_daft-0.2.3.tar.gz |
|---|---|
| Size | 32.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80793b390da40307b0ccd1148d88b09a8920b48ee781e63fa8fd5a2537b08afd
|
|
BLAKE2b-256 checksum How to use checksums |
2f69028ac663a2b63c2c04062cfac88cd95c865fddaedca3afd6c415927e1b80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / vast_daft-0.2.3-py3-none-any.whl
| Download URL | vast_daft-0.2.3-py3-none-any.whl |
|---|---|
| Size | 30.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
983763cc958b22a774899a86fed42ef98c44a878ba4aa75dca27268c1b4b5e80
|
|
BLAKE2b-256 checksum How to use checksums |
5b579050431f4f3e956975a7a6ff4b4bd3aea87e3477610ce64aba867b1c0937
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for vast-daft 0.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.