{"id":15208929,"url":"https://github.com/flarco/dbnet-python","last_synced_at":"2025-10-03T01:31:22.977Z","repository":{"id":46948281,"uuid":"145974563","full_name":"flarco/dbnet-python","owner":"flarco","description":"A Python/VueJS database client (Web GUI) to access Oracle, Spark (Hive), Postgres, etc.","archived":true,"fork":false,"pushed_at":"2021-09-20T20:59:55.000Z","size":22739,"stargazers_count":8,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T06:07:57.613Z","etag":null,"topics":["apache-spark","database","jdbc","oracle","postgresql","spark","web-gui"],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flarco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-24T09:53:17.000Z","updated_at":"2024-11-01T03:41:41.000Z","dependencies_parsed_at":"2022-09-24T00:30:16.979Z","dependency_job_id":null,"html_url":"https://github.com/flarco/dbnet-python","commit_stats":null,"previous_names":["flarco/dbnet"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flarco%2Fdbnet-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flarco%2Fdbnet-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flarco%2Fdbnet-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flarco%2Fdbnet-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flarco","download_url":"https://codeload.github.com/flarco/dbnet-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235059234,"owners_count":18929279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache-spark","database","jdbc","oracle","postgresql","spark","web-gui"],"created_at":"2024-09-28T07:04:52.145Z","updated_at":"2025-10-03T01:31:16.785Z","avatar_url":"https://github.com/flarco.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n\u003cp align=\"center\"\u003e\n  \u003cimg align=\"center\" src=\"frontend/src/assets/logo-brand.png\" alt=\"Logo\" width=\"180\"/\u003e\n\u003c/p\u003e\n\nDbNet is a Python/VueJS database client to access Oracle, Spark (Hive), Postgres, etc. It is still a work in progess, but should work fine for daily use. MS SQL Server is supported, although with some bugs here and there due to JDBC/JTDS bridge.\n\n**Only Chrome and Firefox are supported at the moment.**\n\n# Running with Docker\n\n`docker run --rm -it -p 5566:5566 -v $HOME/dbnet:/root/dbnet flarco/dbnet --serve`\n\n# Running with python\n```bash\npip install dbnet\n```\n\nCommand `dbnet` should now be available in the PATH.\n\n`dbnet --help`\n\n```bash\nusage: dbnet [-h] [--serve] [--init_db] [--reset_db] [--force] [--port PORT]\n\nDbNet Application\n\noptional arguments:\n  -h, --help   show this help message and exit\n  --serve      Start the DbNet server\n  --init_db    Initiatlize the backend SQLite database\n  --reset_db   Reset the backend SQLite database\n  --force      Kill any running instance.\n  --port PORT  The web application port\n```\n\n`dbnet --serve`\n\n```bash\n2019-02-27 10:08:11 -- DB Tables OK.\n2019-02-27 10:08:11 -- Main Loop PID is 39685\n2019-02-27 10:08:11 -- Monitor Loop PID is 39691\n2019-02-27 10:08:11 -- Web Server PID is 39692\n2019-02-27 10:08:11 -- URL -\u003e http://macbook:5566/?token=CqPahSJIeg1Nl4Kj\n(39692) wsgi starting up on http://0.0.0.0:5566\n```\n\n## Setting up Dababase Profile\n\nYour database profile / credentials needs to be set up at `~/profile.yaml` or env var `PROFILE_YAML`.\nRun command `xutil-create-profile` to create from template.\n\n### Example Entry\n\n```yaml\nPG_XENIAL:\n  name: PG_XENIAL\n  host: xenial-server\n  database: db1\n  port: 5432\n  user: user\n  password: password\n  type: postgresql\n  jdbc_url: \"jdbc:postgresql://xenial-server:5432/db1?\u0026ssl=false\"\n```\n\n## Environment variables\n\n- `DBNET_WEBAPP_PORT` = Web application port (default is `5566`)\n- `DBNET_WEBAPP_HOST` = Web application host (default is `0.0.0.0`)\n- `DBNET_PASSWD` = password to access application (default is random string)\n- `DBNET_WORKER_PREFIX` = database worker name prefix (default is `dbnet`)\n- `DBNET_FOLDER` = local storage / queries folder (default `~/dbnet`) \n- `DBNET_MAX_WORKER_PER_DB` = the maximum number of workers per database (default is `3`)\n- `DBNET_APPRISE_URL` = the [apprise](https://github.com/caronc/apprise) URL to send notifications to.\n- `DBNET_DB_URL` = the database URL to connect to (only one DB).\n\n\n# Screenshots\n\n![Screenshot 2](dbnet.screenshot.2.png)\n\n![Screenshot 1](dbnet.screenshot.1.png)\n\n\u003cimg src=\"dbnet.screenshot.schema.png\" alt=\"Screenshot schema\" width=\"300\"/\u003e\n\n# Development\n\n## Install Vue \u0026 Dependencies\n\n```bash\nnpm install -g @vue/cli @vue/cli-service @vue/cli-plugin-babel @vue/cli-plugin-eslint\ngit clone https://github.com/flarco/dbnet.git\ncd dbnet/frontend\nnpm install\n```\n\n## Building\n\n```bash\ngit clone https://github.com/flarco/dbnet.git\ncd dbnet\nbash build.sh\n```\n\n## Release\n\n- Update version in [setup.py](./setup.py).\n- Draft new release on Github: \u003chttps://github.com/flarco/dbnet/releases/new\u003e\n\n```\ngit clone https://github.com/flarco/dbnet.git\ncd dbnet\nm2r --overwrite README.md\npython setup.py sdist \u0026\u0026 twine upload --skip-existing dist/*\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflarco%2Fdbnet-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflarco%2Fdbnet-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflarco%2Fdbnet-python/lists"}