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.3

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.3
File Size Uploaded
ovos_skill_geometry-0.0.3.tar.gz 51.3 kB Details

Built distribution (wheel)

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

Total release size: 133.1 kB

Release files / ovos_skill_geometry-0.0.3.tar.gz

Download URL ovos_skill_geometry-0.0.3.tar.gz
Size 51.3 kB
Tags Source
SHA-256 checksum
How to use checksums
64d870d332a3232a3b8b8a7900fac1942df47c31edbd7b75db55f342cbf2590d
BLAKE2b-256 checksum
How to use checksums
60813db9ca1b1d9cfb403f02bf34c60feba486e7009e39dc5888fa1507c52cf5
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.3-py3-none-any.whl

Download URL ovos_skill_geometry-0.0.3-py3-none-any.whl
Size 81.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f8939d70861b51bddc3efac1a0b3a19a98731905bf569b9fdee75f6c5da4a9a
BLAKE2b-256 checksum
How to use checksums
b0993eda67d155857bfe5edd43ea040d897b3176e8bda09f4dab73a2a8df37fb
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

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

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