TriplePair


NameTriplePair JSON
Version 1 PyPI version JSON
download
home_pagehttps://github.com/GlobalCreativeApkDev/INDONESIAN_PROGRAMMERS/tree/main/TriplePair
SummaryThis package contains implementation of the programming library TriplePair.
upload_time2023-03-25 02:50:50
maintainer
docs_urlNone
authorGlobalCreativeApkDev
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # TriplePair

**TriplePair** is a Python data type which represents a tuple of three values.

## How to Use?

**b = TriplePair(4, 5, 6)**

The code above initialises TriplePair object 'b' with left value of 4, middle value of 5, and right value of 6.

**a = TriplePair(1, 2, 3)**
**b = TriplePair(4, 5, 6)**
**c = a.sum(b)  # TriplePair(7, 8, 9)**

The code above gets the sum of the corresponding elements of the TriplePair objects 'a' and 'b'.

**a = TriplePair(1, 2, 3)**
**b = TriplePair(4, 5, 6)**
**c = a.zip(b)  # TriplePair((1, 4), (2, 5), (3, 6))**

The code above zips both TriplePair objects 'a' and 'b'.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/GlobalCreativeApkDev/INDONESIAN_PROGRAMMERS/tree/main/TriplePair",
    "name": "TriplePair",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "GlobalCreativeApkDev",
    "author_email": "globalcreativeapkdev2022@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/74/7c/14123f72464ee73a67c2a84b3ee98aec925c3d44c4ef9afd0ccab6e4fb7d/TriplePair-1.tar.gz",
    "platform": null,
    "description": "# TriplePair\n\n**TriplePair** is a Python data type which represents a tuple of three values.\n\n## How to Use?\n\n**b = TriplePair(4, 5, 6)**\n\nThe code above initialises TriplePair object 'b' with left value of 4, middle value of 5, and right value of 6.\n\n**a = TriplePair(1, 2, 3)**\n**b = TriplePair(4, 5, 6)**\n**c = a.sum(b)  # TriplePair(7, 8, 9)**\n\nThe code above gets the sum of the corresponding elements of the TriplePair objects 'a' and 'b'.\n\n**a = TriplePair(1, 2, 3)**\n**b = TriplePair(4, 5, 6)**\n**c = a.zip(b)  # TriplePair((1, 4), (2, 5), (3, 6))**\n\nThe code above zips both TriplePair objects 'a' and 'b'.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "This package contains implementation of the programming library TriplePair.",
    "version": "1",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4832bbcb28a5fe68a7f22d9acd2a44707ad26068557822d7790779b9c98e0b09",
                "md5": "0a27c1ec8bc51221b9c61790c66fff0e",
                "sha256": "8fddcd7002ece6f3b92954dd2ec9e0314e19faa45e80e12cec38cb91d64cfb8b"
            },
            "downloads": -1,
            "filename": "TriplePair-1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0a27c1ec8bc51221b9c61790c66fff0e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3761,
            "upload_time": "2023-03-25T02:50:48",
            "upload_time_iso_8601": "2023-03-25T02:50:48.407689Z",
            "url": "https://files.pythonhosted.org/packages/48/32/bbcb28a5fe68a7f22d9acd2a44707ad26068557822d7790779b9c98e0b09/TriplePair-1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "747c14123f72464ee73a67c2a84b3ee98aec925c3d44c4ef9afd0ccab6e4fb7d",
                "md5": "df432e028204f30f71ccca477879f6f2",
                "sha256": "ae273b9c3b9cb03b578895eb4eec3f55d09b2f4abf4b8e7e97d5f2b5b5ca699d"
            },
            "downloads": -1,
            "filename": "TriplePair-1.tar.gz",
            "has_sig": false,
            "md5_digest": "df432e028204f30f71ccca477879f6f2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3154,
            "upload_time": "2023-03-25T02:50:50",
            "upload_time_iso_8601": "2023-03-25T02:50:50.206771Z",
            "url": "https://files.pythonhosted.org/packages/74/7c/14123f72464ee73a67c2a84b3ee98aec925c3d44c4ef9afd0ccab6e4fb7d/TriplePair-1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-25 02:50:50",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "triplepair"
}
        
Elapsed time: 0.07332s