معرفی شرکت ها


extfslib-1.1


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Midnight Commander extfslib helper library for writing extfs archive plugins.
ویژگی مقدار
سیستم عامل -
نام فایل extfslib-1.1
نام extfslib
نسخه کتابخانه 1.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Roman Dobosz
ایمیل نویسنده gryf73@gmail.com
آدرس صفحه اصلی https://github.com/gryf/mc_extfslib
آدرس اینترنتی https://pypi.org/project/extfslib/
مجوز BSD 3-Clause
=========================== Midnight Commander extfslib =========================== .. image:: https://img.shields.io/pypi/v/extfslib.svg :target: https://pypi.python.org/pypi/extfslib Midnight Commander extfslib helper library for writing extfs archive plugins. Description =========== Extfslib help with building Midnight Commander extf plugins, especially for those which operates on different kind of archives. Simplest plugin built on top of this lib would be: .. code:: python import extfslib class MyArchive(extfslib.Archive): ARCHIVER = "fancyarch" def list(self): if not self._contents: return 1 for item in self._contents: sys.stdout.buffer.write(self.ITEM % item) arch = MyArchive('/path/to/file.fancyarch') arch.list() In this example class instance should be able to be called with ``list`` method. All methods: - ``list`` - ``copyin`` - ``copyout`` - ``rm`` - ``mkdir`` - ``rmdir`` - ``run`` should be implemented if needed, since by default all of them are just defined, but not implemented. Of course, real life example can be a little bit more complicated, since there would be possible need for adapting ``LINE_PAT`` which is regular expression for getting attributes for the list compatible with MC along with the ``ITEM`` which holds the output pattern and utilizes dictionary from ``LINE_PAT``, ``CMD`` which maps between class and archiver commands. Possibly there might be needed some other adjustments. Installation ============ Install from Pypi .. code:: shell-session # pip install extfslib or, as a user: .. code:: shell-session $ pip install extfslib --user or use virtualenv: .. code:: shell-session $ git clone https://github.com/gryf/mc_extfslib $ cd mc_extfslib $ virtualenv venv $ source venv/bin/activate (venv) $ pip install License ======= This software is licensed under 3-clause BSD license. See LICENSE file for details.


نحوه نصب


نصب پکیج whl extfslib-1.1:

    pip install extfslib-1.1.whl


نصب پکیج tar.gz extfslib-1.1:

    pip install extfslib-1.1.tar.gz