Skip to main content

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 structures
    • BODConfig : Configuration dataclass for mapping definitions
    • BODConfigLoader : Load configurations from YAML, JSON, or S3
    • BODTransformers : 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 pyyaml and lxml for XML and YAML processing
  • Development Tools : Added MkDocs and related packages in dev dependencies

Changed

  • Updated setup.py with new dependencies
  • Updated __init__.py to 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__.py for 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_email and to_email parameters 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cmpparis-1.13.0.tar.gz (42.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cmpparis-1.13.0-py3-none-any.whl (33.4 kB view details)

Uploaded Python 3

File details

Details for the file cmpparis-1.13.0.tar.gz.

File metadata

  • Download URL: cmpparis-1.13.0.tar.gz
  • Upload date:
  • Size: 42.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for cmpparis-1.13.0.tar.gz
Algorithm Hash digest
SHA256 bb05bb5476f13e9c6e86c53c94fe4a2de34669ab8503b903bf0db349b1b33f13
MD5 ce5aaf683e4246a6289f12bc40aef909
BLAKE2b-256 7c46348a32461987d65e96cbb0c94d8d33080ebaa6c7a2011577966e1293cbd6

See more details on using hashes here.

File details

Details for the file cmpparis-1.13.0-py3-none-any.whl.

File metadata

  • Download URL: cmpparis-1.13.0-py3-none-any.whl
  • Upload date:
  • Size: 33.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for cmpparis-1.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14af482e28c37d3bcc46ade70721625ee631f02676c6a3bac7da7b5a77e538de
MD5 7b3d3e8e3679e0963eee6c33df9303bd
BLAKE2b-256 cb5608d167927dc0857a5bde7f522945af728ae0aa91297021eebdae240db2d9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page