signal-scope
A tiny (<200 lines) Python tool for analyzing time-series data:
- Trend strength
- Volatility
- Drift detection
- Regime shifts
- Anomaly scoring
- Optional matplotlib visualizations
Perfect for finance, forecasting, sensor data, and fast exploratory analysis.
Install
pip install signal-scope
Usage
from signal_scope.core import analyze_ts
result = analyze_ts("my_data.csv", col="price", plot=True)
print(result)
Expected output:
{
"trend": 0.87,
"volatility": 0.032,
"drift": -0.12,
"turning_points": 5,
"anomaly_score": 0.014
}
Input format
CSV must contain a numeric column, e.g.:
timestamp,price
2024-01-01,120.3
2024-01-02,121.0
...
Programmatic usage
import pandas as pd
from signal_scope.metrics import volatility
df = pd.read_csv("my_data.csv")
print(volatility(df["price"]))
Plotting
Enable visual output:
analyze_ts("my_data.csv", col="price", plot=True)
MIT License.
Metadata
Release files for signal-scope 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 | |
|---|---|---|---|---|
| signal_scope-0.1.0.tar.gz | 3.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| signal_scope-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.6 kB
Release files / signal_scope-0.1.0.tar.gz
| Download URL | signal_scope-0.1.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ff816ed82176523b066b3958ab2ca8fe7ff1fb13c9a0df67eea71c51db29c42
|
|
BLAKE2b-256 checksum How to use checksums |
24e67f09f4e7988013935d60f593afc9a84ef57a5d9f1b11e4e152a395e4837f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / signal_scope-0.1.0-py3-none-any.whl
| Download URL | signal_scope-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c1848f5ae25906d10183fab21adf49d315f55fd9d26b9d8493a05825646224df
|
|
BLAKE2b-256 checksum How to use checksums |
4412a956eabc68c213bba22fe5d8e1b772a33fd7bd38128311c93b2149e433ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for signal-scope 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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.