Guidata

Latest version: v3.7.1

Safety actively analyzes 687918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 10

1.6.0

Added support for Python 3 (see module `guidata.py3compat`).

New features:

* disthelpers:
* Added support for Python 3.3
* Added support for pygments (and partial support for zmq: still failing)
* FloatArrayItem: added support for `unit` property value

Bug fixes:

* disthelpers.prepend_module_to_path: unload modules which were already imported to be able to replace them by other versions (mostly `guidata` should be concerned by this if the function is used -as it should be- in package's __init__.py script)

1.5.1

New features:

* HDF5 serialization (HDF5 reader/writer):
* Added context manager
* Added convenience methods `read` and `write`
* Added convenience methods `write_object_list` and `read_object_list` to save/restore objects implementing DataSet-like `serialize` and `deserialize` methods
* Datasets I/O (HDF5/ini): None values (unset items) can now be saved/loaded for FloatItem, IntItem and BoolItem objects
* disthelpers: added option 'exclude_dirs' to 'add_module_data_files' and 'add_module_data_dir' methods
* Added slider support for FloatItem objects (contributor: julien.jaeck)
* (Issue 21) Added option 'size' in dataset `edit` and `view` methods to resize the generated dialog box (size may be a tuple of integers (width, height) or a QSize object)

Possible API compatibility issues:

* guidata now requires Python 2.6 (Python 2.5 support has been dropped)

Bug fixes:

* DataSet objects (de)serialization: fixed HDF5 reader/writer for FilesOpenItem and FloatArrayItem serialize/deserialize methods
* Fixed DataSet userconfig read/write test
* StringItem/ColorItem: fixed unicode/str issues in deserialization methods
* Added support for strings encoded in file system charset to avoid an error like "String %r is not UTF-8 encoded" when trying to set an item to a string value (path) obtained with a file system command
* configtools/image paths: handling file system encoded paths
* (Issue 14) Restored compatiblity with PyQt v4.4

1.5.0

Bug fixes:

* Fixed 'callback' property related issue: when updating a DataSetShowGroupBox or
DataSetEditGroupBox internal dataset, the callback property was causing a reset
of the data items to their default values

Possible API compatibility issues:

* datatypes.OperatorProperty was renamed to FuncProp

Other changes:

* Added test for the FuncProp item property: how to change an item active state depending on another item's value
* Added support for dictionaries for `update_dataset` and `restore_dataset` (functions of `guidata.utils`):
* `update_dataset` may update the destination dataset from a source dictionary
* `restore_dataset` may update the destination dictionary from a source dataset
* FloatArrayItem: added option "large" to show all the array values in read-only mode
* Added new guidata svg logo
* disthelpers:
* added support for PySide
* disthelpers: new function 'get_visual_studio_dlls' -- returns the list of Visual
Studio DLLs (and create manifest) associated to Python architecture and version

1.4.2

Bug fixes:

* disthelpers:
* the vs2008 option was accidently turned off by default on Windows platforms
* build_chm.bat: added support for Windows x64

Other changes:

* dataset.qtwidgets:
* QLabel widgets word wrapping is now disabled for read-only items and may be disabled for dataset comments: this is necessary because when the parent widget height is constrained, Qt is unexpectedly reducing the height of word-wrapped QLabel widgets below their minimum size, hence truncating their contents...
* disthelpers:
* raising an exception when the right version of Ms Visual C++ DLLs was not found
* now creating the manifest and distributing from the redistribuable package installed in WinSxS

1.4.1

Bug fixes:

* ColorItem for recent versions of Qt: in QLineEdit widget, the text representation of color was str(QColor(...)) instead of str(QColor(...).name())
* guidata.qt compat package: fixed _modname typo
* hdf5io:
* optional attribute mechanism generalized to both Attr and DSet objects (for both saving and loading data)
* H5Store/`close` method: now checking if h5 file has already been closed before trying to close it (see <http://code.google.com/p/h5py/issues/detail?id=220>)
* disthelpers:
* vs2008 option was ignored
* added 'C:\Program Files (x86)' to bin includes (cx_Freeze)
* Data items/callbacks: fixed callbacks for ChoiceItem (or derived items) which were triggered when other widgets were triggering their own callbacks...

Other changes:

* Added test for item callbacks
* dataset.datatypes.FormatProp/new behavior: added `ignore_error` argument, default to True (ignores string formatting error: ValueError)
* disthelpers:
* Distribution.Setup: added `target_dir` option
* Distribution.build: added `create_archive` option to create a ZIP archive after building the package
* cx_Freeze: added support for multiple executables
* added support for h5py 2.0
* added support for Maplotlib 1.1
* Allow DateTime edit widgets to popup calendar

1.4.0

Possible API compatibility issues:

* disthelpers: removed functions remove_build_dist, add_module_data_files,
add_text_data_file, get_default_excludes, get_default_includes,
get_default_dll_excludes, create_vs2008_data_files (...) which were
replaced by a class named Distribution,
see the new disthelpers test for more details (tests/dishelpers.py)
* reorganized utils and configtools modules

Other changes:

* disthelpers: replaced almost all functions by a class named Distribution,
and added support for cx_Freeze (module remains compatible with py2exe),
see the new disthelpers test for more details (tests/dishelpers.py)
* reorganized utils and configtools modules

Page 9 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.