-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix/reducing down mem foot print (#54)
* Experimental Changes -- this should help clean up stuff that is no longer needed on each loop run. * Update PurpleAirDataLogger.py - another small tweak. Cleaning up old data * Update PurpleAirDataLogger.py -- more smaller tweaks that seem to be working * More Deletes -- more clean up. maybe it'll help. * Update PurpleAirDataLogger.py -- a few more tweaks that may help maybe. * prepared PSQL statements -- moving to using prepare psql statements for the store sensor method. * Update setup.py - bumping pg8000 version * Black - added black to vscode settings file - ran black * Update setup.py - Making an alpha release with the memory foot print fixes. Testing has show on average it is now using 100MBs less than 1.2.0.
- Loading branch information
1 parent
679bddf
commit cc7da06
Showing
4 changed files
with
74 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,5 +15,6 @@ | |
"timescaledb", | ||
"PSQL", | ||
"deciviews" | ||
] | ||
], | ||
"python.formatting.provider": "black" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ def read_file(filename): | |
|
||
setup( | ||
name="purpleair_data_logger", | ||
version="1.2.0", | ||
version="1.2.1a1", | ||
license="MIT", | ||
author="Carlos Santos", | ||
author_email="[email protected]", | ||
|
@@ -29,6 +29,6 @@ def read_file(filename): | |
"purple air api", | ||
"PurpleAirSQLiteDataLogger", | ||
], | ||
install_requires=["pg8000==1.29.4", "requests", "purpleair_api==1.0.1"], | ||
install_requires=["pg8000==1.29.5", "requests", "purpleair_api==1.0.2a1"], | ||
platforms=["Windows 32/64", "Linux 32/64", "MacOS 32/64"], | ||
) |