{"id":23205244,"url":"https://github.com/stijndcl/didier","last_synced_at":"2025-08-19T02:32:15.392Z","repository":{"id":37497490,"uuid":"301186930","full_name":"stijndcl/didier","owner":"stijndcl","description":"Over-engineered Discord bot for my Ghent University class","archived":false,"fork":false,"pushed_at":"2024-03-03T23:48:23.000Z","size":5545,"stargazers_count":10,"open_issues_count":8,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-03-04T17:55:55.945Z","etag":null,"topics":["bot","didier","discord","discord-bot","discord-py","python","python3"],"latest_commit_sha":null,"homepage":"","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/stijndcl.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-10-04T17:30:49.000Z","updated_at":"2024-03-04T17:55:55.946Z","dependencies_parsed_at":"2023-02-18T01:45:44.447Z","dependency_job_id":"95199caf-4f21-43c8-b118-2b24c901014e","html_url":"https://github.com/stijndcl/didier","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stijndcl%2Fdidier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stijndcl%2Fdidier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stijndcl%2Fdidier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stijndcl%2Fdidier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stijndcl","download_url":"https://codeload.github.com/stijndcl/didier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230306123,"owners_count":18205845,"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":["bot","didier","discord","discord-bot","discord-py","python","python3"],"created_at":"2024-12-18T16:34:19.837Z","updated_at":"2024-12-18T16:34:20.477Z","avatar_url":"https://github.com/stijndcl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Didier\n\n[![wakatime](https://wakatime.com/badge/user/3543d4ec-ec93-4b43-abd6-2bc2e310f3c4/project/100156e4-2fb5-40b4-b808-e47ef687905c.svg)](https://wakatime.com/badge/user/3543d4ec-ec93-4b43-abd6-2bc2e310f3c4/project/100156e4-2fb5-40b4-b808-e47ef687905c)\n\nYou bet. The time has come.\n\n## Development\n\nDidier uses `Python 3.9.5`, as specified in the [`.python-version`](.python-version)-file. This file will cause [`pyenv`](https://github.com/pyenv/pyenv) to automatically use the correct version when you're working on Didier.\n\n```shell\n# Installing Python 3.9.5 through pyenv\npyenv install 3.9.5\n\n# Creating a Virtual Environment and activate it\n# PyCharm will automatically activate your venv\npython3 -m venv venv\nsource venv/bin/activate\n\n# Installing dependencies + development dependencies\npip3 install -r requirements.txt -r requirements-dev.txt\n\n# Installing pre-commit hooks\npre-commit install\n```\n\nThe database can be managed easily using `Docker Compose`. If you want to, however, you can run a regular PostgreSQL server and connect to that instead.\n\nA separate database is used in the tests, as it would obviously not be ideal when tests randomly wipe your database.\n\n```shell\n# Starting the database\ndocker compose up -d\n\n# Starting the database used in tests\ndocker compose -f docker-compose.test.yml up -d\n```\n\n### Commands\n\n_All of these are Python tools. Depending on your OS and configuration, you may have to prefix them with `python3 -m`._\n\n```shell\n# Starting Didier\npython3 main.py\n\n# Running database migrations\nalembic upgrade head\n\n# Creating a new database migration\nalembic revision --autogenerate -m \"Revision message here\"\n\n# Running tests\npytest\n\n# Running tests with Coverage\ncoverage run -m pytest\n# Generating code coverage report\ncoverage html\n\n# Running code quality checks\nblack\nflake8\nmypy\n```\n\nIt's also convenient to have code-formatting happen automatically on-save. The [`Black documentation`](https://black.readthedocs.io/en/stable/integrations/editors.html) explains how to set this up for different types of editors.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstijndcl%2Fdidier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstijndcl%2Fdidier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstijndcl%2Fdidier/lists"}