pybear-dask


Namepybear-dask JSON
Version 0.2.1 PyPI version JSON
download
home_pageNone
SummaryPython modules for data analytics applications with dask
upload_time2025-08-16 21:58:21
maintainerBill Sousa
docs_urlNone
authorBill Sousa
requires_python<3.13,>=3.10
licenseBSD-3-Clause
keywords python data analytics pybear dask
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            pybear-dask
===========

|Tests|
|Coverage|
|Test Status 313|
|Test Status 312|
|Test Status 311|
|Test Status 310|

.. |Tests| image:: https://raw.githubusercontent.com/PylarBear/pybear-dask/main/.github/badges/tests-badge.svg
   :target: https://github.com/PylarBear/pybear-dask/actions

.. |Coverage| image:: https://raw.githubusercontent.com/PylarBear/pybear-dask/main/.github/badges/coverage-badge.svg
   :target: https://github.com/PylarBear/pybear-dask/actions

.. |Test Status 313| image:: https://github.com/PylarBear/pybear-dask/actions/workflows/matrix-tests-py313.yml/badge.svg
   :target: https://github.com/PylarBear/pybear-dask/actions/workflows/matrix-tests-py313.yml

.. |Test Status 312| image:: https://github.com/PylarBear/pybear-dask/actions/workflows/matrix-tests-py312.yml/badge.svg
   :target: https://github.com/PylarBear/pybear-dask/actions/workflows/matrix-tests-py312.yml

.. |Test Status 311| image:: https://github.com/PylarBear/pybear-dask/actions/workflows/matrix-tests-py311.yml/badge.svg
   :target: https://github.com/PylarBear/pybear-dask/actions/workflows/matrix-tests-py311.yml

.. |Test Status 310| image:: https://github.com/PylarBear/pybear-dask/actions/workflows/matrix-tests-py310.yml/badge.svg
   :target: https://github.com/PylarBear/pybear-dask/actions/workflows/matrix-tests-py310.yml

|TestPyPI Build Status|

.. |TestPyPI Build Status| image:: https://github.com/PylarBear/pybear-dask/actions/workflows/testpypi-publish.yml/badge.svg
   :target: https://github.com/PylarBear/pybear-dask/actions/workflows/testpypi-publish.yml

|PyPI Build Status|
|Version|
|PyPI Downloads|

.. |PyPI Build Status| image:: https://github.com/PylarBear/pybear-dask/actions/workflows/pypi-publish.yml/badge.svg
   :target: https://github.com/PylarBear/pybear-dask/actions/workflows/pypi-publish.yml

.. |Version| image:: https://img.shields.io/pypi/v/pybear-dask
   :target: https://pypi.org/project/pybear-dask
   :alt: PyPI Version

.. |PyPI Downloads| image:: https://static.pepy.tech/badge/pybear-dask
   :target: https://pepy.tech/project/pybear-dask/
   :alt: PyPI Downloads

|DOI|

.. |DOI| image:: https://zenodo.org/badge/1009051313.svg
   :target: https://doi.org/10.5281/zenodo.16548280
   :alt: DOI

.. |PythonVersion| replace:: >=3.10, <3.13
.. |DaskVersion| replace:: <2025.1.0
.. |DaskMLVersion| replace:: <2025.1.0
.. |DistributedVersion| replace:: <2025.1.0
.. |PybearVersion| replace:: >=0.2.0
.. |PytestVersion| replace:: >=7.0.0



pybear-dask is a Python computing library that supplements the pybear
library with analogous modules that have dask capability.

Website: https://github.com/PylarBear/pybear-dask

License
-------

BSD 3-Clause License. See `License File <https://github.com/PylarBear/pybear-dask/blob/main/LICENSE>`__.

=======

Installation
------------

Dependencies
~~~~~~~~~~~~

pybear-dask requires:

- Python (|PythonVersion|)
- dask (|DaskVersion|)
- dask-ml (|DaskMLVersion|)
- distributed (|DistributedVersion|)
- pybear (|PybearVersion|)

User installation
~~~~~~~~~~~~~~~~~

Install pybear-dask from the online PyPI package repository using ``pip``::

   (your-env) $ pip install pybear-dask

Conda distributions are expected to be made available sometime after release to
PyPI.

=======

Usage
-----
The folder structure of pybear-dask is nearly identical to scikit-learn. This
is so those that are familiar with the scikit layout and have experience with
writing the associated import statements have an easy transition to pybear-dask.
The pybear-dask subfolders are *base* and *model_selection*.

You can import pybear-dask's packages in the same way you would with scikit.
Here are a few examples of how you could import and use pybear-dask modules:

.. code-block:: console

    from pybear-dask.model_selection import GSTCVDask

    search = GSTCVDask()
    search.fit(X, y)

    from pybear-dask import model_selection as ms

    search = ms.AutoGridSearchCVDask()
    search.fit(X, y)


