Skip to main content

Vaelchi

Vaelchi

Vaelchi is a pre-alpha Python package for time-series analysis, including preprocessing, clustering, and representative periods. Its API may change in later releases.

Installation

Python 3.12 or newer is required.

python -m pip install vaelchi

Features

  • Cluster consecutive periods with adjacency-constrained agglomerative hierarchical clustering (AHC).
  • Complete timestamped calendars and fill missing values using forward fill, backward fill, or time interpolation.
  • Select observed representative profiles and retain their original units.
  • Export profiles, chronological mappings, weights, and errors as plain data.

Quick start

from vaelchi import ahc

result = ahc(
    [10, 12, 10, 12, 20, 24, 20, 24],
    periods=2,
    period_length=2,
)
print(result.weights)  # [2 2]
payload = result.to_dict()
chronological_values = result.reconstruct()

Each positional input is one feature. Four two-timestep periods become two representative periods. Profiles retain input units; weights count the original periods assigned to each representative. The default, nearest_centroid, selects an observed member of each cluster. Pass selection="legacy" to reproduce the Vaelchi 0.1.0 default.

See the repository and installation guide, examples, and documentation. Report problems through GitHub Issues.

MIT license, copyright Rahul Kakodkar. Original author credits and numerical validation records are retained.

Metadata

Release files for vaelchi 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vaelchi 0.1.1
File Size Uploaded Provenance Actions
vaelchi-0.1.1.tar.gz 1.1 MB With provenance Details for vaelchi-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 1.1 MB

Release files / vaelchi-0.1.1.tar.gz

Download URL vaelchi-0.1.1.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
d1205b582ef7d76d6485d9e9a04248a480a343bb78d203e5e0598ff7440fe05f
BLAKE2b-256 checksum
How to use checksums
99460f38488e04967081cb88adabb46eb1bea5d3e4296e5a9d6601cca52fa3b1
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 20, 2026.

Transparency log

Release files / vaelchi-0.1.1-py3-none-any.whl

Download URL vaelchi-0.1.1-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
12b0eff1b2ee0f4a814f6db730d30fe77236c82c2e107f8d299dacbc28716c5d
BLAKE2b-256 checksum
How to use checksums
912f392c3815cd45429e1ea86cfc5de1840999040e0ffa3f6310adcd11d02848
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 20, 2026.

Transparency log

Security for vaelchi 0.1.1

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.

Select from 2 files

Attestation for vaelchi-0.1.1.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 20, 2026.

Transparency log

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