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.2.tar.gz (42.6 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.2-py3-none-any.whl (33.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cmpparis-1.13.2.tar.gz
  • Upload date:
  • Size: 42.6 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.2.tar.gz
Algorithm Hash digest
SHA256 a69ad33e88d9e450d0db7d6a61cfc5b76abd14c144d5177103db5f1e05b17463
MD5 1c2dd012badaf4753f46c2150382bb5c
BLAKE2b-256 1c156a2abe98c55d790d65adb26abb5498da400da93ccaab007bcca4583f1b67

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cmpparis-1.13.2-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

Hashes for cmpparis-1.13.2-py3-none-any.whl
Algorithm Hash digest
SHA256 44c6602beecbb77edcbcb67192c7ee975c33065f611c9c6db1ad013c04618674
MD5 0014642192656ee4fd172f4bf25faa41
BLAKE2b-256 35023ebcbee5968c48a8d6d37fdff27371a1b0740650540b1c60322d0f08f912

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