nionutils


Namenionutils JSON
Version 4.14.0 PyPI version JSON
download
home_pagehttps://github.com/nion-software/nionutils
SummaryNion utility classes.
upload_time2025-02-11 23:43:30
maintainerNone
docs_urlNone
authorNion Software
requires_python>=3.11
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Nion Utilities
==============

The Nion Utils library (used in Nion Swift)
-------------------------------------------
Nion utility classes.

.. start-badges

.. list-table::
    :stub-columns: 1

    * - package
      - |version|

.. |version| image:: https://img.shields.io/pypi/v/nionutils.svg
   :target: https://pypi.org/project/nionutils/
   :alt: Latest PyPI version

.. end-badges

More Information
----------------

- `Changelog <https://github.com/nion-software/nionutils/blob/master/CHANGES.rst>`_

Introduction
------------

A utility library of useful Python objects.

-  Events
-  Observable
-  Bindings, Converters, Models
-  Geometry
-  Persistence
-  Process, Threads
-  Publish and Subscribe
-  Reference Counting
-  Stream
-  Structured Model

These objects are primarily used within the Nion Python libraries, but
may be useful in general usage too.

This project is funded by Nion Co. as part of the `Nion
Swift <http://nion.com/swift/>`__ imaging and analysis platform. The
code is available under the Apache License, Version 2.0.

Requirements
------------

Requires Python 3.11 or later.

Getting Help and Contributing
-----------------------------

If you find a bug, please file an issue on GitHub. You can also contact
us directly at swift@nion.com.

This is primarily a library focused on providing support to higher level
Nion Python libraries. If you are using this in your own project, we
will accept bug fixes and minor feature improvements via pull requests.
For larger features or additions, please contact us to discuss.

This library includes some direct tests, but is also tested via other
Nion Python projects. Any contribution will need to pass the entire
suite of tests. New contributions should be submitted with new tests.

Summary of Features
-------------------

Events
~~~~~~

Events can be used by objects to notify other objects when something of
interest occurs. The source object "fires" the event, optionally passing
parameters, and the "listener" receives a function call. The source
object determines when to fire an event. The event can have multiple
listeners. The listeners are called synchronously in the order in which
they are added, and the source can fire unconditionally, or until a
listener returns True or False.

.. code:: python

    from nion.utils import Event

    class Telescope:
      def __init__(self):
        self.new_planet_detected_event = Event.Event()

      def on_external_event(self, coordinates):
        self.new_planet_detected_event.fire(coordinates)

    def handle_new_planet(coordinates):
      print("New planet coordinates at " + str(coordinates))

    telescope = Telescope()
    listener = telescope.new_planet_detected_event.listen(handle_new_planet)

    listener.close()  # when finished

Observable
~~~~~~~~~~

The Observable based class defines five basic events for watching for
direct changes to an object such as a property changing, an object being
set or cleared, or an item being inserted or removed from a list. The
observable is used along with events to implement bindings.

.. code:: python

    from nion.utils import Observable

    class MyClass(Observable.Observable):
      def __init__(self):
        self.__weight = 1.0

      @property
      def weight(self):
        return self.__weight

      @weight.setter
      def weight(self, new_weight):
        self.__weight = new_weight
        self.notify_property_changed("weight")

    myc = MyClass()

    def property_changed(key):
      if key == "weight":
        print("The weight changed " + str(myc.weight))

    listener = myc.property_changed_event.listen(property_changed)

    listener.close()  # when finished

Bindings, Converters, Models
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Bindings connect a value in a source object to a value in a target
object. Bindings can be one way bindings from source to target, or two
way bindings from source to target and from target to source. Bindings
can bind property values, lists, or an item in a tuple between the
source and target. Bindings work using the Observable events and
subsequently are implemented via Events.

Bindings can optionally make value conversions between the source and
target. For instance, a binding between a float property and a user
interface text field will need to convert from float to string and back.
Converters between value and strings are included for integer, float,
percentage, check state, and UUID to strings.

Geometry
~~~~~~~~

