
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
nlpip
takes a text written in natural language as input, and performs a
specified command also written in natural language, and then outputs the result
in natural language.
Here's a demo:
First, you need to install nlpip
using pip
:
pip install nlpip
Then, set your OpenAI's API key as an environment variable:
export OPENAI_API_KEY=WRITE_YOUR_KEY_HERE
nlpip
or just nlp
for short, provides following default commands:
keywords
: Extract keywords from input textpoem
: Write poem using input textsummarize
: Summarize input textsentiment
: Analyze sentiment of input textFor example, if you want summarize input.txt
and turn it into a poem, you can
run the following command:
cat input.txt | nlp summarize | nlp poem
To create a new command, you just need to create a text file containing the
command in natural language. For example, if you want to create a command that
translates input text into French, you can create a file named
~/.nlpip/prompts/fr.txt
in with:
Translate into French
Then, you can run the following command:
echo Hello | nlp fr
And you will get the following output:
Bonjour
You may override default commands by creating a file with the same name in
~/.nlpip/prompts/
.
nlpip
is inspired by
Schillace Laws of Semantic AI.FAQs
A natural language based unix pipeline utility
We found that nlpip 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.