{"id":18838653,"url":"https://github.com/beeware/std-nslog","last_synced_at":"2025-09-03T12:36:49.306Z","repository":{"id":43081897,"uuid":"464312215","full_name":"beeware/std-nslog","owner":"beeware","description":"A shim that redirects stderr/stdout to the Apple System Log (NSLog)","archived":false,"fork":false,"pushed_at":"2025-06-23T00:22:32.000Z","size":87,"stargazers_count":8,"open_issues_count":0,"forks_count":5,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-06-23T01:26:11.126Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beeware.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["freakboy3742"],"custom":["http://beeware.org/bee/join"]}},"created_at":"2022-02-28T02:27:01.000Z","updated_at":"2025-06-23T00:22:34.000Z","dependencies_parsed_at":"2024-01-29T02:46:11.969Z","dependency_job_id":"23c1f31c-fed3-42ce-9ba9-688d43051308","html_url":"https://github.com/beeware/std-nslog","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"fa82cec287abe7c76ac0c27ef0621107c1db1d41"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/beeware/std-nslog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeware%2Fstd-nslog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeware%2Fstd-nslog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeware%2Fstd-nslog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeware%2Fstd-nslog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beeware","download_url":"https://codeload.github.com/beeware/std-nslog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeware%2Fstd-nslog/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263094494,"owners_count":23412976,"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":[],"created_at":"2024-11-08T02:40:12.668Z","updated_at":"2025-09-03T12:36:49.276Z","avatar_url":"https://github.com/beeware.png","language":"Python","funding_links":["https://github.com/sponsors/freakboy3742","http://beeware.org/bee/join"],"categories":[],"sub_categories":[],"readme":"[\u003cimg src=\"http://beeware.org/static/images/defaultlogo.png\" width=\"72px\" alt=\"Generic BeeWare Logo\"\u003e](https://beeware.org/)\n\n# std-nslog\n\n[![Python Versions](https://img.shields.io/pypi/pyversions/std-nslog.svg)](https://pypi.python.org/pypi/std-nslog)\n[![PyPI Version](https://img.shields.io/pypi/v/std-nslog.svg)](https://pypi.python.org/pypi/std-nslog)\n[![Maturity](https://img.shields.io/pypi/status/std-nslog.svg)](https://pypi.python.org/pypi/std-nslog)\n[![BSD License](https://img.shields.io/pypi/l/std-nslog.svg)](https://github.com/beeware/std-nslog/blob/main/LICENSE)\n[![Discord server](https://img.shields.io/discord/836455665257021440?label=Discord%20Chat\u0026logo=discord\u0026style=plastic)](https://beeware.org/bee/chat/)\n\nstd-nslog is a shim that redirects stderr/stdout to the Apple System Log\n(NSLog). This can be useful when deploying Python code as a standalone\napp on macOS or iOS.\n\n## Usage\n\nstd-nslog primary exists as a utility for briefcase deployments. You\nshouldn't ever need to install it yourself. However, just in case...\n\nTo install std-nslog:\n\n    $ pip install std-nslog\n\nThen, in your code, `import nslog`. This will install the shim. The file\nonly needs to be imported once; preferably as early as possible in the\nPython application code.\n\nOnce installed, all output written to stdout and stderr will be\nredirected to the Apple System Log.\n\n## Why no pun?\n\nWhile an obscure joke referencing apples and logs might be amusing, it\nwould make no sense when it appeared in a Briefcase requirements file.\n\n## Community\n\nstd-nslog is part of the [BeeWare suite](http://beeware.org). You can talk\nto the community through:\n\n- [@beeware@fosstodon.org on Mastodon](https://fosstodon.org/@beeware)\n- [Discord](https://beeware.org/bee/chat/)\n\nWe foster a welcoming and respectful community as described in our [BeeWare\nCommunity Code of Conduct](http://beeware.org/community/behavior/).\n\n## Contributing\n\nIf you experience problems with std-nslog, [log them on\nGitHub](https://github.com/beeware/std-nslog/issues). If you want to contribute, please [fork the project](https://github.com/beeware/std-nslog) and [submit a\npull request](https://github.com/beeware/std-nslog/pulls).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeeware%2Fstd-nslog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeeware%2Fstd-nslog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeeware%2Fstd-nslog/lists"}