{"id":31642453,"url":"https://github.com/tameronline/dichfoto","last_synced_at":"2025-10-07T03:59:36.017Z","repository":{"id":310716703,"uuid":"1040846520","full_name":"TamerOnLine/dichfoto","owner":"TamerOnLine","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-19T19:05:21.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-19T21:18:02.491Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/TamerOnLine.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":"2025-08-19T15:36:54.000Z","updated_at":"2025-08-19T19:05:24.000Z","dependencies_parsed_at":"2025-08-19T21:19:24.518Z","dependency_job_id":"c91ead00-58b1-44f8-b044-ebdb7ad6a672","html_url":"https://github.com/TamerOnLine/dichfoto","commit_stats":null,"previous_names":["tameronline/dichfoto"],"tags_count":null,"template":false,"template_full_name":"TamerOnLine/pro_venv","purl":"pkg:github/TamerOnLine/dichfoto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TamerOnLine%2Fdichfoto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TamerOnLine%2Fdichfoto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TamerOnLine%2Fdichfoto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TamerOnLine%2Fdichfoto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TamerOnLine","download_url":"https://codeload.github.com/TamerOnLine/dichfoto/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TamerOnLine%2Fdichfoto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278717435,"owners_count":26033542,"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-10-07T02:00:06.786Z","response_time":59,"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-10-07T03:59:29.860Z","updated_at":"2025-10-07T03:59:36.010Z","avatar_url":"https://github.com/TamerOnLine.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pro_venv — Project Scaffold\n\n![Build](https://github.com/TamerOnLine/pro_venv/actions/workflows/test-pro_venv.yml/badge.svg)\n![Release](https://img.shields.io/github/v/release/TamerOnLine/pro_venv?style=flat-square)\n![License](https://img.shields.io/github/license/TamerOnLine/pro_venv?style=flat-square)\n\nA one‑shot Python project scaffold. It prepares the virtual environment, installs requirements, generates launch files, and configures VS Code — all from **the project root**.\n\n---\n\n## 🚀 Quick Start\n\n\u003e Run all commands from **the project root**.\n\n```bash\n# first-time setup\npython pro_venv.py\n\n# run your app later\npython main.py\n```\n\n\u003e You don’t need to activate `venv` manually — `main.py` re-executes inside your environment automatically.\n\n---\n\n## ✨ What does the script do?\n\n- Creates or reads `setup-config.json` (project settings).\n- Creates `venv/` and upgrades `pip`.\n- Installs packages from `requirements.txt` (creates it if missing).\n- Generates:\n  - `main.py` (a safe launcher that re-executes inside venv, then runs your file).\n  - `app.py` (a simple starter entry point you can replace).\n  - `.vscode/settings.json`, `.vscode/launch.json`, and `project.code-workspace`.\n  - `env-info.txt` (Python version + list of installed packages).\n- (Optional) Generates a GitHub Actions workflow when using `--ci`.\n\n---\n\n## 🗂️ Files \u0026 Expected Structure\n\n```\n.\n├── pro_venv.py\n├── setup-config.json\n├── requirements.txt\n├── main.py\n├── app.py\n├── env-info.txt\n├── venv/\n└── .vscode/\n    ├── settings.json\n    └── launch.json\n```\n\n---\n\n## ⚙️ Configuration: `setup-config.json`\n\nDefault values created by the script:\n\n```json\n{\n  \"project_name\": \"\u003cfolder-name\u003e\",\n  \"main_file\": \"app.py\",\n  \"entry_point\": \"main.py\",\n  \"requirements_file\": \"requirements.txt\",\n  \"venv_dir\": \"venv\",\n  \"python_version\": \"3.12\"\n}\n```\n\nYou can edit these after generation (e.g., change the main file or the venv folder name).\n\n---\n\n## 🧪 GitHub Actions Integration (Optional)\n\nTo create a simple test workflow:\n\n```bash\npython pro_venv.py --ci create\n```\n\nThis generates: `.github/workflows/test-pro_venv.yml`.\n\n\u003e Use `--ci force` to overwrite if the file already exists, and `--ci-python` to choose the Python version.\n\n---\n\n## ❓ FAQ\n\n**Do I need to activate the environment manually?**  \nNo. `main.py` re-executes inside the environment, then runs `app.py`.\n\n**Where should I run the script from?**  \nFrom the **project root**. If you enable the safety check at the end of the file, it blocks running from outside the root with a clear message.\n\n**Where are VS Code settings saved?**  \nInside `.vscode/` in the project. It’s recommended to ignore these in Git because they’re local settings.\n\n---\n\n## 🧰 Requirements\n\n- Python 3.12 (or as configured in `setup-config.json`).\n- Permission to create folders/files in the project root.\n\n---\n\n## 📝 License\n\nMIT — see `LICENSE`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftameronline%2Fdichfoto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftameronline%2Fdichfoto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftameronline%2Fdichfoto/lists"}