Skip to main content

A python library for making graph in real time (Hardware based Library).

Project description

#pypollution
-----------
pollution is a python library for ploating real time COM port data. This library is project dependent library made for pollution detection and analysis. for more details http://https://github.com/Pamelabanerjee11/pollutionMonitor

*This library is based on specified Hardware*

Ex:
---

import pypollution as plot
import serial.tools.list_ports as ports
import os

print("Available ports : \nPort\t Hardwere")
for i in range(len(ports.comports())):
print(ports.comports()[i])

inputPort = input("\nEnter Ardiuno Port Number : ")
try:
p = plot.pyAnalysis(inputPort, os.path.dirname(__file__))
p.genrateLineAnalysis()
except:
print("An error is occurred while plotting the graph. Probable reason may be :")
print("1. You are running app in read only memory.")
print("2. Check your hardware port(COM port).")
print("3. Wrong port assignment.")

Project details


Release history Release notifications | RSS feed

This version

1.1

Download files

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

Source Distribution

pypollution-1.1.tar.gz (4.2 kB view hashes)

Uploaded Source

Supported by

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