{"id":17289838,"url":"https://github.com/noahgorstein/stardog_sparql_profiler_tui","last_synced_at":"2025-03-26T18:24:13.497Z","repository":{"id":194914407,"uuid":"651767352","full_name":"noahgorstein/stardog_sparql_profiler_tui","owner":"noahgorstein","description":"A TUI for profiling SPARQL queries in Stardog","archived":false,"fork":false,"pushed_at":"2023-09-15T03:27:27.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T23:46:03.812Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noahgorstein.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-06-10T03:20:21.000Z","updated_at":"2023-09-15T03:19:29.000Z","dependencies_parsed_at":"2023-09-15T19:09:44.848Z","dependency_job_id":null,"html_url":"https://github.com/noahgorstein/stardog_sparql_profiler_tui","commit_stats":null,"previous_names":["noahgorstein/stardog_sparql_profiler_tui"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahgorstein%2Fstardog_sparql_profiler_tui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahgorstein%2Fstardog_sparql_profiler_tui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahgorstein%2Fstardog_sparql_profiler_tui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahgorstein%2Fstardog_sparql_profiler_tui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noahgorstein","download_url":"https://codeload.github.com/noahgorstein/stardog_sparql_profiler_tui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245709977,"owners_count":20659809,"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":[],"created_at":"2024-10-15T10:36:15.794Z","updated_at":"2025-03-26T18:24:13.469Z","avatar_url":"https://github.com/noahgorstein.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stardog SPARQL Profiler TUI\n\nA textual user interface (TUI) for [profiling SPARQL queries in Stardog](https://docs.stardog.com/operating-stardog/database-administration/managing-query-performance#sparql-profiler).\n\n\u003cimg width=\"1624\" alt=\"image\" src=\"https://github.com/noahgorstein/stardog_sparql_profiler_tui/assets/23270779/9ce48173-3354-4530-8247-62499aa1755f\"\u003e\n\n## Installation\n\nInstall `sparql-profiler` CLI tool to launch the TUI:\n\n```\n❯ pip3 install --editable .\n```\n\nCheck installation:\n\n```\n❯ sparql-profiler --help\nUsage: sparql-profiler [OPTIONS] [QUERY]\n\n  Profiles the QUERY.\n\n  If both the query_file option and QUERY argument are provided, the QUERY\n  argument will take precedence.\n\n  If token is provided in addition to a username and password for\n  authentication, the token will take precedence.\n\nOptions:\n  -u, --username TEXT        Stardog username (applicable only if token not\n                             provided)  [default: admin]\n  -p, --password TEXT        Stardog password (applicable only if token not\n                             provided)  [default: admin]\n  -t, --token TEXT           Auth JWT token (applicable only if username and\n                             password are not provided)\n  -e, --endpoint TEXT        Stardog endpoint  [default:\n                             http://localhost:5820; required]\n  -d, --database TEXT        Stardog database  [required]\n  -r, --reasoning            Enables reasoning for the query to be profiled.\n  -f, --query_file FILENAME  File containing query to profile\n  -h, --help                 Show this message and exit.\n```\n\n## In Action\n\nhttps://github.com/noahgorstein/stardog_sparql_profiler_tui/assets/23270779/f6147240-35ca-45a5-8fe2-cbc378d44b11\n\n## Usage\n\n```text\n❯ sparql-profiler --help\nUsage: sparql-profiler [OPTIONS] [QUERY]\n\n  Profiles the QUERY.\n\n  If both the query-file option and QUERY argument are provided, the QUERY argument\n  will take precedence.\n\n  If token is provided in addition to a username and password for\n  authentication, the token will take precedence.\n\nOptions:\n  -u, --username TEXT        Stardog username (applicable only if token not\n                             provided)  [default: admin]\n  -p, --password TEXT        Stardog password (applicable only if token not\n                             provided)  [default: admin]\n  -t, --token TEXT           Auth JWT token (applicable only if username and\n                             password are not provided)\n  -e, --endpoint TEXT        Stardog endpoint  [default:\n                             http://localhost:5820; required]\n  -d, --database TEXT        Stardog database  [required]\n  -r, --reasoning            Enables reasoning for the query to be profiled.\n  -f, --query_file FILENAME  File containing query to profile\n  -h, --help                 Show this message and exit.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoahgorstein%2Fstardog_sparql_profiler_tui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoahgorstein%2Fstardog_sparql_profiler_tui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoahgorstein%2Fstardog_sparql_profiler_tui/lists"}