Uptimely Core
Uptimely Core is a data science framework for organizing data science work into meaningful structure. It lets teams to build their analytical functions with pure Python, while adding a layer to build, validate, and run analytical pipelines whose calculations depend on one another.
Uptimely complements data modeling: data models organize business data, while Uptimely makes calculation-facing profiles and their feature dependencies explicit. See Data Modeling and Uptimely.
Use it for machine telemetry, process analytics, failure prediction, and factory optimization. Currently works on batch, streaming abstractions are on the roadmap.
Definitions can be authored in Python and exported to JSON, or supplied directly as JSON. The built-in execution backend uses Polars, and the engine supports configurable runtime adapters.
Demo
Browse the example project explorer.
More business benefits at uptimely.ai website.
Documentation
Install
Python 3.13 or newer is required.
With pip:
pip install uptimely-core
With poetry:
poetry add uptimely-core
End-to-end example
This short workflow downloads, builds, and runs the included pump analytics project. The build compiles its analytics definition into an execution plan. The run executes that plan.
With Poetry, prefix these commands with poetry run.
Download the example project:
uptimely examples
Build the project:
uptimely build examples/pump_analytics --log-level debug
The build creates the execution bundle under
examples/pump_analytics/_generated/build/ and the Explorer data snapshot at
examples/pump_analytics/_generated/explorer.json. Rebuild after changing the
project source.
Execute the data pipeline:
uptimely run examples/pump_analytics --log-level debug --preview 10
Output will show the materialized profile frames:
Each execution replaces _generated/run/ with run metadata, JSONL logs, and
bounded profile previews. Five preview rows are saved by default, including
for lazy frames; --preview 10 saves and displays up to ten rows per profile.
This is a latest-run diagnostic snapshot, not a durable output store.
Explore the resources
Use the project explorer to inspect a project visually:
uptimely explore examples/pump_analytics
Open http://127.0.0.1:8001/ to view the Explorer.
Python API
The previous example was built by the Python-authored example specification. The specification describes profiles, dimensions, grains, and actions. Functions remain pure Python; the decorator supplies metadata for structural validation.
Here even more simplified example.
import polars as pl
import uptimely as up
@up.function(kind="read")
def read_values() -> pl.DataFrame:
return pl.DataFrame(
{
"id": [1, 2],
"value": [10, 20],
}
)
@up.function(kind="vectorize")
def double(dataset: pl.LazyFrame, value: str, output: str) -> pl.LazyFrame:
return dataset.with_columns((pl.col(value) * 2).alias(output))
@up.function(kind="write")
def print_results(dataset: pl.DataFrame) -> None:
print(dataset)
measurement_id = up.Dimension(
id="measurement_id",
resolutions=[up.Resolution(id="measurement_id", key="id", type="integer")],
)
class MyAnalyticalProfile(up.Profile):
id = "calculated_profile"
grain = [up.Grain(measurement_id, "measurement_id")]
producers = [
up.Action(
id="read",
function=read_values,
arguments={},
outputs=[up.Feature(id="value")],
),
up.Action(
id="double",
function=double,
arguments={
"dataset": up.ref.dataframe(),
"value": up.ref.column("value"),
"output": up.ref.output("doubled"),
},
outputs=[up.Feature(id="doubled")],
),
]
publishers = [
up.Action(
id="print",
function=print_results,
arguments={"dataset": up.ref.dataframe()},
outputs=[],
)
]
python_spec = up.Spec(
profiles=[MyAnalyticalProfile],
name="Analytics Specification",
)
Then create run.py in the project root and run it with python run.py.
The engine takes the built bundle, which contains the plan and its runtime
context. This is alternative to the previous CLI example:
from uptimely import Engine, project
from uptimely.engine import EngineConfig
bundle = project.build_project(".")
result = Engine(bundle, EngineConfig()).run()
Repository guide
| Path | Purpose |
|---|---|
docs/ |
Architecture, specification, and development documentation. |
examples/ |
Runnable examples and generated artifacts. |
scripts/ |
Code snippets for repository management |
src/uptimely/ |
Package implementation for analytics, compilation, dependencies, documentation, and execution. |
tests/ |
Automated tests for the package and examples. |
Development
See CONTRIBUTING.md for the full workflow.
License
Released under the MIT license. Contributions are welcome — see CONTRIBUTING.md.
Feedback
We are happy to hear development ideas, bug reports and other form of feedback.
Find the contact details from Uptimely website.
Metadata
Release files for uptimely-core 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| uptimely_core-0.9.0.tar.gz | 172.7 kB | With provenance | Details for uptimely_core-0.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| uptimely_core-0.9.0-py3-none-any.whl | Python 3 | none | any | Details for uptimely_core-0.9.0-py3-none-any.whl |
Total release size: 417.8 kB
Release files / uptimely_core-0.9.0.tar.gz
| Download URL | uptimely_core-0.9.0.tar.gz |
|---|---|
| Size | 172.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b17f38964651f75243e3f82285da01dbe4c38c38cee1afbb97793965641b28c
|
|
BLAKE2b-256 checksum How to use checksums |
2a05268d8b379f6eae841cc52ab68108fdfd2eeaef9301862d43b3fb1fdc2685
|
| 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 3, 2026.
Transparency logRelease files / uptimely_core-0.9.0-py3-none-any.whl
| Download URL | uptimely_core-0.9.0-py3-none-any.whl |
|---|---|
| Size | 245.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
539e617b418742c9a6c0e1e7d1cc938785c6b30ab6260c6308b9c85d064125a5
|
|
BLAKE2b-256 checksum How to use checksums |
af1be92a877bdaabbb2b6d37e4b8240787fe659ae663379b70a916126257344f
|
| 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 3, 2026.
Transparency logSecurity for uptimely-core 0.9.0
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.
Attestation for uptimely_core-0.9.0.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 3, 2026.
Transparency logA 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.