Skip to main content

Module for editing the Favorites entries of the Finder sidebar.

Project description

FinderSidebarEditor

Python module for easily adding, removing, and moving favorites on the Finder sidebar in the context of the logged in user.

Example Usage:

from finder_sidebar_editor import FinderSidebar                # Import the module

sidebar = FinderSidebar()                                      # Create a Finder sidebar instance to act on.

sidebar.remove("All My Files")                                 # Remove 'All My Files' favorite from sidebar
sidebar.remove("iCloud")                                       # Remove 'iCloud' favorite from sidebar
sidebar.add("/Library")                                        # Add '/Library' favorite to sidebar
sidebar.add("/SomeShare", uri="smb://shares")                  # Mount 'smb://shares/SomeShare' to '/Volumes/SomeShare' and add as favorite to sidebar
sidebar.add("/SomeOtherShare", uri="afp://username:pw@server") # Mount pw protected 'afp://server/SomeOtherShare' to '/Volumes/SomeOtherShare' and add as favorite to sidebar
sidebar.move("Library", "Applications")                        # Move 'Library' favorite to slot just below 'Applications'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

finder_sidebar_db-1.0.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

finder_sidebar_db-1.0.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file finder_sidebar_db-1.0.1.tar.gz.

File metadata

  • Download URL: finder_sidebar_db-1.0.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.6

File hashes

Hashes for finder_sidebar_db-1.0.1.tar.gz
Algorithm Hash digest
SHA256 3a55e5058495840a1731037306dcb6063657e975e0d47591df4b4d61c9109ad6
MD5 52ae35206139234f44488c92c6ab32fd
BLAKE2b-256 25758e7842e5e2c43001f8d1794504a81a4d2e5bfb76150c377a17be8789c4ca

See more details on using hashes here.

File details

Details for the file finder_sidebar_db-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: finder_sidebar_db-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.6

File hashes

Hashes for finder_sidebar_db-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 08287f80f11e3474810dfb3ee9281e864c8b35ba3f47c0ddeddb76c4fe7a2578
MD5 6dec73ee296f347add05d8b5c67f58f3
BLAKE2b-256 a4487e7ea29481d216e1a083da1de554c39f941c098d06c6c4cb7d8248a94012

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page