{"id":27495,"library":"types-pynamodb","title":"types-pynamodb","description":"A dummy package (version 0.1) providing type stubs for PynamoDB. The actual type hints are under development; this stub package is not yet stable and has limited functionality. Release cadence is unknown.","status":"active","version":"0.1","language":"python","source_language":"en","source_url":"https://github.com/pynamodb/types-pynamodb","tags":["pynamodb","stubs","type-hints"],"install":[{"cmd":"pip install types-pynamodb","lang":"bash","label":"latest"}],"dependencies":[],"imports":[{"note":"types-pynamodb is a stub package; the actual classes live in pynamodb.","wrong":"from types_pynamodb import Model","symbol":"Model","correct":"from pynamodb.models import Model"}],"quickstart":{"code":"from pynamodb.models import Model\nfrom pynamodb.attributes import UnicodeAttribute\n\nclass MyModel(Model):\n    class Meta:\n        table_name = 'my-table'\n        host = os.environ.get('DYNAMODB_HOST', 'http://localhost:8000')\n    name = UnicodeAttribute(hash_key=True)\n\nmodel = MyModel('test')\nprint(model.name)","lang":"python","description":"Basic usage of PynamoDB with type hints provided by types-pynamodb."},"warnings":[{"fix":"Use pynamodb directly with type checking (mypy, pyright). If stubs are missing, consider generating them with stubgen.","message":"types-pynamodb 0.1 is a dummy package; it may not contain complete stubs. Rely on pynamodb's own type hints where possible.","severity":"gotcha","affected_versions":"0.1"},{"fix":"Watch for pynamodb 7.x which may include inline type hints.","message":"This stub package may be deprecated if PynamoDB ships its own type annotations in the future.","severity":"deprecated","affected_versions":"*"}],"env_vars":null,"search_vec":"'0.1':8 'actual':15 'cadenc':33 'develop':20 'dummi':5 'function':31 'hint':17,40 'limit':30 'packag':6,23 'provid':9 'pynamodb':3,13,36 'releas':32 'stabl':27 'stub':11,22,37 'type':2,10,16,39 'type-hint':38 'types-pynamodb':1 'unknown':35 'version':7 'yet':26","created_at":"2026-05-01T17:46:33.763768+00:00","updated_at":"2026-05-01T17:46:33.763768+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nModuleNotFoundError: No module named 'pynamodb'"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/types-pynamodb/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["type-stubs","aws","database"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"skip","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-08-01","install_tag":null}}