{"id":16717214,"url":"https://github.com/mseri/xapitodict","last_synced_at":"2025-04-10T06:43:16.615Z","repository":{"id":22671189,"uuid":"96999098","full_name":"mseri/xapitodict","owner":"mseri","description":"Import raw xml xapi database dumps into python dictionaries or json","archived":false,"fork":false,"pushed_at":"2022-05-12T18:26:23.000Z","size":28,"stargazers_count":3,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T07:50:10.639Z","etag":null,"topics":["python","xapi","xml-database"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mseri.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","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":"2017-07-12T11:13:56.000Z","updated_at":"2022-05-12T18:23:33.000Z","dependencies_parsed_at":"2022-08-09T02:30:19.154Z","dependency_job_id":null,"html_url":"https://github.com/mseri/xapitodict","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mseri%2Fxapitodict","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mseri%2Fxapitodict/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mseri%2Fxapitodict/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mseri%2Fxapitodict/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mseri","download_url":"https://codeload.github.com/mseri/xapitodict/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248173434,"owners_count":21059595,"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":["python","xapi","xml-database"],"created_at":"2024-10-12T21:30:50.302Z","updated_at":"2025-04-10T06:43:16.595Z","avatar_url":"https://github.com/mseri.png","language":"Python","readme":"# XAPI to dict (and to json)\n\n`xapitodict` is a library to extract the a xapi db dump into a python\ndictionary for ease of analysis and debugging investigation.\n\n### CLI\n\nIf you are more comfortable using other tools (e.g. `jq`) it also provides\nan executable, `xapi-to-json` to load the xml database and dump it into\nas json into a file or the standard output.  For additional information\nrun `xapi-to-json --help`.\n\n### Python Module\n\nIf you `import xapitodict` in your `python` (or `jupyter`) session, you have\naccess to the following function:\n\n```xapi_to_dict: xml_database_path -\u003e (xapi_db_dict, xapi_db_version_dict)```\n\nThis takes the path of a xml xapi db dump and returns the database\ndictionary and the version metadata dictionary.\n\n## Requirements\n\nThe library is compatible with `python 2.7` and `python 3`.\n\nThe packages `sexpdata` and `xmltodict` are required. They are both\navailable on `pypi` and installable via `pip` or `easy_install`.\n\n## Install\n\nRun either of:\n\n- `python setup.py install` (or `python setup.py install --user` if you\n  prefer a local install)\n\n- `pip install .` (or `pip install --user .` if you prefer a local install)\n\nMake sure that the binary install path is in your `env` path.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmseri%2Fxapitodict","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmseri%2Fxapitodict","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmseri%2Fxapitodict/lists"}