
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Versatile Data Kit SDK ingestion plugin to ingest data via http requests.
This plugin provides functionality to ingest data over http.
To use the plugin, just install it, and set the method
attribute of send_object_for_ingestion()
,
and send_tabular_data_for_ingestion()
functions to "http".
Example:
def run(job_input: IJobInput):
# Do something to get data for ingestion
payload = get_some_data()
# Ingest the data
job_input.send_object_for_ingestion(payload=payload,
destination_table="aa_test_table",
method="http",
target="http://example.com/data-source"
)
The above example shows how to ingest json data. In this case, there are three arguments that are required: payload
,
method
and target
. This would be fixed in the future, so that only payload
would be required.
The payload needs to be a json object, and should contain the destination_table
inside, using the @table
key. For example:
{
"@table": "destination_table_name",
"column1": "value1",
"column2": "value2",
"column3": "value3",
}
The method
attribute needs to be provided for the time being.
The target
attribute should specify the url endpoint, where the data will be ingested.
To develop or test locally (from the current directory)
# install dev and test dependencies
pip install -r requirements
# install the plugin in editable mode
pip install -e .
# run the tests
pytest
FAQs
Versatile Data Kit SDK ingestion plugin to ingest data via http requests.
We found that vdk-ingest-http demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.