
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
listinfo
Advanced tools
A lightweight library to get details of list and it helps to split list into lists of small size also it
```pip install listinfo```
from listinfo import listinfo
sample_list=[1,2,3,4,5,6]
ls=listinfo(sample_list)
print(ls.liststats())
print(ls.listtochunks(chunk=3))
print(ls.splitlist(splitval=2))
Below are few parameters and functions we have to provide according to our requirements:
1 liststats:(No Parameters Required)
Here we get statistics of list. The ouput what we get will be in dict fromat.
There will be four values(length,datatype and count,list to tuple,size of list) in the output.
length:It shows the length of list.
datatype and count:It demonstrates how many types of datatypes and thier count.
list to tuple: It is the tuple version of list.
memory usage: It shows memory storaged used by list(in bytes).
OUTPUT EXAMPLE:
{'length': 6, 'datatype and count': {<class 'int'>: 6}, 'list to tuple': (1, 2, 3, 4, 5, 6), 'memory usage': '136 bytes'}
2 listtochunks(chunk='')
DEFAULT VALUE=1
It converts list to chunks. chunk is the param,where we have to size of chunk.
OUTPUT EXAMPLE:
[[1, 2, 3], [4, 5, 6]]
3 splitlist(splitval='')
DEFAULT VALUE=1
It splits list to lists of list of size splival.
OUTPUT EXAMPLE:
[[1, 2], [3, 4], [5, 6]]
More Updates Coming Soon... 😄
I would like to get feedback from the community. If you have feature suggestions, support questions or general comments, please email me at susmit.vssut@gmail.com
FAQs
A lightweight library to get details of list and it helps to split list into lists of small size also it
We found that listinfo 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
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.