Skip to content

Commit

Permalink
chore: update readme and sort imports
Browse files Browse the repository at this point in the history
  • Loading branch information
iunary committed May 16, 2023
1 parent 9824f8a commit 81e0640
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
4 changes: 3 additions & 1 deletion README.md
@@ -1,3 +1,5 @@
[![Burrowkv](https://github.com/iunary/burrowkv/actions/workflows/app.yml/badge.svg)](https://github.com/iunary/burrowkv/actions/workflows/app.yml)

# Burrowkv

Burrowkv is a simple key-value store implementation in Python. It provides basic functionality to store and retrieve key-value pairs, as well as additional features such as JSON serialization and deserialization.
Expand Down Expand Up @@ -60,4 +62,4 @@ store.from_json(json_data)
```

## License
This project is licensed under the MIT License. See the LICENSE file for more information.
This project is licensed under the MIT License. See the LICENSE file for more information.
6 changes: 3 additions & 3 deletions burrowkv/burrowkv.py
@@ -1,10 +1,10 @@
"""Burrowkv key value store implementation in python
"""
import threading
import json
import threading
from collections import defaultdict
from contextlib import contextmanager
from typing import Optional, List, Tuple
from typing import List, Optional, Tuple


class Burrowkv:
Expand Down Expand Up @@ -187,7 +187,7 @@ def __len__(self) -> int:
int: The number of key-value pairs.
"""
return len(self.__store)

def __repr__(self) -> str:
"""Return the store representation
Expand Down
2 changes: 1 addition & 1 deletion setup.py
@@ -1,6 +1,6 @@
from setuptools import find_packages, setup

VERSION = "0.0.3"
VERSION = "0.0.4"

with open("README.md", "r") as readme:
long_description = readme.read()
Expand Down
1 change: 1 addition & 0 deletions tests/test_burrowkv.py
@@ -1,4 +1,5 @@
import unittest

from burrowkv import Burrowkv


Expand Down

0 comments on commit 81e0640

Please sign in to comment.