Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
A Python client library for interacting with the dev.to API. Easily access key dev.to features including article retrieval, posting, and user information management.
DevToPy is a Python client library for interacting with the dev.to API. It provides easy access to key dev.to features including article retrieval, posting, user information management, and more.
You can install DevToPy using pip:
pip install devtopy
Here's a quick example of how to use DevToPy:
from devtopy import DevTo
# Initialize the client with your API key
client = DevTo(api_key="your_api_key_here")
# Get the latest articles
latest_articles = client.articles.get_latest_articles()
# Publish a new article
new_article = client.articles.publish(
title="My New Article",
body_markdown="This is the content of my article.",
tags=["python", "api"],
published=True
)
# Get your own articles
my_articles = client.articles.get_my_articles()
# Get comments for an article
article_comments = client.comments.get_article_comments(article_id="123")
# Toggle a reaction on an article
client.reactions.toggle(
category=client.reactions.ReactionCategory.LIKE,
reactable_id=123,
reactable_type=client.reactions.ReactableType.ARTICLE
)
DevToPy now supports the following operations:
For detailed information on all available methods, please refer to the API documentation.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
A Python client library for interacting with the dev.to API. Easily access key dev.to features including article retrieval, posting, and user information management.
We found that devtopy 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.