{"id":37619623,"url":"https://github.com/jamesabel/balsa","last_synced_at":"2026-01-16T10:36:59.107Z","repository":{"id":31854139,"uuid":"124993251","full_name":"jamesabel/balsa","owner":"jamesabel","description":"object-oriented python logging","archived":false,"fork":false,"pushed_at":"2025-01-03T06:43:30.000Z","size":2201,"stargazers_count":6,"open_issues_count":4,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-02T21:47:45.273Z","etag":null,"topics":["logging"],"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/jamesabel.png","metadata":{"files":{"readme":"readme.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-13T04:41:23.000Z","updated_at":"2025-01-03T06:43:34.000Z","dependencies_parsed_at":"2022-08-07T17:00:08.376Z","dependency_job_id":null,"html_url":"https://github.com/jamesabel/balsa","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jamesabel/balsa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesabel%2Fbalsa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesabel%2Fbalsa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesabel%2Fbalsa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesabel%2Fbalsa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamesabel","download_url":"https://codeload.github.com/jamesabel/balsa/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesabel%2Fbalsa/sbom","scorecard":{"id":503575,"data":{"date":"2025-08-11","repo":{"name":"github.com/jamesabel/balsa","commit":"e3c2bc033f1d4c3e11d161461ee0913a88be87f3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.2,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: pipCommand not pinned by hash: examples/make_venv.sh:3","Warn: pipCommand not pinned by hash: examples/make_venv.sh:4","Warn: pipCommand not pinned by hash: make_venv.sh:3","Warn: pipCommand not pinned by hash: make_venv.sh:4","Warn: pipCommand not pinned by hash: make_venv.sh:5","Info:   0 out of   5 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6","Warn: Project is vulnerable to: PYSEC-2023-117 / GHSA-mrwq-x4v8-fh7p","Warn: Project is vulnerable to: GHSA-29pr-6jr8-q5jm","Warn: Project is vulnerable to: GHSA-g92j-qhmh-64v2","Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T22:39:56.520Z","repository_id":31854139,"created_at":"2025-08-19T22:39:56.520Z","updated_at":"2025-08-19T22:39:56.520Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478050,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"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":["logging"],"created_at":"2026-01-16T10:36:59.015Z","updated_at":"2026-01-16T10:36:59.093Z","avatar_url":"https://github.com/jamesabel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. this file is kept in the docs\\source directory and COPIED to the project root directory.\n.. DO NOT edit the copy in the project root directory.\n\nbalsa (logging utility)\n=======================\n\nSimple to use package that sets up Python logging.  With just a few lines of code get well formatted logging to the\nconsole, log file, popup windows and exception services.\n\nHere is a short `Presentation on Balsa \u003chttps://www.abel.co/balsa_lightening_talk.pdf\u003e`_.\n\nInstallation\n============\n\n.. code-block:: console\n\n    pip install balsa\n\nMajor Features\n==============\n- Simple to use.  Add full-featured Python logging in just a few lines of code.\n- Sane default log levels.  Single `verbose` flag.  (All levels can be overridden if desired.)\n- Both console (stdout) and GUI (popup window) support.\n- Log file support. Uses `appdirs` for log file paths.\n- Structured logging via `yasf.sf()` (optional - you can still use simple strings).\n- `Sentry \u003chttp://www.sentry.io/\u003e`_ support. Just provide your `Sentry DSN \u003chttps://docs.sentry.io/quickstart/#configure-the-dsn\u003e`_.\n- Informative log message formatting (or you can change it if you like).\n- ISO 8601 timestamp format (with fractional seconds).\n- Cross platform (Windows, Linux, MacOS).  Pure Python.\n- Multiprocessing support.\n- `AWS CloudWatch logs \u003chttps://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html/\u003e`_ support.\n  Structured logs enable `CloudWatch Logs Insights`.\n\nSimple Example\n==============\n\n.. code:: python\n\n    from balsa import get_logger, Balsa\n\n    application_name = 'example'\n\n    log = get_logger(application_name)\n\n\n    def main():\n        balsa = Balsa(application_name, 'james abel')\n        balsa.init_logger()\n        log.error('my error example')\n\n\nThis will yield output of this form:\n\n.. code-block:: console\n\n    2021-10-24T10:49:04.150790-07:00 - example - balsa_simple_example.py - 12 - main - ERROR - my error example\n\nWhere did the name come from?\n=============================\nBalsa lumber is very soft and light, with a coarse, open grain.\nThe Balsa package is light weight, malleable, and open source.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesabel%2Fbalsa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamesabel%2Fbalsa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesabel%2Fbalsa/lists"}