Dewi-utils

Latest version: v3.1.0

Safety actively analyzes 628989 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

1.2

- add Connection class and ensure_connection() method to kayako module
to reuse calculated signature and provide an object for easier testing
- config/node: add NodeList and also test the module
- rrdtool: use NodeList & fix modifiers
- NetworkCardVendors: add option to prevent network usage
- logparsers: add support to add multiple callbacks to a pattern:
during log processing one pattern matching - multiple calls.
And ensure that '\n' (0x10) is handled only as log line separator
- add lithurical command to print events of a calendar year
- kayako: add TicketStatus and TicketStatuses classes

1.1

- add support of generating .PNG files from .rrd files in a munin directory
- dewi.utils.yaml: add the module to save a dict to a YAML file
- config/node.py: add Node.load_from() to load from a dict (from eg. YAML);
- config/node: __setattr__ checks whether key is already in the node
- config/config: add _top_level_unsafe_set() used by subclasses, for self[key] = value
- logparser: add ISO8601Parser.to_datetime, reuse it in to_timestamp
- dewi.core.application: add list and list-all commands, w/o args 'list' is used

1.0

- It can be marked as stable.
- Changed to LGPL, to use freely in proprietary code (eg. by me)

0.90

- Major update
- in_directory() context manager
- a product list loader
- module for lutheran lithurgical feasts
- main app: --wait to wait before exiting (useful on Windows)
- main app: --debug / --print-backtrace options
- dewi.module_framework: add module support for any command (see README.rst)
* another Config() as dewi.config.Config() class
* Messages() class
- dewi.logparser: parse logs in a directory + modules (see README.rst)
- dewi.utils.network: MAC to vendor mapping
- dewi.utils.dictionaries: customized behaviour of dicts
- dewi.utils.render.py: add Jinja2 TemplateRenderer
- dewi.realtime_sync + filesync (treesync):
sync a directory tree (source code) to a local or remote directory with rules
- dewi.utils.process: find_binary/which to search for executable in PATH
- dewi.utils.kayako_rest: Request + Host classes to communicate with Kayako's REST API
- dewi.config.node: Node is a typesafe dict for dewi.config module
- dewi.images + 4 commands to sort photos from multiple locations:
* collect-images -> to an SQLite DB
* select-images: select useful entries from collected images
* dedup-images: copy unique images into a new location (original -> new mapping is in DB)
* safe-delete-images: delete images that are copied by dedup-images (if already copied)
- add examples + updated README.rst

0.1

- Initial release
- Supports / provide plugins and commands
- Added edit command, to easily open file with vim at a specific line,
the argument can be copied directly from anything which have similar
output as grep -nH ... | cut -f-2 -d:

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.