diff --git a/README.md b/README.md index 295cbbf..024e96d 100644 --- a/README.md +++ b/README.md @@ -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/ diff --git a/setup.cfg b/setup.cfg index a500e15..9ed26ce 100644 --- a/setup.cfg +++ b/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 diff --git a/src/drstats.egg-info/PKG-INFO b/src/drstats.egg-info/PKG-INFO index 0108d86..9216433 100644 --- a/src/drstats.egg-info/PKG-INFO +++ b/src/drstats.egg-info/PKG-INFO @@ -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 diff --git a/src/drstats.egg-info/requires.txt b/src/drstats.egg-info/requires.txt index ae712de..b7b582d 100644 --- a/src/drstats.egg-info/requires.txt +++ b/src/drstats.egg-info/requires.txt @@ -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 diff --git a/src/drstats/dataset.py b/src/drstats/dataset.py index de1d4ad..d407164 100644 --- a/src/drstats/dataset.py +++ b/src/drstats/dataset.py @@ -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():