-
2024.11.06
StableSome checks failedRun tests / tests (push) Failing after 1m26sreleased this
2025-06-30 16:04:32 +02:00 | 45 commits to master since this releaseChangelog:
- SFTPClient::upload_file(): add remote_filename & remote_filepath arguments
- Db: allow to specify a list as a WHERE clause value and they will be combined as a IN clause
- email: remove duplicated in file tester entrypoint
- email: add load_image_as_base64 helper function
- ldap: add nocache parameter to LdapClient.get_objects method
- report: fix checking attachments when checking if the report is empty
- config: allow to customize default config file mode
- config: Add ask_value() helper to section & config objects
- opening_hours: global rework to make module more atomic and add somes new helper methods
Downloads
-
Source code (ZIP)
12 downloads
-
Source code (TAR.GZ)
12 downloads
-
released this
2024-03-15 10:51:16 +01:00 | 56 commits to master since this releaseChangelog:
- Switch from Woodpecker CI to Forgejo Actions
- Introduce some new pre-commit hooks
- Fix including test email template
- config: add _set_option() method to ConfigurableObject
- config: Add logging sections in init() to allow to set their default values
- config: fix configure() method to validate configuration only if -V/--validate parameter is provided
- PgDB: fix doSelect() method to retreive list of dicts instead of list of lists.
- PgDB / MyDB / OracleDB: add limit parameter to select() method
- report: add add_logging_handler & send_at_exit parameters
- config: add default_config_filename parameter
- config: Add OctalOption
- config: add console log_level parameter
- config: fix python 3.9 compatibility
- config: Add logfile feature
- Update pre-commit config and fix some pylint & bandit warnings
Downloads
-
Source code (ZIP)
13 downloads
-
Source code (TAR.GZ)
16 downloads
-
2023.7.10 Stable
released this
2023-07-10 13:07:34 +02:00 | 73 commits to master since this releaseChangelog:
- Telltale: add check_entrypoint() to easily implement Icinga checker script
- Fix some pylint warnings
- pre-commit: bump to isort 5.11.5
- Config: add stuff to handle just-try mode in ConfigurableObject class
- LdapClient.get_changes(): properly handle attributes with empty value
- ldap.LdapServer: add format_modify_modlist() and factorize format_changes() & update_need()
- Re-ordering pre-commits hooks to run those who change the code first
- Intruce bandit pre-commit checks
- Email: add support for CC & BCC recipients
- Email: add possibility to specify more than one recipient
- Email: fix handling templates_path default value
- ConfigurableObject: add set_default() / set_defaults() methods
- Email: add possibility to easily load templates from a directory
- Config: add set_default() / set_defaults() methods
- LdapClient.update_object(): add relax parameter
Downloads
-
Source code (ZIP)
14 downloads
-
Source code (TAR.GZ)
16 downloads
-
2023.01.16
Stablereleased this
2023-01-16 13:37:53 +01:00 | 92 commits to master since this releaseChangelog:
- Fix tests.sh exit code
- Run pytest only when at least one python file is changed
- Improve docker images and use brenard/mylib:dev-master to run tests quickly
- Introduce pyupgrade,isort,black and configure pre-commit hooks to run all testing tools before commit
- Add mylib.mapping.map_hash()
- Docker: try to make images lighter
- Config.parse_arguments_options(): add hardcoded_options argument
- config: if option value was previously set, ignore from options value
- Config: make the configparser always defined to allow to set options at any moment
- config: add optional --reconfigure parameter
- tests: add some tests on BooleanOption
- ConfigOption: add _get_user_input method to allow to mock it in tests
- config: make sure to reload file after saving it
- config: add --console-stderr parameter
Downloads
-
Source code (ZIP)
15 downloads
-
Source code (TAR.GZ)
16 downloads
-
2023.01.07
Stablereleased this
2023-01-07 02:19:18 +01:00 | 106 commits to master since this releaseChangelog:
- Abstract common DB methods in mysql.db.DB class and use it as base to implement PgDB, OracleDB and MyDB
- CI now run pylint & flake8
- Code cleaning
- PgDB: Fix tests
- Add doc about pip install method
- Code cleaning
- config: split console logging between stdout & stderr base on level
- config: code cleaning
- Add the Dockerfile to build the docker brenard/mylib:dev-master image
- Add the Dockerfile to build the docker brenard/mylib:latest image
- ldap: add option to disable referral following
- oracle: fix closing cursors
- ldap: Work-arround with AD invalid return on searching objects
- Config: allow access/setting config options as with a dict
Downloads
-
Source code (ZIP)
14 downloads
-
Source code (TAR.GZ)
16 downloads
-
v0.1.10
Stablereleased this
2022-08-02 01:42:04 +02:00 | 120 commits to master since this releaseChangelog:
- CI: fix path of deb files in publish-apt job
- CI: fix release notes file path
- CI: use brenard/aptly-publish image for publish-apt job
- CI: add release notes
- ldap.LdapClient.get_objects: add paged_search & pagesize parameters
- ldap.LdapServer: make parameters accepted by search and paged_search methods identical
- SFTP client: add missing connect() call in get_file and open_file methods
- SFTP client: add missing docstrings
Downloads
-
Source code (ZIP)
13 downloads
-
Source code (TAR.GZ)
15 downloads
-
v0.1.9
StableAll checks were successfulci/woodpecker/tag/woodpecker Pipeline was successfulreleased this
2022-06-30 14:34:25 +02:00 | 128 commits to master since this releaseDownloads
-
Source code (ZIP)
15 downloads
-
Source code (TAR.GZ)
14 downloads
-
Source code (ZIP)
-
v0.1.8
Stablereleased this
2022-06-28 11:05:43 +02:00 | 129 commits to master since this releaseDownloads
-
Source code (ZIP)
15 downloads
-
Source code (TAR.GZ)
15 downloads
-
Source code (ZIP)
-
v0.1.7
Stablereleased this
2022-06-23 18:38:21 +02:00 | 131 commits to master since this releaseDownloads
-
Source code (ZIP)
13 downloads
-
Source code (TAR.GZ)
16 downloads
-
Source code (ZIP)
-
v0.1.6
Stablereleased this
2022-06-07 12:40:53 +02:00 | 133 commits to master since this releaseDownloads
-
Source code (ZIP)
14 downloads
-
Source code (TAR.GZ)
13 downloads
-
Source code (ZIP)