finder-sidebar-db-1.0.1
توضیحات
Module for editing the Favorites entries of the Finder sidebar.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | finder-sidebar-db-1.0.1 |
| نام | finder-sidebar-db |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | ['DB'] |
| ایمیل نگهدارنده | ['demetribair@gmail.com'] |
| نویسنده | db |
| ایمیل نویسنده | demetribair@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/finder-sidebar-db/ |
| مجوز | MIT |
# FinderSidebarEditor
Python module for easily adding, removing, and moving favorites on the Finder sidebar in the context of the logged in user.
Example Usage:
```python
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'
```
نیازمندی
| مقدار | نام |
|---|---|
| - | pyobjc |
نحوه نصب
نصب پکیج whl finder-sidebar-db-1.0.1:
pip install finder-sidebar-db-1.0.1.whl
نصب پکیج tar.gz finder-sidebar-db-1.0.1:
pip install finder-sidebar-db-1.0.1.tar.gz