A web interface to browse and search packages in any simple package repository (PEP-503), inspired by PyPI / warehouse
Reason this release was yanked:
No longer functional
Project description
simple-repository-browser
A web interface to browse and search packages in any simple package repository (PEP-503), inspired by PyPI / warehouse.
Built using FastAPI and the simple-repository core library.
Usage
Install from PyPI:
python -m pip install simple-repository-browser
And run:
simple-repository-browser
(or alternatively python -m simple_repository_browser
)
By default, this will use the repository at PyPI (https://pypi.org/simple/). You can point it to a custom repository by passing the URL to the project list endpoint (the base URL according to PEP-503):
simple-repository-browser https://my-custom-repository.example.com/foo/simple/
Screenshots:
Homepage:
Search:
Project page:
Runtime details
simple-repository-browser
exposes a FastAPI application, and it runs the application in a single uvicorn
worker.
Metadata that is computed will be cached in the $XDG_CACHE_DIR/simple-repository-browser
directory. This cache is not
intended to be shared among different repository URLs, and is unlikely to work for multiple simple-repository-browser
versions. There is currently no intelligent cache invalidation for those cases.
Development
In order to build the simple-repository-browser
, first:
cd javascript
npm install --include=dev
npm run build
cd ..
And then the normal installation procedure applies:
python -m pip install -e .
The browser can be run with:
python -m simple_repository_browser
License and Support
This code has been released under the MIT license. It is an initial prototype which is developed in-house, and not currently openly developed.
It is hoped that the release of this prototype will trigger interest from other parties that have similar needs. With sufficient collaborative interest there is the potential for the project to be openly developed, and to power Python package repositories across many domains.
Please get in touch at https://github.com/orgs/simple-repository/discussions to share how this project may be useful to you. This will help us to gauge the level of interest and provide valuable insight when deciding whether to commit future resources to the project.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file simple-repository-browser-0.3.4.tar.gz
.
File metadata
- Download URL: simple-repository-browser-0.3.4.tar.gz
- Upload date:
- Size: 1.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bc197f502b756e5ff17305d1eefddc79ebc28bd063e4a080f8cd34701d898b1 |
|
MD5 | 816c372e143578e93d1399680b6408a0 |
|
BLAKE2b-256 | a7b282f455e90b5d83ee46dbb042893141d0674a75fc62c6f5ebeacaf239e9db |
File details
Details for the file simple_repository_browser-0.3.4-py3-none-any.whl
.
File metadata
- Download URL: simple_repository_browser-0.3.4-py3-none-any.whl
- Upload date:
- Size: 393.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | acc8262a5330fd24e9e6548a82323c913e23eda76e819523cafcb4e3a7b1633e |
|
MD5 | 89662cc419bb37a267bba892dff397aa |
|
BLAKE2b-256 | b0a6cba383145eb20fc054cb2b9c35e6b1cc287f89b9f3e091eec537c714ea62 |