chore: add credits section to README and replace pirant dependency with matplotlib

- Add credits section acknowledging Rohan Burke (coolq) for the devrant API wrapper
- Remove pirant dependency from setup.cfg and add matplotlib>=3.9.2
- Add new console scripts for sync and per-day/weekday/hour statistics
- Add new source files: db.py, devrant.py, sync.py, and updated statistics.py
- Include binary database file drstats.db and compiled Python cache files
This commit is contained in:
2024-11-23 18:56:52 +00:00
parent 0ad7c0cf51
commit 12a93eccb5
18 changed files with 289 additions and 5 deletions
+4
View File
@@ -9,6 +9,7 @@ Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: aiohttp>=3.10.10
Requires-Dist: dataset>=1.6.2
Requires-Dist: matplotlib>=3.9.2
# dRStats
@@ -16,4 +17,7 @@ Requires-Dist: dataset>=1.6.2
Simple project to determine health of the devrant platform.
## Credits
Thanks to Rohan Burke (coolq). The creator of the dr api wrapper this project uses. Since it isn't made like a package, i had to copy his source files to my source folder. His library: https://github.com/coolq1000/devrant-python-api/
+3
View File
@@ -3,7 +3,10 @@ pyproject.toml
setup.cfg
src/drstats/__init__.py
src/drstats/__main__.py
src/drstats/db.py
src/drstats/devrant.py
src/drstats/statistics.py
src/drstats/sync.py
src/drstats.egg-info/PKG-INFO
src/drstats.egg-info/SOURCES.txt
src/drstats.egg-info/dependency_links.txt
+4 -1
View File
@@ -1,2 +1,5 @@
[console_scripts]
dr.rant_stats = drstats.statistics:rant_stats
dr.rant_stats_per_day = drstats.statistics:rant_stats_per_day
dr.rant_stats_per_hour = drstats.statistics:rant_stats_per_hour
dr.rant_stats_per_weekday = drstats.statistics:rant_stats_per_weekday
dr.sync = drstats.sync:sync
+1
View File
@@ -1,2 +1,3 @@
aiohttp>=3.10.10
dataset>=1.6.2
matplotlib>=3.9.2