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

excel2json-3

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

excel2json-3

Convert Excel Sheet into JSON file.

  • 0.1.6
  • PyPI
  • Socket score

Maintainers
1

Excel to JSON Converter

Build Status PyPI version Python Version Issues Forks Stars License Say Thanks

A minimal API that converts MS Excel (.xls & .xlsx) files, or from a given URL into JSON files.

Features

Contribution

You can contribute in following ways:

  • Report bugs
  • Add more "APIs"
  • Give suggestions to make it better
  • Fix issues & submit a pull request

Installation

pipenv install excel2json-3

Using pip

pip install excel2json-3

Uses

Convert MS Excel File to JSON file

from excel2json import convert_from_file


EXCEL_FILE = '../example.xls'  # or '../example.xlsx'
convert(EXCEL_FILE)

Convert to JSON file directly from URL

from excel2json import convert_from_url


EXCEL_FILE_URL = 'https://www.example.com/example.xlsx'
convert(EXCEL_FILE_URL)

DEVELOPEMENT

Pre-requisites

  1. Python 3

Create Virtual Enviroment

  1. Install pipenv

    pip install pipenv
    
  2. Create env

    cd excel2json-3  # cd <repo_dir>
    pipenv --three install
    
  3. Activate env

    pipenv shell
    
  4. Install requirements from Pipefile

    pipenv sync
    

Using virtualenv

  1. Install virtualenv

    pip install virtualenv
    
  2. Create virtualenv

    mkdir myvenv
    cd myvenv
    virtualenv myvenv
    
  3. Activate myvenv venv

    source myvenv/bin/activate
    
    or 
    
    . myvenv/bin/activate
    
  4. Install from requirements.txt

    pip install -r requirements.txt
    

Testing

```
pytest tests/test.py
``` 

Keywords

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