{ "info": { "author": "Panos Mavrogiorgos", "author_email": "pmav99@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# sysfacts\n\n[![Build Status](https://travis-ci.com/pmav99/sysfacts.svg?branch=master)](https://travis-ci.com/pmav99/sysfacts)\n\n`sysfacts` is a system information collector.\n\nIt can be used standalone or as a library. In order to achieve its goals, `sysfacts`\ntries to leverage existing cross-platform python libraries.\n\n## Installation\n\n### `pipx`\n\nThe recommended installation method is [pipx](https://github.com/cs01/pipx). More\nspecifically, you can install `sysfacts` for your user with:\n\n```\npipx install sysfacts\n```\n\nThe above command will create a virtual environment in `~/.local/pipx/venvs/sysfacts`\nand add the `sysfacts` script in `~/.local/bin`.\n\nIn case you need to run `sysfacts` just once, without installing it, you can do it with\n\n``` shell\npipx run sysfacts\n```\n\nThis way, `pipx` will create a temporary virtual environment, install `sysfacts`, run it\nand cleanup afterwards.\n\n### `pip`\n\nAlternatively you can use good old `pip` but this is more fragile than `pipx`.\n\n``` bash\npip install --user sysfacts\n```\n\n### As a dependency for another project\n\nIf you use [poetry](https://github.com/sdispater/poetry), you can use:\n\n``` bash\npoetry add sysfacts\n```\n\n## Usage\n\n### Standalone\n\nOn standalone mode the output format can be either JSON or YAML. You can also choose\nbetween a JSON data blob or colored, pretty-printed output.\n\n``` shell\nsysfacts --help\n# JSON output\nsysfacts\nsysfacts --pretty\nsysfacts --pretty --no-color\n# YAML output\nsysfacts --yaml\nsysfacts --yaml --no-color\n```\n\n### API\n\nThe main function is `collect_facts()` which returns a python dictionary.\n\n``` python\nfrom sysfacts import collect_facts\n\nfacts = collect_facts()\n```\n\n## Alternative projects\n\nWell, this is not really unique, since there are several similar projects out there\n\n- puppet's [facter](https://github.com/puppetlabs/facter)\n- chef's [ohai](https://github.com/chef/ohai) is written in ruby.\n- datadog's [gohai]() is written in go.\n- if you have ansible installed you can also use `ansible local -m setup`.\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pmav99/sysfacts", "keywords": "system,information,facts,collect,collection,gather", "license": "MIT", "maintainer": "Panos Mavrogiorgos", "maintainer_email": "pmav99@gmail.com", "name": "sysfacts", "package_url": "https://pypi.org/project/sysfacts/", "platform": "", "project_url": "https://pypi.org/project/sysfacts/", "project_urls": { "Documentation": "https://github.com/pmav99/sysfacts", "Homepage": "https://github.com/pmav99/sysfacts", "Repository": "https://github.com/pmav99/sysfacts" }, "release_url": "https://pypi.org/project/sysfacts/0.2.0/", "requires_dist": [ "py-cpuinfo (>=4.0,<5.0)", "psutil (>=5.4,<6.0)", "pendulum (>=2.0,<3.0)", "distro (>=1.3,<2.0)", "click (>=7.0,<8.0)", "ruamel.yaml (>=0.15.86,<0.16.0)", "pygments (>=2.3,<3.0)" ], "requires_python": ">=3.6,<4.0", "summary": "Collect system information", "version": "0.2.0" }, "last_serial": 4718543, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "2d719a0afcab5c39d545dec7715e1748", "sha256": "e54baa400607a5661da5e572783e87a73084b5856a78feda77f7749df98e360b" }, "downloads": -1, "filename": "sysfacts-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "2d719a0afcab5c39d545dec7715e1748", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 5838, "upload_time": "2019-01-20T10:37:54", "url": "https://files.pythonhosted.org/packages/f9/84/ccffd65850eed66fec71939a609526c999310bba544a7f849ded066e9eb3/sysfacts-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "32d60bf8dedfa56948006b529b9a9cde", "sha256": "d052733a420067687f2c88882fcf5602df6834994fa34ad4e3fa50b3e4381083" }, "downloads": -1, "filename": "sysfacts-0.1.0.tar.gz", "has_sig": false, "md5_digest": "32d60bf8dedfa56948006b529b9a9cde", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 2870, "upload_time": "2019-01-20T10:37:56", "url": "https://files.pythonhosted.org/packages/72/a6/0611396a748e6a234d324ed4ea9c31caf5ecfb7739470eafa5afb02022a4/sysfacts-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "f773e711a8111ec084db9a3f2ed41d29", "sha256": "48fbd17dc9ab9725c4a7cd8b1e705051193b0db6477d6cfbc81e34bfeb5f24a0" }, "downloads": -1, "filename": "sysfacts-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f773e711a8111ec084db9a3f2ed41d29", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 6847, "upload_time": "2019-01-20T11:19:35", "url": "https://files.pythonhosted.org/packages/30/cc/c7bac1c8c5733920d0d933044f706b892a3079e676d96fcd0b6ef73cfa0c/sysfacts-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "993f53712629b0f8ccae736934ebc62c", "sha256": "d30b92a546baade72e72db5fe5d5fb706034253f26697364d10ca4f7e105d8f6" }, "downloads": -1, "filename": "sysfacts-0.1.1.tar.gz", "has_sig": false, "md5_digest": "993f53712629b0f8ccae736934ebc62c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 4234, "upload_time": "2019-01-20T11:19:37", "url": "https://files.pythonhosted.org/packages/86/98/b17fef98b802e488b877b786db3ad77a6c76beefdf23e0c66e01f7c20ecd/sysfacts-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "f508389c513d12db6768dbd8809b3ba1", "sha256": "2673015d11d8fb7bf876663afab3cb2d2312ef53586ffa76f6a96c78a94637f8" }, "downloads": -1, "filename": "sysfacts-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "f508389c513d12db6768dbd8809b3ba1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 6918, "upload_time": "2019-01-20T12:15:16", "url": "https://files.pythonhosted.org/packages/87/c3/45f36138a2f166b181bc3180c01d53e4a09e12b09ea4b3856769fc3bdefe/sysfacts-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7e1b86df7a705cb8ed6453e7c44de1ff", "sha256": "dcddbb583a9824a20ff065f60ebcb566bc460b71eb9add343c7afdaf02b1b03a" }, "downloads": -1, "filename": "sysfacts-0.1.2.tar.gz", "has_sig": false, "md5_digest": "7e1b86df7a705cb8ed6453e7c44de1ff", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 4252, "upload_time": "2019-01-20T12:15:17", "url": "https://files.pythonhosted.org/packages/02/8a/7cefd58b3fb219c6a3e8458436fb1bc12a0bf36a49a06bbde2865d56b7d1/sysfacts-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "05db72ea0ea44013b2bd9e42b1e39e15", "sha256": "fc62e0d77d4e31a6f3531e0fbf808ac9cbf9281463b9c76a92ff111f26d34a9e" }, "downloads": -1, "filename": "sysfacts-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "05db72ea0ea44013b2bd9e42b1e39e15", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 6926, "upload_time": "2019-01-20T12:34:02", "url": "https://files.pythonhosted.org/packages/c1/67/d3daff3b305ca82d882206187242fcaf893970ef41d7ea729ba1c53e7c4d/sysfacts-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9931903599cb12f71347f5bf9d7fdb25", "sha256": "57fb1c996bef0595b404de0ecb13c60d8ca8200e5294e7cd33bf5f39b50ca2ce" }, "downloads": -1, "filename": "sysfacts-0.1.3.tar.gz", "has_sig": false, "md5_digest": "9931903599cb12f71347f5bf9d7fdb25", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 4270, "upload_time": "2019-01-20T12:34:03", "url": "https://files.pythonhosted.org/packages/08/81/7a46a45eee99168158eceb4aaff49f1cd66d2901b1deae37f8545faccbcd/sysfacts-0.1.3.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "db211be36d53ed5512e67be3ec726143", "sha256": "6b51fbd1733e992c87aeeb4cf97ea8f9b414d73708dbca948214b9841786b190" }, "downloads": -1, "filename": "sysfacts-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "db211be36d53ed5512e67be3ec726143", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 6982, "upload_time": "2019-01-20T15:54:37", "url": "https://files.pythonhosted.org/packages/fe/66/54ec4c6d0abd22e178479fe18d093387bf7be70fc25df7e8125a452131bb/sysfacts-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a87c4bffe0737aaf0c21f389c4995e91", "sha256": "fe954077c219f132828df4cb1b5f8d46529471f0111b86dac2cd91e21bdf6f59" }, "downloads": -1, "filename": "sysfacts-0.2.0.tar.gz", "has_sig": false, "md5_digest": "a87c4bffe0737aaf0c21f389c4995e91", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 4320, "upload_time": "2019-01-20T15:54:39", "url": "https://files.pythonhosted.org/packages/20/93/eda8ebe31d40eaeaa742d18b951bf6b33a0c72d6b01a5a1a215c29cbd3e6/sysfacts-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "db211be36d53ed5512e67be3ec726143", "sha256": "6b51fbd1733e992c87aeeb4cf97ea8f9b414d73708dbca948214b9841786b190" }, "downloads": -1, "filename": "sysfacts-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "db211be36d53ed5512e67be3ec726143", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 6982, "upload_time": "2019-01-20T15:54:37", "url": "https://files.pythonhosted.org/packages/fe/66/54ec4c6d0abd22e178479fe18d093387bf7be70fc25df7e8125a452131bb/sysfacts-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a87c4bffe0737aaf0c21f389c4995e91", "sha256": "fe954077c219f132828df4cb1b5f8d46529471f0111b86dac2cd91e21bdf6f59" }, "downloads": -1, "filename": "sysfacts-0.2.0.tar.gz", "has_sig": false, "md5_digest": "a87c4bffe0737aaf0c21f389c4995e91", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 4320, "upload_time": "2019-01-20T15:54:39", "url": "https://files.pythonhosted.org/packages/20/93/eda8ebe31d40eaeaa742d18b951bf6b33a0c72d6b01a5a1a215c29cbd3e6/sysfacts-0.2.0.tar.gz" } ] }