{"id":19975407,"url":"https://github.com/briangershon/python-vscode-dev","last_synced_at":"2025-03-01T18:43:36.547Z","repository":{"id":254759920,"uuid":"847425963","full_name":"briangershon/python-vscode-dev","owner":"briangershon","description":"A ready-to-go Python dev environment for LLM projects. Leverages devcontainers in VSCode for virtual environments. Sample LangChain and LangGraph code using OpenAI.","archived":false,"fork":false,"pushed_at":"2024-09-18T00:56:30.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-12T09:45:01.694Z","etag":null,"topics":["devcontainer-template","graphviz","jupyter-notebook","langchain","langgraph","python","starter-template","vscode"],"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/briangershon.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}},"created_at":"2024-08-25T19:35:04.000Z","updated_at":"2024-09-18T00:56:33.000Z","dependencies_parsed_at":"2024-09-18T03:48:14.681Z","dependency_job_id":null,"html_url":"https://github.com/briangershon/python-vscode-dev","commit_stats":null,"previous_names":["briangershon/python-vscode-dev"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briangershon%2Fpython-vscode-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briangershon%2Fpython-vscode-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briangershon%2Fpython-vscode-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briangershon%2Fpython-vscode-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/briangershon","download_url":"https://codeload.github.com/briangershon/python-vscode-dev/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241411480,"owners_count":19958746,"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":["devcontainer-template","graphviz","jupyter-notebook","langchain","langgraph","python","starter-template","vscode"],"created_at":"2024-11-13T03:18:15.767Z","updated_at":"2025-03-01T18:43:36.512Z","avatar_url":"https://github.com/briangershon.png","language":"Python","readme":"# python-vscode-dev\n\nUse a VSCode dev container as your virtual Python development environment.\n\nIncludes dependencies for LangChain, LangGraph, Juypter Notebook, and PyGraphviz (for visualization).\n\nExample LangChain and LangGraph code.\n\nLoad environment variables via `.env` file.\n\n## Getting Started\n\n### Prerequisites\n\n- install [Docker](https://www.docker.com/get-started)\n- install [VSCode](https://code.visualstudio.com/download)\n\n### Setup\n\n- **Important: You must create an `.env` file by copying `.env.example` to `.env` and filling in the values for the dev container to run**\n- add your Python packages to `requirements.txt`\n\n### Open your project in VSCode\n\n```bash\nssh-add ~/.ssh/id_rsa   # to share your git credentials with container\ncode .                  # open project in VSCode\n```\n\nIn VSCode, choose \"Reopen in Container\" to fire up container. Ensure you setup an `.env` file before launching dev container.\n\nOpen up a terminal in VSCode.\n\nRun `env` to verify env vars look good.\n\n`python src/app.py`\n\n## Running a Jupyter Notebook\n\nIn VSCode terminal, run `jupyter notebook --allow-root`. Open up a browser and navigate to the URL shown in terminal. `--allow-root` is fine since Python is running in a dev container.\n\nIn browser UI, create a new Python 3 notebook to get started.\n\nIf you copy in `app.py` into the notebook, you can run the code in the notebook and also see graphviz visualizations of the workflow.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbriangershon%2Fpython-vscode-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbriangershon%2Fpython-vscode-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbriangershon%2Fpython-vscode-dev/lists"}