Skip to main content

Library for writing services that behave as SMOK devices

Project description

SMOK

PyPI PyPI version PyPI Documentation Status Maintainability Test Coverage Wheel

smok is a definitive library to write programs that behave as SMOK devices. It is principally a consumer of the SMOK API.

Change log

v0.3

  • added SMOKDevice._execute_message_order
  • log publisher has now a timeout
  • clarified Pathpoint.get_archive
  • improving handling error messages from the API

v0.2

  • renamed from smok-client to smok

v0.0.11

  • fixed closing Events
  • added pickling Event and Macro
  • on_read Future can now return None

v0.0.10

  • added Pathpoint.get_archive
  • definitively removed set metadata
  • added custom SMOKDevice.execute_section

v0.0.9

  • added PicklingMetadataDatabase
  • added SMOKDevice.sync_sections
  • added SMOKDevice.open_event and SMOKDevice.close_event and SMOKDevice.get_all_open_events

v0.0.8

  • added support for plain metadata

v0.0.7

  • added logging

v0.0.6

  • renamed BaseEventDatabase.get_data_to_sync to BaseEventDatabase.get_events_to_sync

v0.0.5

  • added an option not to start macros and archives
  • added slots to BaseDatabases

v0.0.4

  • added setting and reading linkstate and instrumentation metadata for slave devices
  • added a true macro database

v0.0.3

  • added pluggable pathpoint value databases
  • Section is now a Future
  • bugfix: timestamp from restored data would be needlessly bumped up
  • added option to create Events

Project details


Release history Release notifications | RSS feed

This version

0.3

Download files

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

Source Distribution

smok-0.3.tar.gz (50.9 kB view details)

Uploaded Source

Built Distributions

smok-0.3-py3.8.egg (62.4 kB view details)

Uploaded Source

smok-0.3-py2.py3-none-any.whl (65.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file smok-0.3.tar.gz.

File metadata

  • Download URL: smok-0.3.tar.gz
  • Upload date:
  • Size: 50.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.0

File hashes

Hashes for smok-0.3.tar.gz
Algorithm Hash digest
SHA256 7c2a1d4f8d3359d5d53085595f2bab0c4efe46e1612f0ec8f910bb51a68ea849
MD5 2518dfebb795f229968442e918275c25
BLAKE2b-256 a04be6258cec4998f2b7e2495ba0878a0b0e0abf165386e6d23bcbdc94e779d5

See more details on using hashes here.

File details

Details for the file smok-0.3-py3.8.egg.

File metadata

  • Download URL: smok-0.3-py3.8.egg
  • Upload date:
  • Size: 62.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.0

File hashes

Hashes for smok-0.3-py3.8.egg
Algorithm Hash digest
SHA256 96ce7300cf612b284d090c760206c91808faac6a2a3f50ab102a73753045c577
MD5 1dc4cfd140239c51a6a23c720c082837
BLAKE2b-256 afabfd7642cb9922599e37c7094370b48a1b583be79ab8b25cdba54abdd2ac16

See more details on using hashes here.

File details

Details for the file smok-0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: smok-0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 65.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.0

File hashes

Hashes for smok-0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 653869d29e16db1d17887477b923720fc84be1ccd24ff46ac2aa62269ff45400
MD5 af9ae9d2385c2f20632a976db9c2d87c
BLAKE2b-256 1ae0dc9d9e9945411addaeec6ff9f5f2502a4b18215c483c69a5d0e84001eeaa

See more details on using hashes here.

Supported by

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