{"id":27391020,"url":"https://github.com/default-writer/python-decorators","last_synced_at":"2026-02-08T10:31:46.854Z","repository":{"id":135938545,"uuid":"436754220","full_name":"default-writer/python-decorators","owner":"default-writer","description":null,"archived":false,"fork":false,"pushed_at":"2021-12-11T06:32:57.000Z","size":137,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-20T20:33:43.763Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/default-writer.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-12-09T20:36:35.000Z","updated_at":"2021-12-11T06:32:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"be29aa02-f475-457d-a710-6f77e5683a42","html_url":"https://github.com/default-writer/python-decorators","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/default-writer/python-decorators","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/default-writer%2Fpython-decorators","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/default-writer%2Fpython-decorators/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/default-writer%2Fpython-decorators/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/default-writer%2Fpython-decorators/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/default-writer","download_url":"https://codeload.github.com/default-writer/python-decorators/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/default-writer%2Fpython-decorators/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266898997,"owners_count":24002989,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-04-13T20:11:01.225Z","updated_at":"2026-02-08T10:31:46.812Z","avatar_url":"https://github.com/default-writer.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Visual Studio Code Playground\nPython Decorators\n\nDefault template for working with Python Decorators from Visual Studio Code\n\n# Project structure\n\n- ./bin\n  - build_requirements.txt - file with build prerequisites\n  - build.sh - utility for buiding environment. uses ./env.sh internally\n  - env.sh - utility for the first run. writes to ./env\n  - format.sh - utility for reformatting source code using pre-commit \n  - lint.sh - utility for finding code issues. writes to ./pylint\n  - test.sh - utility for running tests and code coverage. writes to ./pytest, ./coverage\n  - update.sh\n\n# Recommendations\n\n- clone repository in container volume\n- apply chmod +x for ./bin utilities\n- setup environment using ./bin/env.sh utility\n- update environment using ./bin/update.sh utility\n- update requirements.txt if needed\n\n```bash\nchmod +x ./bin/build.sh\nchmod +x ./bin/format.sh\nchmod +x ./bin/lint.sh\nchmod +x ./bin/test.sh\nchmod +x ./bin/update.sh\n```\n\n\nTo add pre-commit git pre-commit hook on tests, add hook and change it to executable\n\n```bash\ntouch .git/hooks/pre-commit\nchmod +x .git/hooks/pre-commit\n```\n\n```bash\n#!/bin/sh\nset -e\ncd \"${0%/*}\"\nstatus=$?\n../../bin/test.sh\nstatus=$?\n[ $status -eq 0 ] \u0026\u0026 echo \"SUCCESS\" || exit 1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefault-writer%2Fpython-decorators","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefault-writer%2Fpython-decorators","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefault-writer%2Fpython-decorators/lists"}