Skip to main content
https://img.shields.io/pypi/v/maranet.svg https://img.shields.io/travis/D3f0/maranet.svg Documentation Status Updates

A Python client library for MARA protocol. Includes server emulator, although MARA servers are tipically microcontrollers.

Mara Network Protocol

Mara is a protocol designed for interaction with a network of embedded devices. These devices collect state and events from a process (implementations include traffic light systems and power station monitoring).

Mara 1.0 is source code is implemented on top of Microchip PIC devices and code can be requested at ricadoalopez at gmail.

Mara 1.6, designed with 16 bit in mind, is implemented on top of Arduino libraries and should be available soon.

Mara 1.0

Mara packages structure:

┌─────┬─────┬─────┬─────┬─────┬─────┬─────┐┌─────┐┌─────┬─────┐
│ SOF │ SEQ │ QTY │ SRC │ DST │ CMD │ PLD ││ ... ││ BCL │ BCH │
│     │     │     │     │     │     │     ││     ││     │     │
└─────┴─────┴─────┴─────┴─────┴─────┴─────┘└─────┘└─────┴─────┘
┌─────┬───────────┬───────────┬─────┬───────────┬───────────┐
│ QSV │ SV0       │ SV1       │ QDI │ DI0       │ DI1       │
│     │           │           │     │           │           │
└─────┴───────────┴───────────┴─────┴───────────┴───────────┘
┌─────┬───────────┬───────────┬─────┬─────────────────────────┐
│ QAI │ AI0       │ AI1       │ QEV │ EV..                    .
│     │           │           │     │                         │
└─────┴───────────┴───────────┴─────┴─────────────────────────┘

Where:

  • SOF Start of frame

  • SEQ Sequence number

  • QTY Frame length or byte quantity

  • SRC Source address

  • DST Destination address

  • CMD Command

  • PLD Payload
    • Payload consists of arrays of values

History

1.0.6 (2017-07-10)

  • Simplified the mara.protocols pacakge.

1.0.2 - 1.0.5 (2017-07-10)

  • Added maranet.__version__

  • Renamed maranet.mara to maranet.protocols

  • CLI entrypoints working
    • maranet client

    • maranet direct_poll

1.0.1 (2017-07-09)

  • Move code to cookiecutter python pacakge.

1.0 (2017-07-09)

<1.0 (2009-08-06-)

  • Mara is part of txscada project, involved in a Traffic Light system based on PyQt4 and MySQL.

  • Mara is extended to a 16 bit version to be used on a Power Substation Monitoring Software.

docs/img/mara_in_use.jpg

Metadata

Release files for maranet 1.0.6

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

Source distribution (sdist)

Source distribution for maranet 1.0.6
File Size Uploaded
maranet-1.0.6.tar.gz 278.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for maranet 1.0.6
File Interpreter ABI Platform
maranet-1.0.6-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 284.2 kB

Release files / maranet-1.0.6.tar.gz

Download URL maranet-1.0.6.tar.gz
Size 278.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ba051b61c58a76fa2e5d259176ea2b1a6e86cb0e4bf3993be310e7c8da17cc1b
BLAKE2b-256 checksum
How to use checksums
ffcc18e7c603bd37f41c8c97b08dc5c88343c8d083ce91a67f609b19d9ed288c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / maranet-1.0.6-py2.py3-none-any.whl

Download URL maranet-1.0.6-py2.py3-none-any.whl
Size 5.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
569951abed2164ce670cd349c860418b4156420a46cd09f21f1342a921be0fa8
BLAKE2b-256 checksum
How to use checksums
ec554514c05d7878c2f50eb7f22b9284903682171d445298e052df9fb64e6858
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

1 release file

1.0

1 release file

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