Library for writing services that behave as SMOK devices
Project description
SMOK
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.4
- fixed a bug where
LogPublisherThread
would throw during shutdown - API will return a
ResponseError
if something fails - fixed a bug where log records sent to the server were not formatted correctly
- logging was adjusted
- when formatting the log record fails, it's message will be appended along with it's args
- fixed a critical bug with storing pathpoint values
- fixed a bug with executor not recognizing the default
execute_a_section
- fixed a bug wherein timestamps were written 1000 times larger than necessary
- pathpoints will be uploaded as soon as there's new data
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
Event
s - added pickling
Event
andMacro
on_read
Future can now returnNone
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
andSMOKDevice.close_event
andSMOKDevice.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
toBaseEventDatabase.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 aFuture
- bugfix: timestamp from restored data would be needlessly bumped up
- added option to create
Events
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
smok-0.4-py2.py3-none-any.whl
(65.7 kB
view details)
File details
Details for the file smok-0.4-py2.py3-none-any.whl
.
File metadata
- Download URL: smok-0.4-py2.py3-none-any.whl
- Upload date:
- Size: 65.7 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70b846b831dc399290b77d7aed52d464f61673a0c327c1aa464df44d475ae4a5 |
|
MD5 | ce268d45920aace8f20fedb9d9e7c43c |
|
BLAKE2b-256 | 07c34a6f21a03b9264f1a2158c7f44c66c98c22def499a41c4ebbe794ee6d6c7 |