Skip to main content

ULAGen

Generate IPv6 ULA prefixes according to RFC4193, using the local node address (MAC-Address) and NTP time from an NTP server.

Usage

As standalone tool

▶ uvx ulagen
fdd0:7fb6:2ef0::/48

or

▶ pipx run ulagen
fdd0:7fb6:2ef0::/48

As a library

Returns an IPv6Network instance.

from ulagen import ULAGen

u = ULAGen()
network = u.generate()

Different NTP Server

By default the package uses the pool.ntp.org pool servers to get the current NTP time. If you want to use a different server, use the --ntp-server ntp.example.com command line option or, when using the library, use ULAGen(ntp_server="ntp.example.com").

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ulagen-1.0.0.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

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

ulagen-1.0.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file ulagen-1.0.0.tar.gz.

File metadata

  • Download URL: ulagen-1.0.0.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ulagen-1.0.0.tar.gz
Algorithm Hash digest
SHA256 dd804139a449b641286cee586ccf5b5d91e1329ede0162617fc04f7f828e78bb
MD5 e9322842a6ca95500c1704a57292760e
BLAKE2b-256 674aa57c87cf63f3ff282104b62b796b8fc19148e7168c1e546e25169ddd9840

See more details on using hashes here.

File details

Details for the file ulagen-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ulagen-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ulagen-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11afd7c88a1c7ccb37801902206174dc8a776c812343752791264b28d7f3ca03
MD5 e66adaabbda7f4dc197dd012b94ea7e4
BLAKE2b-256 f46bb2f2b8872c5eb62822cd7c2be47bb75446e24b975e325daebdcb7b400f97

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