Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Graph theory abstract data type.
scinet.Graph is designed upon the graph (abstract data type) definition and functions as a bare bones skeletal graph data mapping, containing abstract vertices and edges.
Includes DiGraph and MultiGraph support, with HyperGraph capabilities.
$ pip install scinet-josugoar
Import scinet
import scinet as sn
Create graph
G = sn.Graph()
Manipulate data
G.add_vertex(vertex := "foo")
Edges must be assigned using hashable keys so that no name conflicts exist between source_vertex and target_vertex edges
key = G.add_edge(source_vertex := "foo", target_vertex := "bar"[, edge := "foobar"])
G.remove_vertex(vertex := "foo")
G.remove_edge(source_vertex := "foo", target_vertex := "bar"[, edge := "foobar"])")
(target_vertex := "bar") in G[(source_vertex := "foo")]
>>> True
set(G[(vertex := "foo")])
>>> { "neighbor_1", "neighbor_2", ... }
See docs for further details.
FAQs
Network science abstract data types
We found that scinet-josugoar 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.