API
Canonical import
from detime import DecompositionConfig, DecompResult, MethodRegistry, decompose
The preferred import is detime. The tsdecomp import path remains available
only as a deprecated alias.
Public objects
DecompositionConfig
Important fields:
methodparamsbackendspeed_moden_jobsprofiledevicechannel_names
DecompResult
Every result exposes:
trendseasonresidualcomponentsmeta
MethodRegistry
Useful entrypoints:
MethodRegistry.list_methods()MethodRegistry.list_catalog()MethodRegistry.get_metadata(method_name)MethodRegistry.get(method_name)MethodRegistry.register(method_name)
Top-level helpers
decompose(series, config)native_extension_available()native_capabilities()
Machine-facing helpers
- packaged JSON schemas under
src/detime/schema_assets/ detime schema --name config|result|meta|method-registrydetime recommend --length ... --channels ...python -m detime.mcp.server
Run outputs support three serialization modes:
fullsummarymeta
Removed surface
The main package no longer exposes:
bench_configleaderboard- benchmark-derived methods in the main package
Those now belong to the companion benchmark repository
systems-mechanobiology/de-time-bench.
CLI
Supported commands:
detime rundetime batchdetime profiledetime versiondetime schemadetime recommend