Name | torchstuff JSON |
Version |
0.0.1
JSON |
| download |
home_page | |
Summary | Geometry processing and deep learning utilities for PyTorch. |
upload_time | 2023-12-20 10:33:29 |
maintainer | |
docs_url | None |
author | Parth Kambli |
requires_python | >=3.8 |
license | Apache-2.0 |
keywords |
torch
pytorch
deep learning
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# TorchStuff
Calculate the Polygon area and length (perimeter).
## Table of Contents
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
## Installation
```bash
pip3 install torchstuff
```
## Usage
```python
import torch
# Example vertices
vertices = torch.tensor([[0.0, 0.0], [1.0, 0.0], [1.0, 1.0], [0.0, 1.0]])
# Create Polygon object
polygon = Polygon(vertices)
# Access properties
area = polygon.area
length = polygon.length
print(f"Area: {area}, Length: {length}")
```
## Contributing
Just me for now
Raw data
{
"_id": null,
"home_page": "",
"name": "torchstuff",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "torch,pytorch,deep learning",
"author": "Parth Kambli",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/cf/18/30fb8a85cc43825dd9c5c4cabc2d3386179982b6eff51b7f98927a373b48/torchstuff-0.0.1.tar.gz",
"platform": null,
"description": "# TorchStuff\n\nCalculate the Polygon area and length (perimeter).\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [Contributing](#contributing)\n\n## Installation\n\n```bash\npip3 install torchstuff\n```\n## Usage\n\n```python\nimport torch\n\n# Example vertices\nvertices = torch.tensor([[0.0, 0.0], [1.0, 0.0], [1.0, 1.0], [0.0, 1.0]])\n\n# Create Polygon object\npolygon = Polygon(vertices)\n\n# Access properties\narea = polygon.area\nlength = polygon.length\n\nprint(f\"Area: {area}, Length: {length}\")\n\n```\n## Contributing\n\nJust me for now\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Geometry processing and deep learning utilities for PyTorch.",
"version": "0.0.1",
"project_urls": {
"Bug Tracker": "https://github.com/Parth-Kambli/torchstuff/issues",
"Download": "https://github.com/Parth-Kambli/torchstuff/releases",
"Source Code": "https://github.com/Parth-Kambli/torchstuff"
},
"split_keywords": [
"torch",
"pytorch",
"deep learning"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "991f811d959c0687b6615500aacf4987523bcb0b67fde7e7bada1c6c8ab38417",
"md5": "ae314b2d1a3a20378afeb02ea7b2099b",
"sha256": "6186be0ed7b9c43e699c9164d0ba6febc24dff7862667a14be7e52454d72c78e"
},
"downloads": -1,
"filename": "torchstuff-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ae314b2d1a3a20378afeb02ea7b2099b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 7495,
"upload_time": "2023-12-20T10:33:28",
"upload_time_iso_8601": "2023-12-20T10:33:28.122825Z",
"url": "https://files.pythonhosted.org/packages/99/1f/811d959c0687b6615500aacf4987523bcb0b67fde7e7bada1c6c8ab38417/torchstuff-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cf1830fb8a85cc43825dd9c5c4cabc2d3386179982b6eff51b7f98927a373b48",
"md5": "ce5717cc8d469555964f6e073d000471",
"sha256": "106e05bbc0e955eb4cbf868b3d4a432d4c860de28f0ee7042685d4139d3ba3eb"
},
"downloads": -1,
"filename": "torchstuff-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "ce5717cc8d469555964f6e073d000471",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 7316,
"upload_time": "2023-12-20T10:33:29",
"upload_time_iso_8601": "2023-12-20T10:33:29.553615Z",
"url": "https://files.pythonhosted.org/packages/cf/18/30fb8a85cc43825dd9c5c4cabc2d3386179982b6eff51b7f98927a373b48/torchstuff-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-20 10:33:29",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Parth-Kambli",
"github_project": "torchstuff",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "torchstuff"
}