node.ext.fs


Namenode.ext.fs JSON
Version 1.1 PyPI version JSON
download
home_pagehttp://github.com/conestack/node.ext.fs
SummaryFilesystem abstraction based on nodes
upload_time2022-12-21 07:33:07
maintainer
docs_urlNone
authorNode Contributors
requires_python
licenseSimplified BSD
keywords node file system
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            node.ext.fs
===========

.. image:: https://img.shields.io/pypi/v/node.ext.fs.svg
    :target: https://pypi.python.org/pypi/node.ext.fs
    :alt: Latest PyPI version

.. image:: https://img.shields.io/pypi/dm/node.ext.fs.svg
    :target: https://pypi.python.org/pypi/node.ext.fs
    :alt: Number of PyPI downloads

.. image:: https://github.com/conestack/node.ext.fs/actions/workflows/test.yaml/badge.svg
    :target: https://github.com/conestack/node.ext.fs/actions/workflows/test.yaml
    :alt: Test node.ext.fs


Overview
--------

``node.ext.fs`` is a node implementation for file system directories. It is
the successor of `node.ext.directory <https://pypi.python.org/pypi/node.ext.directory>`_.

For more information about ``node`` see
`https://pypi.python.org/pypi/node <https://pypi.python.org/pypi/node>`_.


Usage
-----

Create new file:

.. code-block:: python

    from node.ext.fs import File

    file_path = 'file.txt'
    f = File(name=file_path)

    # set contents via data attribute
    f.data = 'data\n'

    # set contents via lines attribute
    f.lines = ['data']

    # set permissions
    f.fs_mode = 0o644

    # persist
    f()

Read existing file:

.. code-block:: python

    file_path = 'file.txt'
    f = File(name=file_path)

    assert(f.data == 'data\n')
    assert(f.lines == ['data'])
    assert(f.fs_mode == 0o644)

Files with binary data:

.. code-block:: python

    from node.ext.fs import MODE_BINARY

    file_path = 'file.txt'
    f = File(name=file_path)
    f.mode = MODE_BINARY

    f.data = b'\x00\x00'

    assert(f.data == b'\x00\x00')

    # lines property won't work if file in binary mode
    f.lines  # raises RuntimeError

Create directory:

.. code-block:: python

    from node.ext.fs import Directory

    dir_path = '.'
    d = Directory(name=dir_path)

    # add subdirectories and files
    d['sub'] = Directory()
    d['file.txt'] = File()

    # set permissions for directory
    d['sub'].fs_mode = 0o755

    # persist
    d()

Read existing directory:

.. code-block:: python

    dir_path = '.'
    d = Directory(name=dir_path)

.. code-block:: pycon

    >>> d.printtree()
    <class 'node.ext.fs.directory.Directory'>: .
      <class 'node.ext.fs.directory.File'>: file.txt
      <class 'node.ext.fs.directory.Directory'>: sub

Defining the default factories for files and directories is done by setting
``default_file_factory`` respective ``default_directory_factory``:

.. code-block:: python

    class CustomFile(File):
        pass

    class CustomDirectory(Directory):
        default_file_factory = CustomFile

    CustomDirectory.default_directory_factory = CustomDirectory

    dir_path = '.'
    d = CustomDirectory(name=dir_path)

.. code-block:: pycon

    >>> d.printtree()
    <class '...CustomDirectory'>: .
      <class '...CustomFile'>: file.txt
      <class '...CustomDirectory'>: sub

Define wildcard factories. Factories can be defined for directories and files.
Pattern matching is done using ``fnmatch``. See
``node.behaviors.WildcardFactory``:

.. code-block:: python

    class TextFile(File):
        pass

    class LogsDirectory(Directory):
        pass

    d = Directory(
        name='.',
        factories={
            '*.txt': TextFile,
            'logs': LogsDirectory
        })

Now when reading children, factories matching the file or directory name
patterns are used to instantiate the children, using the default factories if
no pattern matches.

.. code-block:: pycon

    >>> os.mkdir('logs')

    >>> os.mkdir('other')

    >>> with open('file.txt', 'w') as f:
    ...     f.write('text')

    >>> with open('file.rst', 'w') as f:
    ...     f.write('rst')

    >>> d = Directory(
    ...     name='.',
    ...     factories={
    ...         '*.txt': TextFile,
    ...         'logs': LogsDirectory
    ...     })

    >>> d.printtree()
    <class 'node.ext.fs.directory.Directory'>: .
      <class '...File'>: file.rst
      <class '...TextFile'>: file.txt
      <class '...LogsDirectory'>: logs
      <class '...Directory'>: other


