
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
The cli script provides 22 subcommands to avail the various functionalities offered by the API.
Look at the Datamuse API Docs for a detailed description.
# In terminal do:
$ pip install pytekdatamuse
You can use the cli script
$ tekdatamuse --help
$ tekdatamuse [subcommand] --help
$ tekdatamuse define hypotheses
hypotheses
N a tentative theory about the natural world; a concept that is not yet verified but that if true would explain certain facts or phenomena
N a proposal intended to explain certain facts or observations
N a message expressing an opinion based on incomplete evidence
import tekdatamuse
api=tekdatamuse.Datamuse()
# words
words=api.words(sp="early",md="d")
# get synonyms
syns=api.synonyms("look")
# get antonyms
antonyms=api.antonyms("look")
# get holonyms
holonyms=api.holonyms("look")
# get hypernyms
hypernyms=api.hypernyms("look")
# get hyponyms
hyponyms=api.hyponyms("look")
# get meronyms
meronyms=api.meronyms("look")
# get homophones
homophones=api.homophones("look")
# get rhymes
rhymes=api.rhymes("look")
# get approximate rhymes
approx_rhymes=api.approx_rhymes("look")
# get popular adjectives modifying a noun
noun_modifiers=api.noun_modifiers("look")
# get popular nouns modified by the adjective
adj_modifiers=api.adj_modifiers("look")
# get word definition
define=api.define("hypotheses")
# autocomplete
completions=api.autocomplete("boo",max=20)
# followers
followers=api.followers("early")
# predecessors
predecessors=api.predecessors("early")
# right_context
right_context=api.right_context("early")
# left_context
left_context=api.left_context("early")
# triggers
triggers=api.triggers("early")
# means_like
means_like=api.means_like("early")
# sounds_like
sounds_like=api.sounds_like("early")
# spelled_like
spelled_like=api.spelled_like("early")
$ git clone https://github.com/TralahM/pytekdatamuse.git
$ cd pytekdatamuse
FAQs
"Unofficial Python Wrapper for the Datamuse API."
We found that pytekdatamuse 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
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.