{"id":16584542,"url":"https://github.com/brettlangdon/sysaudit","last_synced_at":"2025-08-01T11:10:25.467Z","repository":{"id":42013814,"uuid":"237698339","full_name":"brettlangdon/sysaudit","owner":"brettlangdon","description":"Backport module for sys.audit and sys.addaudithook mechanism","archived":false,"fork":false,"pushed_at":"2024-09-03T21:04:25.000Z","size":134,"stargazers_count":6,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-24T15:07:18.152Z","etag":null,"topics":["audit","backport","hooks","pypy","python2","python3","sys"],"latest_commit_sha":null,"homepage":"https://sysaudit.readthedocs.io/","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/brettlangdon.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2020-02-02T00:36:42.000Z","updated_at":"2023-04-12T15:51:25.000Z","dependencies_parsed_at":"2022-08-12T02:20:51.536Z","dependency_job_id":null,"html_url":"https://github.com/brettlangdon/sysaudit","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/brettlangdon/sysaudit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brettlangdon%2Fsysaudit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brettlangdon%2Fsysaudit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brettlangdon%2Fsysaudit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brettlangdon%2Fsysaudit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brettlangdon","download_url":"https://codeload.github.com/brettlangdon/sysaudit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brettlangdon%2Fsysaudit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262701749,"owners_count":23350612,"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":["audit","backport","hooks","pypy","python2","python3","sys"],"created_at":"2024-10-11T22:44:53.988Z","updated_at":"2025-07-03T07:33:20.155Z","avatar_url":"https://github.com/brettlangdon.png","language":"Python","readme":"sysaudit\n========\n.. image:: https://readthedocs.org/projects/sysaudit/badge/?version=latest\n  :target: https://sysaudit.readthedocs.io/en/latest/?badge=latest\n  :alt: Documentation Status\n\n.. image:: https://github.com/brettlangdon/sysaudit/workflows/Build/badge.svg?branch=main\u0026event=push\n  :target: https://github.com/brettlangdon/sysaudit/actions?query=branch%3Amain+workflow%3ABuild+event%3Apush\n  :alt: Build status\n\nBackport module of `sys.audit \u003chttps://docs.python.org/3.8/library/sys.html#sys.audit\u003e`_\nand `sys.addaudithook \u003chttps://docs.python.org/3.8/library/sys.html#sys.addaudithook\u003e`_\nfrom Python 3.8.\n\n**Note:** This module does *not* backport any of the built-in\n`audit events \u003chttps://docs.python.org/3.8/library/audit_events.html#audit-events\u003e`_.\n\n\nInstallation\n------------\n\n.. code-block:: bash\n\n    pip install sysaudit\n\nQuick Usage\n-----------\n\n`sysaudit` can be used as a drop-in replacement for `sys.audit` and `sys.addaudithook`.\n\n.. code-block:: python\n\n  import sysaudit\n\n  def hook(event, args):\n      print(\"Event:\", event, args)\n\n  sysaudit.addaudithook(hook)\n\n  sysaudit.audit(\"event_name\", 1, 2, dict(key=\"value\"))\n  # Event: event_name (1, 2, {'key': 'value'})\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrettlangdon%2Fsysaudit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrettlangdon%2Fsysaudit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrettlangdon%2Fsysaudit/lists"}