BalancedDiscStorage

Makes sure, that there are never more files in one directory, than your LIMIT.


License
MIT
Install
pip install BalancedDiscStorage==1.1.0

Documentation

Introduction

https://badge.fury.io/py/BalancedDiscStorage.png https://readthedocs.org/projects/BalancedDiscStorage/badge/?version=latest

This module is used to provide storage for your files / archives. Storage itself makes sure, that there is never more files in one directory, than BalancedDiscStorage.dir_limit.

This module is necessary, because a lot of filesystems have problems with tens of thousands / milions files stored in one directory. This module stores the files in trees, which are similar to binary trees, but our trees should never change, once created. You can thus reference the returned paths in other software.

Documentation

Full module documentation and description can be found at Read the Docs: