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 db-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 (e.g., SQLite database or JSON file).

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"
      }
    },
    "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.5.tar.gz (68.5 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.5-py3-none-any.whl (67.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dbm_systray-0.1.5.tar.gz
  • Upload date:
  • Size: 68.5 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.5.tar.gz
Algorithm Hash digest
SHA256 655f359de4d344bee0eb5a135649c34187d48fe068092b9b48f0606cd89d103d
MD5 24ee47f72c0720a2311427014f75c612
BLAKE2b-256 540074beaff5e445176d95a64c68108a6913416fa867e5b5ba69423f4b94d805

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dbm_systray-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1a2d936b96834a6e8be264bbf6f6df9690cc758cf936f2df12f3fbfe2c8c479d
MD5 0821d097ba715bcd413713ab11c15c63
BLAKE2b-256 641a23773c082113550969a38ae0b681692b66176bf64730604d66aa9ae639fd

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