Skip to main content

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:

homepage screenshot

Search:

search result

Project page:

example 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple-repository-browser-0.4.2.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

simple_repository_browser-0.4.2-py3-none-any.whl (399.1 kB view details)

Uploaded Python 3

File details

Details for the file simple-repository-browser-0.4.2.tar.gz.

File metadata

File hashes

Hashes for simple-repository-browser-0.4.2.tar.gz
Algorithm Hash digest
SHA256 a18f67182d27abc70c3d45bda5b8edcbb64458c604f565b301f7e03e99a079e3
MD5 641fc6d3598d9a0a26e6109950ee4607
BLAKE2b-256 5110fd9355bbc479f0629e3f72a61b8a51b1449c6cfcc9f1ef1da71770f82e3b

See more details on using hashes here.

File details

Details for the file simple_repository_browser-0.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_repository_browser-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e194ce3ff54c90c3f7c4e12590af026f1aaccd29871fa3c4548b6f990b4bea1e
MD5 eca89666d45b3b6c3567f50204a49b4a
BLAKE2b-256 0aabf8a002f20decbd1003e405cff63b8c25247dd279233642cc2847152f7f0e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page