osxphotos | Python app to export pictures | Widget library

 by   RhetTbull Python Version: v0.60.1 License: MIT

kandi X-RAY | osxphotos Summary

kandi X-RAY | osxphotos Summary

osxphotos is a Python library typically used in User Interface, Widget applications. osxphotos has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has medium support. You can download it from GitHub.

OSXPhotos provides the ability to interact with and query Apple's Photos.app library on macOS. You can query the Photos library database — for example, file name, file path, and metadata such as keywords/tags, persons/faces, albums, etc. You can also easily export both the original and edited photos.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              osxphotos has a medium active ecosystem.
              It has 1156 star(s) with 76 fork(s). There are 19 watchers for this library.
              There were 2 major release(s) in the last 12 months.
              There are 206 open issues and 506 have been closed. On average issues are closed in 64 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of osxphotos is v0.60.1

            kandi-Quality Quality

              osxphotos has no bugs reported.

            kandi-Security Security

              osxphotos has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              osxphotos is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              osxphotos releases are available to install and integrate.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed osxphotos and discovered the below as its top functions. This is intended to give you an instant insight into osxphotos implemented functionality, and help decide if they suit your requirements.
            • Exports an album
            • Get a theme
            • Get the default theme
            • Returns a theme manager
            • Process a database 4
            • Process all faceinfo 4
            • Process faceinfo
            • Execute a SQL statement
            • Exports this photo
            • Generate a profile
            • Returns the list of folders for the given photo
            • Dump Photos library
            • Display information about Photos library
            • Get comments from photosdb
            • Prints out the photos library
            • Exports the video
            • Sort the results of a photo
            • Print the help text
            • Compute the diff between two databases
            • Create the tables
            • Exports the given db file from the export database
            • Run exiftool
            • Query photos
            • Process the database
            • Timewarp
            • Return help text
            Get all kandi verified functions for this library.

            osxphotos Key Features

            No Key Features are available at this moment for osxphotos.

            osxphotos Examples and Code Snippets

            No Code Snippets are available at this moment for osxphotos.

            Community Discussions

            QUESTION

            Mac OS photos : programatic access to the recently deleted photos folder?
            Asked 2020-Jun-27 at 18:30

            In order to do a deep learning model auto classifying my pictures, I would like to make a copy of all my deleted photos in Mac's photo (unfortunately the "recover" photo put it back on the main photo album, so I loose the fact it was deleted at first).

            How can I access the deleted photos ? Having a look on the "photos" package, the data organisation is quite obscure.

            At the same time : how can I access the "favorite" tag on each photo (my model should classify in favorite/deleted/not deleted).

            I am rather pythonista at first.

            Thx, Romain.

            EDIT #1

            I found this package : https://pypi.org/project/osxphotos/#osxphotos which should do the trick, but I've got an error :

            ...

            ANSWER

            Answered 2020-Jun-27 at 18:30

            I'm the author of the package you referenced. First, thanks for opening an issue for this bug -- I've fixed the bug and the test case that should have caught this in the first place. I've also added a new "intrash" property so you can access the recently deleted photos. You'll need to update to v0.30.0 either via git or do a pip install --upgrade osxphotos if you used pip.

            Here's a short but complete program that will export the deleted photos, not deleted photos, and favorite photos. It lacks error checking etc. but should be enough to get you started.

            Source https://stackoverflow.com/questions/62536615

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install osxphotos

            If you are new to python, I recommend you to install using pipx. See other advanced options below.
            If you aren't familiar with installing python applications, I recommend you install osxphotos with pipx. If you use pipx, you will not need to create a virtual environment as pipx takes care of this. The easiest way to do this on a Mac is to use homebrew:.
            Open Terminal (search for Terminal in Spotlight or look in Applications/Utilities)
            Install homebrew according to instructions at https://brew.sh/
            Type the following into Terminal: brew install pipx
            Then type this: pipx install osxphotos
            Now you should be able to run osxphotos by typing: osxphotos
            You can also install directly from pypi:.
            OSXPhotos uses setuptools, thus simply run:. I recommend you create a virtual environment before installing osxphotos. WARNING The git repo for this project is very large (> 1GB) because it contains multiple Photos libraries used for testing on different versions of macOS. If you just want to use the osxphotos package in your own code, I recommend you install the latest version from PyPI which does not include all the test libraries. If you just want to use the command line utility, you can download a pre-built executable of the latest release or you can install via pip which also installs the command line app. If you aren't comfortable with running python on your Mac, start with the pre-built executable or pipx as described above.

            Support

            Only works on macOS (aka Mac OS X). Tested on macOS Sierra (10.12.6) through macOS Monterey (12.0.1). Tested on both x86 and Apple silicon (M1). This package will read Photos databases for any supported version on any supported macOS version. E.g. you can read a database created with Photos 5.0 on MacOS 10.15 on a machine running macOS 10.12 and vice versa. Requires python >= 3.8.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link