{"id":15136193,"url":"https://github.com/devlights/try-python","last_synced_at":"2026-01-18T18:06:43.589Z","repository":{"id":43869949,"uuid":"78821417","full_name":"devlights/try-python","owner":"devlights","description":"This is my TUTORIAL project for Python.","archived":false,"fork":false,"pushed_at":"2022-11-09T02:41:52.000Z","size":3983,"stargazers_count":2,"open_issues_count":44,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-21T00:44:46.814Z","etag":null,"topics":["jetbrains","pycharm","pycharm-ide","pytest","python","python3","tutorial"],"latest_commit_sha":null,"homepage":"https://devlights.hatenablog.com/","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/devlights.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":"2017-01-13T06:19:46.000Z","updated_at":"2024-04-05T05:54:09.000Z","dependencies_parsed_at":"2022-08-12T10:51:03.172Z","dependency_job_id":null,"html_url":"https://github.com/devlights/try-python","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/devlights/try-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlights%2Ftry-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlights%2Ftry-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlights%2Ftry-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlights%2Ftry-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devlights","download_url":"https://codeload.github.com/devlights/try-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlights%2Ftry-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28547004,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T14:59:57.589Z","status":"ssl_error","status_checked_at":"2026-01-18T14:59:46.540Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["jetbrains","pycharm","pycharm-ide","pytest","python","python3","tutorial"],"created_at":"2024-09-26T06:04:30.650Z","updated_at":"2026-01-18T18:06:43.563Z","avatar_url":"https://github.com/devlights.png","language":"Python","readme":"# try-python\nThis is my TUTORIAL project for python. \n\n![try-python - Python Version](https://img.shields.io/badge/python-3.10-blue.svg)\n[![CodeFactor](https://www.codefactor.io/repository/github/devlights/try-python/badge)](https://www.codefactor.io/repository/github/devlights/try-python)\n[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/devlights/try-python) \n\n# Requirements\n- Python 3.10 or higher\n- [Poetry](https://python-poetry.org/)\n  - Dependency management\n- [Task](https://taskfile.dev/#/)\n  - Task runner\n\n# Python version\n\n```sh\n$ poetry run python -V\nPython 3.10.7\n\n$ poetry env info\n\nVirtualenv\nPython:         3.10.7\nImplementation: CPython\nPath:           /workspace/.pyenv_mirror/poetry/virtualenvs/try-python-M1FUJLyv-py3.10\nExecutable:     /workspace/.pyenv_mirror/poetry/virtualenvs/try-python-M1FUJLyv-py3.10/bin/python\nValid:          True\n\nSystem\nPlatform:   linux\nOS:         posix\nPython:     3.10.7\nPath:       /home/gitpod/.pyenv/versions/3.10.7\nExecutable: /home/gitpod/.pyenv/versions/3.10.7/bin/python3.10\n```\n\n# Make Environment\n```sh\n$ poetry install\n$ poetry lock\n```\n\n# REPL\n\n```sh\n$ task repl\ntask: [repl] poetry run python\nPython 3.10.7 (main, Nov  8 2022, 08:35:33) [GCC 9.4.0] on linux\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n\u003e\u003e\u003e import os\n\u003e\u003e\u003e os.system(\"which python\")\n/workspace/.pyenv_mirror/poetry/virtualenvs/try-python-M1FUJLyv-py3.10/bin/python\n0\n```\n\n# Launch\n\n```sh\n$ task run\n```\n\n# Unit Test\n\n```sh\n$ task test\n```\n\n# Format\n\n```sh\n$ task fmt\n```\n\n# Lint\n\n```sh\n$ task lint\n```\n\n# Mypy\n\n```sh\n$ task mypy\n```\n\n# VSCode settings (Example)\n\n## settings.json\n\n```json\n{\n    \"python.defaultInterpreterPath\": \"python\",\n    \"python.linting.flake8Enabled\": true,\n    \"python.linting.mypyEnabled\": true,\n    \"python.formatting.provider\": \"black\",\n    \"python.linting.pydocstyleEnabled\": true,\n    \"python.terminal.launchArgs\": [\n        \"-B\",\n        \"-c\",\n        \"\\\"import IPython; IPython.start_ipython()\\\"\"\n    ]\n}\n```\n\n## launch.json\n\n```json\n{\n    \"version\": \"0.2.0\",\n    \"configurations\": [\n        {\n            \"name\": \"try-python\",\n            \"type\": \"python\",\n            \"request\": \"launch\",\n            \"module\": \"trypython\",\n            \"pythonArgs\": [\n                \"-X\", \"dev\",\n                \"-X\", \"tracemalloc=10\"\n            ],\n            \"env\": {\n                \"PYTHONDONTWRITEBYTECODE\": \"1\"\n            }\n        }\n    ]\n}\n```\n\n# Misc\n\n- [try-python-extlib](https://github.com/devlights/try-python-extlib)\n  - 姉妹プロジェクト. 外部ライブラリのサンプルなどがあります。\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlights%2Ftry-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevlights%2Ftry-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlights%2Ftry-python/lists"}