Skip to content

Commit

Permalink
Merge pull request #21 from saurabh0719/v0.5.2-develop
Browse files Browse the repository at this point in the history
Merge V0.5.2 develop
  • Loading branch information
saurabh0719 authored May 25, 2021
2 parents b6df330 + 521ae90 commit 2e0eae0
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 11 deletions.
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Before contributing ensure you've read and understood the [documentation](https:
- If you're reporting a bug, please include steps (or code) to reproduce the bug.
- If you're issuing a feature request, please mention why it will be useful or the use case it solves.
- If you intend to implement the new feature request OR fix a bug yourself, then give a brief outline of the proposed solution.

* Fork the `main` branch for making your changes.

* You can issue a new [pull request](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork) to the `main` branch that closes the issue *after* you've been assigned.
- Any non-trivial pull request without having opened an earlier issue will be closed.
Expand Down
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

</div>


<div align="center">
<p>Elara DB is an easy to use, lightweight NoSQL database written for python that can also be used as a fast in-memory cache for JSON-serializable data. Includes various methods and features to manipulate data structures in-memory, protect database files and export data.</p>
</div>
Expand All @@ -15,7 +14,7 @@
$ pip install elara
```

* Latest - `v0.5.1`
* Latest - `v0.5.2`

Go through the [release notes](#releases) for details on upgrades as breaking changes might happen between version upgrades while Elara is in beta.

Expand Down Expand Up @@ -319,6 +318,8 @@ print(cache.get("obj").num)

* Elara uses checksums and a file version flag to verify database file integrity.

All database writes are atomic (uses the [safer](https://github.com/rec/safer) library).

[Go back to the table of contents](#contents)

<hr>
Expand Down Expand Up @@ -484,14 +485,16 @@ $ python -m unittest -v

- `cryptography`
- `msgpack`
- `safer`

<hr>

<span id="releases"></span>
## Release notes

* Latest - `v0.5.x`
- `v0.5.1` - No breaking changes
- `v0.5.2` - No breaking changes
- `v0.5.1`
- `v0.5.0`

`v0.5.x` comes with an internal re-architecture that allows for much better caching and granular control on item expiry. No breaking changes from `v0.4.x`.
Expand All @@ -512,8 +515,16 @@ View Elara's [release history](https://github.com/saurabh0719/elara/releases/).

<span id="contrib"></span>
## Contributors :
Original author and maintainer - Saurabh Pujari
Original author and maintainer - [Saurabh Pujari](https://github.com/saurabh0719)

<br>
Logo design - Jonah Eapen

Logo design - [Jonah Eapen](https://mobile.twitter.com/jonaheapen98)


Open source contributors :

* [DarthUdp](https://github.com/DarthUdp)
* [AdityaKotwal100](https://github.com/AdityaKotwal100)

[Go back to the table of contents](#contents)
16 changes: 13 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ Note - In ``exe_cache``, the ``path`` parameter is a required argument in case y

Similarly, ``lnew(key, max_age=None)``, ``hnew(key, max_age=None)`` (read the API reference) and ``getset(key, value, max_age=None)``, all accept the optional ``max_age`` argument.


.. code:: python
import elara
Expand Down Expand Up @@ -310,6 +311,8 @@ as long as they are ``in-memory`` and ``not persisted in the file``, as that wou
- To persist a simple object as a dictionary, use the ``__dict__`` attribute.
- Elara uses checksums and a file version flag to verify database file integrity.

All database writes are atomic (uses the safer library).

API reference
-------------

Expand Down Expand Up @@ -511,14 +514,16 @@ Dependencies

- ``cryptography``
- ``msgpack``
- ``safer``


Releases notes
--------------

- Latest - ``v0.5.x``

- ``v0.5.1`` - No breaking changes
- ``v0.5.2`` - No breaking changes
- ``v0.5.1``
- ``v0.5.0``

``v0.5.x`` comes with an internal re-architecture that allows for much better caching and granular control on item expiry.
Expand All @@ -540,5 +545,10 @@ View Elara's release history
Contributors
------------

| Original author and maintainer - Saurabh Pujari
| Logo design - Jonah Eapen
| Original author and maintainer - `Saurabh Pujari <https://github.com/saurabh0719>`__.
| Logo design - `Jonah Eapen <https://github.com/jonaheapen98>`__.
Open source contributors :

- `DarthUdp <https://github.com/DarthUdp>`__.
- `AdityaKotwal100 <https://github.com/AdityaKotwal100>`__.
4 changes: 2 additions & 2 deletions settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"branch": "v0.5.1-develop",
"branch": "v0.5.2-develop",
"message": "Add files via upload",
"log": 1
"log": 0
}
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
setup(
name="elara",
packages=["elara"],
version="0.5.1",
version="0.5.2",
license="three-clause BSD",
description="Elara DB is an easy to use, lightweight NoSQL database written for python that can also be used as a fast in-memory cache for JSON-serializable data. Includes various methods and features to manipulate data structures in-memory, protect database files and export data.",
long_description=long_description,
Expand Down Expand Up @@ -38,3 +38,4 @@
"Programming Language :: Python",
],
)

0 comments on commit 2e0eae0

Please sign in to comment.