Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
soroush-python-sdk
Readme
Soroush Messenger Bot Wrapper for Python |shiled| |travis| |badge| |Documentation Status| |Updates|
.. code:: bash
pip install soroush-python-sdk
Run the below commands
.. code:: bash
git clone https://github.com/soroush-app/bot-python-sdk cd bot-python-sdk pip install -r requirements.txt
.. code:: python
from soroush_python_sdk import Client
bot_token = 'your bot token'
bot = Client(bot_token)
try: to = 'user chat_id'
[error, success] = bot.send_text(to, 'Your text')
if success:
print('Message sent successfully')
else:
print('Sending message failed: {}' .format(error))
except Exception as e: print(e.args[0])
“to” value in above example is chat_id of a bot user. You can find it in
front of ‘from’ key in a message that user has sent to your bot. You can
see more examples in the examples
_ directory.
Report any idea, bugs or issues you find on the issue tracker
. - You
can grab the source code at the package’s Git repository
.
.. _examples: https://github.com/soroush-app/bot-python-sdk/tree/master/examples .. _issue tracker: https://github.com/soroush-app/bot-python-sdk/issues .. _Git repository: https://github.com/soroush-app/bot-python-sdk.git
.. |shiled| image:: https://img.shields.io/pypi/v/soroush_python_sdk.svg .. |travis| image:: https://img.shields.io/travis/alinik/soroush_python_sdk.svg .. |badge| image:: https://readthedocs.org/projects/soroush-python-sdk/badge/?version=latest .. |Documentation Status| image:: https://readthedocs.org/projects/bot-python-sdk/badge/?version=latest :target: https://bot-python-sdk.readthedocs.io/en/latest/?badge=latest .. |Updates| image:: https://pyup.io/repos/github/alinik/bot-python-sdk/shield.svg :target: https://pyup.io/repos/github/alinik/bot-python-sdk/
FAQs
api to access soroush social network sdk
We found that soroush-python-sdk 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
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.