File tree Expand file tree Collapse file tree 5 files changed +50
-2
lines changed Expand file tree Collapse file tree 5 files changed +50
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,14 @@ Changelog
88 Once the library reaches v1.0, it will be considered stable. Please consider giving feedback to
99 help stabilise the API.
1010
11+ Release 0.4.4 (2025-10-10)
12+ ==========================
13+
14+ - Added :meth: `~hostedpi.pi.Pi.get_ipv6_ssh_command() ` and
15+ :meth: `~hostedpi.pi.Pi.get_ipv6_ssh_config() ` methods to :class: `~hostedpi.pi.Pi `
16+ - Added :meth: `~hostedpi.picloud.PiCloud.get_ipv6_ssh_config() ` method to
17+ :class: `~hostedpi.picloud.PiCloud `
18+
1119Release 0.4.3 (2025-07-25)
1220==========================
1321
Original file line number Diff line number Diff line change @@ -24,6 +24,14 @@ Options
2424
2525 Use the IPv6 connection method
2626
27+ .. option :: --numeric -n
28+
29+ Use the IPv6 address instead of the hostname
30+
31+ .. option :: --username -u [str]
32+
33+ The username to use when connecting
34+
2735.. option :: --help
2836
2937 Show this message and exit
@@ -38,13 +46,27 @@ Output the IPv4 SSH command for a Pi:
3846 $ hostedpi ssh command mypi
39474048
49+ Output the IPv4 SSH command for a Pi, with a custom username:
50+
51+ .. code-block :: console
52+
53+ $ hostedpi ssh command mypi --username pi
54+ 55+
4156 Output the IPv6 SSH command for a Pi:
4257
4358.. code-block :: console
4459
4560 $ hostedpi ssh command mypi --ipv6
46614762
63+ Output the IPv6 SSH command for a Pi, with a custom username and numeric address:
64+
65+ .. code-block :: console
66+
67+ $ hostedpi ssh command mypi --ipv6 --numeric --username pi
68+ ssh pi@[2a00:1098:8:14b::1]
69+
4870 .. note ::
4971
5072 You will need to have an SSH key on the Pi to be able to connect. This can be done when the Pi
Original file line number Diff line number Diff line change @@ -28,6 +28,14 @@ Options
2828
2929 Use the IPv6 connection method
3030
31+ .. option :: --numeric -n
32+
33+ Use the IPv6 address instead of the hostname
34+
35+ .. option :: --username -u [str]
36+
37+ The username to use when connecting
38+
3139.. option :: --help
3240
3341 Show this message and exit
@@ -63,6 +71,15 @@ Output the IPv6 SSH config for a Pi:
6371 user root
6472 hostname mypi.hostedpi.com
6573
74+ Output the IPv6 SSH config for a Pi, using a custom username and numeric address:
75+
76+ .. code-block :: console
77+
78+ $ hostedpi ssh config mypi --ipv6 --numeric --username pi
79+ Host mypi
80+ user pi
81+ hostname 2a00:1098:8:14b::1
82+
6683 Output the IPv4 SSH config for multiple Pis:
6784
6885.. code-block :: console
Original file line number Diff line number Diff line change 77import sphinx_rtd_theme
88
99
10- hostedpi_version = "0.4.3 "
10+ hostedpi_version = "0.4.4 "
1111
1212
1313# -- General configuration ------------------------------------------------
Original file line number Diff line number Diff line change 11[project ]
22name = " hostedpi"
3- version = " 0.4.3 "
3+ version = " 0.4.4 "
44description = " Python interface to the Mythic Beasts Hosted Pi API"
55authors = [
66 {
name =
" Ben Nuttall" ,
email =
" [email protected] " }
@@ -18,6 +18,7 @@ classifiers = [
1818 " Programming Language :: Python :: 3.11" ,
1919 " Programming Language :: Python :: 3.12" ,
2020 " Programming Language :: Python :: 3.13" ,
21+ " Programming Language :: Python :: 3.14" ,
2122 " Intended Audience :: Developers" ,
2223 " Topic :: Utilities" ,
2324]
You can’t perform that action at this time.
0 commit comments