Automatically choose a random IPv6 address from your subnet.
Project description
subroll
Automatically choose a random IPv6 address from your subnet.
Currently it only supports Linux and requests.
AnyIP
AnyIP is a new feature of the Linux kernel, you need to enable AnyIP in order to use this library.
sudo ip -6 route add local 0123:4567:89ab::/48 dev lo
This will enable AnyIP, replace 0123:4567:89ab::/48 with your subnet and run this command on a shell.
(this will not persist after reboot)
Example
from src.subroll import SubRoll
roll = SubRoll("0123:4567:89ab::/48")
for _ in range(100):
session = roll.get_session()
print(session.get("https://ipv6.wtfismyip.com/text").text)
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file subroll-0.0.2.tar.gz.
File metadata
- Download URL: subroll-0.0.2.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05469c7297768b42760138ff457d714c1145577139d659439614ece94e2566bf
|
|
| MD5 |
a3fee835ad9c8660ba5400363758f8fb
|
|
| BLAKE2b-256 |
7464c153102f37d502bb4e00dbc7ea424289a9321f5f4e1dd2b5731a81468705
|
File details
Details for the file subroll-0.0.2-py3-none-any.whl.
File metadata
- Download URL: subroll-0.0.2-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a63827334d766e80fc140aa718798ea696f00c2864c6a31ec4085173ee5b3be
|
|
| MD5 |
a3115f599bf01ba8b27cb13b16e6fc6c
|
|
| BLAKE2b-256 |
7d6dce33babe2e46d7bc24510b219452ceddcd90b68df6095748a7be2641a751
|