Skip to main content

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

Project description

Python CSV to JSON Converter

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-csv2json-0.4.6.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

python_csv2json-0.4.6-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file python-csv2json-0.4.6.tar.gz.

File metadata

  • Download URL: python-csv2json-0.4.6.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for python-csv2json-0.4.6.tar.gz
Algorithm Hash digest
SHA256 1203fb1999483a0eff5e79783f2e75335dbb4dea9945e838de12011245d9e2a3
MD5 e0dff1b7555fb68cff07edad50713bdb
BLAKE2b-256 ae8d97223f9f70ef77116dd97ef8e0cdb3b7ddba77956f75be1b76e0fd23ea11

See more details on using hashes here.

File details

Details for the file python_csv2json-0.4.6-py3-none-any.whl.

File metadata

File hashes

Hashes for python_csv2json-0.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 28bf0691533d6e2908a7036b881b178ed141e9ac85897059051325d595c80b64
MD5 3f2ccb16c108138bee6aa39973527283
BLAKE2b-256 4a967666dbbc045bd7c102a4a118698725677d1bebf20ec13c1e5f944f31d08b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page