This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Axessy is a simple package to read and parse messages from AXESS TMC X3 devices.

ChangeLog

  • 0.4: Added gate error messages and events (directions); added system error messages
  • 0.3: Fixed message() method
  • 0.1: First release

Installation

There are two ways to install the package:

  1. Using pip with the following command:

    pip install axessy

  2. Start setup.py file from this repository:

    python setup.py install

Usage

You can import the module in the following way:

import axessy.axessy

In this package there is the “AxessPackage” class defined with the following methods:

  • parsePacket(params): “params” includes the GET parameters sent via an “/online” or “/batch” command from the device, and stores the data inside the class variables;
  • message(msg, beep=100, show=2): builds a string that you can put inside an HttpResponse to send back to the device;
  • sendKeepAlive(url, username, password): asks the device to send a keepalive message.

Also the “AxessPackage().ack” and “AxessPackage().keepalive” variables are defined for string responses to “/batch” and “/keepalive” commands.

A dictionary with all possible errors saved into a transaction, “AxessPackage().error_dict”, is defined and automatically used by “parsePacket” method.

Finally there are two new Error classes used by the “checkPacket()” method (this method is used by “parsePacket” automatically):

  • MacAddressError
  • CardError
Release History

Release History

0.4

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
axessy-0.4.tar.gz (10.2 kB) Copy SHA256 Checksum SHA256 Source Sep 21, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting