{"id":31642443,"url":"https://github.com/tameronline/dichfoto_server_file","last_synced_at":"2025-10-07T03:59:33.090Z","repository":{"id":311700103,"uuid":"1044632783","full_name":"TamerOnLine/dichfoto_server_file","owner":"TamerOnLine","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-26T02:18:59.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-26T04:22:23.722Z","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-26T01:40:44.000Z","updated_at":"2025-08-26T02:19:04.000Z","dependencies_parsed_at":"2025-08-26T04:26:10.096Z","dependency_job_id":"586a4a13-5eb5-43a6-9450-3a4bc38aedac","html_url":"https://github.com/TamerOnLine/dichfoto_server_file","commit_stats":null,"previous_names":["tameronline/dichfoto_server_file"],"tags_count":null,"template":false,"template_full_name":"TamerOnLine/pro_venv","purl":"pkg:github/TamerOnLine/dichfoto_server_file","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TamerOnLine%2Fdichfoto_server_file","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TamerOnLine%2Fdichfoto_server_file/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TamerOnLine%2Fdichfoto_server_file/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TamerOnLine%2Fdichfoto_server_file/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TamerOnLine","download_url":"https://codeload.github.com/TamerOnLine/dichfoto_server_file/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TamerOnLine%2Fdichfoto_server_file/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278717437,"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:28.237Z","updated_at":"2025-10-07T03:59:33.085Z","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_server_file","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftameronline%2Fdichfoto_server_file","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftameronline%2Fdichfoto_server_file/lists"}