Skip to content

Commit

Permalink
Update to 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexShkarin committed Oct 5, 2021
1 parent e11b317 commit 051f832
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
12 changes: 12 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ you can write
import pylablib.legacy as pll
from pylablib.legacy.aux_libs.devices import Lakeshore
1.2.1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- General

* Added restarting methods for regular and threaded applications.

- Threading

* Bugfixes in cameras and camera threads.
* Bugfixes in streaming.

1.2.0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# The short X.Y version
version = ''
# The full version, including alpha/beta/rc tags
release = '1.2.0'
release = '1.2.1'


# -- General configuration ---------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions docs/misc_utils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ A variety of small useful methods and classes:
- :class:`.utils.general.DummyResource`: a "dummy" resource class, which can be used in a ``with`` block but does nothing; can be used to, e.g., replace multi-threading resources such as locks to turn them off.
- Unique ID generators: :class:`.utils.general.UIDGenerator` and :class:`.utils.general.NamedUIDGenerator`, which generate unique names (based on a counter), with a thread-safe option (useful to create, e.g., unique data markers).
- Timekeeping: :class:`.utils.general.Countdown` for single shot and :class:`.utils.general.Timer` for repeating tasks. Simplify checking how much time is left (including options for infinite timeout), checking if timeout is passed, resetting, etc.
- Script restarting vua :func:`.utils.general.restart` (thread-controller style applications can also use :func:`.thread.controller.restart_app` for a more managed restart).
- :class:`.utils.general.StreamFileLogger`, which can be set up to log all outputs into a stream (e.g., ``stdout``)::

from pylablib import StreamFileLogger
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
setup(
name='pylablib',
# name='pylablib-lightweight',
version='1.2.0',
version='1.2.1',
description='Code for use in lab environment: experiment automation, data acquisition, device communication',
long_description=long_description,
long_description_content_type="text/x-rst",
Expand Down

0 comments on commit 051f832

Please sign in to comment.