Skip to main content

A Sopel plugin to show information about linked PyPI packages.

Reason this release was yanked:

Non-functional due to datetime maths error

Project description

sopel-pypi

A Sopel plugin to show information about linked PyPI packages.

Installing

Releases are hosted on PyPI, so after installing Sopel, all you need is pip:

$ pip install sopel-pypi

Usage

Just send a link to a package or release:

<dgw> https://pypi.org/project/sopel/7.1.9/
<Sopel> [PyPI] sopel 7.1.9 | Author: dgw | Released 2 years, 11 months ago |
        Simple and extensible IRC bot
<dgw> https://pypi.org/project/sopel/ no version this time
<Sopel> [PyPI] sopel 8.0.2 | Author: dgw, Florian Strzelecki, Sean B. Palmer,
        Else Powell, Elad Alfassa, Dimitri Molenaars, Michael Yanovich |
        Released 1 month, 26 days ago | Simple and extensible IRC bot

You can also look up packages (optionally, at a specific version) with the .pypi command:

<dgw> .pypi sopel-xkcdb
<Sopel> [PyPI] sopel-xkcdb 0.1.0 | Author: dgw | Released 1 day, 2 hours ago |
        XKCDB quotes plugin for Sopel IRC bots |
        https://pypi.org/project/sopel-xkcdb/0.1.0/
<dgw> .pypi sopel 6
<Sopel> [PyPI] sopel 6.0.0 | Author: Edward Powell | Released 9 years, 6 months
        ago | Simple and extendible IRC bot |
        https://pypi.org/project/sopel/6.0.0/

Note that specifying an incomplete version number relies on how PyPI chooses to handle it. The behavior as of April 2025 is to find the earliest non-prerelease version with that prefix, as shown above.

Changelog

0.3.0

Changed:

  • Require Sopel 8 and Python 3.8 or higher (#10)

Fixed:

  • More robust "Author" name parsing (#11)

Meta:

  • Various code style, structure, and package metadata housekeeping (#10)
  • Modernized changelog format
  • Automated package publishing

0.2.0

Added:

  • Support pypi.io links (#5)

Changed:

  • Support upcoming Sopel 8.0 version; now requires 7.1+ (#6)

0.1.4

Fixed:

  • Package author field can be empty (#4)

0.1.3

Fixed:

  • PyPI API changed (#3)

0.1.2

Fixed:

  • Query with no version specified now says "(any)" instead of the previous direct-to-string conversion of "None" (#2)

0.1.1

Added:

  • Output link to release if invoked via command

Fixed:

  • URL pattern not matching some allowed punctuation in package names

Meta:

  • Corrected project description content type for PyPI

0.1.0

Initial release.

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

sopel_pypi-0.3.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

sopel_pypi-0.3.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file sopel_pypi-0.3.0.tar.gz.

File metadata

  • Download URL: sopel_pypi-0.3.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sopel_pypi-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9a8ef765016d72b9ecbf36946d2f829036bed91f8d4d7ceeeb0b019630680af8
MD5 b69eb4dc4cdb2fb2dff1d8eeab3e146e
BLAKE2b-256 550e33051436484a7b0953ba3e127808ebfdd0fd4f0e4e455be0e82a6cf13a1d

See more details on using hashes here.

Provenance

The following attestation bundles were made for sopel_pypi-0.3.0.tar.gz:

Publisher: pypi.yml on sopel-irc/sopel-pypi

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

File details

Details for the file sopel_pypi-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: sopel_pypi-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sopel_pypi-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 84bb70afc87e583b7c276917bc3f86249d1a828b5534a430b051559222be8286
MD5 9fb01a1baa6708a22e868423341c04de
BLAKE2b-256 88d1ac76137db38d3a2bd752432e4b93ceabb75663a05c951450562457f90c62

See more details on using hashes here.

Provenance

The following attestation bundles were made for sopel_pypi-0.3.0-py3-none-any.whl:

Publisher: pypi.yml on sopel-irc/sopel-pypi

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