Classes for integer and float based points, sizes, and rectangles are
included. Additional geometry routines are also included, for instance:
line midpoint.

Persistence
~~~~~~~~~~~

The PersistentObject based class defines a basic structure for storing
objects and their relationship to each other into a persistent storage
context. PersistentObjects can store basic properties, single objects
(to-one relationship) and lists of objects (to-many relationship).
Subclasses must strictly notify the PersistentObject of changes to their
persistent data and follow certain guidelines. Doing so allows the
object to be stored persistently and restored from persistent storage.

Properties in the PersistentObject can have validators, converters,
change notifications, and more. Items and relationships have change
notifications and more.

The PersistentStorageContext defines an interfaces which manages a
collection of PersistentObjects. It must be able to store a simple dict
structure for properties, items, and lists.

Process, Threads
~~~~~~~~~~~~~~~~

Process defines classes to facilitate a threaded queue, which executes
its items serially, and thread set which executes the most recent item
in the set.

ThreadPool defines a threaded dispatcher with the ability to limit
dispatch frequency and a thread pool with the ability to execute
explicitly without threads for testing.

Publish and Subscribe
~~~~~~~~~~~~~~~~~~~~~

Publish and subscribe implements a basic publish and subscribe
mechanism. It is should be considered experimental and is not
recommended for use.

Reference Counting
~~~~~~~~~~~~~~~~~~

The ReferenceCounted base class provides an explicitly reference counted
object that is unique from regular Python reference counting in that it
provides precise control of when the reference is acquired and released.
The about\_to\_delete method is called when reference count reaches
zero.

Stream
~~~~~~

The Stream classes provide a async-based stream of values that can be
controlled using standard reactive operators such as sample, debounce,
and combine. The stream source is an Event named value\_stream and the
source object must provide both the value\_stream and a value property.

Structured Model
~~~~~~~~~~~~~~~~

The Structured Model classes provide a way to describe a data structure
which can produce a modifiable and observable object to be used as a
model for other utility classes such as binding and events.

Changelog (nionutils)
=====================

4.14.0 (2025-02-11)
-------------------
- Add Platform utility classes.

4.13.0 (2024-12-05)
-------------------
- Performance improvements to filtered list model.
- Add pop_item to ListModel and item_count to FilteredListModel.

4.12.0 (2024-10-26)
-------------------
- Add BoolToStringConverter.
- Allow override of get/set property value in PropertyChangedPropertyModel for more flexibility.
- Change binding to hold reference to source.
- Make point/size/rect classes hashable.
- Add equality operator to color; make it hashable.
- Clean up ticker class, make it immutable and hashable.
- Add ObservedListModel to create a list model from a collection on an observable.
- Drop Python 3.9, 3.10. Add Python 3.13.

4.11.0 (2024-06-12)
-------------------
- Add ability to filter audit reports by top-level audit id.
- Add replace_stream method and stream_list property to CombineLatestStream.
- Add FollowStream utility class.

0.4.10 (2023-12-17)
-------------------
- OptionalStream now returns the proper value.
- Improvements to ValueChangeStreamReactor (still experimental).

0.4.9 (2023-10-23)
------------------
- Minor updates for Python 3.12 compatibility.
- Avoid using utcnow and utcfromtimestamp (both deprecated).

0.4.8 (2023-08-10)
------------------
- Add support for custom ValueStream compare operator.

0.4.7 (2023-06-19)
------------------
- Add explicit support for Python 3.11; drop support for Python 3.8.
- Add an auditing capability for performance auditing.
- Add ability to add/remove streams from CombineLatestStream.
- Add ability to display datetime in local time and with format in DateTime converter.
- Add ValuesToIndexConverter.

0.4.6 (2022-11-04)
------------------
- Minor maintenance.

0.4.5 (2022-09-13)
------------------
- Add minor Color method to get RGB values.
- Add DateTime utilities (utcnow for Windows, strictly increasing).

