Utility functions used throughout the various nlesc-nano repositories.
APACHE-2.0 License
Bot releases are visible (Hide)
Full Changelog: https://github.com/nlesc-nano/Nano-Utils/compare/2.3.4...2.3.5
Published by BvB93 over 1 year ago
Full Changelog: https://github.com/nlesc-nano/Nano-Utils/compare/2.3.3...2.3.4
Published by BvB93 over 2 years ago
_RecursiveMappingView
by @BvB93 in https://github.com/nlesc-nano/Nano-Utils/pull/37
Full Changelog: https://github.com/nlesc-nano/Nano-Utils/compare/2.3.2...2.3.3
Published by BvB93 over 2 years ago
repr
of the various h5py.File
views by @BvB93 in https://github.com/nlesc-nano/Nano-Utils/pull/36
Full Changelog: https://github.com/nlesc-nano/Nano-Utils/compare/2.3.1...2.3.2
Published by BvB93 almost 3 years ago
VersionInfo.from_str
to accept any PEP 440-compatible version string by @BvB93 in https://github.com/nlesc-nano/Nano-Utils/pull/35
Full Changelog: https://github.com/nlesc-nano/Nano-Utils/compare/2.3.0...2.3.1
Published by BvB93 about 3 years ago
UserMapping
entry points for the IPython key completioner and pretty printer.warnings.filterwarnings
to the decorated function.Published by BvB93 about 3 years ago
Published by BvB93 about 3 years ago
RecursiveValuesView.__eq__
in terms of collections.Counter
comparisons.Published by BvB93 about 3 years ago
fullmatch
argument to VersionInfo.from_str
.recursive_keys
, recursive_values
and recursive_items
functions now return collections.abc.MappingView
instances, rather than generators. These mappingviews are available via the RecursiveKeysView
, RecursiveValuesView
and RecursiveItemsView
classes.Published by BvB93 about 3 years ago
LazyImporter
and MutableLazyImporter
, two classes for lazily importing objects.Published by BvB93 over 3 years ago
SequenceView.index
and SequenceView.count
to pass on arbitrary parameters.SequenceView.__repr__
to use pprint
.Published by BvB93 over 3 years ago
SequenceView
and CatchErrors
classes.Published by BvB93 almost 4 years ago
UniqueLoader
, a pyyaml Loader that dissallows duplicate keys.recursive_keys()
, recursive_values()
and recursive_items()
.DtypeLike
to DTypeLike
.Published by BvB93 over 4 years ago
See https://github.com/nlesc-nano/Nano-Utils/milestone/2:
numpy.typing
annotations: ArrayLike
, DtypeLike
& ShapeLike
.MANIFEST.in
.3.9
beta.Published by BvB93 over 4 years ago
AbstractFileContainer.read()
and .write()
.Published by BvB93 over 4 years ago
Published by BvB93 over 4 years ago
nanoutils.testing_utils
module; contains the FileNotFoundWarning
class and @delete_finally()
decorator.Published by BvB93 over 4 years ago
AbstractFileContainer.write()
to sys.stdout
.tests_require
in setup.py
.get_func_name()
function.module
argument to issubclass_factory()
, isinstance_factory()
and import_factory()
.PartialPrepend
and SetAttr
are now in their own (private) modules. Note that they still should be imported from (preferably) nanoutils
or otherwise nanoutils.utils
.docs/
directory.Published by BvB93 over 4 years ago
ignore_if()
decorator.Published by BvB93 over 4 years ago
AbstractFileContainer
class and file_to_context()
function.