VAI toolkit, to add data in our platform
Project description
VAI toolkit
To add data to our platform use this package like below
pip install vai-toolkit
then add import statement like this
from vai_toolkit import vai
here is the code to use the plugin
data = { "id": [11111, 1], "Capital Gain": [10000, 15000] } # Columns data
dates = ["12-15-2021", "12-16-2021"] # Dates
times = ["11:08:50", "11:09:50" ] # Times
pipeline = os.getenv("PIPELINE") # Pipeline
user_secret = os.getenv("USER_SECRET") # UserSecret
res = vai.upload_data(data, dates, times, pipeline, user_secret, allow_new_columns=True, allow_duplicate=True, allow_new_category=True)
Last 2 fields are optionals (allow_new_columns, allow_duplicate, allow_new_category)
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
vai_toolkit-0.0.2.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for vai_toolkit-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dc1bb590c7df9089ad80f72b2bcc847f36d1343e65a32695b6149aed81a0832 |
|
MD5 | 836b2099a2b51facb5657793909e36b2 |
|
BLAKE2b-256 | 1f5f89f56cf90b702d19ac5b9da04fd865614b0a02d07af5d53f838b0f31bee0 |