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.0b1.tar.gz
(22.4 kB
view hashes)
Built Distribution
Close
Hashes for astar_utils-0.2.0b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b59aaeb5920333c528aa7bef07a04a009e9a1e668e84e3cfbc09fdd8dae7fdda |
|
MD5 | 8c27a9ebd1c45494e28efcf96285c891 |
|
BLAKE2b-256 | 679274f29090cc08dba748e1eeaa97d171f879a7d8c923d5f8ffc2365e415dd2 |