google-datacatalog-connectors-commons
Common resources for Data Catalog connectors.
Disclaimer: This is not an officially supported Google product.
Table of Contents
1. Installable file build process
1.1. Get the code
git clone https://github.com/GoogleCloudPlatform/datacatalog-connectors
cd datacatalog-connectors/google-datacatalog-connectors-commons
1.2. Virtualenv
Using virtualenv is optional, but strongly recommended.
1.2.1. Install Python 3.6
1.2.2. Create and activate a virtualenv
pip3 install --upgrade virtualenv
python3 -m virtualenv --python python3.6 env
source ./env/bin/activate
2. Developer environment
2.1. Install and run YAPF formatter
pip install --upgrade yapf
# Auto update files
yapf --in-place --recursive src tests
# Show diff
yapf --diff --recursive src tests
# Set up pre-commit hook
# From the root of your git project.
curl -o pre-commit.sh https://raw.githubusercontent.com/google/yapf/master/plugins/pre-commit.sh
chmod a+x pre-commit.sh
mv pre-commit.sh .git/hooks/pre-commit
2.2. Install and run Flake8 linter
pip install --upgrade flake8
flake8 src tests
2.3. Install the package in editable mode (i.e. setuptools “develop mode”)
pip install --editable .
2.4. Run the unit tests
python setup.py test
Metadata
Release files for google-datacatalog-connectors-commons 0.6.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| google-datacatalog-connectors-commons-0.6.9.tar.gz | 17.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| google_datacatalog_connectors_commons-0.6.9-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 47.2 kB
Release files / google-datacatalog-connectors-commons-0.6.9.tar.gz
| Download URL | google-datacatalog-connectors-commons-0.6.9.tar.gz |
|---|---|
| Size | 17.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06dfc3924d0ca75672f7e53883bdf9b2f259e9ee1c1ee1e6184c088af25dd11a
|
|
BLAKE2b-256 checksum How to use checksums |
6c81c267ad2a8e2aeb8651f423756bd0ea38c3befed2965f9915ab4156629189
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.10
|
Release files / google_datacatalog_connectors_commons-0.6.9-py2.py3-none-any.whl
| Download URL | google_datacatalog_connectors_commons-0.6.9-py2.py3-none-any.whl |
|---|---|
| Size | 29.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d03c767c05fb480e7bc761b3b093694172d9791705c6f8823392f4065f097858
|
|
BLAKE2b-256 checksum How to use checksums |
a4824318f8117437131deb181ca41808d4697db31196fd312e34b77d00fd3f93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.10
|