Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

python-csv2json

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

python-csv2json

CSV to JSON Converter | Export to File and Use as String

  • 0.4.8
  • PyPI
  • Socket score

Maintainers
2

Python CSV to JSON Converter Python

based on unicode UTF-8

You can export converted json string to a file when using a csv file

Instructions:

  • For import to your project

      import csv2json as converter
    
  • For convert csv to json and export to file

      converter.csv_2_json_file("YOUR_CSV_FILE_PATH")
    
  • For convert csv to json as string:

      csv = "YOUR_CSV_STRING"
      json = converter.csv_2_json(csv)
      print(json) # Converted JSON String
    

Minimum Python Version Requirement is 3.7.0

FAQs


Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc