Git Product home page Git Product logo

python-astm's Introduction

Python implementation of ASTM E1381/1394 data protocol.

This project aims to solve three tasks:

1. Provide decoder ASTM data to Python objects and encode them back to valid
   ASTM messages.

2. Provide ability to create your own ASTM client and server applications
   followed by common specification routines.

3. Provide ready-to-use "drivers" for various ASTM-driven analysers,
   middlewares and other software or hardware solutions.


Depending on your needs you may use this project in one of these ways.
Currently, all communication routines are implemented for TCP/IP protocol driven
by a bit improved standard asynclib.

Read the docs for more info:
http://python-astm.readthedocs.org

python-astm's People

Contributors

kxepal avatar tsibley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

python-astm's Issues

how to run client and server

c:\jinjia\python-astm\astm>python client.py
Traceback (most recent call last):
File "client.py", line 12, in
from .asynclib import loop
ValueError: Attempted relative import in non-package

c:\jinjia\python-astm\astm>
I run client directly and get response as above!
hot to run it in server or client mode?

Decoding the string record to the respective record object

When I throw a patient record object from the emitter, it is decoded as a list of string with each string representing the value of the field.

I want to decode the record as a patient record object so that each field can be accessed as a attribute.

How to simulator an ASTM server?

Hi, kepal, Sorry to trouble you. But I am wonder to know how to simulator an ASTM server with your code. I am working with a data reader(a lite vesion LIS ) for a custom's HITCHI 7600 Hitachi 7600 modular chemistry analyzer. Unfortunatly, I can't connect to the machine directly, we are not at the same city. And I wonder if I can silmulator an ASTM server send data as the machine dose to verify my ASTM client(wriitern with c#).

How does server is supposed to send data ?

Hello,

Using code in #1 , I was able to send data to server, so far so good.
But how does the server is supposed to send data to client ? I looked at the doc and examples but I don't understand how it is meant to be done.

Thx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.