{"id":19852477,"url":"https://github.com/someengineering/fixinventoryclient-python","last_synced_at":"2025-04-11T22:39:44.612Z","repository":{"id":38302913,"uuid":"478934858","full_name":"someengineering/fixinventoryclient-python","owner":"someengineering","description":"Python client for Fix Inventory","archived":false,"fork":false,"pushed_at":"2024-06-17T23:03:46.000Z","size":412,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T10:03:03.679Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://fix.security/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/someengineering.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-04-07T10:27:28.000Z","updated_at":"2024-03-06T13:41:57.000Z","dependencies_parsed_at":"2024-01-15T10:35:29.908Z","dependency_job_id":"8006fa72-2a5b-4e07-b794-c19b9efe8040","html_url":"https://github.com/someengineering/fixinventoryclient-python","commit_stats":null,"previous_names":["someengineering/fixinventoryclient-python","someengineering/resotoclient-python"],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/someengineering%2Ffixinventoryclient-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/someengineering%2Ffixinventoryclient-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/someengineering%2Ffixinventoryclient-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/someengineering%2Ffixinventoryclient-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/someengineering","download_url":"https://codeload.github.com/someengineering/fixinventoryclient-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248492950,"owners_count":21113157,"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-12T14:02:53.184Z","updated_at":"2025-04-11T22:39:44.583Z","avatar_url":"https://github.com/someengineering.png","language":"Python","readme":"# fixinventoryclient-python\nPython client for Fix Inventory\n\n## Installation\n```bash\npip install fixinventoryclient\n```\n\nFor GraphVis and Pandas support:\n\n```bash\npip install fixinventoryclient[extras]\n```\n\n## Usage\n\n```python\nfrom fixclient import FixInventoryClient\n\nclient = FixInventoryClient(url=\"https://localhost:8900\", psk=\"changeme\")\ninstances_csv = client.cli_execute(\"search is(instance) | tail 5 | list --csv\")\n\nfor instance in instances_csv:\n    print(instance)\n```\n\n### Pandas Dataframes\n```python\ndf = client.dataframe(\"is(instance)\")\n```\n\n### GraphViz Digraph\n```python\ngraph = client.graphviz(\"is(graph_root) --\u003e\")\n```\n\n## Test\nThe tests expect a FixCore on localhost with the default PSK `changeme`.\nYou can start it locally via:\n\n```bash\n$\u003e fixcore --graphdb-database fixclient_test --psk changeme\n```\n\nA local test environment is required. See the [contribution guide](https://fix.com/docs/contributing/components) for instructions.\nWhen the virtual environment is available, use those commands to set up the project and run the tests:\n\n```bash\n$\u003e pip install --upgrade pip poetry nox nox-poetry\n$\u003e nox\n```\n\nFor more examples see the examples directory.\n\n## Publish\n- bump the version number in pyproject.toml\n- `poetry build`\n- `poetry publish`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsomeengineering%2Ffixinventoryclient-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsomeengineering%2Ffixinventoryclient-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsomeengineering%2Ffixinventoryclient-python/lists"}