direl-ts-tool-kit 0.4.2__py3-none-any.whl → 0.4.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- direl_ts_tool_kit-0.4.3.dist-info/METADATA +53 -0
- {direl_ts_tool_kit-0.4.2.dist-info → direl_ts_tool_kit-0.4.3.dist-info}/RECORD +5 -5
- direl_ts_tool_kit-0.4.2.dist-info/METADATA +0 -34
- {direl_ts_tool_kit-0.4.2.dist-info → direl_ts_tool_kit-0.4.3.dist-info}/WHEEL +0 -0
- {direl_ts_tool_kit-0.4.2.dist-info → direl_ts_tool_kit-0.4.3.dist-info}/licenses/LICENCE +0 -0
- {direl_ts_tool_kit-0.4.2.dist-info → direl_ts_tool_kit-0.4.3.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: direl-ts-tool-kit
|
|
3
|
+
Version: 0.4.3
|
|
4
|
+
Summary: A toolbox for time series analysis and visualization.
|
|
5
|
+
Home-page: https://gitlab.com/direl/direl_tool_kit
|
|
6
|
+
Author: Diego Restrepo-Leal
|
|
7
|
+
Author-email: diegorestrepoleal@gmail.com
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Classifier: Intended Audience :: Science/Research
|
|
13
|
+
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
14
|
+
Requires-Python: >=3.8
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
License-File: LICENCE
|
|
17
|
+
Requires-Dist: pandas>=1.0.0
|
|
18
|
+
Requires-Dist: numpy>=1.18.0
|
|
19
|
+
Requires-Dist: matplotlib>=3.0.0
|
|
20
|
+
Requires-Dist: openpyxl
|
|
21
|
+
Dynamic: author
|
|
22
|
+
Dynamic: author-email
|
|
23
|
+
Dynamic: classifier
|
|
24
|
+
Dynamic: description
|
|
25
|
+
Dynamic: description-content-type
|
|
26
|
+
Dynamic: home-page
|
|
27
|
+
Dynamic: license-file
|
|
28
|
+
Dynamic: requires-dist
|
|
29
|
+
Dynamic: requires-python
|
|
30
|
+
Dynamic: summary
|
|
31
|
+
|
|
32
|
+
# direl-ts-tool-kit: A Toolbox for Time Series Analysis and Visualization
|
|
33
|
+
A lightweight Python library developed to streamline common tasks in time series processing, including data preparation,
|
|
34
|
+
visualization with a consistent aesthetic style, and handling irregular indices.
|
|
35
|
+
|
|
36
|
+
## Key features and functions
|
|
37
|
+
|
|
38
|
+
The library provides the following key functionalities, primarily centered around data preparation and plotting.
|
|
39
|
+
|
|
40
|
+
### Data preparation and index management
|
|
41
|
+
|
|
42
|
+
| Function | Description |
|
|
43
|
+
|---------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
44
|
+
| parse_datetime_index(df_raw, date_column, format) | Converts a specified column (defaults to "date") from a raw DataFrame into a proper DatetimeIndex. It handles specific format strings to ensure correct date parsing, and returns the cleaned, indexed DataFrame. |
|
|
45
|
+
| generate_dates(df_ts, freq) | Creates a complete and regular pd.DatetimeIndex spanning from the first to the last date found in the input DataFrame's index. This is primarily used to define a target index for reindexing operations. |
|
|
46
|
+
| reindex_and_aggregate(df_ts, column_name) | Aligns an irregularly indexed time series DataFrame to a regular frequency. It aggregates data within each time step (e.g., calculates the mean) and fills any resulting time gaps with NaN values. |
|
|
47
|
+
|
|
48
|
+
### Visualization and styling
|
|
49
|
+
|
|
50
|
+
| Function / Object | Description |
|
|
51
|
+
|----------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
52
|
+
| plot_time_series(df_ts, variable, ...) | Generates a customizable time series plot using Matplotlib. It automatically handles x-axis localization based on time_unit (Year, Month, etc.), applies a consistent aesthetic style, and supports automatic formatting of the Y-axis label. |
|
|
53
|
+
| paper_colors (Dictionary) | A global dictionary containing a predefined palette of high-contrast, professional color codes (hex values). These color keys (e.g., "BLUE_LINES", "ORANGE_BARS") are used to ensure visual consistency across all generated plots. |
|
|
@@ -4,8 +4,8 @@ direl_ts_tool_kit/plot/plot_style.py,sha256=vhzcDa3LzgkHuy-GnliofGZ8TDntkm3_1C5k
|
|
|
4
4
|
direl_ts_tool_kit/plot/plot_ts.py,sha256=OPmdaXGUv_oNaXQ4epiPX1fKTtxyaWuoGfHPa5if96U,5008
|
|
5
5
|
direl_ts_tool_kit/utilities/__init__.py,sha256=jMtxYZUtwlhgI99sxe_8MMzsDnxtbTP7Ivh9tUOeIwQ,25
|
|
6
6
|
direl_ts_tool_kit/utilities/data_prep.py,sha256=rEBRr4SDc2oAlpHB3_cjjn-u0JSAwhzVxNEQ7pQCRc4,5900
|
|
7
|
-
direl_ts_tool_kit-0.4.
|
|
8
|
-
direl_ts_tool_kit-0.4.
|
|
9
|
-
direl_ts_tool_kit-0.4.
|
|
10
|
-
direl_ts_tool_kit-0.4.
|
|
11
|
-
direl_ts_tool_kit-0.4.
|
|
7
|
+
direl_ts_tool_kit-0.4.3.dist-info/licenses/LICENCE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
|
+
direl_ts_tool_kit-0.4.3.dist-info/METADATA,sha256=qi8WsvpECV59krYeFjl_c4ENbghG0T4ysv9O0Dm6Q1c,3931
|
|
9
|
+
direl_ts_tool_kit-0.4.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
10
|
+
direl_ts_tool_kit-0.4.3.dist-info/top_level.txt,sha256=vMCRudnGnsdRg_6fUftnG8PF2Y1m0bjBDMf3pCAp6bc,18
|
|
11
|
+
direl_ts_tool_kit-0.4.3.dist-info/RECORD,,
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: direl-ts-tool-kit
|
|
3
|
-
Version: 0.4.2
|
|
4
|
-
Summary: A toolbox for time series analysis and visualization.
|
|
5
|
-
Home-page: https://gitlab.com/direl/direl_tool_kit
|
|
6
|
-
Author: Diego Restrepo-Leal
|
|
7
|
-
Author-email: diegorestrepoleal@gmail.com
|
|
8
|
-
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
10
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
-
Classifier: Operating System :: OS Independent
|
|
12
|
-
Classifier: Intended Audience :: Science/Research
|
|
13
|
-
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
14
|
-
Requires-Python: >=3.8
|
|
15
|
-
Description-Content-Type: text/markdown
|
|
16
|
-
License-File: LICENCE
|
|
17
|
-
Requires-Dist: pandas>=1.0.0
|
|
18
|
-
Requires-Dist: numpy>=1.18.0
|
|
19
|
-
Requires-Dist: matplotlib>=3.0.0
|
|
20
|
-
Requires-Dist: openpyxl
|
|
21
|
-
Dynamic: author
|
|
22
|
-
Dynamic: author-email
|
|
23
|
-
Dynamic: classifier
|
|
24
|
-
Dynamic: description
|
|
25
|
-
Dynamic: description-content-type
|
|
26
|
-
Dynamic: home-page
|
|
27
|
-
Dynamic: license-file
|
|
28
|
-
Dynamic: requires-dist
|
|
29
|
-
Dynamic: requires-python
|
|
30
|
-
Dynamic: summary
|
|
31
|
-
|
|
32
|
-
# direl-ts-tool-kit: A Toolbox for Time Series Analysis and Visualization
|
|
33
|
-
A lightweight Python library developed to streamline common tasks in time series processing, including data preparation,
|
|
34
|
-
visualization with a consistent aesthetic style, and handling irregular indices.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|