Registry / auth-security / skyflow

skyflow

JSON →
library2.0.1pypypi✓ verified 83d ago

Skyflow SDK for Python – a data privacy vault that enables tokenization, detokenization, and secure data operations. Current version: 2.0.1, with a major v2 release that reworked client initialization and requires Fern-based configuration. Release cadence is irregular, with multiple patch releases in the 1.x series and a jump to 2.0.0 in late 2024.

pip install skyflow
INSTALL
IMPORT
SIG · SKYFLOW
S
skyflow
auth-securitypythonv2.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Skyflow
from skyflow import Skyflow
from skyflow import Client
In v1 the class was Client; v2 renamed it to Skyflow.

Initialize a Skyflow client and insert a sample record.

import os from skyflow import Skyflow client = Skyflow( vault_id=os.environ.get('VAULT_ID', ''), vault_url=os.environ.get('VAULT_URL', ''), bearer_token=os.environ.get('BEARER_TOKEN', '') ) print('Client initialized') # Example: insert a record response = client.insert( table_name='users', records=[{'fields': {'email': 'test@test.com'}}] ) print(response)
Debug
Known issues
breakingIn v2.0.0, the SDK was rewritten to use Fern client re-initialization. The old `skyflow.Client` class is replaced by `skyflow.Skyflow`. Code written for v1.x will not work without updating imports and initialization.
fix
Change `from skyflow import Client` to `from skyflow import Skyflow` and adjust constructor arguments.
affects: >=2.0.0
breakingThe `# TODO: write docs` placeholder in the v2 quickstart indicates documentation may be incomplete. Rely on the official GitHub README and examples.
fix
Refer to the GitHub README at https://github.com/skyflowapi/skyflow-python for up-to-date usage examples.
affects: 2.0.1
gotchaThe Skyflow SDK requires Python >=3.8. Using an older Python version will cause installation errors.
fix
Use Python 3.8 or later.
affects: all
Errors
Common errors & fixes
AttributeError: module 'skyflow' has no attribute 'Client'
Upgraded to v2 where `Client` was renamed to `Skyflow`.
fix
Use `from skyflow import Skyflow` instead.
ImportError: cannot import name 'Skyflow' from 'skyflow'
You are using an outdated v1.x version of skyflow that does not have the `Skyflow` class.
fix
Upgrade to the latest version: `pip install --upgrade skyflow`
TypeError: __init__() got an unexpected keyword argument 'bearer_token'
In v1.x the token was passed differently; v2 changed the parameter name or structure.
fix
Refer to the v2 documentation: use `Skyflow(vault_id, vault_url, bearer_token=...)` or pass via `Fern` configuration.
Upgrade
Version history
2.0.1latest on PyPI · released Apr 29, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
52 hits · last 30 days
node
42
OpenAI (training)
1
Resources
skyflow — pip install skyflow · libregistry