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.0.tar.gz
(22.3 kB
view details)
Built Distribution
File details
Details for the file astar_utils-0.2.0.tar.gz
.
File metadata
- Download URL: astar_utils-0.2.0.tar.gz
- Upload date:
- Size: 22.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.2.0-1018-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d65cfd776df533710b46e256febe1b1b891f21827fd9dcf21867fdb7b0bc8e93 |
|
MD5 | ebb3e9859a7ceb86573089f42cfcef46 |
|
BLAKE2b-256 | ecf0411434a24ffc7e5b24aad7920cc750dad68128a059b8a26c9afebe6b3f15 |
File details
Details for the file astar_utils-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: astar_utils-0.2.0-py3-none-any.whl
- Upload date:
- Size: 23.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.2.0-1018-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3518c857ece09d86159e7ee91f3f7933759eb679ff618c69607d0d71f0cf2b5 |
|
MD5 | eddb34ee367afa88adcd14c5977e6b69 |
|
BLAKE2b-256 | 0f999c16f41c2bad04bfc63afa5975c376dd07217f226c4bd2cc81d996d6c7ea |