{"id":15725954,"url":"https://github.com/lgrahl/query-lsf-marks","last_synced_at":"2025-03-31T01:27:19.248Z","repository":{"id":25240435,"uuid":"28665134","full_name":"lgrahl/query-lsf-marks","owner":"lgrahl","description":"Highlight changes to your marks from the LSF (also known as qis server).","archived":false,"fork":false,"pushed_at":"2017-09-12T22:21:06.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-06T06:46:56.739Z","etag":null,"topics":["lsf","marks","qis","university"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lgrahl.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":"2014-12-31T12:10:39.000Z","updated_at":"2018-08-17T13:08:32.000Z","dependencies_parsed_at":"2022-07-25T10:15:05.445Z","dependency_job_id":null,"html_url":"https://github.com/lgrahl/query-lsf-marks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgrahl%2Fquery-lsf-marks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgrahl%2Fquery-lsf-marks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgrahl%2Fquery-lsf-marks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgrahl%2Fquery-lsf-marks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lgrahl","download_url":"https://codeload.github.com/lgrahl/query-lsf-marks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246402639,"owners_count":20771350,"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":["lsf","marks","qis","university"],"created_at":"2024-10-03T22:25:15.296Z","updated_at":"2025-03-31T01:27:19.202Z","avatar_url":"https://github.com/lgrahl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# query-lsf-marks\n\nQuery the LSF (also known as *qis server*) and show a desktop notification on changes to\nyour marks.\n\n## Prerequisites\n\n### Ubuntu\n\n```bash\n$ sudo apt-get install python3 python3-pip python3-dbus\n```\n\n### Windows\n\n* [Python3](https://www.python.org/downloads/)\n* [pip](https://pip.pypa.io/en/latest/installing.html)\n* [Growl](http://www.growlforwindows.com)\n\n## Virtual Environment\n\nWe recommend using [venv](https://docs.python.org/3/library/venv.html) to create an\nisolated Python environment:\n\n```bash\n$ python3 -m venv query-lsf-venv\n```\n\nEdit the file `query-lsf-venv/pyvenv.cfg` and update the following line:\n\n```\ninclude-system-site-packages = true\n```\n\nNote: This is a workaround to be able to use system site packages but have a separate\n`pip` environment, too.\n\nYou can switch into the created virtual environment *query-lsf-venv*\nby running this command:\n\n```bash\n$ source query-lsf-venv/bin/activate\n```\n\nWhile the virtual environment is active, all packages installed using ``pip`` will be\ninstalled into this environment.\n\nTo deactivate the virtual environment, just run:\n\n```bash\n$ deactivate\n```\n\n## Installation\n\nIf you are using a virtual environment, activate it first.\n\nInstall the module by running:\n\n```bash\n$ pip install git+https://github.com/lgrahl/query-lsf-marks.git\n```\n\nOn Linux, you will also need to install `notify2`:\n\n```bash\n$ pip install notify2\n```\n\nOn Windows, you will need to install `gntp`:\n\n```\n\u003e \u003cPath to Python Scripts\u003e\\pip.exe install gntp\n```\n\n## Usage\n\nChange into the folder of the repository and run the script with the following command:\n\n```bash\n$ query-lsf \u003cusername\u003e \u003cinterval\u003e [\u003cstorage\u003e]\n```\n\n* `\u003cusername\u003e` is your user name in the LSF. The password will be requested once and\n  stored in a secure keyring of your OS.\n* `\u003cinterval\u003e` is the interval in **minutes** that defines how often the LSF will be\n  queried.\n* `\u003cstorage\u003e` is an optional path to a JSON file where the marks will be stored. Defaults\n  to `.query-lsf-marks.json` and will be created if it does not exist.\n\n### Delete or Change Password\n\nIf the script runs in the background, stop it first.\n\nDelete the current password of `\u003cusername\u003e`:\n\n```bash\n$ python3 -m keyring del query-lsf \u003cusername\u003e\n```\n\nIf you run query-lsf again it will request a password.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flgrahl%2Fquery-lsf-marks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flgrahl%2Fquery-lsf-marks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flgrahl%2Fquery-lsf-marks/lists"}