Gorpy

Latest version: v2.0.4

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

Scan your dependencies

Page 1 of 2

2.0.4

Fixed

- fixed bug where pdf option results containing PDF text could not be piped to JSON file due to tuple keys.

2.0.3

- fixed bug where PDF database would have a bunch of nonexistent files

2.0.2

Added

- The -z option for creating zip files now has two related default options, Z_OPTION_OVERWRITES and PROMPT_Z_OPTION.
- Similar to the -u option, the -z option now tests to see if a zip file with the given name already exists. If it does, and PROMPT_Z_OPTION is True, it will ask the user if they want to overwrite that file or create a new zip archive with an incremented name.
- If the user agrees to overwrite, or if Z_OPTION_OVERWRITES is True, the file is overwritten.
- If PROMPT_Z_OPTION is False and Z_OPTION_OVERWRITES is False, any name collision will be resolved by incrementing the filename without asking the user for input.

Changed

- is_iterable now recognizes `bytearray` objects as NOT being iterables, in line with how `str` and `bytes` are treated.
- Upgraded most of my test suite to unittest (gorp.jsonpath is still based on doctest). After FAR too long using a lot of hard-to-read boilerplate code to test gorpy, it was time for a change.
- Used [black](https://github.com/psf/black) to reformat all my code. Nothing can be done for its spaghetti-ness, but at least it will have somewhat professional formatting.
- The -x option will produce an error message when you run the

1.0.0

gorp version 1.0.0 is now available on the Python package index.
It has been tested for Python 3.6 to 3.10.

Changed

- Changed the way PDF text is stored. Instead of using a JSON file, a sqlite database is now used.
- This has the added benefit of removing the optional dependency (for the pdf option) on sortedcollections.

Fixed

- Previously, if pdf text for some filename "X" was cached in pdf_textcache.json, and the file "X" was later changed, the old version of its text that was originally cached would be used. This has been fixed, and now the modified version of the text will correctly overwrite the old text if it is determined that the file was modified. If the file was not modified, it will be left alone.

0.4.1

gorp version 0.4.1 is now available on the Python package index.
It has been tested for Python 3.6 to 3.10.

Fixed

- "doc m" (see option_docs.py) correctly reflects that you CANNOT use "YYYY-MM-DD hh:mm:ss" datetimes, to filter modification times, and the most precision you can get is YYYY-MM-DD.
- "-s" option won't be auto-triggered when using "-sed" option.
- The "-z" option for zipping files will now work when the query specifies a temporary working directory other than the directory in which the program was when the query was made. For example, queries like `-f 'py' /otherdir -}} -z 'blah.zip'` would previously raise a FileNotFoundError. They should no longer do that.

0.4.0

gorp version 0.4.0 is now available on the Python package index.
It has been tested for Python 3.6 to 3.9.

Added

- "-m" and "-s" options now allow filtering by modification time and size, respectively. Use "python -m gorp doc m s" to see proper usage.
- A few extensions like 'ts' and 'less' have been added to textTypeFiles.

Fixed

- "python -m gorp doc f" now displays the text-type files ordered alphabetically.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.