Skip to main content

No project description provided

Project description

EN | JA

License Language CI


AWS Chains

AWS Chains is a wrapper for writing boto3 as method chain.

DynamoChain

How to Use

  1. Create instance
    db = DynamoChain(table)
    
  2. Query to DynamoDB
    result = (
       db.key_condition(Key("ForumName").eq("Amazon DynamoDB"))
       .key_condition(Key("Subject").gte("DynamoDB Thread 1"))
       .filter(Attr("LastPostedBy").eq("User A"))
       .or_.filter(Attr("Views").eq(0))
       .limit(2)
       .desc()
       .query_all()
    )
    

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

awschains-0.0.2.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

awschains-0.0.2-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file awschains-0.0.2.tar.gz.

File metadata

  • Download URL: awschains-0.0.2.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for awschains-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b26678caca3bfb2535952eb82051b03e35af0ea05ae45d08475651cbc8507d1e
MD5 b4b2046cf9863c6e45f7cef12e01ad0f
BLAKE2b-256 8a93136c2318855a09b032020ed03df54459283bcedc3cebc498a42c024efb7c

See more details on using hashes here.

File details

Details for the file awschains-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: awschains-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for awschains-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 47a67b151082d1646faa029b3310a705d0bed3ba15a9d8ef7ac2a57fae3db7ed
MD5 fe31c7bdb0ebf9b9ccbe6996efe1c25b
BLAKE2b-256 d3baa28d33dcce33c9bddcdc0d57d1bd9d5c9f6b52b5f65286304349c359dcbd

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