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.

Visit /-/packages.json to get that 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

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd datasette-packages
python3 -mvenv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

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.2.1.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

datasette_packages-0.2.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file datasette-packages-0.2.1.tar.gz.

File metadata

  • Download URL: datasette-packages-0.2.1.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for datasette-packages-0.2.1.tar.gz
Algorithm Hash digest
SHA256 fafd4057b46bf3a91fab95afa92854e9eb74ef4098f73fb71b11fc073f9cbc7a
MD5 8a6ac9efcb255cb5b9d21bc8f61cf0f9
BLAKE2b-256 304aeced59667884c4cb5260ea1e77ff75d87383afb7a694f5669d4cc89dcdcb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for datasette_packages-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ffcc9fa136425589b3cac04eadbff5917b6f3b7f62f71aa8c7da72ae2ef93bfb
MD5 a31411875f58a3b85a2efa933f2c8ffb
BLAKE2b-256 2765fbb0ef56cba0c9857d6fd5efbb1d5098525ca8ab91f608378715fab1c08a

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