Welcome, Guest. Please login or register.
Did you miss your activation email?

September 24, 2017, 07:56:01 PM
Show unread posts since last visit.

Home | Help | Search | Login | Register

Pages: [1]
Print
Author Topic: DPLib  (Read 744 times)
mRokita
Autococker

Posts: 594

« on: June 28, 2017, 09:58:33 AM »

GitHub:
https://github.com/mRokita/DPLib

Docs (for pip install release):
https://mrokita.github.io/DPLib/index.html

Getting started (Done!)
https://mrokita.github.io/DPLib/gettingstarted.html

Working examples:
https://github.com/mRokita/DPLib/tree/master/examples


Module documentation:
https://mrokita.github.io/DPLib/source/dplib.html#module-dplib
« Last Edit: June 29, 2017, 09:49:57 AM by mRokita » Logged
mRokita
Autococker

Posts: 594

« Reply #1 on: June 29, 2017, 09:50:12 AM »

https://mrokita.github.io/DPLib/gettingstarted.html
Getting started section finished Smiley
Logged
mRokita
Autococker

Posts: 594

« Reply #2 on: July 03, 2017, 06:30:54 PM »

v1.3 released.




New features:

'On game end' event (Server.on_game_end(), Server.wait_for_game_end())
Status query support (Server.get_status(), Server.get_simple_playerlist())
Get cvar method (Server.get_cvar())

Install:

Code:
python3 -m pip install DPLib

Upgrade:

Code:
python3 -m pip install --upgrade DPLib
Logged
cnly
PGP

Posts: 12

« Reply #3 on: July 11, 2017, 02:59:27 PM »

Nice error handling bro.
Logged
mRokita
Autococker

Posts: 594

« Reply #4 on: July 12, 2017, 07:13:36 AM »

Nice error handling bro.
nice nickname payl, u still around?
Logged
cnly
PGP

Posts: 12

« Reply #5 on: July 12, 2017, 07:44:33 AM »

nice nickname payl, u still around?
I'm not payl, obviously. ROT-13(payl) is obviously not cnly!
But payl is still around from time to time, which is nowadays "very active" comparing to others.

Too bad you didn't answer my comment. Being programmer with more years I wanted to raise your attention to terrible error handling. Some methods do raise errors. Some don't, instead returning a string like "here, do something with that". That isn't good design. I understand that error handling is hard thing to do, but I believe also that it's one of most important things. Just wanted to give that hint to you.

And also your dp server browser on android is... not necessary. I wouldn't pay for including it in store, or ask other people to help me... But that's just my opinion.
Logged
mRokita
Autococker

Posts: 594

« Reply #6 on: July 12, 2017, 08:53:16 AM »

I'm not payl, obviously. ROT-13(payl) is obviously not cnly!
But payl is still around from time to time, which is nowadays "very active" comparing to others.

Too bad you didn't answer my comment. Being programmer with more years I wanted to raise your attention to terrible error handling. Some methods do raise errors. Some don't, instead returning a string like "here, do something with that". That isn't good design. I understand that error handling is hard thing to do, but I believe also that it's one of most important things. Just wanted to give that hint to you.

And also your dp server browser on android is... not necessary. I wouldn't pay for including it in store, or ask other people to help me... But that's just my opinion.

SB and that lib are my personal projects. I've written that serverbrowser some time ago to learn Android, the lib was my attempt on asyncio. Not all the errors are handled and not all the methods are implemented - it's not a final version.
Also, I wouldn't waste my time on developing stuff for DP if I wanted to create something popular/useful.
Logged
Pages: [1]
Print
Show unread posts since last visit.
Jump to:  


Powered by SMF 1.1.20 | SMF © 2013, Simple Machines