Skip to main content

Elder data composition

Project description

Constellatus

Constellatus is an extension of the Eons APIE executable. It provides a RESTful API for storing, retrieving, and optimizing code written within the Eons framework.

Our goal is to automate the process of translation.
By refining our code for us, Constellatus allows us make succinct statements that are easy for others to use.

We make heavy use of astronomy metaphors.

Overview

  • Stars are fully formed SelfRegistering classes.
  • We measure the mass of code by its behavior. Well structured, well performing, easily repeatable behavior results in higher mass (e.g. one program has a deeper gravity well than another that does the same thing but is slower).
  • We model matter as the quantity of code, regardless of its behavior.
  • The "density" of a particular bit of code is measured by how well it behaves over how much code it contains.
  • The Eons Error Resolution machinery (EER) is our corollary to nuclear fusion: it takes code that is not well behaved but could be (i.e. low mass) and improves its behavior, increasing its gravitational force and thus its mass.

To illustrate what "could be well behaved" means, imagine code which operates perfectly but is missing context, e.g. requires an additional include statement or a package to be installed. These kinds of errors, which are trivial to resolve, provide the fuel for the EER machinery. This is useful as it allows us as programmers to write only what is necessary, and have all dependencies automatically injected.

Stars

The minimum requirement for a SelfRegistering class to be a Star is that it possess enough well behaved code such that it requires no interaction with the Eons Error Resolution machinery to be instantiated. Stars may progress through a normal lifecycle of improvements, whereby they become increasingly dense. This process is similar to how a user might implement Cython: small, well behaved units of the Star are replaced with code from Biology, C++, C, or Assembly. Code that is not well behaved is refined through repeated application of the Eons Error Resolution machinery. A Star's lifecycle is entirely managed by Constellatus. Stars may be Formed and Destroyed but their updates are entirely automated. They key to making Constellatus work is the continual rewrite of the code of Stars so that each time it's Observed, it becomes more compact.

Installation

pip install constellatus

Usage

For now, refer to Apie for all configuration.

When running as a webserver, the default port is 1137, after the approximation for the fine structure constant: 1/137.

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

constellatus-0.0.2.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

constellatus-0.0.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file constellatus-0.0.2.tar.gz.

File metadata

  • Download URL: constellatus-0.0.2.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for constellatus-0.0.2.tar.gz
Algorithm Hash digest
SHA256 756cbf0d4a8b63f329547797824c18931c21a754bf21a8ee9ad9cb574836d946
MD5 d8222b2e741ef176008dd5b6804f02d5
BLAKE2b-256 d943cd09a32af7cfb596031d638405225c4b80669a2462546bc7f14cc0821404

See more details on using hashes here.

File details

Details for the file constellatus-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for constellatus-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 554aea2d1ed2f8bba565f560751a04f9d5ba177325c97484f27bc4acdd80bcb2
MD5 4f08b4c65c64ba4b86552ba1969fea12
BLAKE2b-256 01e8849737ad2c12470e70cf33822e8b00d056a800a975fc6643d128a65ddaf1

See more details on using hashes here.

Supported by

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