<commit_before>
.. include:: global.rst

The QueryLayer
============================

You can ``import`` from ``./`` or with :mod:`bfly` installed_.

.. code-block:: python

    from bfly import QueryLayer

Or, in scripts in some directories:

.. code-block:: python

    # if './bfly/' in sys.path
    from CoreLayer.AccessLayer import QueryLayer
    # if './bfly/CoreLayer/' in sys.path 
    from AccessLayer import QueryLayer
    # if './bfly/CoreLayer/AccessLayer' in sys.path 
    import QueryLayer

You can ``from QueryLayer import`` both :mod:`ImageLayer` and :mod:`UtilityLayer`.

.. code-block:: python

    # if './bfly/CoreLayer/AccessLayer' in sys.path
    from QueryLayer import ImageLayer, UtilityLayer

QueryLayer
----------------------------
.. module:: bfly.CoreLayer.AccessLayer.QueryLayer
.. automodule:: QueryLayer

You can import ``QueryLayer`` from :mod:`bfly`, :mod:`CoreLayer`, and :mod:`AccessLayer`.


QueryLayer classes
************************* 
.. autoclass:: DataQuery
    :members:
.. autoclass:: TileQuery
    :members:

Query base class
*******************

.. autoclass:: Query
    :members:

ImageLayer
------------------
.. module:: bfly.CoreLayer.AccessLayer.QueryLayer.ImageLayer
.. automodule:: ImageLayer

You can import ``ImageLayer`` from :mod:`bfly`, :mod:`CoreLayer`, :mod:`AccessLayer`, and :mod:`QueryLayer`.


ImageLayer classes
************************* 
.. autoclass:: HDF5
    :members:
<commit_msg>Update query-layer.rst<commit_after>
.. include:: global.rst

The QueryLayer
============================

You can ``import`` from ``./`` or with :mod:`bfly` installed_.

.. code-block:: python

    from bfly import QueryLayer

Or, in scripts in some directories:

.. code-block:: python

    # if './bfly/' in sys.path
    from CoreLayer.AccessLayer import QueryLayer
    # if './bfly/CoreLayer/' in sys.path 
    from AccessLayer import QueryLayer
    # if './bfly/CoreLayer/AccessLayer' in sys.path 
    import QueryLayer

You can ``from QueryLayer import`` both :mod:`ImageLayer` and :mod:`UtilityLayer`.

.. code-block:: python

    # if './bfly/CoreLayer/AccessLayer' in sys.path
    from QueryLayer import ImageLayer, UtilityLayer

QueryLayer
----------------------------
.. module:: bfly.CoreLayer.AccessLayer.QueryLayer
.. automodule:: QueryLayer

You can import ``QueryLayer`` from :mod:`bfly`, :mod:`CoreLayer`, and :mod:`AccessLayer`.


QueryLayer classes
************************* 
.. autoclass:: DataQuery
    :members:

.. autoclass:: InfoQuery
    :members:
    
.. autoclass:: TileQuery
    :members:

Query base class
*******************

.. autoclass:: Query
    :members:

ImageLayer
------------------
.. module:: bfly.CoreLayer.AccessLayer.QueryLayer.ImageLayer
.. automodule:: ImageLayer

You can import ``ImageLayer`` from :mod:`bfly`, :mod:`CoreLayer`, :mod:`AccessLayer`, and :mod:`QueryLayer`.


ImageLayer classes
************************* 
.. autoclass:: HDF5
    :members:

{'fraction_non_alphanumeric': 0.21883468834688347, 'fraction_numerical': 0.0006775067750677507, 'mean_word_length': 3.433933933933934, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6482346', 'n_tokens_mistral': 875, 'n_tokens_neox': 842, 'n_words': 238}