Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
.. image:: https://img.shields.io/codefactor/grade/github/williamwflee/pyud/master :target: https://www.codefactor.io/repository/github/williamwflee/pyud :alt: CodeFactor grade .. image:: https://readthedocs.org/projects/pyud/badge/?version=latest :target: https://readthedocs.org/projects/pyud/ :alt: Read the Docs build status .. image:: https://img.shields.io/pypi/v/pyud :target: https://pypi.org/project/pyud/ :alt: Project version on PyPI .. image:: https://img.shields.io/pypi/pyversions/pyud :target: https://pypi.org/project/pyud/ :alt: Python versions supported on PyPI
A simple wrapper for the Urban Dictionary API in Python.
aiohttp <https://docs.aiohttp.org/en/stable/>
_, version 3.6.2You can install directly from PyPI:
.. code:: sh
python3 -m pip install pyud
On Windows this is:
.. code:: bat
py -3 -m pip install pyud
Synchronous Example
.. code:: py
import pyud
ud = pyud.Client()
definitions = ud.define("hello")
print(definitions[0].word) # Outputs "hello"
Asynchronous Example
.. code:: py
import asyncio
import pyud
async def example():
ud = pyud.AsyncClient()
definitions = await ud.define("hello")
print(definitions[0].word) # Outputs "hello"
loop = asyncio.get_event_loop()
loop.run_until_complete(example())
pyud Documentation <https://pyud.readthedocs.io/en/latest/>
_
GNU GPL v3 <https://www.gnu.org/licenses/gpl-3.0.en.html>
_
FAQs
A simple wrapper for the Urban Dictionary API
We found that pyud 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.