Vaelchi
Vaelchi is a standalone Python package for time-series preprocessing, clustering, and representative periods. Version 0.1.0 is the first pre-alpha release; the 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,
selection="nearest_centroid",
)
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 selection policy is
legacy; this example explicitly selects nearest_centroid to choose an
observed member of each cluster.
See the repository and installation guide, examples, and documentation source. 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.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 |
|---|---|---|---|---|
| vaelchi-0.1.0.tar.gz | 933.0 kB | With provenance | Details for vaelchi-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vaelchi-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for vaelchi-0.1.0-py3-none-any.whl |
Total release size: 946.0 kB
Release files / vaelchi-0.1.0.tar.gz
| Download URL | vaelchi-0.1.0.tar.gz |
|---|---|
| Size | 933.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00d142457dd8065a823d2c3c9f8259dbbf2f2fa548ef24a09f0d47408d6eb68f
|
|
BLAKE2b-256 checksum How to use checksums |
3c1f378c75e2b0dae4ea17f38228839e5af633f8baea7718d44c670c2de13e76
|
| 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 17, 2026.
Transparency logRelease files / vaelchi-0.1.0-py3-none-any.whl
| Download URL | vaelchi-0.1.0-py3-none-any.whl |
|---|---|
| Size | 13.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0bbb8bd265843a1c2d825ac8ed724420f4b4e2685fd3265115a472a743278869
|
|
BLAKE2b-256 checksum How to use checksums |
d8baef1e7ec73d5f34d64f001841387568aa9f6dddeef1dfab73ff9ebf4bd2c7
|
| 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 17, 2026.
Transparency logSecurity for vaelchi 0.1.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 vaelchi-0.1.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 17, 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.