
Security News
Deno 2.4 Brings Back deno bundle, Improves Dependency Management and Observability
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
A schema-free database for JSON documents, exposed through a REST API, with searching implemented using a flexible matching algorithm.
A quick start:
.. code-block:: bash
$ pip install jsonstore
$ jsonstore
* Running on http://127.0.0.1:31415/
Creating a document:
.. code-block:: bash
$ curl -v http://127.0.0.1:31415/ -d '{"foo":"bar","baz":{"count":42}}'
< HTTP/1.0 201 Created
< Location: http://127.0.0.1:31415/72dcf1ee-8efd-4d7f-8ca1-2eda2bf85099
< etag: "348f16ee0c0856d853117bde8413a4270d1d3487"
{
"foo": "bar",
"baz": {
"count": 42
},
"__id__": "72dcf1ee-8efd-4d7f-8ca1-2eda2bf85099",
"__updated__": "2012-05-09T20:33:36.928075+00:00"
}
Searching the store:
.. code-block:: bash
$ curl -g 'http://127.0.0.1:31415/{"baz":{"count":"GreaterThan(40)"}}'
[
{
"foo": "bar",
"baz": {
"count": 42
},
"__id__": "72dcf1ee-8efd-4d7f-8ca1-2eda2bf85099",
"__updated__": "2012-05-09T20:33:36.928075+00:00"
}
]
It also has a Python API. The above code would be done like this:
.. code-block:: pycon
>>> from jsonstore.client import EntryManager
>>> from jsonstore.operators import GreaterThan
>>> em = EntryManager('http://127.0.0.1:31415/')
>>> em.create(foo="bar", "baz"={"count": 42})
>>> results = em.search(baz={"count": GreaterThan(40)})
Or like this, just for fun:
.. code-block:: pycon
>>> from jsonstore.dsl import Store
>>> store = Store('http://127.0.0.1:31415/')
>>> { "foo": "bar", "baz": { "count": 42 } } >> store
>>> results = store | { "baz": { "count": GreaterThan(40) } }
Please see the website for more examples <http://code.dealmeida.net/jsonstore>
_.
FAQs
JSONStore is a lightweight database for JSON documents exposed through HTTP.
We found that jsonstore demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.