Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Apache 2.0 licensed.
IOpipe simplifies the consumption and integration of web services through the chaining of kernels, single-function applications.
Kernels take and transform input, providing straight-forward output in a fashion to Unix pipes. A kernel may receive input or send output to/from web service requests, functions, or local applications.
IOpipe may be embedded in applications, used from shell scripts, or run manually via a CLI to form complete applications. Kernels and pipelines may be run within local processes, or dispatched to remote workers (i.e. "cloud").
Download the latest binary release and chmod 755 the file.
Building from source? See Build & Install from source.
Alternatively, download & alias our Docker image:
$ docker pull iopipe/iopipe:trunk
$ docker run --name iopipe-data iopipe/iopipe:trunk
$ eval $(echo "alias iopipe='docker run --rm --volumes-from iopipe-data iopipe/iopipe:trunk'" | tee -a ~/.bashrc)
$ iopipe --help
OS-specific packages are forthcoming.
# Import a kernel and name it com.example.SomeScript
$ iopipe import --name com.example.SomeScript - <<<'input'
# List kernels
$ iopipe list
# Fetch response and process it with com.example.SomeScript
$ iopipe --debug exec http://localhost/some-request com.example.SomeScript
# Fetch response and convert it with SomeScript, sending the result to otherhost
$ iopipe --debug exec http://localhost/some-request com.example.SomeScript \
http://otherhost/request
# Fetch response and convert it with SomeScript, send that result to otherhost,
# & converting the response with the script ResponseScript
$ iopipe --debug exec http://localhost/some-request com.example.SomeScript \
http://otherhost/request some.example.ResponseScript
The NodeJS SDK provides a generic callback chaining mechanism which allows mixing HTTP(S) requests/POSTs, function calls, and kernels. Callbacks receive the return of the previous function call or HTTP body.
var iopipe = require("iopipe")
// Where com.example.SomeScript is present in .iopipe/filter_cache/
iopipe.exec("http://localhost/get-request",
"com.example.SomeScript",
"http://otherhost.post")
// Users may chain functions and HTTP requests.
iopipe.exec(function() { return "something" },
function(arg) { return arg },
"http://otherhost.post",
your_callback)
// A function may also be returned then executed later.
var f = iopipe.define("http://fetch", "https://post")
f()
// A defined function also accepts parameters
var echo = require("iopipe-echo")
var f = iopipe.define(echo, console.log)
f("hello world")
For more information on using the NodeJS SDK, please refer to its documentation: https://github.com/iopipe/iopipe/blob/master/docs/nodejs.md
Requests and responses are translated using kernels, and may pipe to other kernels, or to/from web service endpoints.
Kernels simply receive request or response data and output translated request or response data.
Example:
module.exports = function(input) {
return "I'm doing something with input: {0}".format(input)
}
For more on writing filters see: https://github.com/iopipe/iopipe/blob/master/docs/kernels.md
With a functioning golang 1.5 development environment:
$ go build
$ ./iopipe --help
Alternatively use Docker to build & deploy:
$ docker build -t iopipe-dev .
$ docker run --name iopipe-data iopipe-dev
$ eval $(echo "alias iopipe='docker run --rm --volumes-from iopipe-data iopipe-dev'" | tee -a ~/.bashrc)
$ iopipe --help
The principal goal of our project is to improve human to machine and machine to machine communication. We believe this can be achieved without the creation or use of new protocols, but through the use of a flow-based programming model.
Furthermore:
Filters are pulled from (de)centralized repositories and scale should be considered when building and deploying private filter repositories.
Note that this tool communicates to 3rd-party web services. Caution is advised when trusting these services, as is standard practice with web and cloud services.
Kernels are executed in individual virtual machines whenever allowed by the executing environment. The definition of a virtual machine here is lax, such that it may describe a Javascript VM, a Linux container, or a hardware-assisted x86 virtual machine. Users should exercise caution when running community created kernels.
It is a project priority to make fetching, publishing, and execution of kernels secure for a production-ready 1.0.0 release.
Contact security@iopipe.com for questions.
Apache 2.0
FAQs
The IOpipe agent and plugins
The npm package iopipe receives a total of 51 weekly downloads. As such, iopipe popularity was classified as not popular.
We found that iopipe demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.