{"id":27401,"library":"skyflow","title":"Skyflow","description":"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.","status":"active","version":"2.0.1","language":"python","source_language":"en","source_url":"https://github.com/skyflowapi/skyflow-python/","tags":["data-privacy","tokenization","vault","fernet"],"install":[{"cmd":"pip install skyflow","lang":"bash","label":"Install Skyflow SDK"}],"dependencies":[],"imports":[{"note":"In v1 the class was Client; v2 renamed it to Skyflow.","wrong":"from skyflow import Client","symbol":"Skyflow","correct":"from skyflow import Skyflow"}],"quickstart":{"code":"import os\nfrom skyflow import Skyflow\n\nclient = Skyflow(\n    vault_id=os.environ.get('VAULT_ID', ''),\n    vault_url=os.environ.get('VAULT_URL', ''),\n    bearer_token=os.environ.get('BEARER_TOKEN', '')\n)\nprint('Client initialized')\n# Example: insert a record\nresponse = client.insert(\n    table_name='users',\n    records=[{'fields': {'email': 'test@test.com'}}]\n)\nprint(response)","lang":"python","description":"Initialize a Skyflow client and insert a sample record."},"warnings":[{"fix":"Change `from skyflow import Client` to `from skyflow import Skyflow` and adjust constructor arguments.","message":"In 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.","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Refer to the GitHub README at https://github.com/skyflowapi/skyflow-python for up-to-date usage examples.","message":"The `# TODO: write docs` placeholder in the v2 quickstart indicates documentation may be incomplete. Rely on the official GitHub README and examples.","severity":"breaking","affected_versions":"2.0.1"},{"fix":"Use Python 3.8 or later.","message":"The Skyflow SDK requires Python >=3.8. Using an older Python version will cause installation errors.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use `from skyflow import Skyflow` instead.","cause":"Upgraded to v2 where `Client` was renamed to `Skyflow`.","error":"AttributeError: module 'skyflow' has no attribute 'Client'"},{"fix":"Upgrade to the latest version: `pip install --upgrade skyflow`","cause":"You are using an outdated v1.x version of skyflow that does not have the `Skyflow` class.","error":"ImportError: cannot import name 'Skyflow' from 'skyflow'"},{"fix":"Refer to the v2 documentation: use `Skyflow(vault_id, vault_url, bearer_token=...)` or pass via `Fern` configuration.","cause":"In v1.x the token was passed differently; v2 changed the parameter name or structure.","error":"TypeError: __init__() got an unexpected keyword argument 'bearer_token'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}