Skip to main content

Convert Tabular Data to JSON

Project description

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

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

Table2JSON-2.0.1.tar.gz (14.1 kB view details)

Uploaded Source

Built Distributions

Table2JSON-2.0.1-py310-none-any.whl (18.5 kB view details)

Uploaded Python 3.10

Table2JSON-2.0.1-py39-none-any.whl (18.5 kB view details)

Uploaded Python 3.9

Table2JSON-2.0.1-py38-none-any.whl (18.5 kB view details)

Uploaded Python 3.8

Table2JSON-2.0.1-py37-none-any.whl (18.5 kB view details)

Uploaded Python 3.7

File details

Details for the file Table2JSON-2.0.1.tar.gz.

File metadata

  • Download URL: Table2JSON-2.0.1.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for Table2JSON-2.0.1.tar.gz
Algorithm Hash digest
SHA256 27939e5cba0513ee8b4ef97a8ef9258a9e4c87418f61672c31addcb7918481c1
MD5 5aceac1c9567546540b1fbdab0c03267
BLAKE2b-256 e49f64b018fc0aba75a9668f7adb1d39d1a421dc6f67f092dcc3643916036dc1

See more details on using hashes here.

File details

Details for the file Table2JSON-2.0.1-py310-none-any.whl.

File metadata

  • Download URL: Table2JSON-2.0.1-py310-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3.10
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for Table2JSON-2.0.1-py310-none-any.whl
Algorithm Hash digest
SHA256 16cf8a9bc8ac1c8c9e000b874cc56aef3b946f1efa3dba28f2f3d7646e659493
MD5 a6ad814b06f4b844315b43139eb8e9af
BLAKE2b-256 5085f3a98bf60b5b767a9842e1519e3e1d18127a8d36484c324b44f5a7ef4352

See more details on using hashes here.

File details

Details for the file Table2JSON-2.0.1-py39-none-any.whl.

File metadata

  • Download URL: Table2JSON-2.0.1-py39-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for Table2JSON-2.0.1-py39-none-any.whl
Algorithm Hash digest
SHA256 7e5c7321cc78101e1758407008aaa33e7a66178ac80c5562b238d462c0cdfdc7
MD5 264ab4519ebf34a343b27f8ca0cf95e2
BLAKE2b-256 b9949e78e3791810a80fafce0ecd8f309dcaca6098fca21e2fd27ff05e61011a

See more details on using hashes here.

File details

Details for the file Table2JSON-2.0.1-py38-none-any.whl.

File metadata

  • Download URL: Table2JSON-2.0.1-py38-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for Table2JSON-2.0.1-py38-none-any.whl
Algorithm Hash digest
SHA256 8efd775f49e8194b6632f1bd8fc8ead14226cb68e0557fbabcff7208087e70ec
MD5 f7bba93448430a5fbafa5b9211923cdf
BLAKE2b-256 f3024b37a62e2e7a3448272c8e98d7a17d5fc8362c0d2c06d7e74db14eabd37b

See more details on using hashes here.

File details

Details for the file Table2JSON-2.0.1-py37-none-any.whl.

File metadata

  • Download URL: Table2JSON-2.0.1-py37-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3.7
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for Table2JSON-2.0.1-py37-none-any.whl
Algorithm Hash digest
SHA256 1e5f148d10f4e0d844a87b5ee9c873c533ebae826227604767573386285461f6
MD5 df7bc816ff7363d359dcb645436e37f5
BLAKE2b-256 8f70fa7ec3c98f6279b8700e30f3988d77144123c52daedd285c3cd0032a8812

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