{"id":21810448,"url":"https://github.com/suundumused/pretty-logger","last_synced_at":"2026-05-16T21:32:17.231Z","repository":{"id":220828961,"uuid":"752511105","full_name":"Suundumused/pretty-logger","owner":"Suundumused","description":"A simple custom python logger for any project.","archived":false,"fork":false,"pushed_at":"2025-08-28T01:55:23.000Z","size":153,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-28T09:05:44.180Z","etag":null,"topics":["console","console-app","console-application","console-color","console-log","consoleapp","log","logger","logging","logs","print","printer","printing","python","python-script","python3","terminal","terminal-app","terminal-based"],"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/Suundumused.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-04T03:42:22.000Z","updated_at":"2025-08-28T01:55:26.000Z","dependencies_parsed_at":"2024-03-09T01:38:57.308Z","dependency_job_id":"d794f2df-8918-46fe-abcf-7989411157f7","html_url":"https://github.com/Suundumused/pretty-logger","commit_stats":null,"previous_names":["suundumused/pretty-logger"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/Suundumused/pretty-logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suundumused%2Fpretty-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suundumused%2Fpretty-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suundumused%2Fpretty-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suundumused%2Fpretty-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Suundumused","download_url":"https://codeload.github.com/Suundumused/pretty-logger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suundumused%2Fpretty-logger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33119379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"ssl_error","status_checked_at":"2026-05-16T18:38:29.903Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["console","console-app","console-application","console-color","console-log","consoleapp","log","logger","logging","logs","print","printer","printing","python","python-script","python3","terminal","terminal-app","terminal-based"],"created_at":"2024-11-27T13:35:41.633Z","updated_at":"2026-05-16T21:32:17.226Z","avatar_url":"https://github.com/Suundumused.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# pretty-logger\n### A simple, custom print and file logger for any project.\n![Alt text](https://github.com/Suundumused/pretty-logger/blob/main/README_assets/111462.png?raw=true)\n---\n### Requirements\n**Minimum Version**: `python 3.6... ...`\n\n---\n### Usage\n**Importing**\n\n    from  custom_console.logger  import  type_terminal\n---\n**Instancing**\n\n    console  =  type_terminal('SOFTWARE NAME', 'Log Output Folder', speed=0.998, time_format=\"%Y-%m-%d %H:%M:%S\", pointer_char='⚮')\n\n    `pointer_char:str='⚮'` Refers to the character that will be used as the animated console cursor.\n\n - You can instantiate it at the beginning of the file after import and use it in any class/function.\n\n---\n**Starting Pointer**\n\n    console.pointer()\n\n - It's the animated pointer that is shown in the console while your program is still running, it doesn't interfere with the code functioning.\n - Your project must have somewhat latent code or have recursion to be displayed.\n---\n### Print\n    console.info('Process terminated by machine user.')\n**Available colour options:** \n - '`ok`': GREEN, \n - '`info`': WHITE, \n - '`warning`': YELLOW\n - '`error`': RED\n---\n\n    console.error('some error....', write_file_path = True)\n    console.info(f'single_line_{i}%', Flush = True)\n\n - `write_file_path = True` It will write a new line to the log file with exactly the same information as the print except the colors.\n - `Flush = True`  It will print in just one line for every hit.\n---\n### Example\n\n    if __name__ == \"__main__\":\n        console  =  type_terminal('program', 'E:/PyProjs/New folder', speed=0.998)\n        console.pointer()\n\n        console.ok('Something to show...') #simple print, without writing to the log file and without being on one line.\n        time.sleep(1)\n\n        i  =  0\n        while  i  \u003c=  5:\n            console.info(f'Progress: {i}%', Flush  =  True) #print in just one line.\n            i+=1\n            time.sleep(0.33)\n\n        console.error('Any ERROR OCCURRED to LOG file...', write_file_path  =  True) #printing and writing to the log.\n        console.warning('Any WARNING... OCCURRED to log file...')\n        \n        console.pointer()\n        time.sleep(3) \n        #anything else...\n---\n### Log File result\n    | 2024-03-04 22:41:15 | :: | ERROR | :: | Any ERROR OCCURRED to LOG file...\n    | 2024-03-04 22:41:45 | :: | ERROR | :: | Any ERROR OCCURRED to LOG file...\n    | 2024-03-04 22:41:55 | :: | ERROR | :: | Any ERROR OCCURRED to LOG file...\n    | 2024-03-04 22:43:17 | :: | ERROR | :: | Any ERROR OCCURRED to LOG file...\n    | 2024-03-04 22:43:26 | :: | ERROR | :: | Any ERROR OCCURRED to LOG file...\n---\n\n#### Bitcoin :: **bc1qa0xzyhcmcsuvppttmylzygwwfaken5jturhgek**\n\n#### Ethereum :: **0x2fA70716D1Ae2f4994Be8e249b609056D72Ce80a** \n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuundumused%2Fpretty-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuundumused%2Fpretty-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuundumused%2Fpretty-logger/lists"}