
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
WxPusher Python SDK.
pip install -U wxpusher
from wxpusher import WxPusher
WxPusher.send_message('<content>',
uids=['<uids>'],
topic_ids=['<topic_ids>'],
token='<appToken>')
WxPusher.query_message('<messageId>')
WxPusher.create_qrcode('<extra>', '<validTime>', '<appToken>')
WxPusher.query_user('<page>', '<page_size>', '<appToken>')
运行测试需要配置好 appToken
和 uids
。
首先,将 wxpusher/tests/
文件夹下的配置样例 config.sample.py
复制并命名为 config.py
。
cd wxpusher/tests
cp config.sample.py config.py
然后,填写 config.py
中的相应信息。
配置好后就可以使用 tox
来运行测试了。
tox
或者直接使用 nose
也可以
nosetests
FAQs
WxPusher Python SDK.
We found that wxpusher 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.