Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dineshsonachalam/lucid-dynamodb
/ functions
Functions
38 in github.com/dineshsonachalam/lucid-dynamodb
⨍
Functions
38
◇
Types & classes
6
↓ 17 callers
Method
update_item
Update an item Args: table_name (str): Table name key (dict): Partition key, Sort Key(Optional) attribute
LucidDynamodb/operations.py:206
↓ 10 callers
Method
read_item
Read an Item Args: table_name (str): Table name key (dict): Partition key, Sort Key(Optional) Returns:
LucidDynamodb/operations.py:153
↓ 5 callers
Method
create_item
Create a new Item Args: table_name (str): Table name item (dict): Item with Partition key, Sort Key(Optional)
LucidDynamodb/operations.py:108
↓ 4 callers
Method
__init__
(self, table_name, key, message="Item doesn't exist")
LucidDynamodb/exceptions.py:41
↓ 4 callers
Method
read_all_table_names
Get all table names Returns: list: List of table names
LucidDynamodb/operations.py:85
↓ 4 callers
Method
read_items_by_filter
Read items by filter The Query operation will return all of the items from the table or index with that partition key value. Args:
LucidDynamodb/operations.py:174
↓ 3 callers
Method
create_table
Create a new table Args: table_name (str): Table name key_schema (list): A key schema specifies the attributes that m
LucidDynamodb/operations.py:27
↓ 3 callers
Method
delete_attribute
Delete an attribute from an item Args: table_name (str): Table name key (dict): Partition key, Sort Key(Optional)
LucidDynamodb/operations.py:274
↓ 3 callers
Method
delete_item
Delete an Item Args: table_name (str): Table name key (dict): Partition key, Sort Key(Optional) conditio
LucidDynamodb/operations.py:125
↓ 3 callers
Method
delete_table
Delete a table Args: table_name (str): Table name Returns: bool: Table deletion is successful or failed
LucidDynamodb/operations.py:65
↓ 3 callers
Method
increase_attribute_value
Increase an existing attribute value Args: table_name (str): Table name key (dict): Partition key, Sort Key(Optional
LucidDynamodb/operations.py:239
↓ 2 callers
Function
generate_expression_attribute_values
Generate Expression Attribute Values Args: attributes_to_update (dict): Attributes to update operation (str): Operation category
LucidDynamodb/utils.py:13
↓ 1 callers
Function
create_attribute_names
Create attribute names Args: attribute_names (str): Attribute names Returns: str: Expression attribute names
LucidDynamodb/utils.py:1
↓ 1 callers
Function
get_lucid_dynamodb_version
()
setup.py:10
Method
__init__
(self, region_name=None, aws_access_key_id=None, aws_secret_access_key=None)
LucidDynamodb/operations.py:13
Method
__init__
(self, table_name, message="Table already exists")
LucidDynamodb/exceptions.py:9
Method
__init__
(self, table_name, message="Table doesn't exist")
LucidDynamodb/exceptions.py:25
Method
__init__
(self, table_name, message="Item doesn't exist")
LucidDynamodb/exceptions.py:57
Method
__init__
(self, message)
LucidDynamodb/exceptions.py:71
Method
__str__
(self)
LucidDynamodb/exceptions.py:14
Method
__str__
(self)
LucidDynamodb/exceptions.py:30
Method
__str__
(self)
LucidDynamodb/exceptions.py:47
Method
__str__
(self)
LucidDynamodb/exceptions.py:62
Method
__str__
(self)
LucidDynamodb/exceptions.py:75
Function
test_add_attribute_to_list
()
tests/test_crud.py:210
Function
test_add_attributes_to_string_set
()
tests/test_crud.py:236
Function
test_add_new_attribute
()
tests/test_crud.py:186
Function
test_create_new_item
()
tests/test_crud.py:80
Function
test_create_new_table
()
tests/test_crud.py:56
Function
test_delete_attribute_from_item
()
tests/test_crud.py:288
Function
test_delete_attribute_from_string_set
()
tests/test_crud.py:262
Function
test_delete_item
()
tests/test_crud.py:335
Function
test_delete_table
()
tests/test_crud.py:353
Function
test_get_all_table_name
()
tests/test_crud.py:74
Function
test_increase_attribute_value
()
tests/test_crud.py:140
Function
test_read_item
()
tests/test_crud.py:122
Function
test_read_items_by_filter
()
tests/test_crud.py:306
Function
test_update_existing_attribute
()
tests/test_crud.py:162