Skip to main content

Top-level domain (TLD) info plugin for Sopel IRC bots.

Project description

sopel-tld

Top-level domain (TLD) info plugin for Sopel IRC bots.

Installing

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

$ pip install sopel-tld

Using

This plugin provides the .tld command, which can be used to look up a top-level domain with or without the leading .:

<dgw> .tld .net
<Sopel> [tld] Name: .net | Entity: network | Administrator: Verisign | IDN: Yes
        | DNSSEC: Yes | SLD: Yes | IPv6: Yes | Notes: This is an open TLD; any
        person or entity is permitted to register. According to RFC 1591 (March
        1994) "This domain is intended to hold only the computers of network
        providers."

<dgw> .tld mil
<Sopel> [tld] Name: .mil | Entity: U.S. military | Administrator: United States
        Department of Defense | IDN: No | DNSSEC: Yes | SLD: Yes | IPv6: Yes |
        Notes: The .mil TLD is restricted to departments, services and agencies
        of the United States Department of Defense.

Most data is sourced from the English Wikipedia, so code updates might be required periodically as their table format evolves.

Changelog

0.1.0

First release of sopel-tld, based on the built-in tld plugin from Sopel 8.0.

Compared to the built-in plugin, this release contains a simple fix for some ccTLD output errors caused by new <style> tags in the Wikipedia markup.

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_tld-0.1.0.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

sopel_tld-0.1.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file sopel_tld-0.1.0.tar.gz.

File metadata

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

File hashes

Hashes for sopel_tld-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c9fa4ee432b6f082889ed7327b55759bb3ef44ef8c0026ffe9215fc1e881a372
MD5 aff43c5c3cbd03c45987f7299b0b41a2
BLAKE2b-256 09ec79725445e8e0912cb753405c0939ae311faa1b263ae6d074beb738fa52f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for sopel_tld-0.1.0.tar.gz:

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

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_tld-0.1.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for sopel_tld-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 975b8e36ea65d10d36977c85e58cf4746569c418a3c777f0aa7e3253e89de705
MD5 6e5ee42f7747fca27bbd61c91a0d4a90
BLAKE2b-256 672fca5a517b13623091cb516d65c8e08db14096529be02bb81aff9905d57ca8

See more details on using hashes here.

Provenance

The following attestation bundles were made for sopel_tld-0.1.0-py3-none-any.whl:

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

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