Skip to main content

create and manage log entries for a python project

Project description

https://img.shields.io/pypi/v/geometor-model.svg https://img.shields.io/github/license/geometor/model.svg

The symbolic engine for GEOMETOR.

Overview

geometor.model is the foundational library for the GEOMETOR initiative. It establishes a rigorous system for defining classical geometric constructions using symbolic algebra.

In this system: - Points are information. - Lines and Circles are operations.

We leverage the power of SymPy to define elements as exact algebraic expressions rather than floating-point approximations.

Key Features

  • Symbolic Precision: All elements are defined using symbolic algebra.

  • Intersection Discovery: Automatically finds intersection points as new lines and circles are added.

  • Ancestral Tracking: Maintains the history and dependencies of every element.

  • Serialization: Save and load models to JSON for analysis and visualization.

Usage

Create a model, add points, and perform constructions:

# Run the model script
model

Or use it as a library:

from geometor.model import *

# Initialize model
model = Model("vesica")

# Set given points
A = model.set_point(0, 0, classes=["given"])
B = model.set_point(1, 0, classes=["given"])

# Construct lines and circles
model.construct_line(A, B)
model.construct_circle(A, B)
model.construct_circle(B, A)

# Analyze
report_summary(model)

Resources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geometor_model-0.4.4.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geometor_model-0.4.4-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

Details for the file geometor_model-0.4.4.tar.gz.

File metadata

  • Download URL: geometor_model-0.4.4.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.3

File hashes

Hashes for geometor_model-0.4.4.tar.gz
Algorithm Hash digest
SHA256 16f5285b4e45f7e784e4e10f402dc63b3510a84d9a1399fc8d9fada07f5669cc
MD5 f810521095bdbab718cb00c3b674f111
BLAKE2b-256 2fe969b8ffa5f6329ad87a864ee84364ac3c0b6219de96e4426d37290fae9d5a

See more details on using hashes here.

File details

Details for the file geometor_model-0.4.4-py3-none-any.whl.

File metadata

File hashes

Hashes for geometor_model-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0c70cd20952bfbcc30eb8867f3bfaa78537a70ae14c0de6ed00b530de79560ea
MD5 2c06f270df53d738cfb5040a22608faa
BLAKE2b-256 c6b72c54dfa45e30dd7dd1668c541590b335188df9f39b4adb921b4c7f33b8c8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page