diff --git a/dist/devranta-1.0.0-py3-none-any.whl b/dist/devranta-1.0.0-py3-none-any.whl index decff32..7cde8b8 100644 Binary files a/dist/devranta-1.0.0-py3-none-any.whl and b/dist/devranta-1.0.0-py3-none-any.whl differ diff --git a/dist/devranta-1.0.0.tar.gz b/dist/devranta-1.0.0.tar.gz index 58ae5f9..6d981b2 100644 Binary files a/dist/devranta-1.0.0.tar.gz and b/dist/devranta-1.0.0.tar.gz differ diff --git a/src/devranta.egg-info/PKG-INFO b/src/devranta.egg-info/PKG-INFO index 06c226e..1852fe8 100644 --- a/src/devranta.egg-info/PKG-INFO +++ b/src/devranta.egg-info/PKG-INFO @@ -10,3 +10,39 @@ Description-Content-Type: text/markdown Requires-Dist: requests Requires-Dist: aiohttp Requires-Dist: dataset + +# devRanta + +devRanta is an async devrant client written in and for Python. +Authentication is only needed for half of the functionality and thus username and password are optional parameters by constructing the main class of this package (Api). + +## Running +``` +make run +``` + +## Testing +Tests are only made for methods not requireing authentication. +I do not see value in mocking requests. +``` +make test +``` + +## How to use +Implementation: +``` +from devranta.api import Api + +api = Api(username="optional!", password="optional!") + +async def list_rants(): + async for rant in api.get_rants(): + print(rant["user_username"], ":", rant["text"]) +``` +See [tests](src/devranta/tests.py) for [examples](src/devranta/tests.py) on how to use. + +## Todo + + - voting comment + - edit message + diff --git a/src/devranta.egg-info/SOURCES.txt b/src/devranta.egg-info/SOURCES.txt index 32eecdc..e880c53 100644 --- a/src/devranta.egg-info/SOURCES.txt +++ b/src/devranta.egg-info/SOURCES.txt @@ -1,3 +1,4 @@ +README.md pyproject.toml setup.cfg src/devranta/__init__.py