Skip to content

Releases: amcsparron2793-Water/PythonDocxAJM

0.1.6 Release

Choose a tag to compare

@amcsparron2793-Water amcsparron2793-Water released this 06 Jun 12:25

Full Changelog: 0.1.5...0.1.6

0.1.5 Release

Choose a tag to compare

@amcsparron2793-Water amcsparron2793-Water released this 28 Aug 13:21
Ensure compatibility with both PyPi package and dev version.

Updated import statements to handle differences in module structure between the installed PyPi package and the development environment. Also bumped the version from 0.1.4 to 0.1.5 to reflect these changes.

0.1.4 Release

Choose a tag to compare

@amcsparron2793-Water amcsparron2793-Water released this 28 Aug 11:59
595a7c7

trying to fix import issues AGAIN

0.1.3 Release

Choose a tag to compare

@amcsparron2793-Water amcsparron2793-Water released this 26 Aug 16:34

fixed setup bug and init bug

0.1.2 Release

Choose a tag to compare

@amcsparron2793-Water amcsparron2793-Water released this 26 Aug 16:14

minor bug fix

0.1.1 Release

Choose a tag to compare

@amcsparron2793-Water amcsparron2793-Water released this 26 Aug 15:38

Release Description for PythonDocxAJM

Version: 0.1.1

Overview

This release introduces the PythonDocxAJM class, which provides essential functionalities for managing and manipulating DOCX files within the PythonDocxAJM project. The key features include error handling, configuration management, document saving, and logging.

Key Features:

  1. PythonDocxAJM Class:

    • Attributes:
      • file_template_path: Path to the DOCX template file.
      • file_save_path: Path where the resultant DOCX file will be saved.
      • Document: Represents the DOCX document being manipulated.
      • _logger: Logger instance for the class.
      • _config: Configuration settings for the class.
    • Methods:
      • __init__: Initializes a new instance of the PythonDocxAJM class with the provided configuration and template paths.
      • save: Saves the current state of the document to the specified file path.
  2. Error Handling:

    • _TemplateLockedError: Custom error class to handle scenarios where the template is locked or unavailable.

Instructions for Maintainers:

  1. Initialization:

    • Ensure the appropriate DOCX template and save paths are provided during the initialization of the PythonDocxAJM class instance.
    • Example:
      doc_manager = PythonDocxAJM(template_path="path/to/template", save_path="path/to/save")
  2. Saving Document:

    • Use the save method to save the current document state.
    • Example:
      doc_manager.save()
  3. Error Handling:

    • Handle _TemplateLockedError to manage template-related exceptions.
    • Example:
      try:
          # some operation
      except _TemplateLockedError as e:
          print(f"Error: {e}")

Notes:

  • Ensure logging is configured to capture important events and errors.
  • Follow the project guidelines for updating configuration settings and document templates.

Thank you for using PythonDocxAJM. We look forward to your feedback and contributions!

0.1 Release

Choose a tag to compare

@amcsparron2793-Water amcsparron2793-Water released this 26 Aug 13:13

Release Description for PythonDocxAJM

Version: 0.1

Overview

This release includes important updates and improvements for the PythonDocxAJM project, ensuring better distribution management, streamlined project setup, and easier package uploads to PyPI.

Key Features:

  1. Setup Enhancement:

    • Introduced a robust setup process using python -m build to create source distributions (sdist).
    • Validated and ensured the presence of crucial files (LICENSE.txt, README.md, setup.cfg, setup.py) for package consistency and compliance.
  2. Automated Distribution Upload:

    • Simplified the process of uploading package distributions to PyPI using twine.
    • Enabled seamless uploads to PyPI with user authentication via token (__token__).
    • Added instructions for uploading to TestPyPI for testing purposes with the --repository flag.
  3. Installation Instructions:

    • Provided clear guidelines for installing packages from TestPyPI using pip with the --index-url flag.

Instructions for Maintainers:

  1. Pre-upload Checklist:

    • Ensure all necessary files (LICENSE.txt, README.md, setup.cfg, setup.py) are updated.
    • Commit changes to the remote repository.
    • Create a new release tag on the remote repository.
  2. Running the Build and Upload:

    • Execute the build command to package the project:
      python -m build
    • Upload the built distributions to PyPI using:
      twine upload dist/*
  3. Testing on TestPyPI:

    • Upload to TestPyPI (optional):
      twine upload --repository testpypi dist/*