{"id":27391014,"url":"https://github.com/default-writer/python-template","last_synced_at":"2025-04-13T20:11:00.536Z","repository":{"id":64088858,"uuid":"317761434","full_name":"default-writer/python-template","owner":"default-writer","description":"Python template project for VSCode (batteries included)","archived":false,"fork":false,"pushed_at":"2022-12-07T03:32:51.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2023-03-10T17:56:24.920Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/default-writer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"patreon":"funcelot"}},"created_at":"2020-12-02T05:38:40.000Z","updated_at":"2022-12-04T15:23:00.000Z","dependencies_parsed_at":"2023-01-14T22:00:58.958Z","dependency_job_id":null,"html_url":"https://github.com/default-writer/python-template","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/default-writer%2Fpython-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/default-writer%2Fpython-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/default-writer%2Fpython-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/default-writer%2Fpython-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/default-writer","download_url":"https://codeload.github.com/default-writer/python-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248774981,"owners_count":21159534,"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":"2025-04-13T20:10:59.535Z","updated_at":"2025-04-13T20:11:00.530Z","avatar_url":"https://github.com/default-writer.png","language":"Shell","funding_links":["https://patreon.com/funcelot"],"categories":[],"sub_categories":[],"readme":"# python-template\n\nPython template project for VSCode (batteries included)\n\n## environment variables\n\nrun script `./bin/env.sh` as user\n\n```bash\n. ./bin/env.sh\n```\n\n## code \n\ncode reformatting\n\n```bash\nblack src\n```\n\n## installation\n\nrun script `./bin/setup.sh` as root\n\n```bash\nsudo ./bin/setup.sh build\n```\n\nrun script `./bin/venv.sh` as user\n\n```bash\n./bin/venv.sh\n```\n\n## dockerfile\n\n```dockerfile\nENV TZ=America/Vancouver\nRUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime \u0026\u0026 echo $TZ \u003e /etc/timezone\n```\n\nGeneral devlopment\n\n```dockerfile\nRUN apt-get update \\\n     \u0026\u0026 export DEBIAN_FRONTEND=noninteractive \\\n     \u0026\u0026 apt-get -y install --no-install-recommends tar curl zip unzip\n```\n\nTime zone\n\n```dockerfile\nENV TZ=Europe/Istanbul\nRUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime \u0026\u0026 echo $TZ \u003e /etc/timezone\n```\n\n.NET 5\n\n```dockerfile\nRUN wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O /tmp/packages-microsoft-prod.deb \\\n    \u0026\u0026 dpkg -i /tmp/packages-microsoft-prod.deb \\\n    \u0026\u0026 apt-get update \\\n    \u0026\u0026 apt-get install -y apt-transport-https \\\n    \u0026\u0026 apt-get install -y dotnet-sdk-5.0 \\\n    \u0026\u0026 apt-get install -y dotnet-runtime-5.0\n```\n\nNode.js\n\n```dockerfile\nRUN curl -sL https://deb.nodesource.com/setup_14.x -o /tmp/nodesource_setup.sh \u0026\u0026 chmod +x /tmp/nodesource_setup.sh \\ \n    \u0026\u0026 /tmp/nodesource_setup.sh \u0026\u0026 rm /tmp/nodesource_setup.sh \\ \n    \u0026\u0026 apt install nodejs\n```\n\nCMake\n\n```dockerfile\nRUN wget -qO- \"https://cmake.org/files/v3.18/cmake-3.18.1-Linux-x86_64.tar.gz\" | tar --strip-components=1 -xz -C /usr/local\n```\n\nGo\n\n```dockerfile\nRUN wget -qO- \"https://golang.org/dl/go1.15.linux-amd64.tar.gz\" | tar --strip-components=1 -xz -C /usr/local\n```\n\nBazel\n\n```dockerfile\nRUN apt install curl gnupg \\\n    \u0026\u0026 curl https://bazel.build/bazel-release.pub.gpg | apt-key add -; \\\n    echo \"deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8\" | tee /etc/apt/sources.list.d/bazel.list \\\n    \u0026\u0026 apt-get update \\\n    \u0026\u0026 apt-get -y install bazel \\\n    \u0026\u0026 wget -q \"https://github.com/bazelbuild/buildtools/releases/download/3.4.0/buildifier\" -P /usr/local/bin \u0026\u0026  chmod +x /usr/local/bin/buildifier \\\n    \u0026\u0026 wget -q \"https://github.com/bazelbuild/buildtools/releases/download/3.4.0/buildozer\" -P /usr/local/bin \u0026\u0026 chmod +x /usr/local/bin/buildozer \\\n    \u0026\u0026 wget -q \"https://github.com/bazelbuild/buildtools/releases/download/3.4.0/unused_deps\" -P /usr/local/bin \u0026\u0026 chmod +x /usr/local/bin/unused_deps\n```\n\nLLDB\n\n```dockerfile\nRUN apt-get install gnupg lldb g++ valgrind -y \n```\n\nUnix ODBC driver for MSSQL Server 2017\n\n```dockerfile\nRUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -; \\\n    curl https://packages.microsoft.com/config/ubuntu/19.10/prod.list \u003e /etc/apt/sources.list.d/mssql-release.list; \\\n    apt-get update \\\n    \u0026\u0026 ACCEPT_EULA=Y apt-get -y install msodbcsql17 mssql-tools unixodbc-dev\n```\n\nDocker 19.03.8\n\n```dockerfile\nRUN apt-get -y install docker.io\n```\n\nDocker-compose 1.26.2\n\n```dockerfile\nRUN curl -L \"https://github.com/docker/compose/releases/download/1.26.2/docker-compose-$(uname -s)-$(uname -m)\" -o /usr/local/bin/docker-compose \\\n    \u0026\u0026 chmod +x /usr/local/bin/docker-compose\n```\n\nPython 3\n\n```dockerfile\nRUN apt-get update \\\n    \u0026\u0026 export DEBIAN_FRONTEND=noninteractive \\\n    \u0026\u0026 apt-get install -y python3 python3-dev python3-pip python3-venv python3-behave pipenv\n\nRUN ln -s /usr/local/bin/python3 /usr/bin/python \u0026 \\\n    ln -s /usr/local/bin/pip3 /usr/bin/pip\n```\n\nPython 3 PIP\n\n```dockerfile\nCOPY requirements.txt /tmp/pip-tmp/\nRUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \\\n   \u0026\u0026 rm -rf /tmp/pip-tmp\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefault-writer%2Fpython-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefault-writer%2Fpython-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefault-writer%2Fpython-template/lists"}