community.general/plugins/filter
Timur Gadiev 7e4d6aa541
Add new filter plugin: 'to_prettytable' (#9954)
* Add new action plugin 'prettytable'

* Add integration tests for 'prettytable' plugin

* Added BOTMETA details

* Add COPYRIGHT details

* Add 'to_prettytable' filter plugin and tests

* fix: 🐛 Fix add_rows method

* Add changelog fragment

* Remove changelog fragments

* Apply code review suggestions

* Correct BOTMETA and lint

* refactor: 🔥 Remove unnecessary code parts

* fix: Fix contact details

* Correct kwargs.pop and column_alignments description

* Remove 'trim' filter from conditionals in tests

* Add additional validations and tests

* fix: Apply corrections after review

* refactor: Optimize code and make some refactoring

* fix: Add some minor corrections

* fix: add column_alignments validation and tests

* Update version_added to "10.7.0"

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>

* refactor: Use TypeValidationError class for type checking

* refactor: Apply suggestions

* fix: documentation indent

* Apply suggestion

Co-authored-by: Felix Fontein <felix@fontein.de>

* style: Adjust indentation

Co-authored-by: Felix Fontein <felix@fontein.de>

* style: Correction of examples

* fix: Commit suggestion

Co-authored-by: Felix Fontein <felix@fontein.de>

* fix: Commit suggestion

Co-authored-by: Felix Fontein <felix@fontein.de>

* feat: Add correct parameters validation for empty data

---------

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-05-02 06:16:45 +02:00
..
accumulate.py plugins (become, callback, filter): style adjustments (#9535) 2025-01-07 06:33:28 +01:00
counter.py filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9585) 2025-01-20 19:37:14 +01:00
crc32.py filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9585) 2025-01-20 19:37:14 +01:00
dict.py filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9585) 2025-01-20 19:37:14 +01:00
dict_kv.py filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9585) 2025-01-20 19:37:14 +01:00
from_csv.py filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9585) 2025-01-20 19:37:14 +01:00
from_ini.py filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9585) 2025-01-20 19:37:14 +01:00
groupby_as_dict.py filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9585) 2025-01-20 19:37:14 +01:00
hashids.py Avoid deprecated AnsibleFilterTypeError (#9992) 2025-04-14 20:48:42 +02:00
hashids_decode.yml Add default license header to files which have no copyright or license header yet (#5074) 2022-08-05 14:03:38 +02:00
hashids_encode.yml Add default license header to files which have no copyright or license header yet (#5074) 2022-08-05 14:03:38 +02:00
jc.py filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9585) 2025-01-20 19:37:14 +01:00
json_diff.yml add json_patch, json_patch_recipe and json_diff filters (#9565) 2025-01-21 20:51:21 +01:00
json_patch.py add json_patch, json_patch_recipe and json_diff filters (#9565) 2025-01-21 20:51:21 +01:00
json_patch.yml fixed hidden warnings from extra tests - batch 1 (#10025) 2025-04-23 21:49:20 +02:00
json_patch_recipe.yml add json_patch, json_patch_recipe and json_diff filters (#9565) 2025-01-21 20:51:21 +01:00
json_query.py filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9585) 2025-01-20 19:37:14 +01:00
keep_keys.py filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9585) 2025-01-20 19:37:14 +01:00
lists.py filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9585) 2025-01-20 19:37:14 +01:00
lists_difference.yml fixed hidden warnings from extra tests - batch 1 (#10025) 2025-04-23 21:49:20 +02:00
lists_intersect.yml fixed hidden warnings from extra tests - batch 1 (#10025) 2025-04-23 21:49:20 +02:00
lists_mergeby.py filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9585) 2025-01-20 19:37:14 +01:00
lists_symmetric_difference.yml fixed hidden warnings from extra tests - batch 1 (#10025) 2025-04-23 21:49:20 +02:00
lists_union.yml fixed hidden warnings from extra tests - batch 1 (#10025) 2025-04-23 21:49:20 +02:00
random_mac.py filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9585) 2025-01-20 19:37:14 +01:00
remove_keys.py filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9585) 2025-01-20 19:37:14 +01:00
replace_keys.py filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9585) 2025-01-20 19:37:14 +01:00
reveal_ansible_type.py Make ready for data tagging (#9833) 2025-04-14 19:04:26 +02:00
time.py filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9585) 2025-01-20 19:37:14 +01:00
to_days.yml misc typo fix (#9812) 2025-02-28 23:10:13 +01:00
to_hours.yml misc typo fix (#9812) 2025-02-28 23:10:13 +01:00
to_ini.py filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9585) 2025-01-20 19:37:14 +01:00
to_milliseconds.yml misc typo fix (#9812) 2025-02-28 23:10:13 +01:00
to_minutes.yml misc typo fix (#9812) 2025-02-28 23:10:13 +01:00
to_months.yml misc typo fix (#9812) 2025-02-28 23:10:13 +01:00
to_prettytable.py Add new filter plugin: 'to_prettytable' (#9954) 2025-05-02 06:16:45 +02:00
to_seconds.yml misc typo fix (#9812) 2025-02-28 23:10:13 +01:00
to_time_unit.yml misc typo fix (#9812) 2025-02-28 23:10:13 +01:00
to_weeks.yml misc typo fix (#9812) 2025-02-28 23:10:13 +01:00
to_years.yml misc typo fix (#9812) 2025-02-28 23:10:13 +01:00
unicode_normalize.py Avoid deprecated AnsibleFilterTypeError (#9992) 2025-04-14 20:48:42 +02:00
version_sort.py filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9585) 2025-01-20 19:37:14 +01:00