Python Versions
===============

- Python 2.7, 3.7+
- May work with other versions (untested)


Contributors
============

- Robert Niederreiter (Author)


Changes
=======

1.1 (2022-12-21)
----------------

- Introduce ``node.ext.fs.interfaces.IDirectory.rename`` and implement in
  ``node.ext.fs.directory.DirectoryStorage``.
  [rnix]

- Do not allow setting and deleting of directory children defined in
  ``ignores``.
  [rnix]


1.0 (2022-10-06)
----------------

- Subclass ``threading.local`` for
  ``node.ext.fs.directory._directory_context`` objects in order to safely
  provide default values.
  [rnix]

- Introduce ``IFileIO`` interface and ``FileIO`` plumbing behavior.
  [rnix]

- Introduce ``IFileNode`` interface.
  [rnix]

- Pass ``name`` and ``parent`` to default file and directory factories.
  [rnix]

- ``DirectoryStorage`` accepts ``fs_path`` keyword argument.
  [rnix]

- Rename ``_FSModeMixin`` plumbing behavior to ``FSMode``. Setting the actual
  file mode is now done by plumbing ``__call__`` function.
  [rnix]

- Introduce ``FSLocation`` plumbing behavior.
  [rnix]

**Breaking Changes**

- Package has been renamed from ``node.ext.directory`` to ``node.ext.fs``.
  There are too many breaking changes for a sane deprecation path.
  [rnix]

- ``DirectoryStorage.__init__`` no longer accepts deprecated ``backup`` keyword
  argument.
  [rnix]

- ``DirectoryStorage.child_directory_factory`` has been renamed to
  ``default_directory_factory``
  [rnix]

- ``DirectoryStorage`` derives from ``node.behaviors.WildcardFactory`` now.
  Own factory pattern logic working with file endings has been removed.
  Patterns must be adopted.
  [rnix]

- Remove global ``file_factories`` and ``DirectoryStorage.file_factories``.
  Wildcard pattern related factories are defined via
  ``DirectoryStorage.factories`` now.
  [rnix]

- Remove ``IFileAddedEvent`` and ``node.ext.fs.events`` module. If you need
  lifecycle events, use ``node.behaviors.Lifecycle`` instead.
  [rnix]

- Basic ``File`` and ``Directory`` objects no longer use referencing related
  plumbung behaviors. You need to define your own base objects plumbing
  ``INodeReference`` implemeting behaviors.
  [rnix]

- Reduce ``IFile`` interface. It no longer inherits from ``ILeaf`` and default
  file implementation related attributes were moved to ``IFileNode`` interface.
  This way it is possible to implement very custom file implementations without
  breaking the interface contract.
  [rnix]

- Rename ``FileStorage`` to ``FileNode``. It no longer inherits from
  ``DictStorage``. Further file data is no longer kept in memory unless it
  changes, then it's kept until it gets written to disk.
  [rnix]

- ``FileNode`` and ``DirectoryStorage`` not inherits from
  ``_FSModeMixin`` respective now ``FSMode`` behavior any more. ``FSMode``
  behavior must be applied explicit on nodes which should provide this
  behavior.
  [rnix]

- Rename ``_fs_path`` helper function to ``get_fs_path``.
  [rnix]

- Rename ``_fs_mode`` helper function to ``get_fs_mode``.
  [rnix]


0.8 (2022-03-21)
----------------

- Replace deprecated use of ``Nodify`` by ``MappingNode``.
  [rnix]

- Replace deprecated use of ``Adopt`` by ``MappingAdopt``.
  [rnix]


0.7
---

- Python 3 support.
  [rnix, 2017-06-06]

- ``fs_mode`` is read from filesystem if file or directory exists and
  fs_mode not set explicitely.
  [rnix, 2017-06-06]

- Remove ``backup`` option from ``IDirectory`` interface. It never really
  worked properly and conceptually ``IDirectory`` is the wrong place for
  handling backups of files.
  [rnix, 2017-06-04]


0.6
---

- Introduce ``node.ext.directory.interfaces.IFile.direct_sync`` setting.
  [rnix, 2017-01-30]

- Complete ``node.ext.directory.interfaces.IFile`` and
  ``node.ext.directory.interfaces.IDirectory`` to reflect implemented features.
  [rnix, 2017-01-30]

