Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Tinypy is a collection of small Python functions and classes which make common patterns shorter and faster.
Tinypy is a collection of small Python functions and classes which make common patterns shorter and faster. All of these can be done by it:
pip install tinypy
You can also convert the JSON file to a CSV file by passing the "src "and "dest" directories to the function json2csv(src, dest)
import tinypy as tp
_tp = tp.Tinypy()
_tp.json2csv(src="sample.json", dest="new-sample.csv")
This will convert the JSON file located at sample.json
to a CSV file located at new-sample.csv
.
Tinypy also provides a command line interface for converting JSON files to CSV files.
tinypy -s sample.json -d new-sample.csv json2csv
This command will convert the JSON file located at sample.json
to a CSV file located at new-sample.csv
.
To get more information, use -h or --help in Command Line Interface.
> tinypy -h
usage: tinypy [-h] [-v] -s import.json -d export.csv -a
Tinypy is a collection of small Python functions and classes which make common patterns shorter and faster.
options:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-s import.json, --src import.json
The path to the JSON file to convert
-d export.csv, --dest export.csv
The path to the CSV file to create
-a , --action json2csv, csv2json
Documentation is available at the GitHub page: https://github.com/arashyeganeh/tinypy
Action name | Description | Docs |
---|---|---|
json2csv | convert JSON files to CSV files | Read |
csv2json | convert CSV files to JSON files | Read |
This library is released under the MIT License.
The Tinypy project welcomes contributions.
Please submit a pull request or an issue on GitHub if you have any improvements to suggest.
If you have any issues or questions, please feel free to reach out to us on the GitHub.
FAQs
Tinypy is a collection of small Python functions and classes which make common patterns shorter and faster.
We found that tinypy 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.