Software Details:
Version: 0.4.1
Upload Date: 11 May 15
Distribution Type: Freeware
Downloads: 9
dynts is a timeseries analysis and a timeseries domain specific language written in Python.
Timeserie Object
To create a timeseries object directly:
>>> from dynts import timeseries
>>> ts = timeseries('test')
>>> ts.type
'zoo'
>>> ts.name
'test'
>>> ts
TimeSeries:zoo:test
>>> str(ts)
'test'
DSL
At the core of the library there is a Domain-Specific-Language (DSL) dedicated to timeserie analysis and manipulation. DynTS makes timeserie manipulation easy and fun. This is a simple multiplication:
>>> import dynts
>>> e = dynts.parse('2*GOOG')
>>> e
2.0 * goog
>>> len(e)
2
>>> list(e)
[2.0, goog]
>>> ts = dynts.evaluate(e).unwind()
>>> ts
TimeSeries:zoo:2.0 * goog
>>> len(ts)
251
Requirements:
- Python
- NumPy
- PLY
- RPy2
- ccy
Comments not found