Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Tree Implementation and Methods for Python, integrated with list, dictionary, pandas and polars DataFrame.
Tree Implementation and Methods for Python, integrated with list, dictionary, pandas and polars DataFrame.
It is pythonic, making it easy to learn and extendable to many types of workflows.
Related Links:
There are 3 segments to Big Tree consisting of Tree, Binary Tree, and Directed Acyclic Graph (DAG) implementation.
For Tree implementation, there are 9 main components.
BaseNode
, extendable classNode
, BaseNode with node name attributeNode
, using parent and children constructorsNode
typeFor Binary Tree implementation, there are 3 main components. Binary Node inherits from Node, so the components in Tree implementation are also available in Binary Tree.
BinaryNode
, Node with binary tree rulesFor Directed Acyclic Graph (DAG) implementation, there are 4 main components.
DAGNode
, extendable class for constructing Directed Acyclic Graph (DAG)bigtree
requires Python 3.8+. There are two ways to install bigtree
, with pip (recommended) or conda.
To install bigtree
, run the following line in command prompt:
$ pip install bigtree
bigtree
have a number of optional dependencies, which can be installed using "extras" syntax.
$ pip install 'bigtree[extra_1, extra_2]'
Examples of extra packages include:
all
: include all optional dependenciesimage
: for exporting tree to imagematplotlib
: for plotting treespandas
: for pandas methodspolars
: for polars methodsFor image
extra dependency, you may need to install more plugins.
$ brew install gprof2dot # for MacOS
$ conda install graphviz # for Windows
To install bigtree
with conda, run the following line in command prompt:
$ conda install -c conda-forge bigtree
FAQs
Tree Implementation and Methods for Python, integrated with list, dictionary, pandas and polars DataFrame.
We found that bigtree 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.