معرفی شرکت ها


dirganize-0.1.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Declutter you folders and get peace of mind. A command-line tool to organize files into category directories.
ویژگی مقدار
سیستم عامل -
نام فایل dirganize-0.1.0
نام dirganize
نسخه کتابخانه 0.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده aahnik
ایمیل نویسنده daw@aahnik.dev
آدرس صفحه اصلی https://github.com/aahnik/dirganize
آدرس اینترنتی https://pypi.org/project/dirganize/
مجوز MIT
# dirganize Declutter you folders and get peace of mind. A command-line tool to organize files into category directories. [![Tests](https://github.com/aahnik/dirganize/actions/workflows/test.yml/badge.svg)](https://github.com/aahnik/dirganize/actions/workflows/test.yml) [![Code Quality](https://github.com/aahnik/dirganize/actions/workflows/quality.yml/badge.svg)](https://github.com/aahnik/dirganize/actions/workflows/quality.yml) [![codecov](https://codecov.io/gh/aahnik/dirganize/branch/main/graph/badge.svg?token=2SRYMBMAHH)](https://codecov.io/gh/aahnik/dirganize) ## Installation ```shell pip install dirganize ``` ## Usage Dirganize has an ultra simple command-line interface. Just move into the directory you want to organize, and run `dirganize`. You can also specify which folder to organize by using the `path` option. ```shell dirganize --path ~/Downloads ``` If no path is specified, dirganize works on the current directory. ## Configuration By default `dirganize` determines the destination folder for a particular file by guessing its type from its extension. The [`guess_type`](https://docs.python.org/3/library/mimetypes.html#mimetypes.guess_type) function of python's inbuilt module [`mimetypes`](https://docs.python.org/3/library/mimetypes.html) is used for this purpose. > ***NOTE*** Dotfiles are not affected by dirganize. You can put a `.dirganize.yml` file ( inside the folder you want to dirganize ) to provide a custom configuration. ```yaml # .dirganize.yml # folder: [ext1,ext2, ...] Animations: [gif] Binaries: [bin,dat] ``` Basically you have the folder name, mapped to the list of file types to put in that folder. Dirganize will first try to determine the destination directory from the `.dirganize.yml`. When the yaml configuration file is absent or the folder for an encountered file type is not defined in the configuration, `dirganize` will fallback to the default technique.


نیازمندی

مقدار نام
>=0.3.2,<0.4.0 typer
>=10.2.2,<11.0.0 rich
>=5.4.1,<6.0.0 PyYAML


زبان مورد نیاز

مقدار نام
>=3.8,<4.0 Python


نحوه نصب


نصب پکیج whl dirganize-0.1.0:

    pip install dirganize-0.1.0.whl


نصب پکیج tar.gz dirganize-0.1.0:

    pip install dirganize-0.1.0.tar.gz