finder-sidebar-editor-1.2.0
توضیحات
Module for editing the Favorites entries of the Finder sidebar.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | finder-sidebar-editor-1.2.0 |
| نام | finder-sidebar-editor |
| نسخه کتابخانه | 1.2.0 |
| نگهدارنده | ['Ajordat'] |
| ایمیل نگهدارنده | ['alexjortri@gmail.com'] |
| نویسنده | Ajordat |
| ایمیل نویسنده | alexjortri@gmail.com |
| آدرس صفحه اصلی | https://github.com/Ajordat/finder-sidebar-editor |
| آدرس اینترنتی | https://pypi.org/project/finder-sidebar-editor/ |
| مجوز | MIT |
# Finder Sidebar Editor





Python module for easily adding, removing, and moving favorites on the Finder sidebar in the context of the logged in user.
Based on the work by robperc in [robperc/FinderSidebarEditor][2].
### Installation
Install the [PyPI package][1] using pip:
```
pip install finder-sidebar-editor
```
### 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'
```
[1]: https://pypi.org/project/finder-sidebar-editor/
[2]: https://github.com/robperc/FinderSidebarEditor
نیازمندی
| مقدار | نام |
|---|---|
| - | pyobjc |
نحوه نصب
نصب پکیج whl finder-sidebar-editor-1.2.0:
pip install finder-sidebar-editor-1.2.0.whl
نصب پکیج tar.gz finder-sidebar-editor-1.2.0:
pip install finder-sidebar-editor-1.2.0.tar.gz