Contains commonly-used utilities for AstarVienna's projects.
Project description
Astar Utils
This package is devloped and maintained by Astar Vienna and contains commonly-used utilities for the group's projects to avoid both duplicating code and circular dependencies.
Contents
The package currently contains the following public functions and classes:
NestedMapping
: adict
-like structure supporting !-style nested keys.UniqueList
: alist
-like structure with no duplicate elements and some convenient methods.Badge
and subclasses: a family of custom markdown report badges. See docstring for details.BadgeReport
: context manager for collection and generation of report badges. See docstring for details and usage.get_logger()
: convenience function to get (or create) a logger with givenname
as a child of the universalastar
logger.get_astar_logger()
: convenience function to get (or create) a logger with the nameastar
, which serves as the root for all A*V packages and applications.
Loggers module
loggers.ColoredFormatter
: a subclass oflogging.Formatter
to produce colored logging messages for console output.
Dependencies
Dependencies are intentionally kept to a minimum for simplicity. Current dependencies are:
more-itertools
pyyaml
Version requirement for these dependencies can be found in the pyproject.toml
file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
astar_utils-0.2.1.tar.gz
(22.3 kB
view hashes)
Built Distribution
Close
Hashes for astar_utils-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29428d3629337093c14f5283ee9f5d424cb194530adc16ab3632b8205aa385b2 |
|
MD5 | 05e36e9f8e9fd1f6ae9b99852b7d93d3 |
|
BLAKE2b-256 | 5fbed6c9203a3567d9d1dba27c2311f619e16e3be8cffa12cfd6de0b6514a07e |