Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
treeplotter
Tree plotting is really hard in Python. The treeplotter
package aims to make the process easier. It wraps the TreantJS library to plot trees and saves them to a rendered HTML file. This HTML file is then also exported to a high-res PNG by wrapping R's webshot
package. The package requires some complicated installs, but this is the price to pay to not use any R, Javascript, or CSS ;)
This library has Node
and Tree
classes in the treeplotter.tree
module. Node
objects can store various items. We can then specify the node children and parents. A Tree
is then defined by a root node. From this, we can create tree visualizations. See here for a complete demo.
This package is used in the decitala
package (see here) to make FragmentTree
diagrams, like the following one of the Greek Prosodic Feet:
The basic package can be installed with
$ pip3 install treeplotter
To create the tree diagrams, however, some additional installs are required. See here for the complete instructions.
FAQs
Python package for tree plotting.
We found that treeplotter 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.