https://github.com/codophobia/key-value-cache-thrift-python
Implement a simple key value cache using thrift and Python
https://github.com/codophobia/key-value-cache-thrift-python
cache python3 thrift thrift-client thrift-protocol thrift-server
Last synced: 4 months ago
JSON representation
Implement a simple key value cache using thrift and Python
- Host: GitHub
- URL: https://github.com/codophobia/key-value-cache-thrift-python
- Owner: codophobia
- License: apache-2.0
- Created: 2023-12-30T14:37:51.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-22T00:01:03.000Z (about 2 years ago)
- Last Synced: 2024-04-24T00:29:49.044Z (almost 2 years ago)
- Topics: cache, python3, thrift, thrift-client, thrift-protocol, thrift-server
- Language: Python
- Homepage:
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/codophobia/key-value-cache-thrift-python/actions/workflows/build-test.yaml) [](https://github.com/codophobia/key-value-cache-thrift-python/actions/workflows/lint.yaml) [](https://github.com/codophobia/key-value-cache-thrift-python/actions/workflows/release.yaml)  
## key-value-cache-thrift-python
Implement a simple key value cache using thrift and Python
## Set up virtual environment
```
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
```
## Start the cache server
```
python3 -m cache run-server
```
## Run the client
```
python3 -m cache run-client
```
## Run tests
```
pytest cache
```
## Run flake
```
flake8 cache --exclude gen
```