=======

Major Modules
-------------

AutoGridSearchCVDask
~~~~~~~~~~~~~~~~~~~~
Perform multiple uninterrupted passes of grid search with dask_ml GridSearchCV 
and dask objects utilizing progressively narrower search grids.

- Access via pybear-dask.model_selection.AutoGridSearchCVDask.

GSTCVDask (GridSearchThresholdCV for Dask)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Perform conventional grid search on a classifier with concurrent threshold 
search using dask objects in parallel and distributed environments. Finds the 
global optima for the passed parameters and thresholds. Fully compliant with 
the dask_ml/scikit-learn GridSearchCV API.

- Access via pybear-dask.model_selection.GSTCVDask.

AutoGSTCVDask (AutoGridSearchThresholdCV for Dask)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Perform multiple uninterrupted passes of grid search with pybear-dask GSTCVDask
utilizing progressively narrower search grids.

- Access via pybear-dask.model_selection.AutoGSTCVDask.

=======

Changelog
---------

See the `changelog <https://github.com/PylarBear/pybear-dask/blob/main/CHANGELOG.md>`__
for a history of notable changes to pybear-dask.

=======

Development
-----------

Important links
~~~~~~~~~~~~~~~

- Official source code repo: https://github.com/PylarBear/pybear-dask
- Download releases: https://pypi.org/project/pybear-dask/
- Issue tracker: https://github.com/PylarBear/pybear-dask/issues

Source code
~~~~~~~~~~~

You can clone the latest source code with the command::

    git clone https://github.com/PylarBear/pybear-dask.git

Contributing
~~~~~~~~~~~~

pybear-dask is not ready for contributions at this time!

Testing
~~~~~~~

pybear-dask 0.2 is tested via GitHub Actions to run on Linux, Windows, and MacOS,
with Python versions 3.10, 3.11, and 3.12. pybear-dask is not tested on earlier
versions, but some features may work.

If you want to test pybear-dask yourself, you will need:

- pytest (|PytestVersion|)

The tests are not available in the PyPI pip installation. You can get
the tests by downloading the tarball from the pybear-dask project page on
`pypi.org <https://pypi.org/project/pybear-dask/>`_ or cloning the pybear-dask
repo from `GitHub <https://github.com/PylarBear/pybear-dask>`_. Once you have
the source files in a local project folder, create a poetry environment for the
project and install the test dependencies. After installation, launch the poetry
environment shell and you can launch the test suite from the root of your
pybear-dask project folder with::

    (your-pybear-dask-env) you@your_computer:/path/to/pybear-dask/project$ pytest tests/

Project History
---------------

This project was spun off the main pybear project just prior to the first
public release of both. pybear-dask was spun off to ensure maximum stability
for the main pybear project, while keeping these modules available.

Help and Support
----------------

Documentation
~~~~~~~~~~~~~

Documentation is not expected to be made available via a website for this
package. Use the documentation for similar packages in the main pybear package.
See the repo for pybear: https://github.com/PylarBear/pybear/

Communication
~~~~~~~~~~~~~

