Skip to main content

Truenaspy

Fetch data from TrueNas

Install

Use the PIP package manager

$ pip install truenaspy

Or manually download and install the last version from github

$ git clone https://github.com/cyr-ius/truenaspy.git
$ python setup.py install

Get started

# Import the truenaspy package.
from truenaspy import TruenasWebsocket

HOST="1.2.3.4:8080"

async def main():
    websocket = TruenasWebsocket(host=HOST, use_tls=True, verify_ssl=False)
    listener = await websocket.async_connect(USERNAME, PASSWORD)
    info = await ws.async_call(method="system.info")
    print(rlst)
    await websocket.async_close()

loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
asyncio.run(async_main())

Have a look at the example.py for a more complete overview.

Metadata

Release files for truenaspy 1.0.3

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

Source distribution (sdist)

Source distribution for truenaspy 1.0.3
File Size Uploaded
truenaspy-1.0.3.tar.gz 26.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for truenaspy 1.0.3
File Interpreter ABI Platform
truenaspy-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 47.0 kB

Release files / truenaspy-1.0.3.tar.gz

Download URL truenaspy-1.0.3.tar.gz
Size 26.2 kB
Tags Source
SHA-256 checksum
How to use checksums
11464d2e7ba0c92a8338ce98d8d8d390e22c9f427c9e83410b1b548b3fe567c8
BLAKE2b-256 checksum
How to use checksums
60a30994c315f9e883733c89ae54e91f79be80fe05f6a4b36ad53b9085d3ee81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 20, 2026.

Transparency log

Release files / truenaspy-1.0.3-py3-none-any.whl

Download URL truenaspy-1.0.3-py3-none-any.whl
Size 20.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
860f69c89ae4bdfffb0600bfab6dc24084e09034b9a34e2cfa74925f0c871354
BLAKE2b-256 checksum
How to use checksums
3ac0fe31b71033e5f87d36d935773e840dba1b7e9befdbd982f5fa7343cd2d94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 20, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.9

2 release files

0.7.8

2 release files

0.7.7

2 release files

0.7.6

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.8

2 release files

0.6.7

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.9

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.9

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.3.0

2 release files

0.2.0

2 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