Metadata-Version: 2.1
Name: vectorizeit
Version: 0.1.2
Summary: simply vectorize Python functions and methods by iteration.
Home-page: https://github.com/sonntagsgesicht/vectorizeit
Author: sonntagsgesicht
Author-email: sonntagsgesicht@icloud.com
License: Apache License 2.0
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Education
Classifier: Topic :: Software Development
Description-Content-Type: text/x-rst
License-File: LICENSE



.. image:: logo.png

Python Project *vectorize*
--------------------------

.. image:: https://github.com/sonntagsgesicht/vectorizeit/actions/workflows/python-package.yml/badge.svg
    :target: https://github.com/sonntagsgesicht/vectorizeit/actions/workflows/python-package.yml
    :alt: GitHubWorkflow

.. image:: https://img.shields.io/readthedocs/vectorizeit
   :target: http://vectorizeit.readthedocs.io
   :alt: Read the Docs

.. image:: https://img.shields.io/github/license/sonntagsgesicht/vectorizeit
   :target: https://github.com/sonntagsgesicht/vectorizeit/raw/master/LICENSE
   :alt: GitHub

.. image:: https://img.shields.io/github/release/sonntagsgesicht/vectorizeit?label=github
   :target: https://github.com/sonntagsgesicht/vectorizeit/releases
   :alt: GitHub release

.. image:: https://img.shields.io/pypi/v/vectorizeit
   :target: https://pypi.org/project/vectorizeit/
   :alt: PyPI Version

.. image:: https://img.shields.io/pypi/pyversions/vectorizeit
   :target: https://pypi.org/project/vectorizeit/
   :alt: PyPI - Python Version

.. image:: https://pepy.tech/badge/vectorizeit
   :target: https://pypi.org/project/vectorizeit/
   :alt: PyPI Downloads


Introduction
------------

To import the project simply type

.. code-block:: python

    >>> from vectorizeit import vectorize

after installation and use **vectorize** as a decorator
to iterate over arguments of list type.

.. code-block:: python

    >>> @vectorize(keys=['a', 'b'])
    ... def foo(a, b):
    ...     return a, b

    >>> foo((1, 2), ['a', 'b'])
    (((1, 'a'), (1, 'b')), ((2, 'a'), (2, 'b')))


Install
-------

The latest stable version can always be installed or updated via pip:

.. code-block:: bash

    $ pip install vectorizeit


License
-------

Code and documentation are available according to the license
(see LICENSE file in repository).
