vectorizeit


Namevectorizeit JSON
Version 0.1.2 PyPI version JSON
download
home_pagehttps://github.com/sonntagsgesicht/vectorizeit
Summarysimply vectorize Python functions and methods by iteration.
upload_time2023-05-05 11:03:45
maintainer
docs_urlNone
authorsonntagsgesicht
requires_python
licenseApache License 2.0
keywords
VCS
bugtrack_url
requirements auxilium regtest
Travis-CI No Travis.
coveralls test coverage No coveralls.
            

.. 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).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sonntagsgesicht/vectorizeit",
    "name": "vectorizeit",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "sonntagsgesicht",
    "author_email": "sonntagsgesicht@icloud.com",
    "download_url": "https://files.pythonhosted.org/packages/4a/26/7c52b09573bfcfb5c2e87988031d4887694a06b42704ff4907d3503636d0/vectorizeit-0.1.2.zip",
    "platform": "any",
    "description": "\n\n.. image:: logo.png\n\nPython Project *vectorize*\n--------------------------\n\n.. image:: https://github.com/sonntagsgesicht/vectorizeit/actions/workflows/python-package.yml/badge.svg\n    :target: https://github.com/sonntagsgesicht/vectorizeit/actions/workflows/python-package.yml\n    :alt: GitHubWorkflow\n\n.. image:: https://img.shields.io/readthedocs/vectorizeit\n   :target: http://vectorizeit.readthedocs.io\n   :alt: Read the Docs\n\n.. image:: https://img.shields.io/github/license/sonntagsgesicht/vectorizeit\n   :target: https://github.com/sonntagsgesicht/vectorizeit/raw/master/LICENSE\n   :alt: GitHub\n\n.. image:: https://img.shields.io/github/release/sonntagsgesicht/vectorizeit?label=github\n   :target: https://github.com/sonntagsgesicht/vectorizeit/releases\n   :alt: GitHub release\n\n.. image:: https://img.shields.io/pypi/v/vectorizeit\n   :target: https://pypi.org/project/vectorizeit/\n   :alt: PyPI Version\n\n.. image:: https://img.shields.io/pypi/pyversions/vectorizeit\n   :target: https://pypi.org/project/vectorizeit/\n   :alt: PyPI - Python Version\n\n.. image:: https://pepy.tech/badge/vectorizeit\n   :target: https://pypi.org/project/vectorizeit/\n   :alt: PyPI Downloads\n\n\nIntroduction\n------------\n\nTo import the project simply type\n\n.. code-block:: python\n\n    >>> from vectorizeit import vectorize\n\nafter installation and use **vectorize** as a decorator\nto iterate over arguments of list type.\n\n.. code-block:: python\n\n    >>> @vectorize(keys=['a', 'b'])\n    ... def foo(a, b):\n    ...     return a, b\n\n    >>> foo((1, 2), ['a', 'b'])\n    (((1, 'a'), (1, 'b')), ((2, 'a'), (2, 'b')))\n\n\nInstall\n-------\n\nThe latest stable version can always be installed or updated via pip:\n\n.. code-block:: bash\n\n    $ pip install vectorizeit\n\n\nLicense\n-------\n\nCode and documentation are available according to the license\n(see LICENSE file in repository).\n",
    "bugtrack_url": null,
    "license": "Apache License 2.0",
    "summary": "simply vectorize Python functions and methods by iteration.",
    "version": "0.1.2",
    "project_urls": {
        "Homepage": "https://github.com/sonntagsgesicht/vectorizeit"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4a267c52b09573bfcfb5c2e87988031d4887694a06b42704ff4907d3503636d0",
                "md5": "88f800dd0588bd093b68254cbb704a58",
                "sha256": "fc5b41346f5f651a7903c2d3ed62d3394ee68756ed344700079cdb5c31aa034a"
            },
            "downloads": -1,
            "filename": "vectorizeit-0.1.2.zip",
            "has_sig": false,
            "md5_digest": "88f800dd0588bd093b68254cbb704a58",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 12929,
            "upload_time": "2023-05-05T11:03:45",
            "upload_time_iso_8601": "2023-05-05T11:03:45.559779Z",
            "url": "https://files.pythonhosted.org/packages/4a/26/7c52b09573bfcfb5c2e87988031d4887694a06b42704ff4907d3503636d0/vectorizeit-0.1.2.zip",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-05 11:03:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sonntagsgesicht",
    "github_project": "vectorizeit",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "auxilium",
            "specs": []
        },
        {
            "name": "regtest",
            "specs": []
        }
    ],
    "lcname": "vectorizeit"
}
        
Elapsed time: 0.34147s