Skip to content

Commit 84f2448

Browse files
committed
Release v0.4.4
1 parent f772ccf commit 84f2448

File tree

5 files changed

+50
-2
lines changed

5 files changed

+50
-2
lines changed

docs/changelog.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff 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.picloud.PiCloud`
16+
- Added :meth:`~hostedpi.picloud.PiCloud.get_ipv6_ssh_config()` method to
17+
:class:`~hostedpi.picloud.PiCloud`
18+
1119
Release 0.4.3 (2025-07-25)
1220
==========================
1321

docs/cli/ssh/command.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff 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
3947
ssh -p 5091 [email protected]
4048
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+
ssh -p 5091 [email protected]
55+
4156
Output the IPv6 SSH command for a Pi:
4257

4358
.. code-block:: console
4459
4560
$ hostedpi ssh command mypi --ipv6
4661
4762
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

docs/cli/ssh/config.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff 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

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import sphinx_rtd_theme
88

99

10-
hostedpi_version = "0.4.3"
10+
hostedpi_version = "0.4.4"
1111

1212

1313
# -- General configuration ------------------------------------------------

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "hostedpi"
3-
version = "0.4.3"
3+
version = "0.4.4"
44
description = "Python interface to the Mythic Beasts Hosted Pi API"
55
authors = [
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
]

0 commit comments

Comments
 (0)