Python-ags4

Latest version: v0.6.0

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

Scan your dependencies

Page 1 of 4

0.6.0

--------------
- Remove support for Python 3.8
- Require Pandas 2.1+
- Report exceptions in the error log using the description 'Validation Process
Error'
- Update default sort strategy to 'dictionary'
- Remove debug print statements to stdout

0.5.0

------------------

- Remove support for Python version 3.7
- Add support for Pandas version 2.x and drop support for version 1.x.
- Add functionality to log internal messages
- Add functionality for FYI and warning messages
- Return error message if multiple instances of the same group are found.
Previous behavior was to simply overwrite the data.
- Update check for Rule 1 to allow extend ASCII characters
- Improve checks for data types DMS, DT, and SF under Rule 8
- Improve check for Rule 10b and avoid returning duplicate error messages
- Improve check for Rule 15 to include units defined in PU columns
- Improve check for Rule 16 to provide warning if a user-defined abbreviation
duplicates an existing standard abbreviation for the same field
- Update check_file() to handle an already opened file or stream. The first
parameter name input_file is changed to filepath_or_buffer.
- Reinstate deprecated fields/groups that had been deleted from the v4.1.1
standard dictionary
- Add summary of data to error log

0.4.1

------------------

- Improve handling of files with byte-order-mark
- Update CLI to check files with uppercase file extension
- Make it easier to access standard dictionary files from the convert_to_text()
function. Now the version number of a standard dictionary can be provided
instead of having to provide the full path to the file. The full path will
still work if that is preferred.

0.4.0

------------------

- Update license from GPLv3 to LGPLv3
- Add standard dictionary v4.1.1 and make it the default
- Fix minor errors in standard dictionary v4.1
- Add ABBR, UNIT, and TYPE data to all standard dictionaries
- Raise exceptions instead of silently failing with sys.exit() to provided
better feedback to users
- Update example Jupyter notebook and add example .ags file
- Update CLI to catch invalid dictionary paths
- Make it easier to access standard dictionary files from the check_file()
function and the CLI. Now the version number of a standard dictionary can be
provided instead of having to provide the full path to the file. The full path
will still work if that is preferred.
- Make rule_10c() more robust. The check will not fail if the key fields in the
parent and child groups are inconsistent.

0.3.7

------------
- Add preflight check for AGS3 like files
- Pick standard dictionary v4.0.4 if TRAN_AGS is 4.0
- Previous versions defaulted to standard dictionary v4.1
- Add rename_duplicate_headers flag to CLI convert
- Set CLI exit code to 1 for errors or exceptions
- Update error messages to "AGS Format Rule X" as opposed to "Rule X"
- Remove prompts for user input
- Remove prompt for user input in AGS4_to_dict() when duplicate header
name is encountered
- Remove prompt for user input in AGS4_to_excel() for large tables
- Make renaming duplicate headers optional
- Option added to AGS4_to_dict(), AGS4_to_dataframe(), and AGS4_to_excel()
- Add checks for Rule 8
- Data type DP, SCI, SF, DT, YN, ID, and DMS checked
- Speed up checks for Rule 10
- Update how dictionary tables are combined
- Fix bug in .xlsx to .ags conversion where numeric values in columns with
mixed data (numeric and strings) got dropped
- Add option to sort tables/worksheets when using AGS4_to_excel()
- Rewrite excel_to_AGS4() so that it can ignore worksheets without valid AGS4
data
- Fix bug that caused metadata to not be added to error log if checker exited
before completing all checks

0.3.6

------------------
- Add option to read line numbers when importing files
- Return line numbers for group errors
- Add CI testing in GitLab
- Update AGS4_to_dict() handle parsing from an already opened file or
stream. First parameter filepath to filepath_or_buffer in methods
AGS4_to_dict() and and AGS4_to_dataframe()
- Added batch test routine
- Update dataframe_to_AGS4() to correctly export double-double quoted strings
within fields as per AGS4 Rule 5

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.