Placeholder description
Project description
Subsalt
Subsalt is a synthetic datastore that makes sensitive datasets shareable. This library provides an interface for retrieving data from Subsalt tables for use in other applications.
Installation
pip install subsalt
Usage
Note: this library is currently in beta, and the interface may change significantly over time.
Retrieving data from Subsalt requires valid credentials. For access, contact the data owner or email hello@getsubsalt.com
.
Authentication
client = subsalt.Client(
client_id=os.getenv('SUBSALT_CLIENT_ID'),
client_secret=os.getenv('SUBSALT_CLIENT_SECRET'),
)
# `client` can retrieve data on your behalf
Retrieving data
client = subsalt.Client(
client_id=os.getenv('SUBSALT_CLIENT_ID'),
client_secret=os.getenv('SUBSALT_CLIENT_SECRET'),
)
# Retrieve the first 50 records from model_id='2'
# You can find the appropriate model_id by looking up the dataset
# at https://portal.getsubsalt.com.
client.get(model_id='2', limit=50)
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 Distribution
subsalt-0.1.4.tar.gz
(2.4 kB
view details)
Built Distribution
File details
Details for the file subsalt-0.1.4.tar.gz
.
File metadata
- Download URL: subsalt-0.1.4.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12d74267b46061860a9505adadf2f37afbacab62f93b332f294a2f475f7bf48a |
|
MD5 | be1c771e7107fcc5b103eeb4afea42d1 |
|
BLAKE2b-256 | 459ea7dae8e960eecb81c6623938b567abe27bece2a34f778a1cbc90fb3f61b8 |
Provenance
File details
Details for the file subsalt-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: subsalt-0.1.4-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9f65b290f0d29e61799e1279153320d6e53c167d7c86085b3396011f3f9b68c |
|
MD5 | ddf08bce147f6090ebfd10eedc818ede |
|
BLAKE2b-256 | 9c987e4bda72a99d2f86310eeaf51f1f928fd25e015017806f97437c3d97eaee |