
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.
oogway_py
is the official Python SDK for Oogway AI
that requires no binaries. Quickly allow users to gain knowledge from Master Oogway in a few lines of code.
The oogway_py
SDK can be installed from PyPI via pip
:
pip install oogway_py
Export your OPENAI_API_KEY
in your terminal
Add the following code to your application to add Oogway AI to your app:
# import oogway ai python sdk
import asyncio
import sys
import oogway_py as oogway
ai = oogway.Oogway()
# change model name from python
ai.model_name = "gpt-4-0125-preview"
async def talk_to_oogway(question: str):
print(f"\n> You : {question}");
while True:
print("\n> Oogway : ", end="");
# python async generator for chunk streaming
async for chunk in ai.ask(question):
sys.stdout.write(chunk)
sys.stdout.flush()
question = input("\n\n> You: ")
That's it! Your application should now be able to allow users to converse with Master Oogway 🐢.
Note You can run the example above from the demo file.
Run python python/oogway_py/demo.py
or checkout the Jupyter Notebook Example
https://github.com/cs50victor/oogway_py/assets/52110451/aa762411-a8a9-4e50-a746-8374f8455700
FAQs
Unknown package
We found that oogway-py 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.