Une bibliothèque pour CMP
Project description
cmpparis
cmpparis est une petite bibliothèque Python pour CMP afin de ne pas réecrire les différentes fonctions et de gagner du temps.
Installation
pip install cmpparis
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[1.13.0] - 2025-10-07
Added
- BOD Parser Module : Complete module for parsing Infor M3 BOD XML documents to CSV
BODParser: Main parser class with support for Header + Lines structuresBODConfig: Configuration dataclass for mapping definitionsBODConfigLoader: Load configurations from YAML, JSON, or S3BODTransformers: Pre-built transformation functions (date, text, numbers, booleans)- Support for custom transformers via
register_transformer() - Multiple flatten modes:
duplicate_header,header_only,lines_only - XPath-based field extraction with namespace support
- Documentation System : Complete auto-generated documentation
- MkDocs with Material theme integration
- Auto-generation from Python docstrings (Google-style)
- Complete navigation with tabs, sections, breadcrumbs
- Search functionality with suggestions and highlighting
- Light/Dark mode support
- Deployment script for AWS S3 hosting
- Documentation URL: http://cmp-docs-internal.s3-website.eu-west-3.amazonaws.com
- New Dependencies : Added
pyyamlandlxmlfor XML and YAML processing - Development Tools : Added MkDocs and related packages in dev dependencies
Changed
- Updated
setup.pywith new dependencies - Updated
__init__.pyto export new BOD Parser modules - Enhanced README.md with comprehensive documentation section
- Python minimum version changed from 3.6 to 3.7 (for dataclasses support)
Fixed
- QuableAPI lazy loading to avoid Parameter Store errors when not using the class
- Import issues in
__init__.pyfor better module organization
[1.12.7] - 2025-06-25
Added
- Nothing
Changed
- Nothing
Fixed
- Install specific version of pymssql
[1.12.6] - 2025-06-23
Added
- Nothing
Changed
- Nothing
Fixed
- send_email_to_support signature in S3 and FTP classes
[1.12.5] - 2025-05-07
Added
- Nothing
Changed
- S3 : archive location
Fixed
- Nothing
[1.12.4] - 2025-04-25
Added
- S3 : Function to archive files
Changed
- Nothing
Fixed
- Nothing
[1.11.4] - 2025-03-07
Added
- Nothing
Changed
- Parameters : Allow to extract parameter value from parameters list
Fixed
- Nothing
[1.10.4] - 2025-03-06
Added
- Nothing
Changed
- Sharepoint : Allow to get context
Fixed
- Nothing
[1.9.4] - 2025-02-10
Added
- Nothing
Changed
- Allow to get all parameters by path
Fixed
- Nothing
[1.8.4] - 2025-02-04
Added
- Nothing
Changed
- Nothing
Fixed
- Import of the ses utils
[1.8.3] - 2025-02-03
Added
- Functions to better handle exceptions (display details)
Changed
- Nothing
Fixed
- Nothing
[1.7.3] - 2025-01-30
Added
- Nothing
Changed
- Additional condition for decrypting parameter in get_parameter function
Fixed
- Nothing
[1.6.3] - 2024-12-11
Added
- Nothing
Changed
- Allow to get parameter by passing only one parameter to the function
Fixed
- Nothing
[1.5.3] - 2024-12-10
Added
- Nothing
Changed
- Nothing
Fixed
- Import only the SQL connector given in parameter
[1.5.2] - 2024-12-09
Added
- Nothing
Changed
- Nothing
Fixed
- Fix pattern syntax in check_email function
[1.5.1] - 2024-12-03
Added
- Add upload function to FTP class
Changed
- Nothing
Fixed
- Nothing
[1.4.1] - 2024-11-07
Added
- Add class to interact with Sharepoint
Changed
- Nothing
Fixed
- Nothing
[1.3.1] - 2024-10-10
Added
- Add mssql class to connect to Microsoft SQL Servers databases
Changed
- Nothing
Fixed
- Nothing
[1.2.1] - 2024-10-04
Added
- Nothing
Changed
- Add missing disconnect function to odbc
Fixed
- Removed
from_emailandto_emailparameters from the function signature - Now uses a generic error email address for
from_email, retrieved from the parameter store - Support email address (
to_email) is now passed directly to the function, retrieved from the parameter store
[1.1.0] - 2024-09-27
Added
- Nothing
Changed
- Nothing
Fixed
- Fixed get_parameter function: Added verification condition to decrypt the password
[1.2.0] - 2024-09-30
Added
- Added SqlFactory and Odbc classes: Allows connection to Microsoft Server databases
Changed
- Nothing
Fixed
- Nothing
[1.1.0] - 2024-09-27
Added
- Nothing
Changed
- Nothing
Fixed
- Fixed get_parameter function: Added verification condition to decrypt the password
[1.0.0] - 2024-09-23
Added
- Added FTP functions
- Added S3 functions
- Added MongoDB functions
- Added SES functions
- Added utils functions
Changed
- Nothing
Fixed
- Nothing
[0.1.1] - 2024-09-02
Added
- Added and tested initial functions to get started with PyPI
Changed
- Nothing
Fixed
- Nothing
[0.0.1] - 2024-09-02
Added
- Initial project setup
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cmpparis-1.13.4.tar.gz.
File metadata
- Download URL: cmpparis-1.13.4.tar.gz
- Upload date:
- Size: 38.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a87f5ab17f3d8b1605ec8d72e6891cbefc3e3196dc635939e6cb99a6bff0a4e
|
|
| MD5 |
8d7b18fa807bbf9c8d65b65a25e4d59c
|
|
| BLAKE2b-256 |
85743739448ea59c62af2fea9b463b71c49f3faaf93aa91a95f916e34d388891
|
File details
Details for the file cmpparis-1.13.4-py3-none-any.whl.
File metadata
- Download URL: cmpparis-1.13.4-py3-none-any.whl
- Upload date:
- Size: 33.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d8550003e5e5a1cc2e1cb49467255e3a3dba9c6c21128f260a61e04eb708af0
|
|
| MD5 |
237f4c75d8956ca4fdd301f44492accf
|
|
| BLAKE2b-256 |
5496587774ce76d6f866ec0190c5f3247e4b4109558626a6fb265e1b41f028a1
|