{"id":31197022,"url":"https://github.com/suizer98/arcpy3-pyinfra","last_synced_at":"2026-05-07T09:33:06.086Z","repository":{"id":310225280,"uuid":"1038612610","full_name":"Suizer98/arcpy3-pyinfra","owner":"Suizer98","description":"A POC to automate tasks and deployment in air gapped environment where need to rely on ArcGIS Pro built in Python.","archived":false,"fork":false,"pushed_at":"2025-08-30T10:20:08.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-31T09:51:27.682Z","etag":null,"topics":["arcgispro","docker","pyinfra","windows"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Suizer98.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-15T14:19:34.000Z","updated_at":"2025-08-30T10:20:12.000Z","dependencies_parsed_at":"2025-09-20T06:00:19.802Z","dependency_job_id":"cd2ebb36-1174-40bf-9250-270df83c96b2","html_url":"https://github.com/Suizer98/arcpy3-pyinfra","commit_stats":null,"previous_names":["suizer98/arcpy3-pyinfra"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Suizer98/arcpy3-pyinfra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suizer98%2Farcpy3-pyinfra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suizer98%2Farcpy3-pyinfra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suizer98%2Farcpy3-pyinfra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suizer98%2Farcpy3-pyinfra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Suizer98","download_url":"https://codeload.github.com/Suizer98/arcpy3-pyinfra/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suizer98%2Farcpy3-pyinfra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32731407,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["arcgispro","docker","pyinfra","windows"],"created_at":"2025-09-20T06:00:05.143Z","updated_at":"2026-05-07T09:33:06.066Z","avatar_url":"https://github.com/Suizer98.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ArcPy3 PyInfra\n\n![Tech Stacks](https://skillicons.dev/icons?i=python,docker,windows,git)\n\n## Overview\n\nIn production environment, we may have encountered where we need to install ArcGIS Pro 3.1.2 with Python 3.9.16 environment in a hardened vm. However, that vm may have limited internet access or package installation restrictions in enterprise environments. This tool allows you to:\n\n1. Download all required PyInfra packages for Windows Python 3.9.16 using Docker\n2. Transfer the downloaded packages to your ArcGIS Pro VM\n3. Install them offline in a virtual environment\n4. Run automated environment checks with a user-friendly TUI (Text User Interface)\n\n## Quick Start\n\n### Download Packages\n\n```bash\ncd arcpy3-pyinfra\ndocker compose up --build\nOR\npodman compose up --build\n```\n\nThe packages will be downloaded to the `./pyinfra_packages` directory.\n\n### Install on Windows VM\n\n#### 1. Prepare Virtual Environment\n\nNavigate to your ArcGIS Pro Python environment and create a new virtual environment (using Program Files as example):\n\n```cmd\nC:\\Program Files\\ArcGIS\\Pro\\bin\\Python\\envs\\arcgispro-py3\u003epython -m venv pyinfra-venv C:\\venvs\\pyinfra-venv\n```\n\n#### 2. Activate the Virtual Environment\n\n```cmd\nC:\\Program Files\\ArcGIS\\Pro\\bin\\Python\\envs\\arcgispro-py3\u003eC:\\venvs\\pyinfra-venv\\Scripts\\activate\n\n(pyinfra-venv) C:\\Program Files\\ArcGIS\\Pro\\bin\\Python\\envs\\arcgispro-py3\u003e\n```\n\n#### 3. Transfer Downloaded Packages\n\nCopy the `pyinfra_packages` folder from your Docker host to your Windows VM. You can use any file transfer method available in your environment.\n\n#### 4. Install Packages Offline\n\nOnce you have the packages on your VM and your virtual environment activated:\n\n```cmd\n(pyinfra-venv) C:\\\u003e cd path\\to\\pyinfra_packages\n\n(pyinfra-venv) C:\\path\\to\\pyinfra_packages\u003e pip install --find-links . --no-index pyinfra\n```\n\n### Verify Installation\n\n```cmd\npyinfra --version\n```\n\n## Running Environment Checks\n\nAfter installing pyinfra, you can run environment checks to verify your setup:\n\n```bash\npyinfra @local env_checks.py\n```\n\nThis will check:\n- ArcGIS Pro installation in common locations\n- pyinfra-venv virtual environment existence\n- Virtual environment activation readiness\n\n## Why PyInfra?\n\n- **Better Windows Compatibility**: Unlike Ansible or Salt cannot be hosted on Window machine\n- **Simpler Dependencies**: Fewer system-level dependencies\n- **ArcGIS Pro Friendly**: Better integration with Python-based GIS workflows\n\n## Version Compatibility\n\n### ArcGIS Pro 3.1.2\n**Important**: If you're using ArcGIS Pro 3.1.2, you must use **pyinfra \u003c 3.0** due to compatibility issues with the Python environment in that version.\n\n```bash\npip install \"pyinfra\u003c3.0\"\n```\n\n### ArcGIS Pro 3.5\nFor ArcGIS Pro 3.5 and later versions, you can use the latest pyinfra version (3.x) as they have improved Python 3.11.11 support.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuizer98%2Farcpy3-pyinfra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuizer98%2Farcpy3-pyinfra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuizer98%2Farcpy3-pyinfra/lists"}