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

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.2
File Size Uploaded
ovos_skill_geometry-0.0.2.tar.gz 50.0 kB Details

Built distribution (wheel)

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

Total release size: 130.7 kB

Release files / ovos_skill_geometry-0.0.2.tar.gz

Download URL ovos_skill_geometry-0.0.2.tar.gz
Size 50.0 kB
Tags Source
SHA-256 checksum
How to use checksums
766ef36fca85409108fd3a2a63ae8f34f531d8dde61b1b33c5e9226a41e07ba4
BLAKE2b-256 checksum
How to use checksums
53c6488fc17ea574bb6033f3b5ab035b3b03c2d0b1c534e5434bc36cedeef03b
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.2-py3-none-any.whl

Download URL ovos_skill_geometry-0.0.2-py3-none-any.whl
Size 80.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a8fe93ff76ea6c258bdd278b0d3a87ddb0fc2bb4ab639ad116aaed8e176b34f
BLAKE2b-256 checksum
How to use checksums
9e03530692a691207b2315a4e2135bf032dd00ee980f7bc8ad807bb0c1a39678
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

This release

0.0.2 This release

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