-
2024.11.06
StableSome checks failedRun tests / tests (push) Failing after 1m26sreleased this
2025-06-30 16:04:32 +02:00 | 21 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)
5 downloads
-
Source code (TAR.GZ)
5 downloads
-
md5sum.txt
2 downloads ·
2025-06-30 16:04:32 +02:00 · 217 B -
mylib-2024.11.6-py3-none-any.whl
4 downloads ·
2025-06-30 16:04:32 +02:00 · 56 KiB -
mylib-2024.11.6.tar.gz
0 downloads ·
2025-06-30 16:04:32 +02:00 · 48 KiB -
python3-mylib_2024.11.06-1_all.deb
7 downloads ·
2025-06-30 16:04:32 +02:00 · 45 KiB -
sha512sum.txt
2 downloads ·
2025-06-30 16:04:32 +02:00 · 505 B
-
released this
2024-03-15 10:51:16 +01:00 | 32 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)
6 downloads
-
Source code (TAR.GZ)
9 downloads
-
md5sum.txt
25 downloads ·
2024-03-15 10:51:16 +01:00 · 213 B -
mylib-2024.3.1-py3-none-any.whl
27 downloads ·
2024-03-15 10:51:16 +01:00 · 54 KiB -
mylib-2024.3.1.tar.gz
12 downloads ·
2024-03-15 10:51:16 +01:00 · 45 KiB -
python3-mylib_2024.3.1-1_all.deb
20 downloads ·
2024-03-15 10:51:16 +01:00 · 42 KiB -
sha512sum.txt
24 downloads ·
2024-03-15 10:51:16 +01:00 · 501 B
-
2023.7.10 Stable
released this
2023-07-10 13:07:34 +02:00 | 49 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)
7 downloads
-
Source code (TAR.GZ)
9 downloads
-
md5sum.txt
54 downloads ·
2023-07-10 13:09:20 +02:00 · 267 B -
mylib-2023.7.10-py3-none-any.whl
53 downloads ·
2023-07-10 13:09:20 +02:00 · 51 KiB -
mylib-2023.7.10.tar.gz
31 downloads ·
2023-07-10 13:09:20 +02:00 · 43 KiB -
python3-mylib_2023.7.10-1_all.deb
34 downloads ·
2023-07-10 13:09:20 +02:00 · 40 KiB -
release_notes.md
63 downloads ·
2023-07-10 13:09:20 +02:00 · 888 B -
sha512sum.txt
58 downloads ·
2023-07-10 13:09:20 +02:00 · 651 B
-
2023.01.16
Stablereleased this
2023-01-16 13:37:53 +01:00 | 68 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)
8 downloads
-
Source code (TAR.GZ)
10 downloads
-
md5sum.txt
75 downloads ·
2023-01-16 13:41:00 +01:00 · 268 B -
mylib-2023.1.16-py3-none-any.whl
78 downloads ·
2023-01-16 13:41:00 +01:00 · 47 KiB -
mylib-2023.1.16.tar.gz
57 downloads ·
2023-01-16 13:41:00 +01:00 · 40 KiB -
python3-mylib_2023.01.16-1_all.deb
50 downloads ·
2023-01-16 13:41:00 +01:00 · 38 KiB -
release_notes.md
103 downloads ·
2023-01-16 13:41:00 +01:00 · 824 B -
sha512sum.txt
77 downloads ·
2023-01-16 13:41:00 +01:00 · 652 B
-
2023.01.07
Stablereleased this
2023-01-07 02:19:18 +01:00 | 82 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)
7 downloads
-
Source code (TAR.GZ)
9 downloads
-
md5sum.txt
79 downloads ·
2023-01-07 02:24:37 +01:00 · 266 B -
mylib-2023.1.7-py3-none-any.whl
79 downloads ·
2023-01-07 02:24:37 +01:00 · 44 KiB -
mylib-2023.1.7.tar.gz
56 downloads ·
2023-01-07 02:24:37 +01:00 · 37 KiB -
python3-mylib_2023.01.07-1_all.deb
57 downloads ·
2023-01-07 02:24:37 +01:00 · 35 KiB -
release_notes.md
76 downloads ·
2023-01-07 02:24:37 +01:00 · 673 B -
sha512sum.txt
81 downloads ·
2023-01-07 02:24:38 +01:00 · 650 B
-
v0.1.10
Stablereleased this
2022-08-02 01:42:04 +02:00 | 96 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)
7 downloads
-
Source code (TAR.GZ)
9 downloads
-
md5sum.txt
88 downloads ·
2022-08-02 01:44:36 +02:00 · 258 B -
mylib-0.1.10-py3-none-any.whl
80 downloads ·
2022-08-02 01:44:36 +02:00 · 44 KiB -
mylib-0.1.10.tar.gz
66 downloads ·
2022-08-02 01:44:36 +02:00 · 36 KiB -
python3-mylib_0.1.10-1_all.deb
69 downloads ·
2022-08-02 01:44:36 +02:00 · 34 KiB -
release_notes.md
104 downloads ·
2022-08-02 01:44:36 +02:00 · 450 B -
sha512sum.txt
95 downloads ·
2022-08-02 01:44:36 +02:00 · 642 B
-
v0.1.9
StableAll checks were successfulci/woodpecker/tag/woodpecker Pipeline was successfulreleased this
2022-06-30 14:34:25 +02:00 | 104 commits to master since this releaseDownloads
-
Source code (ZIP)
9 downloads
-
Source code (TAR.GZ)
8 downloads
-
md5sum.txt
103 downloads ·
2022-06-30 14:36:27 +02:00 · 199 B -
mylib-0.1.9-py3-none-any.whl
96 downloads ·
2022-06-30 14:36:27 +02:00 · 44 KiB -
mylib-0.1.9.tar.gz
68 downloads ·
2022-06-30 14:36:27 +02:00 · 36 KiB -
python3-mylib_0.1.9-1_all.deb
80 downloads ·
2022-06-30 14:36:27 +02:00 · 33 KiB -
sha512sum.txt
92 downloads ·
2022-06-30 14:36:27 +02:00 · 487 B
-
Source code (ZIP)
-
v0.1.8
Stablereleased this
2022-06-28 11:05:43 +02:00 | 105 commits to master since this releaseDownloads
-
Source code (ZIP)
9 downloads
-
Source code (TAR.GZ)
9 downloads
-
md5sum.txt
90 downloads ·
2022-06-28 11:12:03 +02:00 · 199 B -
mylib-0.1.8-py3-none-any.whl
95 downloads ·
2022-06-28 11:12:03 +02:00 · 43 KiB -
mylib-0.1.8.tar.gz
71 downloads ·
2022-06-28 11:12:03 +02:00 · 35 KiB -
python3-mylib_0.1.8-1_all.deb
69 downloads ·
2022-06-28 11:12:03 +02:00 · 33 KiB -
sha512sum.txt
101 downloads ·
2022-06-28 11:12:03 +02:00 · 487 B
-
Source code (ZIP)
-
v0.1.7
Stablereleased this
2022-06-23 18:38:21 +02:00 | 107 commits to master since this releaseDownloads
-
Source code (ZIP)
7 downloads
-
Source code (TAR.GZ)
10 downloads
-
md5sum.txt
99 downloads ·
2022-06-23 18:41:54 +02:00 · 199 B -
mylib-0.1.7-py3-none-any.whl
101 downloads ·
2022-06-23 18:41:54 +02:00 · 40 KiB -
mylib-0.1.7.tar.gz
80 downloads ·
2022-06-23 18:41:54 +02:00 · 33 KiB -
python3-mylib_0.1.7-1_all.deb
78 downloads ·
2022-06-23 18:41:54 +02:00 · 32 KiB -
sha512sum.txt
96 downloads ·
2022-06-23 18:41:54 +02:00 · 487 B
-
Source code (ZIP)
-
v0.1.6
Stablereleased this
2022-06-07 12:40:53 +02:00 | 109 commits to master since this releaseDownloads
-
Source code (ZIP)
8 downloads
-
Source code (TAR.GZ)
7 downloads
-
md5sum.txt
103 downloads ·
2022-06-16 16:43:48 +02:00 · 199 B -
mylib-0.1.6-py3-none-any.whl
89 downloads ·
2022-06-16 16:43:48 +02:00 · 40 KiB -
mylib-0.1.6.tar.gz
70 downloads ·
2022-06-16 16:43:48 +02:00 · 33 KiB -
python3-mylib_0.1.6-1_all.deb
67 downloads ·
2022-06-16 16:43:48 +02:00 · 31 KiB -
sha512sum.txt
94 downloads ·
2022-06-16 16:43:48 +02:00 · 487 B
-
Source code (ZIP)