
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Get an API token from Turn (currently only tokens are supported, not username / passwords)
Add this as an environment variable, or pass in to the turn client
$ export TURN_AUTH_TOKEN={your token}
Usage
from turn import TurnClient
turn_client = TurnClient(token={optionally add your token here})
# Get a user's whatsapp id
wa_id = turn_client.contacts.get_whatsapp_id('123456')
# Send a message
turn_client.messages.send_text(wa_id, 'Hello')
# Send a media file
with open("example.jpg", "rb") as file:
turn_client.messages.send_media(
whatsapp_id=wa_id,
file=file,
content_type="image/jpeg",
media_type="image",
caption="Here’s an image"
)
FAQs
A python package for the Turn.io WhatsApp API
We found that turn-python 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
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.