-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from numbworks/v4.0.0
v4.0.0
- Loading branch information
Showing
11 changed files
with
4,753 additions
and
2,618 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,11 +8,11 @@ RUN pip install pandas==2.2.3 | |
RUN pip install requests==2.32.3 | ||
RUN pip install tabulate==0.9.0 | ||
RUN pip install 'git+https://github.com/numbworks/[email protected]#egg=nwshared&subdirectory=src' | ||
RUN pip install 'git+https://github.com/numbworks/[email protected]#egg=nwpackageversions&subdirectory=src' | ||
|
||
# JUPYTER NOTEBOOK | ||
RUN pip install ipykernel==6.29.5 | ||
RUN pip install jupyter==1.1.0 | ||
RUN pip install 'git+https://github.com/numbworks/[email protected]#egg=nwpackageversions&subdirectory=src' | ||
|
||
# UNIT TESTING | ||
RUN pip install coverage==7.6.4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ Contact: [email protected] | |
|
||
From the documentation: | ||
|
||
> nwtimetracking is a Jupyter Notebook designed to analyze the Excel file I use to annotate the durations of all my sessions of extra work and continuos learning, so that I can run analyses on them. This software is born to overcome the lack of support for durations (timedeltas) in Excel. | ||
> `nwtimetracking` is an application designed to run automated data analysis tasks on `Time Tracking.xlsx`. This file is the one I use to annotate the durations of all my sessions of extra work and continuos learning. This application is born to overcome the lack of support for durations (timedeltas) in Excel. | ||
## Getting started | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
https://img.shields.io/badge/coverage-93.0%25-green | ||
https://img.shields.io/badge/coverage-94.0%25-green |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,12 +15,13 @@ Contact: [email protected] | |
| 2024-10-01 | numbworks | Updated to v3.7.0. | | ||
| 2024-10-28 | numbworks | Updated to v3.8.0. | | ||
| 2024-12-01 | numbworks | Updated to v3.9.0. | | ||
| 2024-12-05 | numbworks | Updated to v4.0.0. | | ||
|
||
## Introduction | ||
|
||
`nwtimetracking` is a `Jupyter Notebook` designed to analyze the Excel file I use to annotate the durations of all my sessions of extra work and continuos learning, so that I can run analyses on them. | ||
`nwtimetracking` is an application designed to run automated data analysis tasks on `Time Tracking.xlsx`. | ||
|
||
This software is born to overcome the lack of support for durations (timedeltas) in Excel. | ||
This file is the one I use to annotate the durations of all my sessions of extra work and continuos learning. This application is born to overcome the lack of support for durations (timedeltas) in Excel. | ||
|
||
This project may not be useful for many (not generic enough), but I decided to upload it to `Github` anyway, in order to showcase my way of working when I face similar data analysis tasks and I decide to tackle them with `Python` and `Jupyter Notebook`. | ||
|
||
|
@@ -138,21 +139,23 @@ The avalaible target names are: | |
|---|---| | ||
| type-verbose | Runs a type verification task and logs everything. | | ||
| coverage-verbose | Runs a unit test coverage calculation task and logs the % per class. | | ||
| tryinstall-verbose | Simulates a "pip install" and logs everything. | | ||
| all-concise | Runs a batch of verification tasks and logs one summary line for each of them. | | ||
The expected outcome for `all-concise` is: | ||
``` | ||
MODULE_NAME: nwtimetracking | ||
MODULE_VERSION: 3.9.0 | ||
MODULE_VERSION: 4.0.0 | ||
COVERAGE_THRESHOLD: 70% | ||
[WARNING] type-concise: not passed! '1' error(s) found! | ||
[WARNING] changelog-concise: 'CHANGELOG' not updated to current version! | ||
[OK] type-concise: passed! | ||
[OK] changelog-concise: 'CHANGELOG' updated to current version! | ||
[OK] setup-concise: 'setup.py' updated to current version! | ||
[OK] coverage-concise: unit test coverage >= 70%. | ||
[OK] tryinstall-concise: installation process works. | ||
``` | ||
Considering the old-fashioned syntax adopted by `make`, here a summary of its less intuitive aspects: | ||
Considering the old-fashioned syntax adopted by both `make` and `bash`, here a summary of its less intuitive aspects: | ||
| Aspect | Description | | ||
|---|---| | ||
|
@@ -161,6 +164,7 @@ Considering the old-fashioned syntax adopted by `make`, here a summary of its le | |
| `@` | By default, `make` logs all the commands included in the target. The `@` disables this behaviour. | | ||
| `$$` | Necessary to escape `$`. | | ||
| `$@` | Variable that stores the target name. | | ||
| `if [[ ... ]]` | Double square brackets to enable pattern matching. | | ||
## Known Issues - nwshared | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.