معرفی شرکت ها


excel2json-3-0.1.6


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Convert Excel Sheet into JSON file.
ویژگی مقدار
سیستم عامل -
نام فایل excel2json-3-0.1.6
نام excel2json-3
نسخه کتابخانه 0.1.6
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Toran Sahu
ایمیل نویسنده toran.sahu@yahoo.com
آدرس صفحه اصلی https://github.com/toransahu/excel2json-3
آدرس اینترنتی https://pypi.org/project/excel2json-3/
مجوز Distributed under terms of the AGPL license.
# Excel to JSON Converter [![Build Status](https://travis-ci.org/toransahu/excel2json-3.svg?branch=master)](https://travis-ci.org/toransahu/excel2json-3) [![PyPI version](https://badge.fury.io/py/excel2json-3.svg)](https://badge.fury.io/py/excel2json-3) ![Python Version](https://img.shields.io/badge/python-3%2C%203.6-yellow.svg) ![Issues](https://img.shields.io/github/issues/toransahu/excel2json-3.svg) ![Forks](https://img.shields.io/github/forks/toransahu/excel2json-3.svg) ![Stars](https://img.shields.io/github/stars/toransahu/excel2json-3.svg) ![License](https://img.shields.io/github/license/toransahu/excel2json-3.svg) [![Say Thanks](https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg)](https://saythanks.io/to/toransahu) A minimal API that converts MS Excel (.xls & .xlsx) files, or from a given URL into JSON files. ## Features - Download as package using [`pip`](https://pypi.org/project/pip/) and use in your code. - Supports both type of MS Excel file formats - MS Excel 2003 (.xls) - MS Excel 2007 (.xlsx) - It also comes with command line interface (CLI) which facilitates the conversion from URL or local MS Excel file to JSON files. Example: - GET file from URL & convert to JSON. ```bash excel2json-3 --urls https://example.com/example.xls ``` - GET file from disk & convert to JSON. ```bash excel2json-3 --file /home/ubuntu/Documents/example.xlsx ``` ## 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 ### Using [`pipenv`](https://pypi.org/project/pipenv/) (Recommended) ```bash pipenv install excel2json-3 ``` ### Using [`pip`](https://pypi.org/project/pip/) ```bash pip install excel2json-3 ``` ## Uses ### Convert MS Excel File to JSON file ```python from excel2json import convert_from_file EXCEL_FILE = '../example.xls' # or '../example.xlsx' convert(EXCEL_FILE) ``` ### Convert to JSON file directly from URL ```python 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 ### Using [`pipenv`](https://pypi.org/project/pipenv/) (Recommended) 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`](https://pypi.org/project/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 ```


نیازمندی

مقدار نام
- xlrd
- openpyxl
- requests


نحوه نصب


نصب پکیج whl excel2json-3-0.1.6:

    pip install excel2json-3-0.1.6.whl


نصب پکیج tar.gz excel2json-3-0.1.6:

    pip install excel2json-3-0.1.6.tar.gz