Skip to content

Commit 16dc651

Browse files
committed
Merge branch 'release/v0.0.6'
2 parents 8ef82d3 + 9f26ca5 commit 16dc651

File tree

7 files changed

+38
-6
lines changed

7 files changed

+38
-6
lines changed

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ keywords:
1717
- file
1818
- rocket
1919
license: MIT
20-
version: 0.0.5
20+
version: 0.0.6

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,13 @@ Contributions are welcome. Please open an issue to discuss what you would like t
182182

183183
### Publish to Pypi
184184

185+
***Local:***
185186
```shell
186187
python -m pip install build twine
187188
python3 -m build
188189
twine check dist/*
189190
twine upload dist/*
190-
```
191+
```
192+
193+
***Live:***
194+
No need do nothing GitHub have Workflow action its publish auto

Samples/Post/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Sample implementation
2+
3+
1) create virtual environment `virtual ./.venv`
4+
2) activate it ` . ./venv/bin/activate`
5+
3) install dependencies `pip install Rocket-Store`
6+
4) run test `python test.py`

Samples/Post/test.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
from Rocketstore import Rocketstore, _ADD_AUTO_INC
2+
3+
rs = Rocketstore(**{"data_storage_area": "./test"})
4+
5+
print(rs)
6+
7+
dataInput = {
8+
"content": "hello asfalsdfsalfaslflasl",
9+
"embeddings": [0.2, 0.31231312, 0.111],
10+
}
11+
12+
13+
out = rs.post("glOtc6EzYQTZEt0J18cU1f4Ycdz1H8WWTDVkBQTp1Gv2BWgb",
14+
"memories", dataInput)
15+
16+
print(out)
17+
18+
19+
out = rs.post("glOtc6EzYQTZEt0J18cU1f4Ycdz1H8WWTDVkBQTp1Gv2BWgb",
20+
"memories", dataInput, _ADD_AUTO_INC)
21+
22+
print(out)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "Rocket-Store"
7-
version = "0.0.5"
7+
version = "0.0.6"
88
authors = [
99
{ name="Anton Sychev", email="[email protected]" },
1010
]

src/Rocketstore/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
__version__,
2323
)
2424

25-
from .Rocketstore import Rocketstore
25+
from .Rocketstore import Rocketstore, _ORDER, _ORDER_DESC, _ORDERBY_TIME, _LOCK, _DELETE, _KEYS, _COUNT, _ADD_AUTO_INC, _ADD_GUID, _FORMAT_JSON, _FORMAT_NATIVE, _FORMAT_XML, _FORMAT_PHP

src/Rocketstore/__version__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
__title__ = "RocketStore"
1212
__description__ = "Rocket Store (Python) - Fast and Simple Database"
1313
__url__ = "https://github.com/klich3/rocket-store-python"
14-
__version__ = "0.0.5"
15-
__build__ = 0x000020
14+
__version__ = "0.0.6"
15+
__build__ = 0x000022
1616
__author__ = "Anton Sychev"
1717
__author_email__ = "[email protected]"
1818
__copyright__ = "Copyright Simon Riget"

0 commit comments

Comments
 (0)