Xerparser

Latest version: v0.12.0

Safety actively analyzes 640762 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 6

0.9.6

Added

* Added `resources` attribute containing a list of `TASKRSRC` objects to the `PROJECT` class. Previously, `TASKRSRC` objects were only accessible through a `TASK` object.

---

0.9.5

General

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

---

0.9.4

Added

* Added `actual_duartion` property to `PROJECT` class.

---

0.9.3

General

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

---

0.9.2

Added

* 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

* Changed name of function `xer_to_dict` to `parser`.

---

0.9.1

Updated `CorruptXerFile` Exception to receive the list of errors and print them out when the exception is raised. The errors can now be accessed from the Exception when using `try` `except`.

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


---

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.