Skip to main content

ArgDB - A Datastore for arguments

Project description

ArgDB

A Datastore for arguments

ArgDB is a datastore, API, and suite of tools for working with argument data represented using the Simple Argument Description Format (SADFace). The default backend datastore is SQLite3. This currently supports storage of raw SADFace documents in JSON format using the native JSON support within SQLite3. The CLI is a python flask application that provides two modes of interaction. The first is as a command line app, passing in and retrieving data from the store via command line arguments. This can be useful to script interaction with the datastore, treating ArgDB like any other command line tool. The second is a REPL mode that allows a user manipulate their argument datastore directly and interactively. The API is a Python-Flask web-app that provides a public interface to the datastore that is appropriate to the domain. The API is designed to serve the contents of the datastore publiclly if so exposed, i.e. serving using a compliant WSGI server (uWSGI or Waitress are good choices), ideally proxied behind a static webserver like NGinX to provide TLS support. The GUI is a Pywebview web-app that provides a web-based user interface to the datastore. As for the API, this can be proxied publily or kept for private use.

Usage

Running the CLI REPL:

$ python -m argdb

Running the (web) gui:

$ python -m argdb --gui

History

Prior to version 0.1, ArgDB used CouchDB as the default backend. However, recent advances in support JSON within SQLite3 meant that a simpler implementation could be produced that could use a single backend to store raw SADFace documents, as well as a relational subset of SADFace that could be optimised for scalability and ad hoc search.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

argdb-0.1.1.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

argdb-0.1.1.2-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file argdb-0.1.1.2.tar.gz.

File metadata

  • Download URL: argdb-0.1.1.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.2

File hashes

Hashes for argdb-0.1.1.2.tar.gz
Algorithm Hash digest
SHA256 24436fa5e1fdfdfc9d57a54cc18ec17351a2fc200de7ff6b0400045ffb3a0173
MD5 353c576da8f53f5f442b10c95bb8eb8c
BLAKE2b-256 4feb46448a79da4ccd57e2bb44c9a619b791934f1aa64c468e7c49e193f1394e

See more details on using hashes here.

File details

Details for the file argdb-0.1.1.2-py3-none-any.whl.

File metadata

  • Download URL: argdb-0.1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.2

File hashes

Hashes for argdb-0.1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b7bc445cfaccdea3254c512a02e350737b8cc989aefea8a466dc2afe883f4d5b
MD5 01ea72d7c03366d4247ad700001d888a
BLAKE2b-256 0d37e68f205302cb1c47daae90cf4c5a1c3348bf1869ef16112bace01aaac274

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page