strayge/pypi-web

Repository files navigation

preview

Custom PyPI web interface for search with additional information:

  • Downloads
  • stars
  • forks

Plus sorting by this fields.

.env file is used to configure the application. The following variables are used:

  • _TOKEN - legacy token to access GraphQL API
  • BIG_QUERY_TOKEN - encrypted Google Service Account key (JSON with base64 encoding) to access Google BigQuery
    (guide for creation can be found at pypinfo readme)

To encrypt BIG_QUERY_TOKEN use python update.py --password

python main.py --port 8080
python update.py --all
  • --password - encrypt BIG_QUERY_TOKEN with user password

  • --all - update all databases

  • --metadata - update PyPI packages metadata from Google BigQuery

  • --downloads - update PyPI packages downloads from Google BigQuery

About

Custom search for PyPI packages

Topics

Resources

Stars

Watchers

Forks