Skip to main content

Python Boilerplate contains all the boilerplate you need to create a Python package.

Project description

PiView

https://img.shields.io/pypi/v/piview.svg https://img.shields.io/travis/AdyGCode/piview.svg Documentation Status

A Raspberry Pi system information package.

PiView Icon

PiView provides the details of the Raspberry Pi currently being interrogated. System information includes, but is not limited to:

  • CPU: max load across cores, temperature, clock speed

  • GPU: temperature

  • HARDWARE: bluetooth, i2c, spi, camera statuses

  • HOST: boot time, model, name, revision, serial number, uptime

  • NETWORK: host name, interface names, ip addresses, mac addresses

  • STORAGE: total disk capacity, free disk capacity, total RAM and free RAM

Also includes a small utility library with:

  • conversion of bytes into Kilobytes, Megabytes, Gigabytes and up

  • create list with a quartet of integer numbers representing the IPv4 Address

Features

  • TODO

Requirements

This project requires the following package(s):

  • psutils

Remaining packages are Python ‘built-ins’.

Credits

A very large thank you to Matt Hawkins upon whose code this package is based: https://www.raspberrypi-spy.co.uk/

The original code may be found at https://github.com/tdamdouni/Raspberry-Pi-DIY-Projects/blob/master/MattHawkinsUK-rpispy-misc/python/mypi.py

Thank you to Sander Huijsen for his contributions and guidance in all things Python.

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

2.0.0 (2021-05-27)

  • Updated Package release.

1.0.0 Initial Release

Some enhancements to come - such as return all the attached storage statistics

Added:

  • python version (HOST)

  • camera supported / detected (HARDWARE)

0.5.0 RAM, Storage, Host

Added the following:

  • ram total and free

  • storage total and free for ‘all disks’ in total

  • name to Host, this is a temporary version until further investigation done, use the host name method in the network section to get host name

To do:

  • statistics (total space, free) for each attached storage device

0.4.0 Network Features

The following are implemented in this version:

  • host name

  • interface names

  • ip addresses

  • mac addresses

Fixed missing self references in classes, removed get from function names Added missing file headers…

0.3.0 Host Features

The following have been implemented:

  • boot time

  • model

  • serial number

  • uptime

  • revision

0.2.0 Hardware Features

Added Hardware checking for:

  • SPI

  • I2C

  • BT

Updated [[README]] Design and added PiView Icon

0.1.1 GPU Features

Added:

  • GPU temperature

0.1.0 CPU Features

Added:

  • max load across cores

  • processor temperature

  • processor clock speed

0.0.3 Setup fixes

Small fixes to setup.cfg, and a source reformat.

0.0.2 Utils

Added Utils to the package. Utils includes:

  • format_bytes

  • draw_line

0.0.1 Initial Version

Blank project, containing:

  • starter folder structure

  • [[README]]

  • [[CHANGES]]

  • [[LICENSE.txt]]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

piview-2.0.0.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

piview-2.0.0-py2.py3-none-any.whl (14.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file piview-2.0.0.tar.gz.

File metadata

  • Download URL: piview-2.0.0.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for piview-2.0.0.tar.gz
Algorithm Hash digest
SHA256 7513785d1b96a68da9fb770e89a23630c90ccbaf020b9fe5d4fa1032e61d6d31
MD5 68e434eb49b8ddb2a16511aafc728a3d
BLAKE2b-256 9a722575e53221209c0f42833a7b316f32f2dbe2f42119fd3a689469fa86e3ca

See more details on using hashes here.

File details

Details for the file piview-2.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: piview-2.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for piview-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f901dddd15d1d1bf87ee8c39d0f3ea91971689460644762c3151a1d01d580baf
MD5 c25f74678c38db0a73b55b3b06833702
BLAKE2b-256 627693859aa519691a045f5c1ecd9bf8b14fe75c243268385d7500e0c2c52de3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page