Skip to main content

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.

Metadata

Release files for constellatus 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 constellatus 0.0.2
File Size Uploaded Provenance Actions
constellatus-0.0.2.tar.gz 3.7 kB Without provenance Details for constellatus-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for constellatus 0.0.2
File Interpreter ABI Platform Actions
constellatus-0.0.2-py3-none-any.whl Python 3 none any Details for constellatus-0.0.2-py3-none-any.whl

Total release size: 8.0 kB

Release files / constellatus-0.0.2.tar.gz

Download URL constellatus-0.0.2.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
756cbf0d4a8b63f329547797824c18931c21a754bf21a8ee9ad9cb574836d946
BLAKE2b-256 checksum
How to use checksums
d943cd09a32af7cfb596031d638405225c4b80669a2462546bc7f14cc0821404
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / constellatus-0.0.2-py3-none-any.whl

Download URL constellatus-0.0.2-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
554aea2d1ed2f8bba565f560751a04f9d5ba177325c97484f27bc4acdd80bcb2
BLAKE2b-256 checksum
How to use checksums
01e8849737ad2c12470e70cf33822e8b00d056a800a975fc6643d128a65ddaf1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Security for constellatus 0.0.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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