{"id":18925617,"url":"https://github.com/jm1/python-pywana","last_synced_at":"2026-03-14T16:30:14.902Z","repository":{"id":57458411,"uuid":"172014395","full_name":"JM1/python-pywana","owner":"JM1","description":"Various system tools for Linux","archived":false,"fork":false,"pushed_at":"2019-02-22T09:17:45.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T03:46:15.604Z","etag":null,"topics":[],"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/JM1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-22T07:19:04.000Z","updated_at":"2019-02-22T09:17:47.000Z","dependencies_parsed_at":"2022-09-09T22:51:59.459Z","dependency_job_id":null,"html_url":"https://github.com/JM1/python-pywana","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JM1%2Fpython-pywana","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JM1%2Fpython-pywana/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JM1%2Fpython-pywana/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JM1%2Fpython-pywana/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JM1","download_url":"https://codeload.github.com/JM1/python-pywana/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239921844,"owners_count":19718844,"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-08T11:12:37.730Z","updated_at":"2026-03-14T16:30:14.835Z","avatar_url":"https://github.com/JM1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-pywana\n[![Build Status](https://travis-ci.com/JM1/python-pywana.svg?branch=master)](https://travis-ci.com/JM1/python-pywana)\n\n# Requirements\n\n* Python 3.5+\n* [Python 3 bindings for gobject-introspection libraries](https://pygobject.readthedocs.io/)\n  (not packaged on PyPI, you need to install it from your distribution's repository - it's usually called python3-gi, python-gobject or pygobject)\n* [GLib](https://developer.gnome.org/glib/) and [girepository](https://wiki.gnome.org/Projects/GObjectIntrospection)\n* [dbus-python](https://pypi.org/project/dbus-python/)\n* [psutil](https://pypi.org/project/psutil/)\n\n# Howto\n\nOn [Debian Stretch](https://www.debian.org/releases/stretch/):\n```sh\n# Fetch dependencies\nsudo apt-get install python3-pip python3-gi python3-dbus python3-psutil\n\n# Install via PyPI\npip3 install --no-deps pywana\n# option --no-deps is required because pip falsely assumes that dbus-python is\n# not installed although it has been installed via debian package python3-dbus\n\n# Execute\nwana --help\n```\n\n# Build and upload package to PyPI manually\nRef.: \n https://github.com/pypa/twine\n https://www.davidfischer.name/2012/05/signing-and-verifying-python-packages-with-pgp/\n\n```sh\n  \n# Install python and build tools\nsudo apt-get install python3 python3-pip\npip3 install twine\n\n# Install project dependencies\n# NOTE: libdbus-1-dev (\u003e= 1.8) is required for building dbus-python\nsudo apt-get install python3-dev libdbus-1-dev python3-gi\npip3 install -r requirements.txt\n# instead of pip3 you can also install all required modules using your system package manager\nsudo apt-get install python3-gi python3-dbus python3-psutil\n\n# Create distributions\npython3 setup.py build_all\n\n# Sign distributions\nfind dist/ -type f -exec gpg --detach-sign --armor '{}' \\;\n\n# Upload to Test PyPI\ntwine upload --repository-url https://test.pypi.org/legacy/ dist/*\n\n# Upload to PyPI:\ntwine upload dist/*\n```\n\n# Change PyPI password in .travis.yml\nNOTE: [Travis CI does not allow for signing PyPI packages](https://github.com/travis-ci/dpl/issues/727)!\n```sh\n# Install Travis CI Client\n# Ref.: \n#  https://github.com/travis-ci/travis.rb\n#  https://docs.travis-ci.com/user/encryption-keys/\n#  https://medium.com/@mikkokotila/deploying-python-packages-to-pypi-with-travis-works-9a6597781556\ngem install travis\ntravis login --pro\n# cd to git repo\ntravis encrypt --pro --add deploy.password\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjm1%2Fpython-pywana","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjm1%2Fpython-pywana","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjm1%2Fpython-pywana/lists"}