
Security News
TC39 Advances Temporal to Stage 4 Alongside Several ECMAScript Proposals
TC39’s March 2026 meeting advanced eight ECMAScript proposals, including Temporal reaching Stage 4 and securing its place in the ECMAScript 2026 specification.
flops-utils
Advanced tools
This package/library contains common pieces of code for the FLOps project.
flops-utils provides FLOPs users with guiding abstract template classes for implementing their ML models and "proxy/place-holder" components to satisfy linters.
When FLOps users want to structure their ML code to match the structural requirements of FLOps they should do the following:
# data_manager.py
from flops_utils.ml_repo_building_blocks import load_dataset
from flops_utils.ml_repo_templates import DataManagerTemplate
class DataManager(DataManagerTemplate):
def __init__(self):
... = self._prepare_data()
def _prepare_data(self, partition_id=1) -> Any:
dataset = load_dataset()
...
return ...
def get_data(self) -> Tuple[Any, Any]:
return ...
# model_manager.py
import warnings
from typing import Any, Tuple
import numpy as np
from data_manager import DataManager
from flops_utils.ml_repo_templates import ModelManagerTemplate
from sklearn.linear_model import LogisticRegression
from sklearn.metrics import log_loss
class ModelManager(ModelManagerTemplate):
def __init__(self):
self.model = ...
self._set_init_params()
def _set_init_params(self) -> None:
...
def set_model_data(self) -> None:
... = DataManager().get_data()
def get_model(self) -> Any:
return self.model
def get_model_parameters(self) -> Any:
params = ...
return params
def set_model_parameters(self, parameters) -> None:
...
def fit_model(self) -> int:
return len(self.x_train)
def evaluate_model(self) -> Tuple[Any, Any, int]:
loss = ...
accuracy = ...
return loss, accuracy, len(self.x_test)
A tangible example implementation is available here.
One can also include and use these utilities by doing the following:
pip install --no-cache-dir git+https://github.com/oakestra/addon-FLOps.git@main#subdirectory=utils_library
FAQs
A library containing common utilities for FLOps
We found that flops-utils demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
TC39’s March 2026 meeting advanced eight ECMAScript proposals, including Temporal reaching Stage 4 and securing its place in the ECMAScript 2026 specification.

Research
/Security News
Since January 31, 2026, we identified at least 72 additional malicious Open VSX extensions, including transitive GlassWorm loader extensions targeting developers.

Research
Six malicious Packagist packages posing as OphimCMS themes contain trojanized jQuery that exfiltrates URLs, injects ads, and loads FUNNULL-linked redirects.