
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
inventools
Inventools helps to covert yield value to Json or csv output
Example to use yeild value to csv
.. code-block:: python
from inventools import tools
Name_of_file = "language"
header_in_list=['s_no','language','version']
output_in_list = ["1","python","0.1"]
@tools.write_csv(Name_of_file,header_in_list)
def foo():
yield(output_in_list)
foo()
output location in relative path
└───output_csv
language.csv
Example to use yeild value to json
.. code-block:: python
from inventools import tools
Name_of_file = "language"
header_in_list=['s_no','language','version']
output_in_list = ["1","python","0.1"]
@tools.write_json(Name_of_file,header_in_list)
def foo():
yield(output_in_list)
foo()
output location in relative path └───output_json language.json
Iteratable example
.. code-block:: python
from inventools import tools
Name_of_file = "language"
header_in_list=['s_no','language','version']
iteratable_object_in_list = [[1,"python",0.1],[2,"java",11],[3,"kotlin",2],[4,"golang",2]]
@tools.write_csv(Name_of_file,header_in_list)
def foo():
for output_in_list in iteratable_object_in_list:
yield(output_in_list)
foo()
FAQs
Inventory tools helps to convert yeild return value to Json or CSV
We found that inventools 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.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.