Nano-Utils

Utility functions used throughout the various nlesc-nano repositories.

APACHE-2.0 License

Downloads
499
Stars
1
Committers
1

Bot releases are visible (Hide)

Nano-Utils - Nano-Utils 2.3.5 Latest Release

Published by BvB93 about 1 year ago

Nano-Utils - Nano-Utils 2.3.4

Published by BvB93 over 1 year ago

  • Add formal Python 3.11 support
  • Misc CI updates

Full Changelog: https://github.com/nlesc-nano/Nano-Utils/compare/2.3.3...2.3.4

Nano-Utils - Nano-Utils 2.3.3

Published by BvB93 over 2 years ago

What's Changed

Full Changelog: https://github.com/nlesc-nano/Nano-Utils/compare/2.3.2...2.3.3

Nano-Utils - Nano-Utils 2.3.2

Published by BvB93 over 2 years ago

What's Changed

Full Changelog: https://github.com/nlesc-nano/Nano-Utils/compare/2.3.1...2.3.2

Nano-Utils - Nano-Utils 2.3.1

Published by BvB93 almost 3 years ago

What's Changed

Full Changelog: https://github.com/nlesc-nano/Nano-Utils/compare/2.3.0...2.3.1

Nano-Utils - Nano-Utils 2.3.0

Published by BvB93 about 3 years ago

  • Added UserMapping entry points for the IPython key completioner and pretty printer.
  • Added a decorator for applying the effect of warnings.filterwarnings to the decorated function.
Nano-Utils - Nano-Utils 2.2.0

Published by BvB93 about 3 years ago

  • Added a decorator for constructing positional-only signatures.
  • Added two mappings for creating structured dtypes.
  • Added two mapping baseclasses for user defined mappings.
Nano-Utils - Nano-Utils 2.1.0

Published by BvB93 about 3 years ago

  • Reimplement RecursiveValuesView.__eq__ in terms of collections.Counter comparisons.
Nano-Utils - Nano-Utils 2.0.0

Published by BvB93 about 3 years ago

  • Added the fullmatch argument to VersionInfo.from_str.
  • The h5py-related 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.
Nano-Utils - Nano-Utils 1.4.0

Published by BvB93 about 3 years ago

  • Added LazyImporter and MutableLazyImporter, two classes for lazily importing objects.
Nano-Utils - Nano-Utils 1.3.1

Published by BvB93 over 3 years ago

  • Allow SequenceView.index and SequenceView.count to pass on arbitrary parameters.
  • Reworked SequenceView.__repr__ to use pprint.
Nano-Utils - Nano-Utils 1.3.0

Published by BvB93 over 3 years ago

  • Added the new SequenceView and CatchErrors classes.
  • Drop support for Python 3.6.
Nano-Utils - Nano-Utils 1.2.1

Published by BvB93 almost 4 years ago

  • Added UniqueLoader, a pyyaml Loader that dissallows duplicate keys.
  • Added three functions for recursivvelly iterating through hdf5 files/groups: recursive_keys(), recursive_values() and recursive_items().
  • Renamed DtypeLike to DTypeLike.
Nano-Utils - Nano-Utils 1.1.2

Published by BvB93 over 4 years ago

See https://github.com/nlesc-nano/Nano-Utils/milestone/2:

  • Added aliases for the following numpy.typing annotations: ArrayLike, DtypeLike & ShapeLike.
  • Fixed an issue with the license in MANIFEST.in.
  • Enable Cancel Workflow Action for the unit tests.
  • Added tests for building wheels.
  • Enabled tests for the Python 3.9 beta.
Nano-Utils - Nano-Utils 1.0.1

Published by BvB93 over 4 years ago

  • Validate the passed path-/file-like object in AbstractFileContainer.read() and .write().
  • Enabled the readthedocs Autobuild Documentation for Pull Requests option.
Nano-Utils - Nano-Utils 1.0.0

Published by BvB93 over 4 years ago

  • Updated the development status from Beta to Production/Stable.
Nano-Utils - Nano-Utils 0.4.3

Published by BvB93 over 4 years ago

  • Added the nanoutils.testing_utils module; contains the FileNotFoundWarning class and @delete_finally() decorator.
Nano-Utils - Nano-Utils 0.4.2

Published by BvB93 over 4 years ago

  • Set the default output of AbstractFileContainer.write() to sys.stdout.
  • Cleaned up tests_require in setup.py.
  • Added the get_func_name() function.
  • Added the 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.
  • Run tests on the docs/ directory.
  • Updated annotations and documentation.
  • Fixed an issue where decorator documentation wasn't properly generated.
Nano-Utils - Nano-Utils 0.4.1

Published by BvB93 over 4 years ago

  • Minor documentation fixes.
  • Added the ignore_if() decorator.
Nano-Utils - Nano-Utils 0.4.0

Published by BvB93 over 4 years ago

  • Added the AbstractFileContainer class and file_to_context() function.
  • Marked all internally used type annotations are private.
  • Added contextlib2 as a dependency for Python 3.6.
Package Rankings
Top 20.31% on Pypi.org
Related Projects