Skip to content

Commit e232500

Browse files
store creation / removal improved
1 parent 1559d42 commit e232500

4 files changed

Lines changed: 8 additions & 9 deletions

File tree

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Montycat Python Client
22

3-
MontyCat is a Python client for **Montycat**, a high-performance, distributed NoSQL store designed with a cutting-edge Data Mesh architecture. This client empowers developers to seamlessly manage and query their data while leveraging the unparalleled flexibility and scalability offered by NoSQL databases within a decentralized data ownership paradigm.
3+
MontyCat is a Python client for **Montycat**, a high-performance NoSQL store designed with a cutting-edge Data Mesh architecture. This client empowers developers to seamlessly manage and query their data while leveraging the unparalleled flexibility and scalability offered by NoSQL databases within a decentralized data ownership paradigm.
44

55
## Key Features
66

@@ -10,12 +10,11 @@ MontyCat is a Python client for **Montycat**, a high-performance, distributed No
1010
- 🗂️ **Data Mesh Design:** Empowers cross-functional teams to own, manage, and serve their own data, enhancing collaboration and eliminating bottlenecks.
1111
- 🔄 **Asynchronous Support:** Built on `asyncio` for ultra-responsive, non-blocking operations, enabling high concurrency and real-time data processing.
1212
- 🛡️ **Memory Safety:** Implements state-of-the-art memory management practices, minimizing the risk of memory-related issues and enhancing stability.
13-
- 📊 **Smart Data Governance:** Integrates intelligent governance features to ensure data quality and compliance across the distributed architecture.
13+
- 📊 **Smart Data Governance:** Integrates intelligent governance features to ensure data quality and compliance across the architecture.
1414
- 🤝 **Seamless Integration:** Offers a simple and intuitive API for effortless integration with Python applications, reducing time-to-value.
1515
- 📚 **Robust Documentation:** Comprehensive and user-friendly documentation to accelerate onboarding and maximize productivity.
1616

1717
## Installation
18-
1918
You can install Python client for Montycat using `pip`:
2019

2120
```bash

build_and_push.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Configuration
44
PACKAGE_NAME="montycat"
5-
VERSION="0.1.43"
5+
VERSION="0.1.44"
66
PYPI_TOKEN="${PYPI_TOKEN:-}"
77

88
# Exit on any error

montycat/core/engine.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ async def _execute_query_with_credentials(self, command: List[Any]) -> Any:
8484
})
8585
return await send_data(self.host, self.port, query)
8686

87-
async def create_store(self, persistent: bool = False) -> Any:
87+
async def create_store(self) -> Any:
8888
"""
8989
Creates a new data store on the server.
9090
@@ -95,10 +95,10 @@ async def create_store(self, persistent: bool = False) -> Any:
9595
bool
9696
"""
9797
return await self._execute_query_with_credentials([
98-
'create-store', "store", self.store, "persistent", "y" if persistent else "n",
98+
'create-store', "store", self.store
9999
])
100100

101-
async def remove_store(self, persistent: bool = False) -> Any:
101+
async def remove_store(self) -> Any:
102102
"""
103103
Removes an existing data store from the server.
104104
@@ -109,7 +109,7 @@ async def remove_store(self, persistent: bool = False) -> Any:
109109
bool
110110
"""
111111
return await self._execute_query_with_credentials([
112-
'remove-store', "store", self.store, "persistent", "y" if persistent else "n"
112+
'remove-store', "store", self.store
113113
])
114114

115115
async def grant_to(self, owner: str, permission: Union[str, Permission], keyspaces: Optional[Union[List[str], str, None]] = None) -> Any:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='montycat',
5-
version='0.1.43',
5+
version='0.1.44',
66
description='A Python client for MontyCat, NoSQL store utilizing Data Mesh architecture.',
77
packages=find_packages(),
88
zip_safe=False,

0 commit comments

Comments
 (0)