diff options
| author | Yuval Adam <_@yuv.al> | 2024-05-09 11:51:05 +0200 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2024-05-09 11:51:05 +0200 |
| commit | 45739310cf9e0fa6a120651b1fa2c71e32f8aee9 (patch) | |
| tree | dc59c3ce82e1538fce32c9b63ea203454f1f8c19 | |
| parent | f8c99a7b08210e3c1ae5abc8d11670b05f33ccde (diff) | |
Update README, bump v1.1.0v1.1.0
| -rw-r--r-- | README.md | 18 | ||||
| -rw-r--r-- | pyproject.toml | 2 |
2 files changed, 19 insertions, 1 deletions
@@ -65,6 +65,24 @@ List all keys existing in stash: keys = stash.list_keys() ``` +Delete a key: + +```python +stash.delete("foo") +``` + +Check for key existance: + +```python +stash.exists("foo") +``` + +Drop all files (careful, this deletes everything): + +```python +stash.drop() +``` + ## License [MIT](LICENSE) diff --git a/pyproject.toml b/pyproject.toml index b130807..6be95f6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ymlstash" -version = "1.0.2" +version = "1.1.0" description = "A simple ORM-like utility for operating on local YAML files via Python dataclasses" authors = ["Yuval Adam <_@yuv.al>"] readme = "README.md" |
