Skip to main content

shared ram based data distribution lib

Project description

README

Project Scope:

ramshare:

Create data structures in shared memory based on a data structure file. Read and write to data structure tag. Data structure tags can be accessed system-wide.

procon:

producer:

Creates a socket server and either connect or create shared data structure. Consumers can connect to producer, and all data from data structure will be transferred to connected consumers periodic.

consumer:

Connects to producer, either creates or connects to shared data structure. Shared data structure will be overwritten periodic, so shared data structure is read only on consumer site.

Data structure .xml file:

<config>
    <connection_status LENGTH="20" TYPE="string" INIT_VALUE="no connection"  DESCRIPTION="status of connection" > </connection_status>
    <tag_1 LENGTH="10" TYPE="int" > </tag_1>
    <timestamp LENGTH="20" TYPE="float" > </timestamp>
    <status LENGTH="100" TYPE="string" ></status>
</config>

Required tags:

For produced / consumed data structures, "connection_status" is required.

Required members:

tag_1 = reference name, used to read or write from data structure.

LENGTH = tag length in bytes

Optional members

TYPE = tag type, INIT_VALUE = initial tag value

DESCRIPTION = description of tag

Known issues

tag lenght under under 2 byte not possible

Project details


Download files

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

Source Distribution

comram-0.0.9.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

comram-0.0.9-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file comram-0.0.9.tar.gz.

File metadata

  • Download URL: comram-0.0.9.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9

File hashes

Hashes for comram-0.0.9.tar.gz
Algorithm Hash digest
SHA256 c1503500e2f3785581dc3cc3620c00a9d324fa5b77d246a3b2a5895feb9cf611
MD5 d7b6ec98bd3d0727801d7ccd85867615
BLAKE2b-256 f1132a01c1a0b8d363b89304c1cba2760c9ad9bff1d63145db6d7b1e593fcf50

See more details on using hashes here.

File details

Details for the file comram-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: comram-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9

File hashes

Hashes for comram-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 e0e1af89348b532c8087db976696ba4e5a6682dbe2c685363a6247851ecfd931
MD5 e466cc2bc4d88bb77ccccd2b28cdb570
BLAKE2b-256 a97d77bb95f29d99d9fa4b9b29583a1243682ead140bb9c084f75c770d5d5656

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