meshctrl
Library for remotely interacting with a MeshCentral server instance
Installation
pip install libmeshctrl
Usage
This module is implemented as a primarily asynchronous library (asyncio), mostly through the Session class. Because the library is asynchronous, you must wait for it to be initialized before interacting with the server. The preferred way to do this is to use the async context manager pattern:
import meshctrl
async with meshctrl.Session(url, **options):
print(await session.list_users())
...
However, if you prefer to instantiate the object yourself, you can simply use the initialized property:
session = meshctrl.Session(url, **options)
await session.initialized.wait()
Note that, in this case, you will be rquired to clean up tho session using its close method.
Session Parameters
url: URL of meshcentral server to connect to. Should start with either “ws://” or “wss://”.
options: optional parameters. Described at Read the Docs
API
API is documented in the API Docs
Note
This project has been set up using PyScaffold 4.6. For details and usage information on PyScaffold see https://pyscaffold.org/.
Metadata
Release files for libmeshctrl 1.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| libmeshctrl-1.3.3.tar.gz | 168.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| libmeshctrl-1.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 209.1 kB
Release files / libmeshctrl-1.3.3.tar.gz
| Download URL | libmeshctrl-1.3.3.tar.gz |
|---|---|
| Size | 168.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
452c84e774c99579e6fcb38593954e54bff7a0fa26639686918aba6aeb0ac605
|
|
BLAKE2b-256 checksum How to use checksums |
b68755b4bca2797f21b6b84c4cad112e7b1a44d4cfcaacb10fbbf351323d4960
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|
Release files / libmeshctrl-1.3.3-py3-none-any.whl
| Download URL | libmeshctrl-1.3.3-py3-none-any.whl |
|---|---|
| Size | 40.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b510f0376d06d19a79203abc41899ee948e1e15209911c2553e8b75358910e10
|
|
BLAKE2b-256 checksum How to use checksums |
65f51965e6280c7fc92e577ca686996c362c06bdd862ad10dfd88f9cef5c707a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|