Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
py-assembly-payments
Advanced tools
Unofficial Python client for the Assembly Payments API
This package is still undergoing development and is pre-v1. It currently implements around 30% of the Assembly Payments API. You can keep up with the coverage here
pip install py-assembly-payments
from assembly_payments.client import AssemblyClient
client = AssemblyClient(client_id=CLIENT_ID, client_secret=CLIENT_SECRET)
# List Users
client.users.list()
# Create User
user = client.users.create(
id="your-user-id",
first_name="Jane",
last_name="Doe",
email="jane.doe@example.com"
)
# Easy object access
print(user.first_name + user.last_name) # Jane Doe
You can set your auth credentials in two ways:
AssemblyClient(client_id=CLIENT_ID, client_secret=CLIENT_SECRET, scope=CLIENT_SCOPE, grant_type="client_credentials")
AssemblyClient
will pick up from:export ASSEMBLY_CLIENT_ID=my-client-id
export ASSEMBLY_CLIENT_SECRET=my-client-secret
export ASSEMBLY_SCOPE=my-scope
grant_type
defaults to "client_credentials"
and can only be controlled by an argument to AssemblyClient
.
FAQs
Python wrapper around the Assembly Payments API
We found that py-assembly-payments 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
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.