Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 27 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,39 @@
# Skyflow Python SDK
# Skyflow Python

This repository hosts the Skyflow Python SDKs. It is a multi-package workspace — pick the package
that matches the vault you're using.
This repository hosts Skyflow's Python SDKs for integrating Skyflow into a Python backend. It's a multi-package workspace with more than one published artifact — pick the package that matches what you need below.

[![CI](https://img.shields.io/static/v1?label=CI&message=passing&color=green?style=plastic&logo=github)](https://github.com/skyflowapi/skyflow-python/actions)
[![GitHub release](https://img.shields.io/github/v/release/skyflowapi/skyflow-python.svg)](https://github.com/skyflowapi/skyflow-python/releases)
[![License](https://img.shields.io/github/license/skyflowapi/skyflow-python)](https://github.com/skyflowapi/skyflow-python/blob/main/LICENSE)

## Which package do I want?

| Package (PyPI) | Import | Vault type | Docs |
|---|---|---|---|
| **`skyflow`** | `import skyflow` | Privacy DB (v2.x) — vault CRUD, tokenize/detokenize, query, files, Detect, Connections | [skyvault/README.md](skyvault/README.md) |
| **`skyflow-flowvault-python`** | `import skyflow_flowvault` | Flow DB (v1.x) — high-throughput bulk + unary vault operations | [flowvault/README.md](flowvault/README.md) |
| Package | Artifact (PyPI) | README | Vault Type | Version line |
|---|---|---|---|---|
| **skyvault** | `skyflow` | [skyvault/README.md](skyvault/README.md) | SkyVault | 2.x |
| **flowvault** | `skyflow-flowvault-python` | [flowvault/README.md](flowvault/README.md) | FlowVault | 1.x |

`flowvault` shares auth/client setup with `skyvault` — both depend on the `common` module.

> **The two artifacts are versioned independently.** `flowvault` is a new SDK starting at `1.0.0`; its lower version number reflects a first release, not an older or lesser SDK than `skyvault` 2.x. Upgrade each on its own version line.

```bash
pip install skyflow # Privacy DB SDK
pip install skyflow-flowvault-python # Flow DB SDK
```
> **Install one per environment.** Both artifacts install under the same top-level `skyflow` import, so they cannot coexist in the same Python environment.

> The two artifacts have **independent version lines** and cannot be installed into the same Python
> environment at once. A lower `skyflow-flowvault-python` version number (1.x) does not mean it is behind
> `skyflow` (2.x) — they are separate products.
> Migrating from v1? See skyvault's **[Migration Guide](docs/migrate_to_v2.md)**. V1 is in maintenance mode and will reach End of Life on October 31, 2026.

## Repository layout

| Path | What it is |
|---|---|
| `common/` | Shared client, credentials, config, and error code — depended on by both SDKs, never published on its own. |
| `skyvault/` | The `skyflow` (Privacy DB / v2) SDK. |
| `flowvault/` | The `skyflow-flowvault-python` (Flow DB / v1) SDK. |
| `docs/` | Reference docs and the [v1 → v2 migration guide](docs/migrate_to_v2.md). |
| `CHANGELOG.md` | Release history. |
The workspace contains:

- `common/` — shared client, credentials, config, and error-handling code used by both `skyvault` and `flowvault`
- `skyvault/` — the `skyflow` SDK ([README](skyvault/README.md))
- `flowvault/` — the `skyflow-flowvault-python` SDK ([README](flowvault/README.md))

## Documentation

Each SDK ships runnable examples under its own `samples/` directory
([flowvault/samples/](flowvault/samples/), [skyvault/samples/](skyvault/samples/)).
- [skyvault API Reference](docs/api_reference.md) — full list of request/response classes, enums, and service-account utilities
- [Migrate from v1 to v2](docs/migrate_to_v2.md)

## Resources
## Reporting a Vulnerability

- [Skyflow docs](https://docs.skyflow.com/)
- [GitHub](https://github.com/skyflowapi/skyflow-python/)
If you discover a potential security issue in this project, please reach out to us at **security@skyflow.com**. Please do not create public GitHub issues or Pull Requests, as malicious actors could potentially view them.
Loading