power

Python module that allows you to get power and battery status of the system. Windows, Mac OS X, Linux

https://github.com/kentzo/power

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 11 committers (18.2%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.0%) to scientific vocabulary

Keywords

battery linux macos power-management python windows
Last synced: 6 months ago · JSON representation

Repository

Python module that allows you to get power and battery status of the system. Windows, Mac OS X, Linux

Basic Info
  • Host: GitHub
  • Owner: Kentzo
  • License: mit
  • Language: Python
  • Default Branch: develop
  • Homepage:
  • Size: 153 KB
Statistics
  • Stars: 73
  • Watchers: 10
  • Forks: 32
  • Open Issues: 8
  • Releases: 1
Topics
battery linux macos power-management python windows
Created over 13 years ago · Last pushed about 1 year ago
Metadata Files
Readme License Authors

README.rst

Power
=====
.. image:: https://travis-ci.org/Kentzo/Power.svg?branch=master
    :target: https://travis-ci.org/Kentzo/Power
.. image:: https://codecov.io/gh/Kentzo/Power/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/Kentzo/Power
.. image:: https://img.shields.io/pypi/v/Power.svg
    :target: https://pypi.python.org/pypi/Power
.. image:: https://pyup.io/repos/github/Kentzo/Power/shield.svg
     :target: https://pyup.io/repos/github/Kentzo/Power/
     :alt: Updates

Crossplatform (Windows, Linux, Mac OS X, FreeBSD) python module to access power capabilities of the system.

- Power source type: AC, Battery or UPS
- Battery warning level: no warning (None), less than 22% of battery (Early), less than 10min (Final) 
- Time remaining estimate
- Fault tolerant: if for some reason power capabilities cannot be extracted, falls back to AC
- Support for multiple batteries
- Power changes can be observed (Mac OS X only for now)
- Very easy to extend to support new features or new systems



Examples
--------

Until we expand the documentation please have a look in power/tests.py


Owner

  • Name: Ilya Kulakov
  • Login: Kentzo
  • Kind: user
  • Location: San Francisco, CA
  • Company: @GreatFruitOmsk

GitHub Events

Total
  • Watch event: 2
  • Delete event: 3
  • Issue comment event: 3
  • Push event: 3
  • Pull request event: 6
  • Create event: 3
Last Year
  • Watch event: 2
  • Delete event: 3
  • Issue comment event: 3
  • Push event: 3
  • Pull request event: 6
  • Create event: 3

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 78
  • Total Committers: 11
  • Avg Commits per committer: 7.091
  • Development Distribution Score (DDS): 0.205
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Ilya Kulakov k****a@g****m 62
pyup-bot g****t@p****o 5
Stuart Axon s****2@y****m 2
Tomasz CEDRO c****m@t****l 2
Changwoo Ryu c****u@d****g 1
Dan Lipsitt d****t@g****m 1
Ian List i****t@m****e 1
Justin Nesselrotte j****r@h****u 1
Luis Pina l****s@l****e 1
Martey Dodoo m****y@m****m 1
John Bickmore u****q 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 5
  • Total pull requests: 123
  • Average time to close issues: almost 4 years
  • Average time to close pull requests: 3 months
  • Total issue authors: 5
  • Total pull request authors: 4
  • Average comments per issue: 3.8
  • Average comments per pull request: 1.14
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 6
  • Average time to close issues: N/A
  • Average time to close pull requests: about 1 month
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.5
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ghost (1)
  • Kentzo (1)
  • justbuchanan (1)
  • GochoMugo (1)
  • tinoargentino (1)
Pull Request Authors
  • pyup-bot (136)
  • oowl (1)
  • luisggpina (1)
  • martey (1)
Top Labels
Issue Labels
bug (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 1,016 last-month
  • Total dependent packages: 1
  • Total dependent repositories: 33
  • Total versions: 4
  • Total maintainers: 1
pypi.org: power

Cross-platform system power status information.

  • Versions: 4
  • Dependent Packages: 1
  • Dependent Repositories: 33
  • Downloads: 1,016 Last month
Rankings
Dependent repos count: 2.6%
Dependent packages count: 4.7%
Average: 6.6%
Forks count: 7.2%
Stargazers count: 8.2%
Downloads: 10.3%
Maintainers (1)
Last synced: 6 months ago

Dependencies

requirements.txt pypi
  • mock ==2.0.0
  • pyobjc-core ==4.1
  • pytest ==3.5.0
  • pytest-cov ==2.5.1
  • unittest2 ==1.1.0