Skip to main content

spiro-network

A variety of network utilities.

This is meant to be installed on minions.

Full docs available online.

Installation

On minions, install the spiro-network PyPI package.

Interface

A number of things are provided:

Modules

  • ipaddr.external_four, ipaddr.external_six: Queries external services for your IP, useful if the minion is behind a NAT or other complex network

  • ipaddr.four, ipaddr.six: Collates information about a minion's IP address from several sources.

    • network.ipaddrs / network.ipaddrs6
    • AWS metadata if the metadata grain is available
    • ipaddr.external_four / ipaddr.external_six (above)

States

  • hostname.is: Sets the hostname, takes no arguments. (Note: See hostname(1) for information on FQDNs and other hostname variants.)

Configuration

spiro-network requires no configuration to function.

Release files for spiro-network 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spiro-network 0.2
File Size Uploaded
spiro-network-0.2.tar.gz 5.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spiro-network 0.2
File Interpreter ABI Platform
spiro_network-0.2-py3-none-any.whl Python 3 none any Details

Total release size: 22.8 kB

Release files / spiro-network-0.2.tar.gz

Download URL spiro-network-0.2.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
82c7e880d222a77146a4103db8ee8596b5ee17d1d1c0c7e5a8b37b036a7d4807
BLAKE2b-256 checksum
How to use checksums
42daf31b11d9ec13562fd633fa7f9e7f8ea3a5dd2aee864ea8526645d3859c6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.7.0 requests/2.25.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

Release files / spiro_network-0.2-py3-none-any.whl

Download URL spiro_network-0.2-py3-none-any.whl
Size 17.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5094b83aebddc06716062826b12328ab791ef22415284b5e763368b3d5442c24
BLAKE2b-256 checksum
How to use checksums
cba5c7d428f137e8cced88552d0fdd16d0b9852d3fd697f247d47d07b26d3069
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.7.0 requests/2.25.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page