Skip to main content

Stream2Vault Client

Reason this release was yanked:

broken

Project description

Stream2Vault Client

The Stream2Vault generator client.

Installation

Install the client using pip:

pip install s2v-client

Usage

Make sure to have your credentials pointed at by the environment variable GOOGLE_APPLICATION_CREDENTIALS.

Prepare your vault model in a directory structure like this:

MY_VAULT
├── configuration
│   ├── data_vault_settings.yaml
│   ├── source_system_settings.yaml
│   └── tags
│       └── pii.yaml
├── dv_model
│   ├── HUBS
│   │   ├── HUB_BILLING.yaml
│   │   ├── HUB_COMPANY_CODE.yaml
│   │   ├── HUB_COMPANY.yaml
│   │   └── HUB_CUSTOMER.yaml
│   ├── LINKS
│   │   └── LND_L_BILLING_HEADER.yaml
│   ├── REFERENCES
│   │   └── REF_DUMMY.yaml
│   └── SATELLITES
│   │   └── LDS_example.yaml
└── sources
    └── information_schema.csv

Command Line

Using the CLI, you can have the S2V generator create the vault for you:

export S2V_GENERATE_URL=https://the-s2v-server
s2v generate -i MY_VAULT/ -o output/

The results have been written to the output/ directory.

Run s2v generate --help to learn more about possible options.

Library

The S2V client can also be embedded in your Python application:

import pathlib
from s2v.client import S2VClient

s2v_client = S2VClient.create("https://the-s2v-server")
input_dir = pathlib.PurePath("MY_VAULT")
output_dir = pathlib.PurePath("output")
s2v_client.generate(input_dir, output_dir)

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

s2v_client-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file s2v_client-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: s2v_client-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.9

File hashes

Hashes for s2v_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f099ab8cfbb8e582f7fc9259569881ab2fcbeb3f9dafb84e02c407f1eac95d18
MD5 ffb6c555bb417879a4a1d094637b9463
BLAKE2b-256 62a587b642cba47a773c430a2511dd7f25ba7b25e470496435ef36021ea1ede7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page