PyUp Safety actively tracks 267,799 Python packages for vulnerabilities and notifies you when to upgrade.
Changed - Provide `DownloadImagePipeline` class in place of `download_image_pipeline` object.
Added - Log uncaught exceptions
Changed - Store `repr(e)` rather than `e` itself in the run report, where `e` is an exception.
Added - Increased test coverage
Fixed - Errors from trying to write to the same outpath in multiple threads
Fixed - Use image URL in README that is accessible on PyPI.
Added - Warning about upcoming name change
Added - Use `pip-tools`.
Added - Function rotate() that takes an image and an angle and ouputs the rotated image. - warning about upcoming rename of library
Added - Function to flip an image horizontally. - Function to flip an image vertically.
Changed - Pipelines now take a function to decide whether to skip a file based on its input and output paths, rather than just providing the option to skip files whose outpath points to a local file. "skipped_existing" field of run report has been renamed to "skipped" accordingly. - Run report is now stored in `<Pipeline object>.run_report_` rather than being returned. - All exceptions that inherit from `Exception` that arise during file processing are now handled by default. - Rather than noting whether an exception was handled in processing a particular file in an "exception_handled" field, the run report now contains either the exception object itself or `np.nan` in a field called "error." - "time_finished" field in run reports now uses human-readable timestamps. - `Pipeline.run()` method has been removed; now pipelines can only be called directly. - `Pipeline.ops` is now `None` by default. - Moved most of the README content to readthedocs, improved the examples, and added docstrings. - `log_dict` is now a Pipeline attribute. - `pipelines/core.py` has been renamed to `pipelines/pipelines.py`
Added - Example text scraping application.
Changed - Have `flake8` check for docstrings in library functions and classes.
Added - Pipelines can now be called directly rather than through a `.run()` method; `.run()` still exists as an alias for backwards compatibility.
Fixed - `write_image` writes to a tempfile in a ".tmp" subdirectory in the output directory rather than in an arbitrary location to avoid issues when writing to a mounted volume.
Changed - `write_image` writes to a tempfile and then renames it to ensure that it does not create partial image files if writing is interrupted.
Changed - Downloads timeout after 5s by default if no response received.
Added - `record_dhash` function
Added - `trim_padding` function
Fixed - `centercrop` can now be used within a `CustomReportingPipeline`.
Fixed - Bug in error response when loading an image with unusual errors
Changed - provide one script to run pre-merge checks - refine PR checklist Fixed - typo in README - typo in `skip_existing=True` warning message
Fixed - Sort actual and expected DataFrames by column name in `test_custom_reporting_pipeline` to avoid uninteresting indeterministic failure.
Added - Centercrop function into ops/image.py
Changed - Revert reading version number from CHANGELOG.md in setup.py and _version.py
Changed - Read version number from CHANGELOG.md in setup.py and _version.py
Changed - Instead of logging a warning for every file skipped, warn once up front and log with level DEBUG.
Added - Function to generate unique filenames from input paths, outdir, extension - Ability to keep original extension with using `join_outdir_filename_extension`
Fixed - Load color channels from URL in RGB order
Fixed - Added empty `__init__.py` files, the absence of which seems to be causing problems when installing from PyPI. - Converted some `Path` objects to strings where required in Python 3.6.
Fixed - Handled string path inputs in `replace_dir` Added - Added simple unit tests for `path_funcs` module
Added - Added hosted docs for readthedocs.
Added - `Pipeline` runs return "run reports" - `CustomReportingPipeline` class allows custom run report fields
Changed - Redesigned library around `Pipeline` abstraction
Changed - Switched to using one requests session in each download thread.
Added - Added boto3 to setup.py requirements.
Added - Added dataset module
Changed - Elevated `group_train_test_split` to a public function in its own module.
Changed - Use `black` to format code.
Fixed - Address flake8 complaints.
Changed - Used black to format code. - Remove download instructions from README now that a simple pip install should work.
Added - Added functionality to save_response_content_as_png() to allow resize on download
Added - Fill in some missing type hints.
Added - Modify Jenkins job to avoid trying to push old versions to PyPI.
Fixed - Catch `FileExistsError` in case in which another thread creates directory after we check for it.
Fixed - Configure PyPI Markdown rendering.
Added - Functions for downloading, resizing, and creating imagenet-style symlinks. - Basic docs.