Wialon SDK for Python
Introduction
Wialon SDK for Python is a library that provides an easy way to interact with the Wialon Remote API. It allows developers to integrate Wialon functionalities into their Python applications seamlessly. Uses python property __getattr__ to dynamically call Wialon Remote API methods, converting snake_case method names to svc format (e.g., core_login -> core/login).
Token generation
The library does not generate Wialon tokens. To generate a token, you can use our Wialon Token Generator.
Disclaimer
This library is not an official Wialon product, it's developed by Golden M, Inc as a third-party SDK to interact with Wialon Remote API. For direct support of the responses of the Remote API, please contact Gurtam support.
Usage
from wialon.sdk import WialonSdk, WialonError, SdkException, AsyncWialonSdk
# Initialize Wialon instance
sdk = WialonSdk()
# Or for async usage
sdk = AsyncWialonSdk()
try:
token = os.getenv('WIALON_TOKEN')
response = sdk.login(token)
# Or async usage
response = await sdk.login(token)
print(response)
parameters = {
'spec':{
'itemsType': str,
'propName': str,
'propValueMask': str,
'sortType': str,
'propType': str,
'or_logic':bool
},
'force': int,
'flags': int,
'from': int,
'to': int
}
units = sdk.core_search_items(parameters)
# Or async usage
units = await sdk.core_search_items(parameters)
sdk.logout()
# Or async usage
await sdk.logout()
except SdkException as e:
print(f'Sdk related error: {e}')
except WialonError as e:
print(f'Wialon related error: {e}')
except Exception as e:
print(f'Python error: {e}')
Methods available
For more information, please go to Wialon Remote API documentation
Who are you?
Golden M is a software/hardware development company what is working on a new, innovative and disruptive technologies. Experts on integrating Wialon products since 2016 with custom hardware and software solutions. To work with us, contact us at sales@goldenm.com.
Contributing
Merge requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Metadata
Release files for wialon 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wialon-1.2.0.tar.gz | 8.2 kB | Without provenance | Details for wialon-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wialon-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for wialon-1.2.0-py3-none-any.whl |
Total release size: 17.4 kB
Release files / wialon-1.2.0.tar.gz
| Download URL | wialon-1.2.0.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb33613d0574daa925dec4cd9b8e6328d0029b629c2fab27f94ee497f509e0e6
|
|
BLAKE2b-256 checksum How to use checksums |
e545aa0b1fd6911f65c7c99a7101211a3f4a902e1ddee13dd75d8f35ccfa12af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / wialon-1.2.0-py3-none-any.whl
| Download URL | wialon-1.2.0-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5654df77417304bdea4ab788c3714e9ce266f8aee42e27994239c3b363a43ed7
|
|
BLAKE2b-256 checksum How to use checksums |
682e614c7e43ce3ff8c7b71fb2076f6e0be2a6e49f37d0357bae913406cf9244
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for wialon 1.2.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.