- Move ``node.ext.directory.directory.MODE_TEXT`` and
  ``node.ext.directory.directory.MODE_BINARY`` to
  ``node.ext.directory.interfaces``.
  [rnix, 2017-01-30]


0.5.4
-----

- Check whether directory to be peristed already exists by name as file in
  ``node.ext.directory.FileStorage.__call__``.
  [rnix, 2015-10-05]

- Implement fallback to ``path`` in
  ``node.ext.directory.FileStorage.__call__`` if ``fs_path`` not exists.
  [rnix, 2015-10-05]

- Implement fallback to ``path`` in
  ``node.ext.directory.FileStorage._get_data`` if ``fs_path`` not exists.
  [rnix, 2015-10-05]

- Set initial mode with ``self.mode`` property setter instead of internal
  ``self._mode`` in ``node.ext.directory.FileStorage._get_mode``.
  [rnix, 2015-10-05]


0.5.3
-----

- Remove deleted keys from internal reference after ``__call__`` in order
  to return the correct result when adding a file or directory with the same
  key again.
  [rnix, 2015-07-20]


0.5.2
-----

- Use try/except instead of iteration to check whether directory child already
  in memory.
  [rnix, 2015-05-12]


0.5.1
-----

- Always use ``os.chmod`` for setting directory permissions, not only if
  already exists.
  [rnix, 2015-03-03]


0.5
---

- Introduce ``fs_mode`` on directories and files.
  [rnix, 2015-03-03]


0.4
---

- Return empty list in ``File.lines`` if no data.
  [rnix, 2015-02-18]

- Consider filesystem encoding. Defaults to UTF-8.
  [rnix, 2015-02-18]

- Tree locking on modification.
  [rnix, 2014-09-02]

- Prevent empty keys in ``__setitem__``.
  [rnix, 2014-09-02]

- Use ``plumbing`` decorator.
  [rnix, 2014-08-25]


0.3
---

- introduce ``default_file_factory`` on directories for controlling default
  file child creation.
  [rnix, 2013-12-09]

- move file logic in ``FileStorage`` behavior.
  [rnix, 2013-08-06]

- make ``file_factories`` a class property on directory storage.
  [rnix, 2013-08-06]

- make ``ignores`` a class property on directory storage.
  [rnix, 2013-08-06]

- Cleanup interfaces.
  [rnix, 2013-08-06]


0.2
---

- Almost complete rewrite. Fits now paradigms of node based API's.
  [rnix, 2012-01-30]


0.1
---

- initial


License
=======