0.4.4 (2022-07-25)
------------------
- Add a Color utility class.
- Fix issues with FloatToScaledIntegerConverter when min/max are invalid.
- Fix possible race condition in thread pool.

0.4.3 (2022-05-28)
------------------
- Improve convert_back method of IntegerToStringConverter for fuzzy conversion.

0.4.2 (2022-02-18)
------------------
- Ensure component prioritization works.
- Fix top level namespace.

0.4.1 (2021-12-13)
------------------
- Minor typing and return type issues.

0.4.0 (2021-11-10)
------------------
- Eliminate need to call close methods on models, streams, listeners, etc.
- Drop support for Python 3.7, add support for Python 3.10.
- Enable strict typing.
- Remove unused ConcatStream.
- Make ReferenceCounted work with Python references, not explicit ref count.
- Add useful Geometry functions: empty_rect, int_rect, as_tuple.
- Remove unused/deprecated PersistentObject.
- Add property changed property model for monitoring observables.
- Change Recorder to allow customer logger.
- Change ThreadPool to be no-close.
- Fix issue in single SingleItemDispatcher so it actually delays.
- Change SingleItemDispatcher to be no-close.
- Extend sync processes function to cancel outstanding async functions.
- Add experimental stream, value change, and reactor functions.
- Add method to sync but not close event loop.
- Add a single item dispatcher to thread pool.
- Deprecate ListBinding class.

0.3.26 (2021-03-12)
-------------------
- Add select forward/backward methods to IndexedSelection.

0.3.25 (2021-02-02)
-------------------
- Add None and fuzzy options to int converter.

0.3.24 (2020-12-07)
-------------------
- Fix issue updating selection on master instead of filtered items.
- Add ListPropertyModel to treat a list like a single property.

0.3.23 (2020-11-06)
-------------------
- Change list model to more efficiently send change events.
- Change selection to (optionally) fire changed messages when adjusting indexes.

0.3.22 (2020-10-06)
-------------------
- Fix property binding inconsistency.

0.3.21 (2020-08-31)
-------------------
- Fix issue with stream calling stale function.
- Filtered lists no longer access their container's master items when closing.
- Add rotate methods to FloatPoint and FloatSize.
- Improve LogTicker. Add support for major and minor ticks.
- Fix case of extending selection with no anchor.
- Add separate LogTicker class. Renamed old Ticker to LinearTicker. Add base Ticker class.
- Add date time to string converter.
- Extend PropertyChangedEventStream to optionally take an input stream rather than direct object.
- Add added/discarded notifications to Observable for set-like behavior.
- Add a pathlib.Path converter.
- Improve performance of filtered list models.
- Add Registry function to send registry events to existing components. Useful for initialization.
- Add geometry rectangle functions for intersect and union.
- Add geometry functions to convert from int to float versions.

0.3.20 (2020-01-28)
-------------------
- Add various geometry functions; facilitate geometry objects conversions to tuples.
- Add Process.close_event_loop for standardized way of closing event loops.
- Improve geometry comparisons so handle other being None.

0.3.19 (2019-06-27)
-------------------
- Add method to clear TaskQueue.
- Make event listeners context manager aware.
- Improve stack traceback during events (fire, listen, handler).
- Add auto-close (based on weak refs) and tracing (debugging) to Event objects.

0.3.18 (2019-03-11)
-------------------
- Ensure FuncStreamValueModel handles threading properly.

0.3.17 (2019-02-27)
-------------------
- Add ConcatStream and PropertyChangedEventStream.
- Add standardized [notify] item_content_changed event to Observable.
- Make item_changed_event optional for items within FilteredListModel.
- Add floordiv operator to IntSize.

0.3.16 (2018-12-11)
-------------------
- Change list model text filter to use straight text rather than regular expressions.

0.3.15 (2018-11-13)
-------------------
- Allow recorder object to be closed.
- Improve release of objects when closing MappedListModel.
- Add close method to ListModel for consistency.
- Allow persistent objects to delay writes and handle external data.
- Allow persistent relationships to define storage key.
- Extend Registry to allow registering same component with additional component types.

