Skip to content

Releases: jjCode01/xerparser

Version 0.10.3

11 Aug 13:44
Compare
Choose a tag to compare

Changes

  • Added Node class to represent a Tree data structure - can have one parent and multiple children. ACCOUNT, ACTVCODE, PCATVAL, and PROJWBS classes now inherit from Node class.
  • Updated dependency html-sanitizer to the latest version 2.2.0.
  • Added is_wbs property to TaskType enum class. Checks if task is a wbs summary type.

Version 0.10.0

17 Jul 14:38
Compare
Choose a tag to compare

Added

  • Added wbs_root attribute to the PROJECT class. This is the root WBS node.
  • Added children attribute to the PROJWBS class. Along with the wbs_root above, this forms a Tree Data Structure.
  • Added children attribute to the ACCOUNT class.
  • Added children attribute to the ACTVCODE class.
  • Added children attribute to the PCATVAL class.

Changes

  • Changed the PROJECT name from an attribute to a property. The project name is stored in the wbs_root added above.

Version 0.9.8

25 May 13:15
Compare
Choose a tag to compare

Fixed edge case where relationship lag values were stored as empty strings rather than 0 in the xer TASKPRED table.

Version 0.9.7

24 May 13:37
Compare
Choose a tag to compare

Fixed edge case where resource quantities were stored as empty strings rather than 0 in the xer TASK table.

Version 0.9.5

13 May 15:29
Compare
Choose a tag to compare

Both project specific and global calendars are now included in the PROJECT calendars attribute. Covers cases where project tasks are assigned to a global calendar.

Version 0.9.4

19 Apr 13:58
Compare
Choose a tag to compare

Added actual_duartion property to PROJECT class.

Version 0.9.3

08 Apr 15:40
Compare
Choose a tag to compare

Some code cleanup and corrections to the python code in the README file.

Version 0.9.2

20 Mar 00:13
Compare
Choose a tag to compare
  • Added function file_reader which accepts a .xer file and reads it to a string object.
    • Accepts str or Path objects for files stored locally or on a server.
    • Accepts BinaryIO files from requests, Flask, FastAPI, etc...
  • Added classmethods reader to the Xer class. A .xer file can be passed directly to this method, which will read and decode the file, and return a Xer object. Uses the file_reader function above.
  • Changed name of function xer_to_dict to parser.

Version 0.9.1

18 Mar 15:47
Compare
Choose a tag to compare

Reference Changelog for a full list of changes.

Remove error attribute from Xer class. If errors are encountered during initialization of an Xer object, then a CorruptXerFile Exception is raised. CorruptXerFile Exception Class includes an errors attribute holding a list of errors in the .xer file. The errors can be accessed from the Exception when using try except.

try:
    xer = Xer(file_contents)
except CorruptXerFile as e:
    for error in e.errors:
        print(error)

Version 0.8.2

05 Mar 18:29
Compare
Choose a tag to compare

0.8.2 - 2023-03-05

Added

  • Added actual_total_cost property to TASKFIN class
  • Added late_start property to PROJECT class

Changes

  • TASK method rem_hours_per_day can now accept a late flag (bool) to calculate late dates rather than early dates.