Skip to main content

Check for details in Glue Catalog and tell if its outdated

Project description

Python 3.7 PyPI version License: MIT Language grade: Python Twitter Follow

Check Glue Catalog

Get Glue catalog details to check if tables are outdated.

pip install check-glue-catalog
from check_glue_catalog import get_tables

result = get_tables(catalog_name="glue_database_name")

print(result)
{
  "outdated": 3,
  "updated": 23,
  "total": 26,
  "outdated_list": [
    {
      "table_name": "table_name_1",
      "due_days": 2,
      "rows": 7,
      "last_updated": "2020-03-10 05:43:37"
    },
    {
      "table_name": "other_table",
      "due_days": 76,
      "rows": 5,
      "last_updated": "2019-12-27 11:08:13"
    },
    {
      "table_name": "some_table",
      "due_days": 97,
      "rows": 5,
      "last_updated": "2019-12-06 16:22:52"
    }
  ]
}

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

check_glue_catalog-0.1.9.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

check_glue_catalog-0.1.9-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file check_glue_catalog-0.1.9.tar.gz.

File metadata

  • Download URL: check_glue_catalog-0.1.9.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.5

File hashes

Hashes for check_glue_catalog-0.1.9.tar.gz
Algorithm Hash digest
SHA256 e91a1b69aabfea41a18b16f406abea292656ba075baa901c4409c1d0f85dd3a0
MD5 becf0356ac6863c4a096c2c740c06db7
BLAKE2b-256 ed9eb5345c439bcfe11f34c07757b616362c3d90ee9f32d7e092a3ee3fcb2433

See more details on using hashes here.

File details

Details for the file check_glue_catalog-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: check_glue_catalog-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.5

File hashes

Hashes for check_glue_catalog-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 617ca064a7ff73f25edb06fdf8ffdec9f8fac9bd53ddd2e75c7eda6010adb99f
MD5 1d2db2b41f090b81f864b8627dc2c5c0
BLAKE2b-256 24e5d0ad7c719b89c734726e618ed2a600d0f782d73fe9eb216fd7cd6d2ef0d9

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