Skip to main content

fixinventoryclient-python

Python client for Fix Inventory

Installation

pip install fixinventoryclient

For GraphVis and Pandas support:

pip install fixinventoryclient[extras]

Usage

from fixclient import FixInventoryClient

client = FixInventoryClient(url="https://localhost:8900", psk="changeme")
instances_csv = client.cli_execute("search is(instance) | tail 5 | list --csv")

for instance in instances_csv:
    print(instance)

Pandas Dataframes

df = client.dataframe("is(instance)")

GraphViz Digraph

graph = client.graphviz("is(graph_root) -->")

Test

The tests expect a FixCore on localhost with the default PSK changeme. You can start it locally via:

$> fixcore --graphdb-database fixclient_test --psk changeme

A local test environment is required. See the contribution guide for instructions. When the virtual environment is available, use those commands to set up the project and run the tests:

$> pip install --upgrade pip poetry nox nox-poetry
$> nox

For more examples see the examples directory.

Publish

  • bump the version number in pyproject.toml
  • poetry build
  • poetry publish

Metadata

Release files for fixinventoryclient 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fixinventoryclient 2.0.1
File Size Uploaded Provenance Actions
fixinventoryclient-2.0.1.tar.gz 21.3 kB Without provenance Details for fixinventoryclient-2.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fixinventoryclient 2.0.1
File Interpreter ABI Platform Actions
fixinventoryclient-2.0.1-py3-none-any.whl Python 3 none any Details for fixinventoryclient-2.0.1-py3-none-any.whl

Total release size: 46.3 kB

Release files / fixinventoryclient-2.0.1.tar.gz

Download URL fixinventoryclient-2.0.1.tar.gz
Size 21.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c954e25df4f4f30490e5eb6dbd5fb226b526bce6f9210f81e7ae67deec213fd2
BLAKE2b-256 checksum
How to use checksums
8faaec1bbd053df4cc9caafc6e0dd966edb2e6a2062657c5a5b4ce8170952f11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / fixinventoryclient-2.0.1-py3-none-any.whl

Download URL fixinventoryclient-2.0.1-py3-none-any.whl
Size 25.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d7d16e9396872d7aceb51b9b7eab8a7f16271910125b4218c818b7f5b899410
BLAKE2b-256 checksum
How to use checksums
decae2a96eff492e1119a7d6f0ddc972488b7511233811a640188c7cbdb56383
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Security for fixinventoryclient 2.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page