CUREd+ metadata generator
The CUREd+ metadata generator tool generates a list of all the columns in every table in the database.
The data in the target bucket must be arranged in the following directory structure: <data_set_id>/<table_id>/data/*.parquet
This script will generate a CSV file with the following columns:
data_set_idtable_idcolumn_namedata_type
Installation
Ensure Python is installed. (See this tutorial.)
Install AWS command-line interface (CLI).
Configure your access key using the
aws configure command.
Install this package using the Python package manager:
pip install curedcolumns
Usage
The basic usage of this app is to specify the AWS CLI profile and the bucket name you want to inspect.
curedcolumns --profile $AWS_PROFILE $AWS_BUCKET --output $OUTPUT_FILE
You should create an AWS profile using the aws configure command.
aws configure --profile $AWS_PROFILE
To view the command line options:
$ curedcolumns --help
usage: curedcolumns [-h] [-v] [--version] [-l LOGLEVEL] [--prefix PREFIX] [--no-sign-request] [--profile PROFILE] [-d DELIMITER] [-o OUTPUT] [-f] bucket
List all the field names for all the data sets in a bucket on AWS S3 object storage and display the metadata in CSV format. This assumes a folder structure in this layout: <data_set_id>/<table_id>/data/*.parquet
positional arguments:
bucket S3 bucket location URI
options:
-h, --help show this help message and exit
-v, --verbose
--version Show the version number of this tool
-l LOGLEVEL, --loglevel LOGLEVEL
--prefix PREFIX Limits the response to keys that begin with the specified prefix.
--no-sign-request
--profile PROFILE AWS profile to use
-d DELIMITER, --delimiter DELIMITER
Column separator character
-o OUTPUT, --output OUTPUT
Output file path. Default: screen
-f, --force Overwrite output file if it already exists
Example
Use the AWS CLI profile named "clean"
curedcolumns --profile clean s3://my_bucket.aws.com
Development
See CONTRIBUTING.md.
Metadata
Release files for curedcolumns 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| curedcolumns-0.1.3.tar.gz | 8.1 kB | Without provenance | Details for curedcolumns-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| curedcolumns-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for curedcolumns-0.1.3-py3-none-any.whl |
Total release size: 16.5 kB
Release files / curedcolumns-0.1.3.tar.gz
| Download URL | curedcolumns-0.1.3.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47e61cc01c71eee0bab990611142ea525deafb9a52b09532f3b7c43c96628d25
|
|
BLAKE2b-256 checksum How to use checksums |
520846940ed02d756653b5aa64d7260a2925d210eee31db860037e887bd72a27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.8
|
Release files / curedcolumns-0.1.3-py3-none-any.whl
| Download URL | curedcolumns-0.1.3-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a335636ee79ac076934055e757a3470dfa9c34f4d687ba0274e6fc87116007c4
|
|
BLAKE2b-256 checksum How to use checksums |
2dcb6a3d5c93bf8acbd19d8284ef1a15369d3f6678ee78a31fd0c8a5b2f7affb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.8
|
Security for curedcolumns 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.