python3-cyberfusion-software-discoverer


Namepython3-cyberfusion-software-discoverer JSON
Version 1.0.9.2.2 PyPI version JSON
download
home_pageNone
SummaryLibrary to discover software installed on system.
upload_time2024-08-26 12:51:15
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # python3-cyberfusion-software-discoverer

Library to discover software installed on system.

# Install

## PyPI

Run the following command to install the package from PyPI:

    pip3 install python3-cyberfusion-software-discoverer

## Debian

Run the following commands to build a Debian package:

    mk-build-deps -i -t 'apt -o Debug::pkgProblemResolver=yes --no-install-recommends -y'
    dpkg-buildpackage -us -uc

# Configure

No configuration is supported.

# Usage

## Example

```python
from cyberfusion.SoftwareDiscoverer import discoverer_registry
from cyberfusion.SoftwareDiscoverer import discoverers
from cyberfusion.SoftwareDiscoverer import traits

# Loop through all discoverers

for discoverer in discoverer_registry:
  if discoverer.discover():
    print("Present")

    for trait in discoverer.traits:
      print(f"Has trait {trait}")
  else:
    print("Not present")

# Get single discoverer

discoverer = discoverer_registry.get(discoverers.ElasticsearchDiscoverer)
has_cluster_trait = traits.ElasticsearchClusterTrait in discoverer.traits
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "python3-cyberfusion-software-discoverer",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Cyberfusion <support@cyberfusion.io>",
    "download_url": "https://files.pythonhosted.org/packages/0d/eb/a3febe558836a98cf9f6ab00feb17f8c2136774f653c824c4a946d0e0c2d/python3_cyberfusion_software_discoverer-1.0.9.2.2.tar.gz",
    "platform": null,
    "description": "# python3-cyberfusion-software-discoverer\n\nLibrary to discover software installed on system.\n\n# Install\n\n## PyPI\n\nRun the following command to install the package from PyPI:\n\n    pip3 install python3-cyberfusion-software-discoverer\n\n## Debian\n\nRun the following commands to build a Debian package:\n\n    mk-build-deps -i -t 'apt -o Debug::pkgProblemResolver=yes --no-install-recommends -y'\n    dpkg-buildpackage -us -uc\n\n# Configure\n\nNo configuration is supported.\n\n# Usage\n\n## Example\n\n```python\nfrom cyberfusion.SoftwareDiscoverer import discoverer_registry\nfrom cyberfusion.SoftwareDiscoverer import discoverers\nfrom cyberfusion.SoftwareDiscoverer import traits\n\n# Loop through all discoverers\n\nfor discoverer in discoverer_registry:\n  if discoverer.discover():\n    print(\"Present\")\n\n    for trait in discoverer.traits:\n      print(f\"Has trait {trait}\")\n  else:\n    print(\"Not present\")\n\n# Get single discoverer\n\ndiscoverer = discoverer_registry.get(discoverers.ElasticsearchDiscoverer)\nhas_cluster_trait = traits.ElasticsearchClusterTrait in discoverer.traits\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Library to discover software installed on system.",
    "version": "1.0.9.2.2",
    "project_urls": {
        "Source": "https://github.com/CyberfusionIO/python3-cyberfusion-software-discoverer"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2cf2c5bb257e4af07c4eacea895edc14e1f15de748a040b1120f7b782b0d742a",
                "md5": "b6f59afd5e0f40bd1f9912ddd42a7a67",
                "sha256": "5864abf0fdbbf151c2314a4bfc30092459867353e939a07bd5120ea9dc714ce3"
            },
            "downloads": -1,
            "filename": "python3_cyberfusion_software_discoverer-1.0.9.2.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b6f59afd5e0f40bd1f9912ddd42a7a67",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 6992,
            "upload_time": "2024-08-26T12:51:13",
            "upload_time_iso_8601": "2024-08-26T12:51:13.856234Z",
            "url": "https://files.pythonhosted.org/packages/2c/f2/c5bb257e4af07c4eacea895edc14e1f15de748a040b1120f7b782b0d742a/python3_cyberfusion_software_discoverer-1.0.9.2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0deba3febe558836a98cf9f6ab00feb17f8c2136774f653c824c4a946d0e0c2d",
                "md5": "bb2fb0d499117a8cc3b4aebb021ce4f1",
                "sha256": "13c871f1cac208ec864d23fd68d31de0a5437a0c1e3aca6df709b5107c2de247"
            },
            "downloads": -1,
            "filename": "python3_cyberfusion_software_discoverer-1.0.9.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "bb2fb0d499117a8cc3b4aebb021ce4f1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5166,
            "upload_time": "2024-08-26T12:51:15",
            "upload_time_iso_8601": "2024-08-26T12:51:15.148414Z",
            "url": "https://files.pythonhosted.org/packages/0d/eb/a3febe558836a98cf9f6ab00feb17f8c2136774f653c824c4a946d0e0c2d/python3_cyberfusion_software_discoverer-1.0.9.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-26 12:51:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "CyberfusionIO",
    "github_project": "python3-cyberfusion-software-discoverer",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "python3-cyberfusion-software-discoverer"
}
        
Elapsed time: 0.40684s