0.3.14 (2018-09-13)
-------------------
- Allow default values in persistent factory callback.

0.3.13 (2018-09-11)
-------------------
- Allow persistent items to be hidden (like properties).
- Allow persistent interface to use get_properties instead of properties attribute when saving.
- Allow FilteredListModel to have separate master/item property names.

0.3.12 (2018-07-23)
-------------------
- Fix bug where unregistered objects were not reported correctly.
- Add model changed event to structured model to monitor deep changes.

0.3.11 (2018-06-25)
-------------------
- Improve str conversion in Geometry classes (include x/y).
- Add a get_component method to Registry for easier lookup.
- Treat '.' in float numbers as decimal point independent of locale when parsing, leave locale decimal point valid too.

0.3.10 (2018-05-10)
-------------------
- Initial version online.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/nion-software/nionutils",
    "name": "nionutils",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": null,
    "keywords": null,
    "author": "Nion Software",
    "author_email": "swift@nion.com",
    "download_url": null,
    "platform": null,
    "description": "Nion Utilities\n==============\n\nThe Nion Utils library (used in Nion Swift)\n-------------------------------------------\nNion utility classes.\n\n.. start-badges\n\n.. list-table::\n    :stub-columns: 1\n\n    * - package\n      - |version|\n\n.. |version| image:: https://img.shields.io/pypi/v/nionutils.svg\n   :target: https://pypi.org/project/nionutils/\n   :alt: Latest PyPI version\n\n.. end-badges\n\nMore Information\n----------------\n\n- `Changelog <https://github.com/nion-software/nionutils/blob/master/CHANGES.rst>`_\n\nIntroduction\n------------\n\nA utility library of useful Python objects.\n\n-  Events\n-  Observable\n-  Bindings, Converters, Models\n-  Geometry\n-  Persistence\n-  Process, Threads\n-  Publish and Subscribe\n-  Reference Counting\n-  Stream\n-  Structured Model\n\nThese objects are primarily used within the Nion Python libraries, but\nmay be useful in general usage too.\n\nThis project is funded by Nion Co. as part of the `Nion\nSwift <http://nion.com/swift/>`__ imaging and analysis platform. The\ncode is available under the Apache License, Version 2.0.\n\nRequirements\n------------\n\nRequires Python 3.11 or later.\n\nGetting Help and Contributing\n-----------------------------\n\nIf you find a bug, please file an issue on GitHub. You can also contact\nus directly at swift@nion.com.\n\nThis is primarily a library focused on providing support to higher level\nNion Python libraries. If you are using this in your own project, we\nwill accept bug fixes and minor feature improvements via pull requests.\nFor larger features or additions, please contact us to discuss.\n\nThis library includes some direct tests, but is also tested via other\nNion Python projects. Any contribution will need to pass the entire\nsuite of tests. New contributions should be submitted with new tests.\n\nSummary of Features\n-------------------\n\nEvents\n~~~~~~\n\nEvents can be used by objects to notify other objects when something of\ninterest occurs. The source object \"fires\" the event, optionally passing\nparameters, and the \"listener\" receives a function call. The source\nobject determines when to fire an event. The event can have multiple\nlisteners. The listeners are called synchronously in the order in which\nthey are added, and the source can fire unconditionally, or until a\nlistener returns True or False.\n\n.. code:: python\n\n    from nion.utils import Event\n\n    class Telescope:\n      def __init__(self):\n        self.new_planet_detected_event = Event.Event()\n\n      def on_external_event(self, coordinates):\n        self.new_planet_detected_event.fire(coordinates)\n\n    def handle_new_planet(coordinates):\n      print(\"New planet coordinates at \" + str(coordinates))\n\n    telescope = Telescope()\n    listener = telescope.new_planet_detected_event.listen(handle_new_planet)\n\n    listener.close()  # when finished\n\nObservable\n~~~~~~~~~~\n\nThe Observable based class defines five basic events for watching for\ndirect changes to an object such as a property changing, an object being\nset or cleared, or an item being inserted or removed from a list. The\nobservable is used along with events to implement bindings.\n\n.. code:: python\n\n    from nion.utils import Observable\n\n    class MyClass(Observable.Observable):\n      def __init__(self):\n        self.__weight = 1.0\n\n      @property\n      def weight(self):\n        return self.__weight\n\n      @weight.setter\n      def weight(self, new_weight):\n        self.__weight = new_weight\n        self.notify_property_changed(\"weight\")\n\n    myc = MyClass()\n\n    def property_changed(key):\n      if key == \"weight\":\n        print(\"The weight changed \" + str(myc.weight))\n\n    listener = myc.property_changed_event.listen(property_changed)\n\n    listener.close()  # when finished\n\nBindings, Converters, Models\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nBindings connect a value in a source object to a value in a target\nobject. Bindings can be one way bindings from source to target, or two\nway bindings from source to target and from target to source. Bindings\ncan bind property values, lists, or an item in a tuple between the\nsource and target. Bindings work using the Observable events and\nsubsequently are implemented via Events.\n\nBindings can optionally make value conversions between the source and\ntarget. For instance, a binding between a float property and a user\ninterface text field will need to convert from float to string and back.\nConverters between value and strings are included for integer, float,\npercentage, check state, and UUID to strings.\n\nGeometry\n~~~~~~~~\n\nClasses for integer and float based points, sizes, and rectangles are\nincluded. Additional geometry routines are also included, for instance:\nline midpoint.\n\nPersistence\n~~~~~~~~~~~\n\nThe PersistentObject based class defines a basic structure for storing\nobjects and their relationship to each other into a persistent storage\ncontext. PersistentObjects can store basic properties, single objects\n(to-one relationship) and lists of objects (to-many relationship).\nSubclasses must strictly notify the PersistentObject of changes to their\npersistent data and follow certain guidelines. Doing so allows the\nobject to be stored persistently and restored from persistent storage.\n\nProperties in the PersistentObject can have validators, converters,\nchange notifications, and more. Items and relationships have change\nnotifications and more.\n\nThe PersistentStorageContext defines an interfaces which manages a\ncollection of PersistentObjects. It must be able to store a simple dict\nstructure for properties, items, and lists.\n\nProcess, Threads\n~~~~~~~~~~~~~~~~\n\nProcess defines classes to facilitate a threaded queue, which executes\nits items serially, and thread set which executes the most recent item\nin the set.\n\nThreadPool defines a threaded dispatcher with the ability to limit\ndispatch frequency and a thread pool with the ability to execute\nexplicitly without threads for testing.\n\nPublish and Subscribe\n~~~~~~~~~~~~~~~~~~~~~\n\nPublish and subscribe implements a basic publish and subscribe\nmechanism. It is should be considered experimental and is not\nrecommended for use.\n\nReference Counting\n~~~~~~~~~~~~~~~~~~\n\nThe ReferenceCounted base class provides an explicitly reference counted\nobject that is unique from regular Python reference counting in that it\nprovides precise control of when the reference is acquired and released.\nThe about\\_to\\_delete method is called when reference count reaches\nzero.\n\nStream\n~~~~~~\n\nThe Stream classes provide a async-based stream of values that can be\ncontrolled using standard reactive operators such as sample, debounce,\nand combine. The stream source is an Event named value\\_stream and the\nsource object must provide both the value\\_stream and a value property.\n\nStructured Model\n~~~~~~~~~~~~~~~~\n\nThe Structured Model classes provide a way to describe a data structure\nwhich can produce a modifiable and observable object to be used as a\nmodel for other utility classes such as binding and events.\n\nChangelog (nionutils)\n=====================\n\n4.14.0 (2025-02-11)\n-------------------\n- Add Platform utility classes.\n\n4.13.0 (2024-12-05)\n-------------------\n- Performance improvements to filtered list model.\n- Add pop_item to ListModel and item_count to FilteredListModel.\n\n4.12.0 (2024-10-26)\n-------------------\n- Add BoolToStringConverter.\n- Allow override of get/set property value in PropertyChangedPropertyModel for more flexibility.\n- Change binding to hold reference to source.\n- Make point/size/rect classes hashable.\n- Add equality operator to color; make it hashable.\n- Clean up ticker class, make it immutable and hashable.\n- Add ObservedListModel to create a list model from a collection on an observable.\n- Drop Python 3.9, 3.10. Add Python 3.13.\n\n4.11.0 (2024-06-12)\n-------------------\n- Add ability to filter audit reports by top-level audit id.\n- Add replace_stream method and stream_list property to CombineLatestStream.\n- Add FollowStream utility class.\n\n0.4.10 (2023-12-17)\n-------------------\n- OptionalStream now returns the proper value.\n- Improvements to ValueChangeStreamReactor (still experimental).\n\n0.4.9 (2023-10-23)\n------------------\n- Minor updates for Python 3.12 compatibility.\n- Avoid using utcnow and utcfromtimestamp (both deprecated).\n\n0.4.8 (2023-08-10)\n------------------\n- Add support for custom ValueStream compare operator.\n\n0.4.7 (2023-06-19)\n------------------\n- Add explicit support for Python 3.11; drop support for Python 3.8.\n- Add an auditing capability for performance auditing.\n- Add ability to add/remove streams from CombineLatestStream.\n- Add ability to display datetime in local time and with format in DateTime converter.\n- Add ValuesToIndexConverter.\n\n0.4.6 (2022-11-04)\n------------------\n- Minor maintenance.\n\n0.4.5 (2022-09-13)\n------------------\n- Add minor Color method to get RGB values.\n- Add DateTime utilities (utcnow for Windows, strictly increasing).\n\n0.4.4 (2022-07-25)\n------------------\n- Add a Color utility class.\n- Fix issues with FloatToScaledIntegerConverter when min/max are invalid.\n- Fix possible race condition in thread pool.\n\n0.4.3 (2022-05-28)\n------------------\n- Improve convert_back method of IntegerToStringConverter for fuzzy conversion.\n\n0.4.2 (2022-02-18)\n------------------\n- Ensure component prioritization works.\n- Fix top level namespace.\n\n0.4.1 (2021-12-13)\n------------------\n- Minor typing and return type issues.\n\n0.4.0 (2021-11-10)\n------------------\n- Eliminate need to call close methods on models, streams, listeners, etc.\n- Drop support for Python 3.7, add support for Python 3.10.\n- Enable strict typing.\n- Remove unused ConcatStream.\n- Make ReferenceCounted work with Python references, not explicit ref count.\n- Add useful Geometry functions: empty_rect, int_rect, as_tuple.\n- Remove unused/deprecated PersistentObject.\n- Add property changed property model for monitoring observables.\n- Change Recorder to allow customer logger.\n- Change ThreadPool to be no-close.\n- Fix issue in single SingleItemDispatcher so it actually delays.\n- Change SingleItemDispatcher to be no-close.\n- Extend sync processes function to cancel outstanding async functions.\n- Add experimental stream, value change, and reactor functions.\n- Add method to sync but not close event loop.\n- Add a single item dispatcher to thread pool.\n- Deprecate ListBinding class.\n\n0.3.26 (2021-03-12)\n-------------------\n- Add select forward/backward methods to IndexedSelection.\n\n0.3.25 (2021-02-02)\n-------------------\n- Add None and fuzzy options to int converter.\n\n0.3.24 (2020-12-07)\n-------------------\n- Fix issue updating selection on master instead of filtered items.\n- Add ListPropertyModel to treat a list like a single property.\n\n0.3.23 (2020-11-06)\n-------------------\n- Change list model to more efficiently send change events.\n- Change selection to (optionally) fire changed messages when adjusting indexes.\n\n0.3.22 (2020-10-06)\n-------------------\n- Fix property binding inconsistency.\n\n0.3.21 (2020-08-31)\n-------------------\n- Fix issue with stream calling stale function.\n- Filtered lists no longer access their container's master items when closing.\n- Add rotate methods to FloatPoint and FloatSize.\n- Improve LogTicker. Add support for major and minor ticks.\n- Fix case of extending selection with no anchor.\n- Add separate LogTicker class. Renamed old Ticker to LinearTicker. Add base Ticker class.\n- Add date time to string converter.\n- Extend PropertyChangedEventStream to optionally take an input stream rather than direct object.\n- Add added/discarded notifications to Observable for set-like behavior.\n- Add a pathlib.Path converter.\n- Improve performance of filtered list models.\n- Add Registry function to send registry events to existing components. Useful for initialization.\n- Add geometry rectangle functions for intersect and union.\n- Add geometry functions to convert from int to float versions.\n\n0.3.20 (2020-01-28)\n-------------------\n- Add various geometry functions; facilitate geometry objects conversions to tuples.\n- Add Process.close_event_loop for standardized way of closing event loops.\n- Improve geometry comparisons so handle other being None.\n\n0.3.19 (2019-06-27)\n-------------------\n- Add method to clear TaskQueue.\n- Make event listeners context manager aware.\n- Improve stack traceback during events (fire, listen, handler).\n- Add auto-close (based on weak refs) and tracing (debugging) to Event objects.\n\n0.3.18 (2019-03-11)\n-------------------\n- Ensure FuncStreamValueModel handles threading properly.\n\n0.3.17 (2019-02-27)\n-------------------\n- Add ConcatStream and PropertyChangedEventStream.\n- Add standardized [notify] item_content_changed event to Observable.\n- Make item_changed_event optional for items within FilteredListModel.\n- Add floordiv operator to IntSize.\n\n0.3.16 (2018-12-11)\n-------------------\n- Change list model text filter to use straight text rather than regular expressions.\n\n0.3.15 (2018-11-13)\n-------------------\n- Allow recorder object to be closed.\n- Improve release of objects when closing MappedListModel.\n- Add close method to ListModel for consistency.\n- Allow persistent objects to delay writes and handle external data.\n- Allow persistent relationships to define storage key.\n- Extend Registry to allow registering same component with additional component types.\n\n0.3.14 (2018-09-13)\n-------------------\n- Allow default values in persistent factory callback.\n\n0.3.13 (2018-09-11)\n-------------------\n- Allow persistent items to be hidden (like properties).\n- Allow persistent interface to use get_properties instead of properties attribute when saving.\n- Allow FilteredListModel to have separate master/item property names.\n\n0.3.12 (2018-07-23)\n-------------------\n- Fix bug where unregistered objects were not reported correctly.\n- Add model changed event to structured model to monitor deep changes.\n\n0.3.11 (2018-06-25)\n-------------------\n- Improve str conversion in Geometry classes (include x/y).\n- Add a get_component method to Registry for easier lookup.\n- Treat '.' in float numbers as decimal point independent of locale when parsing, leave locale decimal point valid too.\n\n0.3.10 (2018-05-10)\n-------------------\n- Initial version online.\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Nion utility classes.",
    "version": "4.14.0",
    "project_urls": {
        "Homepage": "https://github.com/nion-software/nionutils"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "fbe9a0fcd38fbda0cad7448f90867dc04fb734751096a665483e30b1fc224855",
                "md5": "287e49dabeada2a81be425103526373f",
                "sha256": "fd3d7858ed1c767b2e709cc43cf926519ca3b7fc3d7260a711f32ec6a7677d4c"
            },
            "downloads": -1,
            "filename": "nionutils-4.14.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "287e49dabeada2a81be425103526373f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 68080,
            "upload_time": "2025-02-11T23:43:30",
            "upload_time_iso_8601": "2025-02-11T23:43:30.873681Z",
            "url": "https://files.pythonhosted.org/packages/fb/e9/a0fcd38fbda0cad7448f90867dc04fb734751096a665483e30b1fc224855/nionutils-4.14.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-11 23:43:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "nion-software",
    "github_project": "nionutils",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nionutils"
}
        
Elapsed time: 0.40426s