diff --git a/README.md b/README.md index a6f8df3..9d98ee8 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,10 @@ photoslib.import_photos(["/Users/rhet/Downloads/test.jpeg"], album=new_album) photoslib.quit() ``` +## Documentation +Full documentation [here](https://github.com/RhetTbull/PhotoScript/blob/master/photoscript.pdf). + +Additional documentation about Photos and AppleScript available on the [wiki](https://github.com/RhetTbull/PhotoScript/wiki/Welcome-to-the-PhotoScript-Wiki). ## Limitations Photos' AppleScript interface is very limited. For example, it cannot access information on faces in photos nor can it delete a photo. PhotoScript is thus limited. PhotoScript works by executing AppleScript through an Objective-C bridge from python. Every method call has to do a python->Objective C->AppleScript round trip; this makes the interface much slower than native python code. This is particularly noticeable when dealing with Folders which requires significant work arounds. diff --git a/photoscript/_version.py b/photoscript/_version.py index 5304e0b..d0e1a0b 100644 --- a/photoscript/_version.py +++ b/photoscript/_version.py @@ -1,3 +1,3 @@ """ version info """ -__version__ = "0.0.10" \ No newline at end of file +__version__ = "0.0.11" \ No newline at end of file diff --git a/tests/test_photoscript.py b/tests/test_photoscript.py index dc4a698..ecd5a13 100644 --- a/tests/test_photoscript.py +++ b/tests/test_photoscript.py @@ -362,10 +362,10 @@ def test_photoscript_folder_by_uuid(photoslib): assert isinstance(folder, photoscript.Folder) assert folder.name == FOLDER_NAME + # TODO: this test fails # def test_photoscript_folder_bad_uuid(photoslib): # """ test getting folder by invalid UUID """ - # with pytest.raises(ValueError): # photoslib.folder(uuid="BAD_UUID")