This commit is contained in:
parent
6dbcf94c7b
commit
94f5fe07e2
@ -3,9 +3,13 @@
|
||||
## About
|
||||
|
||||
Simple project to determine health of the devrant platform.
|
||||
|
||||
Also, it will generate a dataset to be used with machine learning.
|
||||
|
||||
Make Retoor9b great again!
|
||||
|
||||
Generating these statistics takes quite some steps. Look at the build log under the `actions` tab.
|
||||
|
||||
## 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/
|
||||
|
||||
|
13
setup.cfg
13
setup.cfg
@ -1,9 +1,9 @@
|
||||
[metadata]
|
||||
name = drstats
|
||||
version = 0.1.1
|
||||
description = Dr Stats
|
||||
version = 1.3.37
|
||||
description = dR stats
|
||||
author = Retoor
|
||||
author_email = retoor@retoor.io
|
||||
author_email = retoor@molodetz.nl
|
||||
license = MIT
|
||||
long_description = file: README.md
|
||||
long_description_content_type = text/markdown
|
||||
@ -14,9 +14,10 @@ package_dir =
|
||||
= src
|
||||
python_requires = >=3.7
|
||||
install_requires =
|
||||
aiohttp>=3.10.10
|
||||
dataset>=1.6.2
|
||||
matplotlib>=3.9.2
|
||||
aiohttp==3.10.10
|
||||
dataset==1.6.2
|
||||
matplotlib==3.9.2
|
||||
requests==2.32.3
|
||||
|
||||
[options.packages.find]
|
||||
where = src
|
||||
|
@ -7,9 +7,10 @@ Author-email: retoor@retoor.io
|
||||
License: MIT
|
||||
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
|
||||
Requires-Dist: aiohttp==3.10.10
|
||||
Requires-Dist: dataset==1.6.2
|
||||
Requires-Dist: matplotlib==3.9.2
|
||||
Requires-Dist: requests==2.32.3
|
||||
|
||||
# dRStats
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
aiohttp>=3.10.10
|
||||
dataset>=1.6.2
|
||||
matplotlib>=3.9.2
|
||||
aiohttp==3.10.10
|
||||
dataset==1.6.2
|
||||
matplotlib==3.9.2
|
||||
requests==2.32.3
|
||||
|
@ -31,6 +31,7 @@ def dump():
|
||||
f"All rants written by user(ranter) `{user}` on devRant(developer community)```.",
|
||||
)
|
||||
print(text, "```")
|
||||
printr(text)
|
||||
text = (
|
||||
db.get_all_posts_of_user(user).replace("\n", " ").replace(" ", " ").strip()
|
||||
)
|
||||
@ -41,6 +42,7 @@ def dump():
|
||||
f"All posts written by user(ranter) `{user}` on devRant(developer community): ```.",
|
||||
)
|
||||
print(text, "```")
|
||||
printr(text)
|
||||
all_content += total_text
|
||||
|
||||
for user in db.get_users():
|
||||
|
Loading…
Reference in New Issue
Block a user