{"id":13594007,"url":"https://github.com/uysalserkan/Logges","last_synced_at":"2025-04-09T05:32:44.944Z","repository":{"id":54348900,"uuid":"504177128","full_name":"uysalserkan/Logges","owner":"uysalserkan","description":"An alternative logging tool working on Python, also have different functions.","archived":false,"fork":false,"pushed_at":"2025-03-27T02:09:28.000Z","size":514,"stargazers_count":21,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T05:33:16.539Z","etag":null,"topics":["log","logges","logging","python","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uysalserkan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-16T13:58:56.000Z","updated_at":"2024-10-24T15:37:54.000Z","dependencies_parsed_at":"2024-04-25T03:31:47.305Z","dependency_job_id":"7854196b-abfd-471e-87bd-f4ca7c05e2d0","html_url":"https://github.com/uysalserkan/Logges","commit_stats":{"total_commits":178,"total_committers":5,"mean_commits":35.6,"dds":0.5786516853932584,"last_synced_commit":"9d139adbcaa43e0eface91c4581c5d66592578b4"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uysalserkan%2FLogges","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uysalserkan%2FLogges/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uysalserkan%2FLogges/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uysalserkan%2FLogges/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uysalserkan","download_url":"https://codeload.github.com/uysalserkan/Logges/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247987056,"owners_count":21028891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["log","logges","logging","python","python3"],"created_at":"2024-08-01T16:01:27.516Z","updated_at":"2025-04-09T05:32:41.900Z","avatar_url":"https://github.com/uysalserkan.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"```txt\nLLLLLLLLLLL                                                                                            SSSSSSSSSSSSSSS\nL:::::::::L                                                                                          SS:::::::::::::::S\nL:::::::::L                                                                                         S:::::SSSSSS::::::S\nLL:::::::LL                                                                                         S:::::S     SSSSSSS\n  L:::::L                  ooooooooooo      ggggggggg   ggggg   ggggggggg   ggggg    eeeeeeeeeeee   S:::::S\n  L:::::L                oo:::::::::::oo   g:::::::::ggg::::g  g:::::::::ggg::::g  ee::::::::::::ee S:::::S\n  L:::::L               o:::::::::::::::o g:::::::::::::::::g g:::::::::::::::::g e::::::eeeee:::::eeS::::SSSS\n  L:::::L               o:::::ooooo:::::og::::::ggggg::::::ggg::::::ggggg::::::gge::::::e     e:::::e SS::::::SSSSS\n  L:::::L               o::::o     o::::og:::::g     g:::::g g:::::g     g:::::g e:::::::eeeee::::::e   SSS::::::::SS\n  L:::::L               o::::o     o::::og:::::g     g:::::g g:::::g     g:::::g e:::::::::::::::::e       SSSSSS::::S\n  L:::::L               o::::o     o::::og:::::g     g:::::g g:::::g     g:::::g e::::::eeeeeeeeeee             S:::::S\n  L:::::L         LLLLLLo::::o     o::::og::::::g    g:::::g g::::::g    g:::::g e:::::::e                      S:::::S\nLL:::::::LLLLLLLLL:::::Lo:::::ooooo:::::og:::::::ggggg:::::g g:::::::ggggg:::::g e::::::::e         SSSSSSS     S:::::S\nL::::::::::::::::::::::Lo:::::::::::::::o g::::::::::::::::g  g::::::::::::::::g  e::::::::eeeeeeee S::::::SSSSSS:::::S\nL::::::::::::::::::::::L oo:::::::::::oo   gg::::::::::::::g   gg::::::::::::::g   ee:::::::::::::e S:::::::::::::::SS\nLLLLLLLLLLLLLLLLLLLLLLLL   ooooooooooo       gggggggg::::::g     gggggggg::::::g     eeeeeeeeeeeeee  SSSSSSSSSSSSSSS\n                                                     g:::::g             g:::::g\n                                         gggggg      g:::::g gggggg      g:::::g\n                                         g:::::gg   gg:::::g g:::::gg   gg:::::g\n                                          g::::::ggg:::::::g  g::::::ggg:::::::g\n                                           gg:::::::::::::g    gg:::::::::::::g\n                                             ggg::::::ggg        ggg::::::ggg\n                                                gggggg              gggggg\n\n```\n\n![PyPI - Downloads](https://img.shields.io/pypi/dm/logges?label=Downloads\u0026logo=monthly_download\u0026style=flat-square) ![Scrutinizer code quality (GitHub/Bitbucket)](https://img.shields.io/scrutinizer/quality/b/uysalserkan/logges/main?style=flat-square) ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/uysalserkan/logges?style=flat-square) ![Scrutinizer coverage (GitHub/BitBucket)](https://img.shields.io/scrutinizer/coverage/b/uysalserkan/logges/main?style=flat-square) ![GitHub](https://img.shields.io/github/license/uysalserkan/logges?style=flat-square) ![GitHub forks](https://img.shields.io/github/forks/uysalserkan/logges?style=social) ![GitHub Repo stars](https://img.shields.io/github/stars/uysalserkan/logges?style=social) ![PyPI](https://img.shields.io/pypi/v/logges?style=flat-square)\n\n- [About :speaker:](#about-speaker)\n- [Installation :open_file_folder:](#installation-open_file_folder)\n- [Usage :memo:](#usage-memo)\n  - [Library :closed_book:](#library-closed_book)\n  - [CLI :clipboard:](#cli-clipboard)\n- [Encountered Bugs :ghost:](#encountered-bugs-ghost)\n- [Contact :tophat:](#contact-tophat)\n\n## About :speaker:\n\nIf you want a different approach than following your logs by typing print between codes or do not want to use `logging` library, here is **Logges**.\n\nWith **Logges**, you can follow your logs that you want to follow, whether you print them on the screen or not, and automate your log outputs by making these log outputs as **LOG**, **PDF**, **MD** or **Zip**ped file.\n\n## Installation :open_file_folder:\n\nYou can install Logges with typing `pip install Logges` on Python package managers/terminal. (_Docker file will be here as soon as possible_)\n\n## Usage :memo:\n\n### Library :closed_book:\n\n![console image](/imgs/img_2.png)\n\n- :pushpin: Import package as `from Logges import Logges`\n- :pushpin: Firstly, Optional parameter is `Logges.setup()`. You can name your log file with `logname` parameter and print logs with `status` parameters (Default is `Logges.LogStatus.ERROR`).\n- :pushpin: We have 5 log type under LogStatus enums;\n  - :gem: LogStatus.DEBUG\n  - :gem: LogStatus.INFO\n  - :gem: LogStatus.WARNING\n  - :gem: LogStatus.ERROR\n  - :gem: LogStatus.CRITICAL\n- :pushpin: Before add logs, you can ignore specific files and directories on your logs with using `ignore_files()` method.\n- :pushpin: You can check in entered logs messages with `in_log()` method with `keyword` parameter. It returns `True` or `False` if keywords in log messages.\n- :pushpin: Finally, you can add your logs with `log()` method with specific parameters.\n  - :heavy_plus_sign: `msg` parameter defines your messages, alsa could be a variable which can be print.\n  - :heavy_plus_sign: `status` parameter defines your log type. Default is **DEBUG** but you can change it with LogStatus enums.\n  - :heavy_plus_sign: `print_log` default is `False`, if your status is equal or upper than `status` of `setup` parameter, it will also print if you set it `False`.\n- :pushpin: Also you can export your logs as `log`, `md`, `pdf` or `zip` files, which is exported as `md, pdf, log`.\n\nCheck our [example](examples) scripts to understand how to use.\n\n### CLI :clipboard:\n\n![console image](/imgs/img_1.png)\n\n- :pushpin: Also we have an CLI tool about log files.\n- :pushpin: `logges` is main command for listing, showing, searching operations.\n- :pushpin: `logges list` has 2 optional parameter for listing log files.\n  - :gem: `--max-date` is filtering logs with maximum date.\n  - :gem: `--min-date` is filtering logs with minimum date.\n  - :gem: Please enter your date format as _YYYY-MM-DD_\n- :pushpin: `logges show` is showing entered filename.\n  - :gem: `-f`/`--file` parameter is defines the log filename which is showing on `list` command or local file.\n  - :gem: `--local_file` parameter default is `False`, if you want to see your local log file, you need to set this parameter `True`.\n- :pushpin: `logges search` is filtering command in all log files.\n  - :gem: `--max-date` is filtering logs with maximum date.\n  - :gem: `--min-date` is filtering logs with minimum date.\n  - :gem: `-sen`/`--sentences` is REQUIRED parameter for filtering. It search keywords (seperated with `,`) in log messages.\n  - :gem: `-fun`/`--functions` is filtering functions on logs.\n  - :gem: `-sta`/`--status` is filtering status on log.\n  - :gem: `-fi`/`--files` is filtering executed files in log file.\n  - :gem: `-e`/`--export` if you want to export result, set this parameter `True`.\n  - :gem: `--export_name`, if you set `--export=True`, it defines exported file name.\n\n## Encountered Bugs :ghost:\n\nIf you find any bug or want to a feature nice-to-have, do not hesitate open an [**issue page**](https://github.com/uysalserkan/Logges/issues/new).\n\n## Contact :tophat:\n\n[Serkan UYSAL](https://github.com/uysalserkan) - [Özkan UYSAL](https://github.com/ozkanuysal)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuysalserkan%2FLogges","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuysalserkan%2FLogges","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuysalserkan%2FLogges/lists"}