Fast optimal matching of items for source-sharing derivative time series.
from ssdts_matching import dynamic_timestamp_match
dynamic_timestamp_match(timestamp1, timestamps2, delta=20)
1 Installation
Install ssdts_matching with:
pip install ssdts_matching
2 Features
Pure Python.
Compatible with Python 3.5+.
Dependencies: * numpy * SortedContainers
3 Use
You can get a matching of two timestamp series with
from ssdts_matching import dynamic_timestamp_match
dynamic_timestamp_match(timestamp1, timestamps2, delta=20)
4 Contributing
Package author and current maintainer is Shay Palachy (shay.palachy@gmail.com); You are more than welcome to approach him for help. Contributions are very welcomed.
4.1 Installing for development
Clone:
git clone git@github.com:shaypal5/ssdts_matching.git
Install in development mode with test dependencies:
cd ssdts_matching
pip install -e ".[test]"
4.2 Running the tests
To run the tests, use:
python -m pytest --cov=ssdts_matching
4.3 Adding documentation
This project is documented using the numpy docstring conventions, which were chosen as they are perhaps the most widely-spread conventions that are both supported by common tools such as Sphinx and result in human-readable docstrings (in my personal opinion, of course). When documenting code you add to this project, please follow these conventions.
5 Credits
Created by Shay Palachy (shay.palachy@gmail.com).
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ssdts_matching-0.0.2.tar.gz.
File metadata
- Download URL: ssdts_matching-0.0.2.tar.gz
- Upload date:
- Size: 21.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b93a3e9a3e0ee4a02fd8355e1b6fc6a8a2ae85f7625c18c7cf2ad771fa001bc
|
|
| MD5 |
2ad945f9f570f87684e6fb2a66852dfe
|
|
| BLAKE2b-256 |
4a5911f816beae88e303b7d1dbb11318b556602a98d21322e424c03ec9b763c2
|