-
released this
2024-03-15 10:51:16 +01:00 | 11 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)
3 downloads
-
Source code (TAR.GZ)
5 downloads
-
md5sum.txt
8 downloads · 213 B
-
mylib-2024.3.1-py3-none-any.whl
8 downloads · 54 KiB
-
mylib-2024.3.1.tar.gz
8 downloads · 45 KiB
-
python3-mylib_2024.3.1-1_all.deb
8 downloads · 42 KiB
-
sha512sum.txt
8 downloads · 501 B
-
2023.7.10 Stable
released this
2023-07-10 13:07:34 +02:00 | 28 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)
3 downloads
-
Source code (TAR.GZ)
4 downloads
-
md5sum.txt
41 downloads · 267 B
-
mylib-2023.7.10-py3-none-any.whl
37 downloads · 51 KiB
-
mylib-2023.7.10.tar.gz
27 downloads · 43 KiB
-
python3-mylib_2023.7.10-1_all.deb
24 downloads · 40 KiB
-
release_notes.md
47 downloads · 888 B
-
sha512sum.txt
41 downloads · 651 B
-
2023.01.16
released this
2023-01-16 13:37:53 +01:00 | 47 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)
4 downloads
-
Source code (TAR.GZ)
5 downloads
-
md5sum.txt
58 downloads · 268 B
-
mylib-2023.1.16-py3-none-any.whl
59 downloads · 47 KiB
-
mylib-2023.1.16.tar.gz
51 downloads · 40 KiB
-
python3-mylib_2023.01.16-1_all.deb
35 downloads · 38 KiB
-
release_notes.md
82 downloads · 824 B
-
sha512sum.txt
58 downloads · 652 B
-
2023.01.07
released this
2023-01-07 02:19:18 +01:00 | 61 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)
4 downloads
-
Source code (TAR.GZ)
5 downloads
-
md5sum.txt
57 downloads · 266 B
-
mylib-2023.1.7-py3-none-any.whl
61 downloads · 44 KiB
-
mylib-2023.1.7.tar.gz
47 downloads · 37 KiB
-
python3-mylib_2023.01.07-1_all.deb
41 downloads · 35 KiB
-
release_notes.md
58 downloads · 673 B
-
sha512sum.txt
56 downloads · 650 B
-
v0.1.10
released this
2022-08-02 01:42:04 +02:00 | 75 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)
3 downloads
-
Source code (TAR.GZ)
4 downloads
-
md5sum.txt
67 downloads · 258 B
-
mylib-0.1.10-py3-none-any.whl
64 downloads · 44 KiB
-
mylib-0.1.10.tar.gz
58 downloads · 36 KiB
-
python3-mylib_0.1.10-1_all.deb
53 downloads · 34 KiB
-
release_notes.md
85 downloads · 450 B
-
sha512sum.txt
76 downloads · 642 B
-
v0.1.9
All checks were successfulci/woodpecker/tag/woodpecker Pipeline was successfulreleased this
2022-06-30 14:34:25 +02:00 | 83 commits to master since this releaseDownloads
-
Source code (ZIP)
4 downloads
-
Source code (TAR.GZ)
4 downloads
-
md5sum.txt
84 downloads · 199 B
-
mylib-0.1.9-py3-none-any.whl
75 downloads · 44 KiB
-
mylib-0.1.9.tar.gz
59 downloads · 36 KiB
-
python3-mylib_0.1.9-1_all.deb
63 downloads · 33 KiB
-
sha512sum.txt
70 downloads · 487 B
-
Source code (ZIP)
-
v0.1.8
released this
2022-06-28 11:05:43 +02:00 | 84 commits to master since this releaseDownloads
-
Source code (ZIP)
4 downloads
-
Source code (TAR.GZ)
4 downloads
-
md5sum.txt
67 downloads · 199 B
-
mylib-0.1.8-py3-none-any.whl
74 downloads · 43 KiB
-
mylib-0.1.8.tar.gz
64 downloads · 35 KiB
-
python3-mylib_0.1.8-1_all.deb
54 downloads · 33 KiB
-
sha512sum.txt
85 downloads · 487 B
-
Source code (ZIP)
-
v0.1.7
released this
2022-06-23 18:38:21 +02:00 | 86 commits to master since this releaseDownloads
-
Source code (ZIP)
4 downloads
-
Source code (TAR.GZ)
4 downloads
-
md5sum.txt
74 downloads · 199 B
-
mylib-0.1.7-py3-none-any.whl
78 downloads · 40 KiB
-
mylib-0.1.7.tar.gz
70 downloads · 33 KiB
-
python3-mylib_0.1.7-1_all.deb
62 downloads · 32 KiB
-
sha512sum.txt
78 downloads · 487 B
-
Source code (ZIP)
-
v0.1.6
released this
2022-06-07 12:40:53 +02:00 | 88 commits to master since this releaseDownloads
-
Source code (ZIP)
4 downloads
-
Source code (TAR.GZ)
4 downloads
-
md5sum.txt
82 downloads · 199 B
-
mylib-0.1.6-py3-none-any.whl
70 downloads · 40 KiB
-
mylib-0.1.6.tar.gz
62 downloads · 33 KiB
-
python3-mylib_0.1.6-1_all.deb
52 downloads · 31 KiB
-
sha512sum.txt
68 downloads · 487 B
-
Source code (ZIP)
-
v0.1.5
released this
2022-05-01 00:01:38 +02:00 | 100 commits to master since this releaseDownloads
-
Source code (ZIP)
5 downloads
-
Source code (TAR.GZ)
5 downloads
-
md5sum.txt
74 downloads · 199 B
-
mylib-0.1.5-py3-none-any.whl
80 downloads · 39 KiB
-
mylib-0.1.5.tar.gz
65 downloads · 32 KiB
-
python3-mylib_0.1.5-1_all.deb
52 downloads · 30 KiB
-
sha512sum.txt
89 downloads · 487 B
-
Source code (ZIP)