Extracts data structure from various sources.
Project description
With this tool you can inspect various data sources and generate data inventory tables. Data inventory table essentially contains list of tables and table columns of a specified data source.
Inventory tables are designed to be easily readable and editable using a spreadsheet program.
Here is an example how you can generate inventory table from a CSV file:
inventory-table inspect cvs data.cvs
How to install
In order to install this tool, first you need to install Python. When you have Python installed, then install data inventory tool like this:
pip install data-inventory-tool
Generating inventory table
PostgreSQL
For PostgreSQL first you need to install PostgreSQL driver:
pip install psycopg2-binary
Then generate inventory table like this:
inventory-table inspect sql postgresql://user:password@host:port/db
MySQL
For MySQL first you need to install MySQL driver:
pip install mysqlclient
Then generate inventory table like this:
inventory-table inspect sql mysql+mysqldb://user:password@host:port/db
Troubleshooting
If you get errors like this:
Error: Database driver not found: No module named 'psycopg2'. See: https://docs.sqlalchemy.org/en/13/dialects/index.html
That means, you don’t have a required database driver installed.
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
Built Distribution
File details
Details for the file data-inventory-tool-0.1.5.tar.gz
.
File metadata
- Download URL: data-inventory-tool-0.1.5.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.3 Linux/4.19.126-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae9b40b7d506366efe6c63fc9d6441ba11f882578937db143140990b89d79543 |
|
MD5 | ae0560797138052cfa123e70354fc973 |
|
BLAKE2b-256 | 11dac45ea128742e547a8dd29867b3acc1e8e3194fbde932cdfdf4e69a4463ff |
File details
Details for the file data_inventory_tool-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: data_inventory_tool-0.1.5-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.3 Linux/4.19.126-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee67aaf8c1cfdd237aae02e6157732ffc110f618d409d49a3207088415103b51 |
|
MD5 | 1b1000fe4e2850c88cc0d62999e7308f |
|
BLAKE2b-256 | f6f80fcf92df3810764903d6d02760e417c38a0a21c1b1a8f72163d153dfb2e9 |