GithubHelp home page GithubHelp logo

amoghmadan / table2json Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 170 KB

Convert Tabular Data to JSON

Home Page: https://pypi.org/project/Table2JSON/

License: MIT License

Python 100.00%
utilties cli csv psv tsv mysql sqlite neo4j pandas python json

table2json's Introduction

Table2JSON

Convert Tabular Data to JSON

Python 3.7 <= 3.X < 3.11

Setup CSV and SQLite (Basic Installation)

pip install table2json  # Setup CSV and SQLite by Default

Setup (All Installation)

pip install table2json[all]  # Setup All

Debian [Ubuntu, Mint and Others]

sudo apt-get install python3.X-venv python3.X-dev libssl-dev libmysqlclient-dev build-essential

Note (Python): Replace X with Python Minor Version

Redhat [CentOS, Rocky, Fedora and Others]

sudo yum install python3.X python3.X-devel ssl-devel mysql-devel

Note (Python): Replace X with Python Minor Version

Note (Fedora): Replace yum with dnf

Caution: Not a tried and tested method but known to work. If mysql-devel thing does not work replace mysqlclient package with pymysql package in the requirements.txt, setup.cfg, tox.ini and the mysql.py file.

Windows

Download, MS VS C++ Redistributable: Microsoft Visual Studio C++ Redistributable

Download, Python 3.X: Python 3.X

Note (Python): Replace X with Python Minor Version

Requirements [Build]

pip install -r requirements.txt

Requirements [Development]

pip install -r requirements.txt
pip install -r requirements/generic/common.txt
pip install -r requirements/generic/csv.txt
pip install -r requirements/generic/excel.txt
pip install -r requirements/generic/mysql.txt
pip install -r requirements/generic/neo4j.txt
pip install -r requirements/generic/sqlite.txt

Generate [Build (Distribution and Wheel)]

tox -c . -e py3X-build

Note: Replace X with Python Minor Version

Install [Wheel]

cd dist
pip install Table2JSON-{version}-py3X-none-any.whl[all]  # All Optionals Will Be Installed

Note: Replace X with Python Minor Version

Generate [Executable]

tox -c . -e py3X-build-exe  # All Optionals Will Be Installed

Note (Python): Replace X with Python Minor Version

Help

Table2JSON -h

CSV

Table2JSON csv -h

Excel

Table2JSON excel -h

MySQL

Table2JSON mysql -h

Neo4j

Table2JSON neo4j -h

SQLite

Table2JSON sqlite -h

table2json's People

Contributors

amoghmadan avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

table2json's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.