Skip to main content

Show a list of currently installed Python packages

Project description

datasette-packages

PyPI Changelog Tests License

Show a list of currently installed Python packages

Installation

Install this plugin in the same environment as Datasette.

datasette install datasette-packages

Usage

Visit /-/packages to see a list of installed Python packages. Each package links to a detail page at /-/packages/package-name showing the full metadata and README for that package.

Visit /-/packages.json to get the list back as JSON.

Demo

The output of this plugin can be seen here:

With datasette-graphql

if you have version 2.1 or higher of the datasette-graphql plugin installed you can also query the list of packages using this GraphQL query:

{
  packages {
    name
    version
  }
}

Demo of this query.

Development

Run the tests using uv run pytest:

cd datasette-packages
uv run pytest

To try the plugin locally, use:

uv run datasette

Then visit http://localhost:8001/-/packages

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

datasette_packages-0.3.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datasette_packages-0.3-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file datasette_packages-0.3.tar.gz.

File metadata

  • Download URL: datasette_packages-0.3.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for datasette_packages-0.3.tar.gz
Algorithm Hash digest
SHA256 07c610a95b7204bbeb04c8f7ebb3863399d2cadce11dd5a41c07e5bcb204948c
MD5 2ff1b49d64f5ba71c7563aa88659b5f2
BLAKE2b-256 5cbfb907eb51597d71497f2e9fccbc7eff4860da4bfd4f6a420d7ba21c51341b

See more details on using hashes here.

Provenance

The following attestation bundles were made for datasette_packages-0.3.tar.gz:

Publisher: publish.yml on simonw/datasette-packages

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file datasette_packages-0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for datasette_packages-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 70fdbdd680af95a1e2e410bcf3c1b8369203acc8f1a8541b414a9cdef7f19035
MD5 1a1cebcb6630a58c81f0cb33ee06c83b
BLAKE2b-256 5813a08b2d5347abf2d37bb0a5b396b19f3da28e05e2e38a98054d44b6184bf1

See more details on using hashes here.

Provenance

The following attestation bundles were made for datasette_packages-0.3-py3-none-any.whl:

Publisher: publish.yml on simonw/datasette-packages

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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