joweich / chat-miner

Parsers and visualizations for chats
MIT License
567 stars 56 forks source link

Added cli functionality #106

Closed Exterminator11 closed 1 year ago

Exterminator11 commented 1 year ago

Description: This PR strives to add new command line utility to the chat-miner project, this cli supports the conversion of chats to data frames that are eventually converted to csv files.

Changes Made:

Screenshots:

Screenshot 2023-09-10 at 8 40 03 PM Screenshot 2023-09-10 at 8 40 15 PM

Related issues:

105 : CLI to parse into csv files

Additional notes: I'm open to feedback and further improvements. Please let me know if any changes are needed.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage has no change and project coverage change: -10.36% :warning:

Comparison is base (8d0d7ad) 71.58% compared to head (1d599e7) 61.23%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #106 +/- ## =========================================== - Coverage 71.58% 61.23% -10.36% =========================================== Files 1 2 +1 Lines 278 325 +47 =========================================== Hits 199 199 - Misses 79 126 +47 ``` | [Flag](https://app.codecov.io/gh/joweich/chat-miner/pull/106/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jonas+Weich) | Coverage Ξ” | | |---|---|---| | [unittests](https://app.codecov.io/gh/joweich/chat-miner/pull/106/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jonas+Weich) | `61.23% <0.00%> (-10.36%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jonas+Weich#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files Changed](https://app.codecov.io/gh/joweich/chat-miner/pull/106?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jonas+Weich) | Coverage Ξ” | | |---|---|---| | [chatminer/cli.py](https://app.codecov.io/gh/joweich/chat-miner/pull/106?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jonas+Weich#diff-Y2hhdG1pbmVyL2NsaS5weQ==) | `0.00% <0.00%> (ΓΈ)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

joweich commented 1 year ago

@Exterminator11 looks great, thank you! :rocket: I quickly fixed the formatting to align with black/isort and removed the comments that are self-explanatory. Congrats on your very first open source contribution! :tada:

Exterminator11 commented 1 year ago

Thank you for the kind words! πŸš€ I'm glad I could help. Excited to be part of the open source community! πŸŽ‰.