A Sopel plugin to show information about linked PyPI packages.
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.1
Fixed:
- Incorrect datetime maths
0.3.0
Note: Yanked due to bug fixed by 0.3.1.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sopel_pypi-0.3.1.tar.gz
.
File metadata
- Download URL: sopel_pypi-0.3.1.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
2f43ceb6deabf7bc11e4ecb72be716a84a370ed981676aa36d034d2551eec548
|
|
MD5 |
b023ab705239ddaab102604f5d6657b5
|
|
BLAKE2b-256 |
5071eb9e295bd328f4a8fb1805427c4d70fdafc231997648d016fe6485379bbe
|
Provenance
The following attestation bundles were made for sopel_pypi-0.3.1.tar.gz
:
Publisher:
pypi.yml
on sopel-irc/sopel-pypi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
sopel_pypi-0.3.1.tar.gz
-
Subject digest:
2f43ceb6deabf7bc11e4ecb72be716a84a370ed981676aa36d034d2551eec548
- Sigstore transparency entry: 204202147
- Sigstore integration time:
-
Permalink:
sopel-irc/sopel-pypi@ef29ac9928578c9af943a849bab94a287e05574b
-
Branch / Tag:
refs/tags/v0.3.1
- Owner: https://github.com/sopel-irc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
pypi.yml@ef29ac9928578c9af943a849bab94a287e05574b
-
Trigger Event:
release
-
Statement type:
File details
Details for the file sopel_pypi-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: sopel_pypi-0.3.1-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0408d2643d269fa579f9bbca1445546d9de98f3d3b9b1b31ca0aebe9126c1cfd
|
|
MD5 |
304863a4ece179afc0513f82ce83d1a6
|
|
BLAKE2b-256 |
be84dee3f05308d9bf4f5a273c179c4fe1df7d7e060c804b4a649ead16c18c18
|
Provenance
The following attestation bundles were made for sopel_pypi-0.3.1-py3-none-any.whl
:
Publisher:
pypi.yml
on sopel-irc/sopel-pypi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
sopel_pypi-0.3.1-py3-none-any.whl
-
Subject digest:
0408d2643d269fa579f9bbca1445546d9de98f3d3b9b1b31ca0aebe9126c1cfd
- Sigstore transparency entry: 204202149
- Sigstore integration time:
-
Permalink:
sopel-irc/sopel-pypi@ef29ac9928578c9af943a849bab94a287e05574b
-
Branch / Tag:
refs/tags/v0.3.1
- Owner: https://github.com/sopel-irc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
pypi.yml@ef29ac9928578c9af943a849bab94a287e05574b
-
Trigger Event:
release
-
Statement type: