Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leosunmo/gopi
Pypi server in Go
https://github.com/leosunmo/gopi
Last synced: about 1 month ago
JSON representation
Pypi server in Go
- Host: GitHub
- URL: https://github.com/leosunmo/gopi
- Owner: leosunmo
- Created: 2020-01-27T20:17:44.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-06T05:48:03.000Z (almost 5 years ago)
- Last Synced: 2025-01-04T04:42:03.928Z (about 1 month ago)
- Language: Go
- Size: 137 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gopi
PyPi server in Go
## Dev
```
docker-compose up -d --build
```
Go to http://localhost:9000 and make sure you create a bucket called "gopi" or whatever you change it to the in `docker-compose.yaml` file.Access Key and Secret Key is `minioadmin` by default.
A good test package to upload is https://github.com/prometheus/client_python.
```
mkdir tmp
cd tmp/
git clone https://github.com/prometheus/client_python.gitcd client_python
sudo python3 setup.py sdist upload -r http://localhost:8080/simple
```Tailing the logs of `gopi` with `docker-compose logs -f gopi` will give you a lot of debug output since the `client_python` package passes it's markdown README in the `description` paramter in the POST form.
Hopefully you should see a new directory and files in Minio at http://localhost:9000/.
http://localhost:8080/simple/ should also give you a list of the uploaded packages.