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

Metadata

Release files for ovos-skill-geometry 0.0.4

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.4
File Size Uploaded Provenance Actions
ovos_skill_geometry-0.0.4.tar.gz 51.4 kB With provenance Details for ovos_skill_geometry-0.0.4.tar.gz

Built distribution (wheel)

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

Total release size: 133.1 kB

Release files / ovos_skill_geometry-0.0.4.tar.gz

Download URL ovos_skill_geometry-0.0.4.tar.gz
Size 51.4 kB
Tags Source
SHA-256 checksum
How to use checksums
088ec3191a6d95bac3fdd2ba077659c445890d449344cf5a5c62b4dd455b9c1e
BLAKE2b-256 checksum
How to use checksums
355c9edf66a800f3c3218897aafd6026992e9df87e80df46e986acf8cb5c0c23
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 Oct 1, 2026.

Transparency log

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

Download URL ovos_skill_geometry-0.0.4-py3-none-any.whl
Size 81.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f6299d9c58a2ce8f262a9c9a145f0ba4219fda6df0f9cf37f05ec7df311503cb
BLAKE2b-256 checksum
How to use checksums
cf0f0826dc6ebaa0779bfabff10dc12517710a821c63bb564634419f03ceb06b
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 Oct 1, 2026.

Transparency log

Security for ovos-skill-geometry 0.0.4

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ovos_skill_geometry-0.0.4.tar.gz

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 Oct 1, 2026.

Transparency log

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.

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