Package: piview
PiViewA Raspberry Pi System Information PackagePiView provides the details of the Raspberry Pi currently being interrogated.General InformationFree software: Open Software License ("OSL") v. 3.0Documentation:https://piview.readthedocs.io.FeaturesPiView provides system information including, but not limited to:GroupInformationCPUmax load across cores, temperature, clock speedGPUtemperatureHARDWAREbluetooth, i2c, spi, camera statusesHOSTboot time, model, name, revision, serial number, uptimeNETWORKhost name, interface names, ip addresses, mac addressesSTORAGEtotal disk capacity, free disk capacity, total RAM and free RAMAlso includes a small utility library with:conversion of bytes into Kilobytes, Megabytes, Gigabytes and upcreate list with a quartet of integer numbers representing the IPv4 AddressRequirementsThis project requires the following package(s):psutilsRemaining packages are Python 'built-ins'.Buildinguse the setuptools based compile and upload to PyPi:pythonsetup.pysdist
pythonsetup.pybdist_wheel
twineuploaddist/*CreditsA 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 athttps://github.com/tdamdouni/Raspberry-Pi-DIY-Projects/blob/master/MattHawkinsUK-rpispy-misc/python/mypi.pyThank you to Sander Huijsen for his contributions and guidance in all things Python.This package was created with Cookiecutter and theaudreyr/cookiecutter-pypackageproject template.Cookiecutter: https://github.com/audreyr/cookiecutterCookiecutter PyPackage: https://github.com/audreyr/cookiecutter-pypackageCopyrightCopyright Adrian Gould, 2021-. Licensed under
the Open Software License version 3.0History3.0.0 (TBA)This will contain some 'breaking' changes.All results will be returned as dictionary with reading type and valueRecreate the testing methodsUpdate online documentationDeprecate the PiView_AG editionCode contains list of TODO elements - showing improvements / new features2.1 (2021-06-24)Changed the results from Storage to be in 'bytes'2.0.3 (2021-05-30)Minor edits to code.CPU speed returns random value if parameterrandom=Trueused in call, or -1 when parameterrandom=False(or omitted)Temperatures return -273.16ºC when no reading given (absolute zero)Keeping documentation edits within this version until next minor update to code2.0.2 (2021-05-28)Minor Fixes2.0.1 (2021-05-27)Updated Package release.1.0.0 Initial ReleaseSome enhancements to come - such as return all the attached
storage statisticsAdded:python version (HOST)camera supported / detected (HARDWARE)0.5.0 RAM, Storage, HostAdded the following:ram total and freestorage total and free for 'all disks' in totalname to Host, this is a temporary version until further investigation done, use the host
name method in the network section to get host nameTo do:statistics (total space, free) for each attached storage device0.4.0 Network FeaturesThe following are implemented in this version:host nameinterface namesip addressesmac addressesFixed missing self references in classes, removedgetfrom function names
Added missing file headers...0.3.0 Host FeaturesThe following have been implemented:boot timemodelserial numberuptimerevision0.2.0 Hardware FeaturesAdded Hardware checking for:SPII2CBTUpdated [[README]]
Design and added PiView Icon0.1.1 GPU FeaturesAdded:GPU temperature##0.1.0 CPU FeaturesAdded:max load across coresprocessor temperatureprocessor clock speed0.0.3 Setup fixesSmall fixes to setup.cfg, and a source reformat.0.0.2 UtilsAdded Utils to the package. Utils includes:format_bytesdraw_line0.0.1 Initial VersionBlank project, containing:starter folder structure[[README.md]][[CHANGES.md]][[LICENSE]]