LightGeometry


NameLightGeometry JSON
Version 1.0.1 PyPI version JSON
download
home_pageNone
SummaryLight geometry library with essential function
upload_time2025-09-11 17:18:39
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
keywords python library geometry math
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # LightGeometry
## A python library with elementar function
### note: every function returns float

## ```pip install lightgeometry```

- ```circle_area(radius)```:
returns area of a circle giving the radius
**ex: circle_area(3) = 28.27**

- ```circle_perimeter(radius)```:
returns perimeter of a circle giving the radius
**ex: circle_perimeter(3) = 18.85**

- ```circle_radius(area)```:
returns radius of a circle giving the area
**ex: circle_radius(4) = 1.13**

- ```rectangle_area(base, height)```:
returns area of a rectangle or square giving base and optionally height
**ex: rectangle_area(2) = 4 / rectangle_area(2, 4) = 8**

- ```rectangle_diagonal(base, height)```:
returns diagonal of a rectangle or square giving base and optionally height
**ex: rectangle_diagonal(2, 4) = 4.47**

- ```rectangle_perimeter(base, height)```:
returns perimeter of a rectangle or square giving base and optionally height
**ex: rectangle_perimeter(2, 4) = 12**

- ```triangle_area(base,  height)```:
returns area of a triangle giving base and height
**ex: triangle_area(2, 6) = 6**

- ```triangle_height(base,  area)```:
returns height of a triangle giving base and area
**ex: triangle_area(2, 6) = 6**

- ```triangle_perimeter(base,  area)```:
returns perimeter of a triangle giving base and area
**ex: triangle_area(2, 6) = 16**

- ```polygon_perimeter(s1, s2...s)```:
returns perimeter of a polygon giving differents sides
**ex: polygon_perimeter(1,5,3,6) = 15**

- ```distance_2d(x1,y1, x2,y2)```:
returns distance between 2 points
**ex: distance_2d(1,1, 3,3) = 2, 2**

- ```distance_3d(x1,y1,z1, x2,y2,z2,)```:
returns distance between 2 3d points
**ex: distance3d(1,1,1, 3,3,3) = 2, 2, 2**

### https://pypi.org/project/LightGeometry/

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "LightGeometry",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "python, library, geometry, math",
    "author": null,
    "author_email": "Cristiano <cristianoferrara.2006@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/51/78/82aee677c466e3a63bfac5327c2b92167b680d50837afb634b20ac684dbf/lightgeometry-1.0.1.tar.gz",
    "platform": null,
    "description": "# LightGeometry\r\n## A python library with elementar function\r\n### note: every function returns float\r\n\r\n## ```pip install lightgeometry```\r\n\r\n- ```circle_area(radius)```:\r\nreturns area of a circle giving the radius\r\n**ex: circle_area(3) = 28.27**\r\n\r\n- ```circle_perimeter(radius)```:\r\nreturns perimeter of a circle giving the radius\r\n**ex: circle_perimeter(3) = 18.85**\r\n\r\n- ```circle_radius(area)```:\r\nreturns radius of a circle giving the area\r\n**ex: circle_radius(4) = 1.13**\r\n\r\n- ```rectangle_area(base, height)```:\r\nreturns area of a rectangle or square giving base and optionally height\r\n**ex: rectangle_area(2) = 4 / rectangle_area(2, 4) = 8**\r\n\r\n- ```rectangle_diagonal(base, height)```:\r\nreturns diagonal of a rectangle or square giving base and optionally height\r\n**ex: rectangle_diagonal(2, 4) = 4.47**\r\n\r\n- ```rectangle_perimeter(base, height)```:\r\nreturns perimeter of a rectangle or square giving base and optionally height\r\n**ex: rectangle_perimeter(2, 4) = 12**\r\n\r\n- ```triangle_area(base,  height)```:\r\nreturns area of a triangle giving base and height\r\n**ex: triangle_area(2, 6) = 6**\r\n\r\n- ```triangle_height(base,  area)```:\r\nreturns height of a triangle giving base and area\r\n**ex: triangle_area(2, 6) = 6**\r\n\r\n- ```triangle_perimeter(base,  area)```:\r\nreturns perimeter of a triangle giving base and area\r\n**ex: triangle_area(2, 6) = 16**\r\n\r\n- ```polygon_perimeter(s1, s2...s)```:\r\nreturns perimeter of a polygon giving differents sides\r\n**ex: polygon_perimeter(1,5,3,6) = 15**\r\n\r\n- ```distance_2d(x1,y1, x2,y2)```:\r\nreturns distance between 2 points\r\n**ex: distance_2d(1,1, 3,3) = 2, 2**\r\n\r\n- ```distance_3d(x1,y1,z1, x2,y2,z2,)```:\r\nreturns distance between 2 3d points\r\n**ex: distance3d(1,1,1, 3,3,3) = 2, 2, 2**\r\n\r\n### https://pypi.org/project/LightGeometry/\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Light geometry library with essential function",
    "version": "1.0.1",
    "project_urls": null,
    "split_keywords": [
        "python",
        " library",
        " geometry",
        " math"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "3837ba2dd73ef1075892d22bd47e8a3b281c7d64e822508d0dfdd9d510fa0309",
                "md5": "51e880d3196de96f12c468d5c7ae31f0",
                "sha256": "694e2eb178d7705585897ec3c37a243605538d68d4beb51dce2001bf4cf96456"
            },
            "downloads": -1,
            "filename": "lightgeometry-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "51e880d3196de96f12c468d5c7ae31f0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 3697,
            "upload_time": "2025-09-11T17:18:38",
            "upload_time_iso_8601": "2025-09-11T17:18:38.739926Z",
            "url": "https://files.pythonhosted.org/packages/38/37/ba2dd73ef1075892d22bd47e8a3b281c7d64e822508d0dfdd9d510fa0309/lightgeometry-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "517882aee677c466e3a63bfac5327c2b92167b680d50837afb634b20ac684dbf",
                "md5": "c2f3c9fd683f69e4bffbd21c64c07f38",
                "sha256": "1394a20a04eca5d49c6f8cfc22ba4919386a8495a0c7dcfd9fe9ee335b586969"
            },
            "downloads": -1,
            "filename": "lightgeometry-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "c2f3c9fd683f69e4bffbd21c64c07f38",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 3177,
            "upload_time": "2025-09-11T17:18:39",
            "upload_time_iso_8601": "2025-09-11T17:18:39.854740Z",
            "url": "https://files.pythonhosted.org/packages/51/78/82aee677c466e3a63bfac5327c2b92167b680d50837afb634b20ac684dbf/lightgeometry-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-11 17:18:39",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "lightgeometry"
}
        
Elapsed time: 1.46618s