
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
wacpy
Unofficial WhatsApp Cloud API Wrapper
(WIP)
wacpy
aims to be a complete python wrapper for the WhatsApp Cloud API.
Currently, wacpy is only providing WhatsApp Cloud API objects.
wacpy.types.message.Message
)The Message object is used to craft messages.
wacpy.types.notification.Notification
)The Notification object is the object that gets sent to your webhook.
All other sub-objects exist under this 2 types.
from wacpy.types.message import Message, message # You can also import `message` from `wacpy.types`
Message(
to='{{WHATSAPP_PHONE_NUMBER}}',
text=message.Text(
body="This is a simple message!"
)
)
from wacpy.types import Message, message # You can also import `message` from `wacpy.types`
Message(
to='{{WHATSAPP_PHONE_NUMBER}}',
type='image',
image=message.Media(
link='https://i.imgur.com/Zf5eagv.png',
caption='Some cute cats'
)
)
from wacpy.types import Message, message # You can also import `message` from `wacpy.types`
Message(
to='{{WHATSAPP_PHONE_NUMBER}}',
type='interactive',
interactive=message.Interactive(
type='list',
action=message.interactive.Action(
button='List',
sections=[
message.interactive.action.Section(
title='First Section',
rows=[
message.interactive.action.section.Row(
id='first_row',
title='First Row',
description='This is the first row description',
),
message.interactive.action.section.Row(
id='second_row',
title='Second Row',
description='This is the second row description',
)
]
),
message.interactive.action.Section(
title='Second Section',
rows=[
message.interactive.action.section.Row(
id='first_row',
title='First Row',
description='This is the first row description',
),
message.interactive.action.section.Row(
id='second_row',
title='Second Row',
description='This is the second row description',
)
]
)
]
),
body=message.interactive.Body('This is the body text')
)
)
FAQs
WhatsApp Cloud API Wrapper
We found that wacpy 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
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.