TorchStuff
Calculate the Polygon area and length (perimeter).
Table of Contents
Installation
pip3 install torchstuff
Usage
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
Metadata
Release files for torchstuff 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| torchstuff-0.0.1.tar.gz | 7.3 kB | Without provenance | Details for torchstuff-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| torchstuff-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for torchstuff-0.0.1-py3-none-any.whl |
Total release size: 14.8 kB
Release files / torchstuff-0.0.1.tar.gz
| Download URL | torchstuff-0.0.1.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
106e05bbc0e955eb4cbf868b3d4a432d4c860de28f0ee7042685d4139d3ba3eb
|
|
BLAKE2b-256 checksum How to use checksums |
cf1830fb8a85cc43825dd9c5c4cabc2d3386179982b6eff51b7f98927a373b48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / torchstuff-0.0.1-py3-none-any.whl
| Download URL | torchstuff-0.0.1-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6186be0ed7b9c43e699c9164d0ba6febc24dff7862667a14be7e52454d72c78e
|
|
BLAKE2b-256 checksum How to use checksums |
991f811d959c0687b6615500aacf4987523bcb0b67fde7e7bada1c6c8ab38417
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Security for torchstuff 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.