Skip to main content

Expand host range patterns like n[1-10] or c[01-05] into lists of hostnames

Project description

hostrange

Expand host range patterns into lists of hostnames.

Installation

pip install hostrange

Usage

Python API

from hostrange import expand

hostlist = expand("n[1-10]")

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

hostrange-0.1.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

hostrange-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hostrange-0.1.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.8

File hashes

Hashes for hostrange-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cc8cfeee80f1a6ecbc8780ce8da82bdd425f5c02bedb0e8a6cf2261e7b1eb6fa
MD5 430f5629507ef9fbe4b2b8aaf6689a42
BLAKE2b-256 a9e5f04e3bad26ee96091fe7c501178696884192160ed274cab833c418eec198

See more details on using hashes here.

File details

Details for the file hostrange-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hostrange-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.8

File hashes

Hashes for hostrange-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a083d79bfd948c7f1c8ef42b0bd283a959a0f6de414d1106c6834e0265cc296
MD5 e30b2f3f0034d6a33b98ccd60b7c74d4
BLAKE2b-256 c4941b3846ad360d640bc6dcbe10fb5134dd5fcdd5151453a9d4bf6034d7cde3

See more details on using hashes here.

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