Skip to main content

Utilities package for the FieldEdge project.

Project description

Inmarsat FieldEdge Utilities

Inmarsat FieldEdge project supports Internet of Things (IoT) using satellite communications technology. Generally this library is meant to be used on single board computers capable of running Debian Linux.

While the authors recognize Python has several shortcomings for embedded use, it provides a useful learning template.

This library available on PyPI provides:

  • A common logger format and wrapping file facility with UTC timestamps.
  • A timer.RepeatingTimer utility (thread) that can be started, stopped, restarted, and interval changed.
  • A simplified mqtt client that automatically (re)onnects (by default to a local fieldedge-broker).
  • Helper functions for managing files and path on different OS.
  • An interface for the FieldEdge hostpipe service for sending host commands from a Docker container, with request/result captured in a logfile.
  • Helper functions ip.interfaces for finding and validating IP interfaces and addresses/subnets.
  • A defined set of common ip.protocols used for packet analysis and satellite data traffic optimisation.
  • Helpers for managing serial ports on a host system.
  • Utilities for converting **timestamp**s between unix and ISO 8601
  • properties manipulation and conversion between JSON and PEP style, and derived from classes or instances.
  • Classes useful for implementing **microservice**s based on MQTT inter-service communications and task workflows:
    • interservice communications tasks and searchable queue.
    • microservice class for consistent abstraction and interaction.
    • msproxy microservice proxy class form a kind of twin of another microservice, as a child of a microservice.
    • feature class as a child of a microservice, with routing of MQTT topics and messages and interaction with a simple task queue.
    • propertycache concept for caching frequently referenced object properties where the query may take time.
    • subscriptionproxy allows cascading of received MQTT messages to multiple modules within a project framing a microservice.

Docmentation

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fieldedge-utilities-0.26.2.tar.gz (48.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fieldedge_utilities-0.26.2-py3-none-any.whl (55.9 kB view details)

Uploaded Python 3

File details

Details for the file fieldedge-utilities-0.26.2.tar.gz.

File metadata

  • Download URL: fieldedge-utilities-0.26.2.tar.gz
  • Upload date:
  • Size: 48.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Darwin/21.6.0

File hashes

Hashes for fieldedge-utilities-0.26.2.tar.gz
Algorithm Hash digest
SHA256 5ed9df49b87aaf0e1ba0db1b2ae5f8895cb64cb9842624694ff0d444d9a03ad8
MD5 5917bda959d802b4552898a16acb7b28
BLAKE2b-256 5a7d0661a12dac81bfc540a75d7583c876a58f3e3823a047829e1ae6fc8f974b

See more details on using hashes here.

File details

Details for the file fieldedge_utilities-0.26.2-py3-none-any.whl.

File metadata

File hashes

Hashes for fieldedge_utilities-0.26.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0be3cfd3e28bf73c3d63ac4858a608ae2a4249b9ef79c76b282f7d55632c6499
MD5 dd6d02a2a1b31a5d3f0e74965df6d6d4
BLAKE2b-256 895cae09c3f99690ba9c6a7a72aaae04ca1efb987408def236460d26339064a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page