Copyright (c) 2010-2021, BlueDynamics Alliance, Austria
Copyright (c) 2021-2022, Node Contributors
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice, this
  list of conditions and the following disclaimer in the documentation and/or
  other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.



            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/conestack/node.ext.fs",
    "name": "node.ext.fs",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "node file system",
    "author": "Node Contributors",
    "author_email": "dev@conestack.org",
    "download_url": "https://files.pythonhosted.org/packages/ce/9a/7ce93e153fb1fa9a3e925f0fe16502e43739b74b799d04065d205d6aaa52/node.ext.fs-1.1.tar.gz",
    "platform": null,
    "description": "node.ext.fs\n===========\n\n.. image:: https://img.shields.io/pypi/v/node.ext.fs.svg\n    :target: https://pypi.python.org/pypi/node.ext.fs\n    :alt: Latest PyPI version\n\n.. image:: https://img.shields.io/pypi/dm/node.ext.fs.svg\n    :target: https://pypi.python.org/pypi/node.ext.fs\n    :alt: Number of PyPI downloads\n\n.. image:: https://github.com/conestack/node.ext.fs/actions/workflows/test.yaml/badge.svg\n    :target: https://github.com/conestack/node.ext.fs/actions/workflows/test.yaml\n    :alt: Test node.ext.fs\n\n\nOverview\n--------\n\n``node.ext.fs`` is a node implementation for file system directories. It is\nthe successor of `node.ext.directory <https://pypi.python.org/pypi/node.ext.directory>`_.\n\nFor more information about ``node`` see\n`https://pypi.python.org/pypi/node <https://pypi.python.org/pypi/node>`_.\n\n\nUsage\n-----\n\nCreate new file:\n\n.. code-block:: python\n\n    from node.ext.fs import File\n\n    file_path = 'file.txt'\n    f = File(name=file_path)\n\n    # set contents via data attribute\n    f.data = 'data\\n'\n\n    # set contents via lines attribute\n    f.lines = ['data']\n\n    # set permissions\n    f.fs_mode = 0o644\n\n    # persist\n    f()\n\nRead existing file:\n\n.. code-block:: python\n\n    file_path = 'file.txt'\n    f = File(name=file_path)\n\n    assert(f.data == 'data\\n')\n    assert(f.lines == ['data'])\n    assert(f.fs_mode == 0o644)\n\nFiles with binary data:\n\n.. code-block:: python\n\n    from node.ext.fs import MODE_BINARY\n\n    file_path = 'file.txt'\n    f = File(name=file_path)\n    f.mode = MODE_BINARY\n\n    f.data = b'\\x00\\x00'\n\n    assert(f.data == b'\\x00\\x00')\n\n    # lines property won't work if file in binary mode\n    f.lines  # raises RuntimeError\n\nCreate directory:\n\n.. code-block:: python\n\n    from node.ext.fs import Directory\n\n    dir_path = '.'\n    d = Directory(name=dir_path)\n\n    # add subdirectories and files\n    d['sub'] = Directory()\n    d['file.txt'] = File()\n\n    # set permissions for directory\n    d['sub'].fs_mode = 0o755\n\n    # persist\n    d()\n\nRead existing directory:\n\n.. code-block:: python\n\n    dir_path = '.'\n    d = Directory(name=dir_path)\n\n.. code-block:: pycon\n\n    >>> d.printtree()\n    <class 'node.ext.fs.directory.Directory'>: .\n      <class 'node.ext.fs.directory.File'>: file.txt\n      <class 'node.ext.fs.directory.Directory'>: sub\n\nDefining the default factories for files and directories is done by setting\n``default_file_factory`` respective ``default_directory_factory``:\n\n.. code-block:: python\n\n    class CustomFile(File):\n        pass\n\n    class CustomDirectory(Directory):\n        default_file_factory = CustomFile\n\n    CustomDirectory.default_directory_factory = CustomDirectory\n\n    dir_path = '.'\n    d = CustomDirectory(name=dir_path)\n\n.. code-block:: pycon\n\n    >>> d.printtree()\n    <class '...CustomDirectory'>: .\n      <class '...CustomFile'>: file.txt\n      <class '...CustomDirectory'>: sub\n\nDefine wildcard factories. Factories can be defined for directories and files.\nPattern matching is done using ``fnmatch``. See\n``node.behaviors.WildcardFactory``:\n\n.. code-block:: python\n\n    class TextFile(File):\n        pass\n\n    class LogsDirectory(Directory):\n        pass\n\n    d = Directory(\n        name='.',\n        factories={\n            '*.txt': TextFile,\n            'logs': LogsDirectory\n        })\n\nNow when reading children, factories matching the file or directory name\npatterns are used to instantiate the children, using the default factories if\nno pattern matches.\n\n.. code-block:: pycon\n\n    >>> os.mkdir('logs')\n\n    >>> os.mkdir('other')\n\n    >>> with open('file.txt', 'w') as f:\n    ...     f.write('text')\n\n    >>> with open('file.rst', 'w') as f:\n    ...     f.write('rst')\n\n    >>> d = Directory(\n    ...     name='.',\n    ...     factories={\n    ...         '*.txt': TextFile,\n    ...         'logs': LogsDirectory\n    ...     })\n\n    >>> d.printtree()\n    <class 'node.ext.fs.directory.Directory'>: .\n      <class '...File'>: file.rst\n      <class '...TextFile'>: file.txt\n      <class '...LogsDirectory'>: logs\n      <class '...Directory'>: other\n\n\nPython Versions\n===============\n\n- Python 2.7, 3.7+\n- May work with other versions (untested)\n\n\nContributors\n============\n\n- Robert Niederreiter (Author)\n\n\nChanges\n=======\n\n1.1 (2022-12-21)\n----------------\n\n- Introduce ``node.ext.fs.interfaces.IDirectory.rename`` and implement in\n  ``node.ext.fs.directory.DirectoryStorage``.\n  [rnix]\n\n- Do not allow setting and deleting of directory children defined in\n  ``ignores``.\n  [rnix]\n\n\n1.0 (2022-10-06)\n----------------\n\n- Subclass ``threading.local`` for\n  ``node.ext.fs.directory._directory_context`` objects in order to safely\n  provide default values.\n  [rnix]\n\n- Introduce ``IFileIO`` interface and ``FileIO`` plumbing behavior.\n  [rnix]\n\n- Introduce ``IFileNode`` interface.\n  [rnix]\n\n- Pass ``name`` and ``parent`` to default file and directory factories.\n  [rnix]\n\n- ``DirectoryStorage`` accepts ``fs_path`` keyword argument.\n  [rnix]\n\n- Rename ``_FSModeMixin`` plumbing behavior to ``FSMode``. Setting the actual\n  file mode is now done by plumbing ``__call__`` function.\n  [rnix]\n\n- Introduce ``FSLocation`` plumbing behavior.\n  [rnix]\n\n**Breaking Changes**\n\n- Package has been renamed from ``node.ext.directory`` to ``node.ext.fs``.\n  There are too many breaking changes for a sane deprecation path.\n  [rnix]\n\n- ``DirectoryStorage.__init__`` no longer accepts deprecated ``backup`` keyword\n  argument.\n  [rnix]\n\n- ``DirectoryStorage.child_directory_factory`` has been renamed to\n  ``default_directory_factory``\n  [rnix]\n\n- ``DirectoryStorage`` derives from ``node.behaviors.WildcardFactory`` now.\n  Own factory pattern logic working with file endings has been removed.\n  Patterns must be adopted.\n  [rnix]\n\n- Remove global ``file_factories`` and ``DirectoryStorage.file_factories``.\n  Wildcard pattern related factories are defined via\n  ``DirectoryStorage.factories`` now.\n  [rnix]\n\n- Remove ``IFileAddedEvent`` and ``node.ext.fs.events`` module. If you need\n  lifecycle events, use ``node.behaviors.Lifecycle`` instead.\n  [rnix]\n\n- Basic ``File`` and ``Directory`` objects no longer use referencing related\n  plumbung behaviors. You need to define your own base objects plumbing\n  ``INodeReference`` implemeting behaviors.\n  [rnix]\n\n- Reduce ``IFile`` interface. It no longer inherits from ``ILeaf`` and default\n  file implementation related attributes were moved to ``IFileNode`` interface.\n  This way it is possible to implement very custom file implementations without\n  breaking the interface contract.\n  [rnix]\n\n- Rename ``FileStorage`` to ``FileNode``. It no longer inherits from\n  ``DictStorage``. Further file data is no longer kept in memory unless it\n  changes, then it's kept until it gets written to disk.\n  [rnix]\n\n- ``FileNode`` and ``DirectoryStorage`` not inherits from\n  ``_FSModeMixin`` respective now ``FSMode`` behavior any more. ``FSMode``\n  behavior must be applied explicit on nodes which should provide this\n  behavior.\n  [rnix]\n\n- Rename ``_fs_path`` helper function to ``get_fs_path``.\n  [rnix]\n\n- Rename ``_fs_mode`` helper function to ``get_fs_mode``.\n  [rnix]\n\n\n0.8 (2022-03-21)\n----------------\n\n- Replace deprecated use of ``Nodify`` by ``MappingNode``.\n  [rnix]\n\n- Replace deprecated use of ``Adopt`` by ``MappingAdopt``.\n  [rnix]\n\n\n0.7\n---\n\n- Python 3 support.\n  [rnix, 2017-06-06]\n\n- ``fs_mode`` is read from filesystem if file or directory exists and\n  fs_mode not set explicitely.\n  [rnix, 2017-06-06]\n\n- Remove ``backup`` option from ``IDirectory`` interface. It never really\n  worked properly and conceptually ``IDirectory`` is the wrong place for\n  handling backups of files.\n  [rnix, 2017-06-04]\n\n\n0.6\n---\n\n- Introduce ``node.ext.directory.interfaces.IFile.direct_sync`` setting.\n  [rnix, 2017-01-30]\n\n- Complete ``node.ext.directory.interfaces.IFile`` and\n  ``node.ext.directory.interfaces.IDirectory`` to reflect implemented features.\n  [rnix, 2017-01-30]\n\n- Move ``node.ext.directory.directory.MODE_TEXT`` and\n  ``node.ext.directory.directory.MODE_BINARY`` to\n  ``node.ext.directory.interfaces``.\n  [rnix, 2017-01-30]\n\n\n0.5.4\n-----\n\n- Check whether directory to be peristed already exists by name as file in\n  ``node.ext.directory.FileStorage.__call__``.\n  [rnix, 2015-10-05]\n\n- Implement fallback to ``path`` in\n  ``node.ext.directory.FileStorage.__call__`` if ``fs_path`` not exists.\n  [rnix, 2015-10-05]\n\n- Implement fallback to ``path`` in\n  ``node.ext.directory.FileStorage._get_data`` if ``fs_path`` not exists.\n  [rnix, 2015-10-05]\n\n- Set initial mode with ``self.mode`` property setter instead of internal\n  ``self._mode`` in ``node.ext.directory.FileStorage._get_mode``.\n  [rnix, 2015-10-05]\n\n\n0.5.3\n-----\n\n- Remove deleted keys from internal reference after ``__call__`` in order\n  to return the correct result when adding a file or directory with the same\n  key again.\n  [rnix, 2015-07-20]\n\n\n0.5.2\n-----\n\n- Use try/except instead of iteration to check whether directory child already\n  in memory.\n  [rnix, 2015-05-12]\n\n\n0.5.1\n-----\n\n- Always use ``os.chmod`` for setting directory permissions, not only if\n  already exists.\n  [rnix, 2015-03-03]\n\n\n0.5\n---\n\n- Introduce ``fs_mode`` on directories and files.\n  [rnix, 2015-03-03]\n\n\n0.4\n---\n\n- Return empty list in ``File.lines`` if no data.\n  [rnix, 2015-02-18]\n\n- Consider filesystem encoding. Defaults to UTF-8.\n  [rnix, 2015-02-18]\n\n- Tree locking on modification.\n  [rnix, 2014-09-02]\n\n- Prevent empty keys in ``__setitem__``.\n  [rnix, 2014-09-02]\n\n- Use ``plumbing`` decorator.\n  [rnix, 2014-08-25]\n\n\n0.3\n---\n\n- introduce ``default_file_factory`` on directories for controlling default\n  file child creation.\n  [rnix, 2013-12-09]\n\n- move file logic in ``FileStorage`` behavior.\n  [rnix, 2013-08-06]\n\n- make ``file_factories`` a class property on directory storage.\n  [rnix, 2013-08-06]\n\n- make ``ignores`` a class property on directory storage.\n  [rnix, 2013-08-06]\n\n- Cleanup interfaces.\n  [rnix, 2013-08-06]\n\n\n0.2\n---\n\n- Almost complete rewrite. Fits now paradigms of node based API's.\n  [rnix, 2012-01-30]\n\n\n0.1\n---\n\n- initial\n\n\nLicense\n=======\n\nCopyright (c) 2010-2021, BlueDynamics Alliance, Austria\nCopyright (c) 2021-2022, Node Contributors\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice, this\n  list of conditions and the following disclaimer in the documentation and/or\n  other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\n",
    "bugtrack_url": null,
    "license": "Simplified BSD",
    "summary": "Filesystem abstraction based on nodes",
    "version": "1.1",
    "split_keywords": [
        "node",
        "file",
        "system"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "20aa6a431c68a8c1d6b72f520106ac0e",
                "sha256": "e59f12d8506296ee0461a6027c1591bac741071d3daf9e98a6e8ee3d22433f89"
            },
            "downloads": -1,
            "filename": "node.ext.fs-1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "20aa6a431c68a8c1d6b72f520106ac0e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 16371,
            "upload_time": "2022-12-21T07:33:05",
            "upload_time_iso_8601": "2022-12-21T07:33:05.929568Z",
            "url": "https://files.pythonhosted.org/packages/b2/17/6259df2e250720a78ba6b837e0546ce6774fcdc4b63ca7e2e8964cc8ad90/node.ext.fs-1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "19e513081ccfc83488b148cb77ab99fd",
                "sha256": "997a358ddf0c791d85236f5f34cfd52aa8f9af869959564fdfa6bdccda54c14f"
            },
            "downloads": -1,
            "filename": "node.ext.fs-1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "19e513081ccfc83488b148cb77ab99fd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 18358,
            "upload_time": "2022-12-21T07:33:07",
            "upload_time_iso_8601": "2022-12-21T07:33:07.892248Z",
            "url": "https://files.pythonhosted.org/packages/ce/9a/7ce93e153fb1fa9a3e925f0fe16502e43739b74b799d04065d205d6aaa52/node.ext.fs-1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-21 07:33:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "conestack",
    "github_project": "node.ext.fs",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "node.ext.fs"
}
        
Elapsed time: 0.04249s