Skip to main content

No project description provided

Project description

dbm-systray

Database Tray Application

Installation

# Create a virtual environment
python -m venv venv

# Activate virtual environment (Windows)
venv\Scripts\activate

# Install the package
pip install dbm-systray

Usage

# View help
python app.py -h

usage: app.py [-h] [-c CONFIG] [-p PORTS PORTS]

Database Tray Application

options:
  -h, --help            show this help message and exit
  -c CONFIG, --config CONFIG
                        path to the configuration file (default: configs/config.json)
  -p PORTS PORTS, --ports PORTS PORTS
                        available ports: <starting_port_number> <num_ports>

Configuration File Format

The config.json file should be a JSON array where each element represents an entry with the following properties:

  • name (string): The name of the resource.
  • path (string): The file path to the resource. Only .sqlite and .json file extensions are supported.

JSON Schema for config.json

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "name": {
        "type": "string"
      },
      "path": {
        "type": "string",
        "pattern": "\\.(sqlite|json)$"
      }
    },
    "required": ["name", "path"],
    "additionalProperties": false
  }
}

Environment Configuration

The program will read the starting directory and look for a .env file. In the .env file, you can configure the following environment variables:

  1. EDITOR - Specifies the text editor to be used.
  2. SQLITE_BROWSER_EXE - Path to the SQLite browser executable.
  3. SQLITE_WEB - Configuration for the SQLite web server.
  4. LITECLI - Path to the LiteCLI executable for interacting with SQLite databases.

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

dbm_systray-0.1.6.tar.gz (68.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dbm_systray-0.1.6-py3-none-any.whl (67.6 kB view details)

Uploaded Python 3

File details

Details for the file dbm_systray-0.1.6.tar.gz.

File metadata

  • Download URL: dbm_systray-0.1.6.tar.gz
  • Upload date:
  • Size: 68.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.7 Windows/10

File hashes

Hashes for dbm_systray-0.1.6.tar.gz
Algorithm Hash digest
SHA256 d1919e55794082071267d7e9207fabdcb6ea15dd58973dd2b409fec9888909c0
MD5 2c527e4d7c784db80670a698c1b084bb
BLAKE2b-256 0598d55dc3ebd05c9f69d22fae1a381dc480666d40214ab191d7e8a6d5530bd6

See more details on using hashes here.

File details

Details for the file dbm_systray-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: dbm_systray-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 67.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.7 Windows/10

File hashes

Hashes for dbm_systray-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 418466a54d51faed66843e84f2a8e7f56af4d15ae6653741f0e929bdce680b17
MD5 c2214cdaa68ffa9511b9cfe31b2d1e2a
BLAKE2b-256 bf861c6852d0482c0aa4085fa699e23e0f6dfd004a81ecee9e630bd06a50c081

See more details on using hashes here.

Supported by

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