{"id":20791477,"url":"https://github.com/kvtools/dynamodb","last_synced_at":"2026-05-25T04:04:19.997Z","repository":{"id":59047334,"uuid":"533847617","full_name":"kvtools/dynamodb","owner":"kvtools","description":"Valkeyrie: dynamodb","archived":false,"fork":false,"pushed_at":"2025-01-17T12:12:40.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-17T13:28:36.587Z","etag":null,"topics":["dynamodb","go","golang","kv-store","valkeyrie"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kvtools.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-07T16:25:08.000Z","updated_at":"2025-01-17T12:12:41.000Z","dependencies_parsed_at":"2024-06-20T16:30:02.462Z","dependency_job_id":"c145e455-d4d1-4b13-8ae3-2d6471d630dc","html_url":"https://github.com/kvtools/dynamodb","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvtools%2Fdynamodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvtools%2Fdynamodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvtools%2Fdynamodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvtools%2Fdynamodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kvtools","download_url":"https://codeload.github.com/kvtools/dynamodb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243136235,"owners_count":20241988,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dynamodb","go","golang","kv-store","valkeyrie"],"created_at":"2024-11-17T15:45:02.501Z","updated_at":"2025-12-26T04:40:19.340Z","avatar_url":"https://github.com/kvtools.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Valkeyrie DynamoDB\n\n[![GoDoc](https://godoc.org/github.com/kvtools/dynamodb?status.png)](https://godoc.org/github.com/kvtools/dynamodb)\n[![Build Status](https://github.com/kvtools/dynamodb/actions/workflows/build.yml/badge.svg)](https://github.com/kvtools/dynamodb/actions/workflows/build.yml)\n[![Go Report Card](https://goreportcard.com/badge/github.com/kvtools/dynamodb)](https://goreportcard.com/report/github.com/kvtools/dynamodb)\n\n[`valkeyrie`](https://github.com/kvtools/valkeyrie) provides a Go native library to store metadata using Distributed Key/Value stores (or common databases).\n\n## Compatibility\n\nA **storage backend** in `valkeyrie` implements (fully or partially) the [Store](https://github.com/kvtools/valkeyrie/blob/master/store/store.go#L69) interface.\n\n| Calls                 | DynamoDB |\n|-----------------------|:--------:|\n| Put                   |   🟢️    |\n| Get                   |   🟢️    |\n| Delete                |   🟢️    |\n| Exists                |   🟢️    |\n| Watch                 |    🔴    |\n| WatchTree             |    🔴    |\n| NewLock (Lock/Unlock) |   🟢️    |\n| List                  |   🟢️    |\n| DeleteTree            |   🟢️    |\n| AtomicPut             |   🟢️    |\n| AtomicDelete          |   🟢️    |\n\n## Examples\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"log\"\n\n\t\"github.com/kvtools/dynamodb\"\n\t\"github.com/kvtools/valkeyrie\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\n\tconfig := \u0026dynamodb.Config{\n\t\t\tBucket: \"example\",\n\t}\n\n\tkv, err := valkeyrie.NewStore(ctx, dynamodb.StoreName, []string{\"localhost:8500\"}, config)\n\tif err != nil {\n\t\tlog.Fatal(\"Cannot create store\")\n\t}\n\n\tkey := \"foo\"\n\n\terr = kv.Put(ctx, key, []byte(\"bar\"), nil)\n\tif err != nil {\n\t\tlog.Fatalf(\"Error trying to put value at key: %v\", key)\n\t}\n\n\tpair, err := kv.Get(ctx, key, nil)\n\tif err != nil {\n\t\tlog.Fatalf(\"Error trying accessing value at key: %v\", key)\n\t}\n\n\terr = kv.Delete(ctx, key)\n\tif err != nil {\n\t\tlog.Fatalf(\"Error trying to delete key %v\", key)\n\t}\n\n\tlog.Printf(\"value: %s\", string(pair.Value))\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkvtools%2Fdynamodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkvtools%2Fdynamodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkvtools%2Fdynamodb/lists"}