VecPosLib


NameVecPosLib JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/shotadft/VectorLib
SummaryThis is a library that enables vector calculations in Python.
upload_time2025-07-13 13:52:09
maintainerNone
docs_urlNone
authorShotadft
requires_python>=3.13
licenseMIT License ===================== Copyright (C) 2025 Shotadft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords vector math numpy cupy numba linear algebra gpu coordinates scientific computing
VCS
bugtrack_url
requirements numpy numba
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # VecPosLib
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![Unlicense License][license-shield]][license-url]
[![App Version][version-shield]][header-id]

## Overview
**Python用のベクトル型と色々を追加するだけの汎用的なライブラリです。**<br/>
***This is a library that enables vector calculations in Python.***<br/>

## Requirement
View to [requirements.txt](https://github.com/shotadft/VectorLib/blob/master/requirements.txt)
### Optional
- CuPy (Version is Any)

## Development Environments
- Cursor (FREE Plan)<br/>
**⚠️当プログラムは一部に生成AIを使用して開発されています⚠️**

## Installations
```bash
pip install vecposlib
```

## Usage
- **`Position`**: 座標管理クラス
- **`Vector`**: 基本ベクトルクラス
    - **`Vec2` `Vec3` `Vec4`**: n次元特化クラス
        - Positionオブジェクトまたは数値で初期化可能。

## Features
- 型安全な2次元・3次元・4次元ベクトルクラス(Vec2, Vec3, Vec4)
- 座標管理が楽
- 安全なベクトル操作
- 距離・ノルム・正規化・内積・外積・射影・反射などの基本演算をサポート
- シンプルで直感的なAPI

## Author Links
- [Twitter](https://x.com/shotadft)
- [My HP](https://www.shotadft.com/)

<!-- MARKDOWN LINKS & IMAGES -->
<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->
[forks-shield]: https://img.shields.io/github/forks/shotadft/VectorLib.svg?style=for-the-badge
[forks-url]: https://github.com/shotadft/VectorLib/network/members
[stars-shield]: https://img.shields.io/github/stars/shotadft/VectorLib.svg?style=for-the-badge
[stars-url]: https://github.com/shotadft/VectorLib/stargazers
[issues-shield]: https://img.shields.io/github/issues/shotadft/VectorLib.svg?style=for-the-badge
[issues-url]: https://github.com/shotadft/VectorLib/issues
[license-shield]: https://img.shields.io/github/license/shotadft/VectorLib.svg?style=for-the-badge
[license-url]: https://github.com/shotadft/VectorLib/blob/master/LICENSE.md
[version-shield]: https://img.shields.io/badge/1.0.2-00c81b?label=version&style=for-the-badge
[header-id]: #VecPosLib

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/shotadft/VectorLib",
    "name": "VecPosLib",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.13",
    "maintainer_email": null,
    "keywords": "vector, math, numpy, cupy, numba, linear algebra, gpu, coordinates, scientific computing",
    "author": "Shotadft",
    "author_email": "Shotadft <98450322+shotadft@users.noreply.github.com>",
    "download_url": "https://files.pythonhosted.org/packages/19/fb/eaa238dfd50003bf3775aca00435a7768bb63c93fe1084dcc167e0b2e587/vecposlib-1.0.2.tar.gz",
    "platform": null,
    "description": "# VecPosLib\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n[![Unlicense License][license-shield]][license-url]\n[![App Version][version-shield]][header-id]\n\n## Overview\n**Python\u7528\u306e\u30d9\u30af\u30c8\u30eb\u578b\u3068\u8272\u3005\u3092\u8ffd\u52a0\u3059\u308b\u3060\u3051\u306e\u6c4e\u7528\u7684\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002**<br/>\n***This is a library that enables vector calculations in Python.***<br/>\n\n## Requirement\nView to [requirements.txt](https://github.com/shotadft/VectorLib/blob/master/requirements.txt)\n### Optional\n- CuPy (Version is Any)\n\n## Development Environments\n- Cursor (FREE Plan)<br/>\n**\u26a0\ufe0f\u5f53\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u4e00\u90e8\u306b\u751f\u6210AI\u3092\u4f7f\u7528\u3057\u3066\u958b\u767a\u3055\u308c\u3066\u3044\u307e\u3059\u26a0\ufe0f**\n\n## Installations\n```bash\npip install vecposlib\n```\n\n## Usage\n- **`Position`**: \u5ea7\u6a19\u7ba1\u7406\u30af\u30e9\u30b9\n- **`Vector`**: \u57fa\u672c\u30d9\u30af\u30c8\u30eb\u30af\u30e9\u30b9\n    - **`Vec2` `Vec3` `Vec4`**: n\u6b21\u5143\u7279\u5316\u30af\u30e9\u30b9\n        - Position\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u307e\u305f\u306f\u6570\u5024\u3067\u521d\u671f\u5316\u53ef\u80fd\u3002\n\n## Features\n- \u578b\u5b89\u5168\u306a2\u6b21\u5143\u30fb3\u6b21\u5143\u30fb4\u6b21\u5143\u30d9\u30af\u30c8\u30eb\u30af\u30e9\u30b9\uff08Vec2, Vec3, Vec4\uff09\n- \u5ea7\u6a19\u7ba1\u7406\u304c\u697d\n- \u5b89\u5168\u306a\u30d9\u30af\u30c8\u30eb\u64cd\u4f5c\n- \u8ddd\u96e2\u30fb\u30ce\u30eb\u30e0\u30fb\u6b63\u898f\u5316\u30fb\u5185\u7a4d\u30fb\u5916\u7a4d\u30fb\u5c04\u5f71\u30fb\u53cd\u5c04\u306a\u3069\u306e\u57fa\u672c\u6f14\u7b97\u3092\u30b5\u30dd\u30fc\u30c8\n- \u30b7\u30f3\u30d7\u30eb\u3067\u76f4\u611f\u7684\u306aAPI\n\n## Author Links\n- [Twitter](https://x.com/shotadft)\n- [My HP](https://www.shotadft.com/)\n\n<!-- MARKDOWN LINKS & IMAGES -->\n<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->\n[forks-shield]: https://img.shields.io/github/forks/shotadft/VectorLib.svg?style=for-the-badge\n[forks-url]: https://github.com/shotadft/VectorLib/network/members\n[stars-shield]: https://img.shields.io/github/stars/shotadft/VectorLib.svg?style=for-the-badge\n[stars-url]: https://github.com/shotadft/VectorLib/stargazers\n[issues-shield]: https://img.shields.io/github/issues/shotadft/VectorLib.svg?style=for-the-badge\n[issues-url]: https://github.com/shotadft/VectorLib/issues\n[license-shield]: https://img.shields.io/github/license/shotadft/VectorLib.svg?style=for-the-badge\n[license-url]: https://github.com/shotadft/VectorLib/blob/master/LICENSE.md\n[version-shield]: https://img.shields.io/badge/1.0.2-00c81b?label=version&style=for-the-badge\n[header-id]: #VecPosLib\n",
    "bugtrack_url": null,
    "license": "MIT License\n        =====================\n        \n        Copyright (C) 2025 Shotadft\n        \n        Permission is hereby granted, free of charge, to any person\n        obtaining a copy of this software and associated documentation\n        files (the \u201cSoftware\u201d), to deal in the Software without\n        restriction, including without limitation the rights to use,\n        copy, modify, merge, publish, distribute, sublicense, and/or sell\n        copies of the Software, and to permit persons to whom the\n        Software is furnished to do so, subject to the following\n        conditions:\n        \n        The above copyright notice and this permission notice shall be\n        included in all copies or substantial portions of the Software.\n        \n        THE SOFTWARE IS PROVIDED \u201cAS IS\u201d, WITHOUT WARRANTY OF ANY KIND,\n        EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n        OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n        NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n        HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n        WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n        FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n        OTHER DEALINGS IN THE SOFTWARE.\n        ",
    "summary": "This is a library that enables vector calculations in Python.",
    "version": "1.0.2",
    "project_urls": {
        "Homepage": "https://github.com/shotadft/VectorLib",
        "Issues": "https://github.com/shotadft/VectorLib/issues",
        "Repository": "https://github.com/shotadft/VectorLib"
    },
    "split_keywords": [
        "vector",
        " math",
        " numpy",
        " cupy",
        " numba",
        " linear algebra",
        " gpu",
        " coordinates",
        " scientific computing"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "2ae653e4bb8925ca0e47effb4c0ed96d8b24203bbe5926dae3544a108de3f937",
                "md5": "4f4cbf67e25715a7a06d4f0568285ec2",
                "sha256": "91e17e9e84371fefd9dd3dc91568d359050321975c30ef978aa70187271c08db"
            },
            "downloads": -1,
            "filename": "vecposlib-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4f4cbf67e25715a7a06d4f0568285ec2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.13",
            "size": 12438,
            "upload_time": "2025-07-13T13:52:08",
            "upload_time_iso_8601": "2025-07-13T13:52:08.227253Z",
            "url": "https://files.pythonhosted.org/packages/2a/e6/53e4bb8925ca0e47effb4c0ed96d8b24203bbe5926dae3544a108de3f937/vecposlib-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "19fbeaa238dfd50003bf3775aca00435a7768bb63c93fe1084dcc167e0b2e587",
                "md5": "4b40b270330b2ebd3fd95acdec10cdde",
                "sha256": "1743ee67ca4ad90f619fdfab85b191c3860132d40b296ec5b5cd8df18f34f610"
            },
            "downloads": -1,
            "filename": "vecposlib-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "4b40b270330b2ebd3fd95acdec10cdde",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.13",
            "size": 9901,
            "upload_time": "2025-07-13T13:52:09",
            "upload_time_iso_8601": "2025-07-13T13:52:09.460221Z",
            "url": "https://files.pythonhosted.org/packages/19/fb/eaa238dfd50003bf3775aca00435a7768bb63c93fe1084dcc167e0b2e587/vecposlib-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-13 13:52:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "shotadft",
    "github_project": "VectorLib",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "numpy",
            "specs": [
                [
                    "<",
                    "2.3"
                ],
                [
                    ">=",
                    "1.26.0"
                ]
            ]
        },
        {
            "name": "numba",
            "specs": [
                [
                    ">=",
                    "0.61.2"
                ]
            ]
        }
    ],
    "lcname": "vecposlib"
}
        
Elapsed time: 1.12133s