Skip to main content

jmespath custom functions for filtering AWS resources by tag

Project description

aws-jmespath-utils

Installation

pip3 install aws_jmespath_utils

Usage

import jmespath
from aws_jmespath_utils import jmespath_options

print(
    jmespath.search(
        'filter_tags(`["[!Na.]*="]`, @)',
        {
            "a":"b",
            "Tags": [
                {"Key": "Name", "Value": "jmespath-utils"},
                {"Key": "Nam", "Value": "jmespath-utils-nam"},
                {"Key": "Ebcd", "Value": "edfg"},
            ]    
        },
        options=jmespath_options
    )
)

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

aws_jmespath_utils-0.1.5.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

aws_jmespath_utils-0.1.5-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file aws_jmespath_utils-0.1.5.tar.gz.

File metadata

  • Download URL: aws_jmespath_utils-0.1.5.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.12 Darwin/23.5.0

File hashes

Hashes for aws_jmespath_utils-0.1.5.tar.gz
Algorithm Hash digest
SHA256 5c18beaa1ee413226c04320a3d0e6235cef477a9f19be27998913a6f4fe03928
MD5 6ceeabdb6bf5baac7ff2c68d9a56bb49
BLAKE2b-256 3ca57ba1e37619346cf1690745dc1da233cf057178263182fa6a28a9d03f5d20

See more details on using hashes here.

File details

Details for the file aws_jmespath_utils-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for aws_jmespath_utils-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 30acc43b3c83a932b107272b629399d97be96709b4ac2eeccc2b272e732d8920
MD5 f13fcbfaad630f18dbd4f561e3a63789
BLAKE2b-256 cc64cfd98cdcce8027fb796cdc09e6b422c1e335d1b51f1e5829e2304faca92b

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