- GitHub Discussions: https://github.com/PylarBear/pybear-dask/discussions
- Website: https://github.com/PylarBear/pybear-dask







            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pybear-dask",
    "maintainer": "Bill Sousa",
    "docs_url": null,
    "requires_python": "<3.13,>=3.10",
    "maintainer_email": null,
    "keywords": "python data analytics pybear dask",
    "author": "Bill Sousa",
    "author_email": "WKSJR99@msn.com",
    "download_url": "https://files.pythonhosted.org/packages/fa/b2/85938ac0298196ad6c39d9af82facccfa5ae957a0c38fac94d3d933867da/pybear_dask-0.2.1.tar.gz",
    "platform": null,
    "description": "pybear-dask\n===========\n\n|Tests|\n|Coverage|\n|Test Status 313|\n|Test Status 312|\n|Test Status 311|\n|Test Status 310|\n\n.. |Tests| image:: https://raw.githubusercontent.com/PylarBear/pybear-dask/main/.github/badges/tests-badge.svg\n   :target: https://github.com/PylarBear/pybear-dask/actions\n\n.. |Coverage| image:: https://raw.githubusercontent.com/PylarBear/pybear-dask/main/.github/badges/coverage-badge.svg\n   :target: https://github.com/PylarBear/pybear-dask/actions\n\n.. |Test Status 313| image:: https://github.com/PylarBear/pybear-dask/actions/workflows/matrix-tests-py313.yml/badge.svg\n   :target: https://github.com/PylarBear/pybear-dask/actions/workflows/matrix-tests-py313.yml\n\n.. |Test Status 312| image:: https://github.com/PylarBear/pybear-dask/actions/workflows/matrix-tests-py312.yml/badge.svg\n   :target: https://github.com/PylarBear/pybear-dask/actions/workflows/matrix-tests-py312.yml\n\n.. |Test Status 311| image:: https://github.com/PylarBear/pybear-dask/actions/workflows/matrix-tests-py311.yml/badge.svg\n   :target: https://github.com/PylarBear/pybear-dask/actions/workflows/matrix-tests-py311.yml\n\n.. |Test Status 310| image:: https://github.com/PylarBear/pybear-dask/actions/workflows/matrix-tests-py310.yml/badge.svg\n   :target: https://github.com/PylarBear/pybear-dask/actions/workflows/matrix-tests-py310.yml\n\n|TestPyPI Build Status|\n\n.. |TestPyPI Build Status| image:: https://github.com/PylarBear/pybear-dask/actions/workflows/testpypi-publish.yml/badge.svg\n   :target: https://github.com/PylarBear/pybear-dask/actions/workflows/testpypi-publish.yml\n\n|PyPI Build Status|\n|Version|\n|PyPI Downloads|\n\n.. |PyPI Build Status| image:: https://github.com/PylarBear/pybear-dask/actions/workflows/pypi-publish.yml/badge.svg\n   :target: https://github.com/PylarBear/pybear-dask/actions/workflows/pypi-publish.yml\n\n.. |Version| image:: https://img.shields.io/pypi/v/pybear-dask\n   :target: https://pypi.org/project/pybear-dask\n   :alt: PyPI Version\n\n.. |PyPI Downloads| image:: https://static.pepy.tech/badge/pybear-dask\n   :target: https://pepy.tech/project/pybear-dask/\n   :alt: PyPI Downloads\n\n|DOI|\n\n.. |DOI| image:: https://zenodo.org/badge/1009051313.svg\n   :target: https://doi.org/10.5281/zenodo.16548280\n   :alt: DOI\n\n.. |PythonVersion| replace:: >=3.10, <3.13\n.. |DaskVersion| replace:: <2025.1.0\n.. |DaskMLVersion| replace:: <2025.1.0\n.. |DistributedVersion| replace:: <2025.1.0\n.. |PybearVersion| replace:: >=0.2.0\n.. |PytestVersion| replace:: >=7.0.0\n\n\n\npybear-dask is a Python computing library that supplements the pybear\nlibrary with analogous modules that have dask capability.\n\nWebsite: https://github.com/PylarBear/pybear-dask\n\nLicense\n-------\n\nBSD 3-Clause License. See `License File <https://github.com/PylarBear/pybear-dask/blob/main/LICENSE>`__.\n\n=======\n\nInstallation\n------------\n\nDependencies\n~~~~~~~~~~~~\n\npybear-dask requires:\n\n- Python (|PythonVersion|)\n- dask (|DaskVersion|)\n- dask-ml (|DaskMLVersion|)\n- distributed (|DistributedVersion|)\n- pybear (|PybearVersion|)\n\nUser installation\n~~~~~~~~~~~~~~~~~\n\nInstall pybear-dask from the online PyPI package repository using ``pip``::\n\n   (your-env) $ pip install pybear-dask\n\nConda distributions are expected to be made available sometime after release to\nPyPI.\n\n=======\n\nUsage\n-----\nThe folder structure of pybear-dask is nearly identical to scikit-learn. This\nis so those that are familiar with the scikit layout and have experience with\nwriting the associated import statements have an easy transition to pybear-dask.\nThe pybear-dask subfolders are *base* and *model_selection*.\n\nYou can import pybear-dask's packages in the same way you would with scikit.\nHere are a few examples of how you could import and use pybear-dask modules:\n\n.. code-block:: console\n\n    from pybear-dask.model_selection import GSTCVDask\n\n    search = GSTCVDask()\n    search.fit(X, y)\n\n    from pybear-dask import model_selection as ms\n\n    search = ms.AutoGridSearchCVDask()\n    search.fit(X, y)\n\n\n=======\n\nMajor Modules\n-------------\n\nAutoGridSearchCVDask\n~~~~~~~~~~~~~~~~~~~~\nPerform multiple uninterrupted passes of grid search with dask_ml GridSearchCV \nand dask objects utilizing progressively narrower search grids.\n\n- Access via pybear-dask.model_selection.AutoGridSearchCVDask.\n\nGSTCVDask (GridSearchThresholdCV for Dask)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nPerform conventional grid search on a classifier with concurrent threshold \nsearch using dask objects in parallel and distributed environments. Finds the \nglobal optima for the passed parameters and thresholds. Fully compliant with \nthe dask_ml/scikit-learn GridSearchCV API.\n\n- Access via pybear-dask.model_selection.GSTCVDask.\n\nAutoGSTCVDask (AutoGridSearchThresholdCV for Dask)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nPerform multiple uninterrupted passes of grid search with pybear-dask GSTCVDask\nutilizing progressively narrower search grids.\n\n- Access via pybear-dask.model_selection.AutoGSTCVDask.\n\n=======\n\nChangelog\n---------\n\nSee the `changelog <https://github.com/PylarBear/pybear-dask/blob/main/CHANGELOG.md>`__\nfor a history of notable changes to pybear-dask.\n\n=======\n\nDevelopment\n-----------\n\nImportant links\n~~~~~~~~~~~~~~~\n\n- Official source code repo: https://github.com/PylarBear/pybear-dask\n- Download releases: https://pypi.org/project/pybear-dask/\n- Issue tracker: https://github.com/PylarBear/pybear-dask/issues\n\nSource code\n~~~~~~~~~~~\n\nYou can clone the latest source code with the command::\n\n    git clone https://github.com/PylarBear/pybear-dask.git\n\nContributing\n~~~~~~~~~~~~\n\npybear-dask is not ready for contributions at this time!\n\nTesting\n~~~~~~~\n\npybear-dask 0.2 is tested via GitHub Actions to run on Linux, Windows, and MacOS,\nwith Python versions 3.10, 3.11, and 3.12. pybear-dask is not tested on earlier\nversions, but some features may work.\n\nIf you want to test pybear-dask yourself, you will need:\n\n- pytest (|PytestVersion|)\n\nThe tests are not available in the PyPI pip installation. You can get\nthe tests by downloading the tarball from the pybear-dask project page on\n`pypi.org <https://pypi.org/project/pybear-dask/>`_ or cloning the pybear-dask\nrepo from `GitHub <https://github.com/PylarBear/pybear-dask>`_. Once you have\nthe source files in a local project folder, create a poetry environment for the\nproject and install the test dependencies. After installation, launch the poetry\nenvironment shell and you can launch the test suite from the root of your\npybear-dask project folder with::\n\n    (your-pybear-dask-env) you@your_computer:/path/to/pybear-dask/project$ pytest tests/\n\nProject History\n---------------\n\nThis project was spun off the main pybear project just prior to the first\npublic release of both. pybear-dask was spun off to ensure maximum stability\nfor the main pybear project, while keeping these modules available.\n\nHelp and Support\n----------------\n\nDocumentation\n~~~~~~~~~~~~~\n\nDocumentation is not expected to be made available via a website for this\npackage. Use the documentation for similar packages in the main pybear package.\nSee the repo for pybear: https://github.com/PylarBear/pybear/\n\nCommunication\n~~~~~~~~~~~~~\n\n- GitHub Discussions: https://github.com/PylarBear/pybear-dask/discussions\n- Website: https://github.com/PylarBear/pybear-dask\n\n\n\n\n\n\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "Python modules for data analytics applications with dask",
    "version": "0.2.1",
    "project_urls": {
        "Homepage": "https://github.com/PylarBear/pybear-dask",
        "Repository": "https://github.com/PylarBear/pybear-dask"
    },
    "split_keywords": [
        "python",
        "data",
        "analytics",
        "pybear",
        "dask"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "19095d65ec9cac0cdfa19965e6ef603f88f88f4521c6359baa97b665676cca35",
                "md5": "19b0b527c63509f0a6d8b04fbb15289b",
                "sha256": "3318998f81281eac9a1e44a70a8840ef243eb7cd178ee94cf6ea9a6e3d380bb3"
            },
            "downloads": -1,
            "filename": "pybear_dask-0.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "19b0b527c63509f0a6d8b04fbb15289b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.13,>=3.10",
            "size": 39913,
            "upload_time": "2025-08-16T21:58:20",
            "upload_time_iso_8601": "2025-08-16T21:58:20.121038Z",
            "url": "https://files.pythonhosted.org/packages/19/09/5d65ec9cac0cdfa19965e6ef603f88f88f4521c6359baa97b665676cca35/pybear_dask-0.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "fab285938ac0298196ad6c39d9af82facccfa5ae957a0c38fac94d3d933867da",
                "md5": "4dd1092ea3f5698f5b8ced40a021531a",
                "sha256": "0db9ed6795b257824f49894a77c20b2863908a16d3920a015b2607733433b01b"
            },
            "downloads": -1,
            "filename": "pybear_dask-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "4dd1092ea3f5698f5b8ced40a021531a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.13,>=3.10",
            "size": 71929,
            "upload_time": "2025-08-16T21:58:21",
            "upload_time_iso_8601": "2025-08-16T21:58:21.805345Z",
            "url": "https://files.pythonhosted.org/packages/fa/b2/85938ac0298196ad6c39d9af82facccfa5ae957a0c38fac94d3d933867da/pybear_dask-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-16 21:58:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "PylarBear",
    "github_project": "pybear-dask",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "pybear-dask"
}
        
Elapsed time: 0.61110s