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

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.5
File Size Uploaded Provenance Actions
ovos_skill_geometry-0.0.5.tar.gz 53.4 kB With provenance Details for ovos_skill_geometry-0.0.5.tar.gz

Built distribution (wheel)

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

Total release size: 137.0 kB

Release files / ovos_skill_geometry-0.0.5.tar.gz

Download URL ovos_skill_geometry-0.0.5.tar.gz
Size 53.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0e3991659d4420af6e0dc3f73d8693e7806fb2ed98c7781835986d896a83d1dd
BLAKE2b-256 checksum
How to use checksums
a867c9dac603587a254a3ea91fe75783d9bec1dc959026a1b7d778d8a5e0b6ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 17, 2026.

Transparency log

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

Download URL ovos_skill_geometry-0.0.5-py3-none-any.whl
Size 83.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
65531f294f51497a890df25f273bff942999b1d7e1cb2b6c2974a40626771618
BLAKE2b-256 checksum
How to use checksums
684e036b09fa3b69642a0bb7ae161472fd571e5b2561b62194fe5385c79a52c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 17, 2026.

Transparency log

Security for ovos-skill-geometry 0.0.5

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.5.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 Nov 17, 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