Skip to main content

Geometry

Geometry knowledge for OVOS - a glossary of 24 terms and shapes (radius, area, triangle, cylinder, ...), formulas (recited in words and applied numerically) for rectangles, squares, triangles, circles, and Pythagoras' theorem. Fully offline, available in English, Danish, German, French, and Spanish.

Tests PyPI version

Glossary

24 terms and shapes: "what is a rhombus" - a one-sentence definition for any of 10 general terms (radius, diameter, circumference, area, perimeter, volume, hypotenuse, vertex, angle, diagonal), 8 2D shapes (triangle, right triangle, square, rectangle, rhombus, pentagon, hexagon, circle), and 6 3D shapes (cube, sphere, cylinder, cone, pyramid, rectangular prism).

Formulas

  • "what is the formula for the area of a circle" - recited in words, for the shape/property combinations that have one (area and/or perimeter/circumference for rectangle, square, triangle, circle - not every glossary shape has a formula intent, see DEVELOPMENT.md).
  • "what is the area of a rectangle with length 5 and width 3" - applies the formula and speaks the number.
  • "what is pythagoras' theorem" / "what is the hypotenuse of a right triangle with legs 3 and 4" - the theorem itself, and applying it.

Usage

"what is a rhombus"
"what is the formula for the area of a circle"
"what is the area of a rectangle with length 5 and width 3"
"what is the hypotenuse of a right triangle with legs 3 and 4"
"what is pythagoras' theorem"
"hvad er en rombe"                        (Danish)
"hvad er arealet af et rektangel med længden 5 og bredden 3"  (Danish)
"was ist eine Raute"                      (German)
"was ist die fläche eines rechtecks mit der länge 5 und der breite 3"  (German)
"qu'est-ce qu'un losange"                 (French)
"quelle est l'aire d'un rectangle de longueur 5 et de largeur 3"  (French)
"qué es un rombo"                         (Spanish)
"cuál es el área de un rectángulo con largo 5 y ancho 3"  (Spanish)

A utility skill, not an educational one

This provides KNOWLEDGE on demand - it doesn't quiz or teach. ovos-skill-geometry-practice depends on this package directly (imports its glossary, formulas, and computation functions) for its quiz mode, the same relationship ovos-skill-geography-practice has with ovos-skill-geography.

Known simplifications

  • Scope: which shapes get formulas. Only rectangle/square/ triangle/circle have numeric formula intents (area_of_rectangle, etc) - rhombus/pentagon/hexagon and every 3D shape have a glossary DEFINITION but no formula-application intent yet. FORMULA_PROPERTIES in __init__.py is the exact list.
  • Numbers are parsed via ovos-number-parser, handling both digit strings ("5") and spoken number words ("five"), per language. Unparseable input speaks a generic "I didn't catch that number" rather than guessing.
  • Irrational results are rounded to 2 decimals for speech (format_number())
    • a display choice, not a grading tolerance. This package never grades anything; that distinction (and why circle/non-triple- Pythagoras quiz questions need a REAL tolerance-band) lives in ovos-skill-geometry-practice's DEVELOPMENT.md.
  • da-dk/de-de share one word for "perimeter" and "circumference" (omkreds/Umfang) - see CREDITS.md and DEVELOPMENT.md.

Install

pip install ovos-skill-geometry

Development

See DEVELOPMENT.md.

Category

Information

Tags

#geometry #reference #math #shapes

Release files for ovos-skill-geometry 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ovos-skill-geometry 0.0.1
File Size Uploaded
ovos_skill_geometry-0.0.1.tar.gz 50.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ovos-skill-geometry 0.0.1
File Interpreter ABI Platform
ovos_skill_geometry-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 131.0 kB

Release files / ovos_skill_geometry-0.0.1.tar.gz

Download URL ovos_skill_geometry-0.0.1.tar.gz
Size 50.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6b73496506f7a24e493ceba5b23c92341fb3e41520937769add040fd963c4e2d
BLAKE2b-256 checksum
How to use checksums
75eebdef345b3a9592496d93b24f9c1e5f93bbb12c2b5a088ba8cf462ae9d799
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.

Transparency log

Release files / ovos_skill_geometry-0.0.1-py3-none-any.whl

Download URL ovos_skill_geometry-0.0.1-py3-none-any.whl
Size 80.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
20adbc610cb4c03a3e7dab01fc7fc320e8937ed88dcc924a4586e5fc7ebea560
BLAKE2b-256 checksum
How to use checksums
71ae168bb359a96cb49c0e3485b16aca2910945b82afcceb1f0499b01df2cdbf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.

Transparency log

Release history Release notifications | RSS feed

0.0.3

2 release files

0.0.2

2 release files

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page