Generate automated data dictionary from files and databases
Project description
DataDictionary
AutoDataDictionary generates data dictionary from source files and database tables including:
- Column Name
- Sample Value
- Source File Name
- Non Null Values Count
- Unique Values Count
- Data Type
- Unique Values List
How to use
Generate data dictionary from db
import autodatadictionary as ad
ad.to_dictionary_from_db(
sql_alchemy_connection_string='postgresql://username:password@domain:5432/db',
schema='schema')
Generate data dictionary from csv files
import autodatadictionary as ad
ad.to_dictionary_from_file(['/path/data1.csv', '/path/data2.csv', '/path/dataN.csv'], sep=',')
Generate data dictionary from dataframe
import autodatadictionary as ad
titanic = pd.read_csv('https://raw.githubusercontent.com/datasciencedojo/datasets/master/titanic.csv')
ad.to_dictionary_from_dataframe([titanic])
ad.to_dictionary_from_dataframe(dataframes=[titanic], source_names=['titanic_dataframe'], source=True)
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autodatadictionary-0.0.7.tar.gz.
File metadata
- Download URL: autodatadictionary-0.0.7.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0674e8631eb15c21ab46f33fa2499a2d4cab1fb31f06891e73bb2f9a8e6f5fe5
|
|
| MD5 |
aa08355187999e454c37b5a1b7014705
|
|
| BLAKE2b-256 |
6653906ec5f0ea2aab8ed3e192727702723eef1879d88416ccb1c060bae62609
|
File details
Details for the file autodatadictionary-0.0.7-py3-none-any.whl.
File metadata
- Download URL: autodatadictionary-0.0.7-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
529ae9a7f7649d8ba051c5b237a5d4d51559dd71c4c7ab3f61d1f66814435d5b
|
|
| MD5 |
e630ce06db07e1b8cd7cecd5dfb5b311
|
|
| BLAKE2b-256 |
9feb647b812c6f8c1d36d0f3fc5ccc569c72fd4043668189c19c267343d09547
|