
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
configparser-list
Advanced tools
Extends ConfigParser to support lists (getlist)
pip install configparser-list
To run the tests:
python -m unittest
dictfrom ConfigParserList import ConfigParser
def list_from_dict():
"""
This example sets the configuration from a dict and then fetchs a list
:return:
"""
str_list = ['A', "B", "C"]
int_list = [1, 2, 3]
d = {'SEC': {
'int': 10,
'float': 1.0,
'liststr': str_list,
'listint': int_list}
}
conf = ConfigParser()
conf.read_dict(d)
alpha = conf.getlist('SEC', 'liststr')
ints = conf.getlistint('SEC', 'listint')
print("list from config (dict): ")
print(f"Alpha {alpha} is of type {type(alpha)}")
print(f"Ints {ints} is of type {type(ints)}")
strfrom ConfigParserList import ConfigParser
def list_from_string():
"""
This example sets the configuration from a string and then fetchs a list
:return:
"""
conf_str = """
[SEC]
int=10,
float=1.0,
liststr=A, B, C
listint=1, 2, 3
"""
conf = ConfigParser()
conf.read_string(conf_str)
alpha = conf.getlist('SEC', 'liststr')
ints = conf.getlistint('SEC', 'listint')
print("list from config (string): ")
print(f"Alpha {alpha} is of type {type(alpha)}")
print(f"Ints {ints} is of type {type(ints)}")
FAQs
Extends ConfigParser to support lists
We found that configparser-list 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
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.