{"id":19888265,"url":"https://github.com/project-codeflare/pypi-cache","last_synced_at":"2026-03-19T12:13:28.925Z","repository":{"id":210729468,"uuid":"727318834","full_name":"project-codeflare/pypi-cache","owner":"project-codeflare","description":"Simple implementation of PyPI cache server for offline use","archived":false,"fork":false,"pushed_at":"2023-12-10T14:35:24.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-01T04:41:47.723Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/project-codeflare.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}},"created_at":"2023-12-04T16:15:46.000Z","updated_at":"2023-12-04T16:17:28.000Z","dependencies_parsed_at":"2023-12-04T17:50:56.251Z","dependency_job_id":null,"html_url":"https://github.com/project-codeflare/pypi-cache","commit_stats":null,"previous_names":["project-codeflare/pypi-cache"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/project-codeflare/pypi-cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-codeflare%2Fpypi-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-codeflare%2Fpypi-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-codeflare%2Fpypi-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-codeflare%2Fpypi-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/project-codeflare","download_url":"https://codeload.github.com/project-codeflare/pypi-cache/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-codeflare%2Fpypi-cache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270632224,"owners_count":24619446,"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-08-15T02:00:12.559Z","response_time":110,"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":"2024-11-12T18:06:46.391Z","updated_at":"2026-03-19T12:13:28.862Z","avatar_url":"https://github.com/project-codeflare.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Container With Devpi Server\n\nA Dockerfile image based on [python:3-alpine3.9](https://hub.docker.com/layers/library/python/3.9-alpine) that runs\na [devpi](http://doc.devpi.net) server (*a PyPi Cache*).\n\n\nTo install required packages, and to store required package cache on devpi server's index_url (in order to use packages in offline air-gapped environment) : \n- Update `requirements.txt` file with the list of required package dependencies before image build. These listed packages in `requirements.txt` will be installed as a part of image build.\n\n## Usage\n\nAfter clonning repository, change current directory to devpi folder  : \n```bash\ncd devpi\n```\nBuild an image using Dockerfile present in current working directory\n```bash\npodman build -t \u003cimage_name\u003e .\n```\nAlternatively you can specify Python base image, used as environment detected by pip to pull dependencies for, by providing build parameter `PYTHON_IMAGE`.\n```bash\npodman build -t \u003cimage_name\u003e --build-arg PYTHON_IMAGE=pytorch/pytorch:1.11.0-cuda11.3-cudnn8-runtime .\n```\n\nRun container instance using image created above by port forwarding container port `3141` to container host's port `3141` \n```bash\npodman run -it --rm -p 3141:3141 --name devpi localhost/\u003cimage_name\u003e\n\n```\n\n### pip\n\nUse a configuration similar to this in your `~/.pip/pip.conf`:\n\n```ini\n[global]\nindex-url = http://\u003cdevpi_server_url\u003e/root/pypi/+simple/\n```\n\n### setuptools\n\nUse a configuration similar to this in your `~/.pydistutils.cfg`:\n\n```ini\n[easy_install]\nindex_url = http://\u003cdevpi_server_url\u003e/root/pypi/+simple/\n```\nIn case, to run devpi-server on localhost system :  `\u003cdevpi_server_url\u003e` ~ `localhost` \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproject-codeflare%2Fpypi-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproject-codeflare%2Fpypi-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproject-codeflare%2Fpypi-cache/lists"}