Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install damnviper

How to install dAmnViper

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install damnviper
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
3.59 Available View build log
3.58 Available View build log
3.57 Available View build log
3.56 Available View build log
3.55 Available View build log
2.54 Available View build log
2.54
3.59Never BuiltWhy not?
2.54 Available View build log
Windows (64-bit)
3.59 Available View build log
3.58 Available View build log
3.57 Available View build log
3.56 Available View build log
3.55 Available View build log
2.54 Available View build log
2.54
3.59Never BuiltWhy not?
2.54 Available View build log
Mac OS X (10.5+)
3.59 Available View build log
3.58 Available View build log
3.57 Available View build log
3.56 Available View build log
3.55 Available View build log
2.54 Available View build log
2.54
3.59Never BuiltWhy not?
2.54 Available View build log
Linux (32-bit)
3.59 Available View build log
3.58 Available View build log
3.57 Available View build log
3.56 Available View build log
3.55 Available View build log
2.54 Available View build log
2.54
3.59Never BuiltWhy not?
2.54 Available View build log
Linux (64-bit)
3.59 Available View build log
3.58 Available View build log
3.57 Available View build log
3.56 Available View build log
3.55 Available View build log
2.54 Available View build log
2.54
3.59Never BuiltWhy not?
2.54 Available View build log
 
Author
Dependencies
Lastest release
version 3.59 on Dec 7th, 2011

dAmn Viper is a Python package created by photofroggy.

This package provides an API for connecting to and interacting with the dAmn chats. That is, deviantART's messaging network chats.

This branch of dAmn Viper is only known to work with Python 2.7 and up due to use of the twisted library.

Brief example

Creating a client quickly for dAmn is quite easy using dAmn Viper. Below is one of the simplest examples of a client that simply connects, and tries to stay connected:

from twisted.internet import reactor
from dAmnViper.base import dAmnClient

dAmn = dAmnClient()

dAmn.user.username = 'username'
dAmn.user.token = 'authtoken'
dAmn.autojoin = ['Botdom']

dAmn.on_connection_start = lambda connector: reactor.start()
dAmn.teardown = lambda: reactor.stop()

dAmn.start()

That is all that is required! It is advised that you use the dAmnClient class when making applications that connect to dAmn. Chat bots and full clients can be made by extending the dAmnClient class to add functionality, as shown in the examples provided.

Dependencies

A disadvantage of using twisted is the acquisition of dependencies. This means that applications using dAmn Viper will depend on twisted as well as dAmn Viper.

It is more of an issue for end users, as they will not want to spend time installing multiple dependencies. This problem can, however, be eleminated by creating installers for applications using dAmn Viper.

As such, this is somewhat a non-point, but it does mean an installer has to be created to achieve easy setup for end users. Fortunately, installers are something which users tend to be ok at using, so long as they aren't too complicated. Having an installer which downloads and installs multiple dependencies may complicate things too much. We'll see.

Feedback

Feedback on this branch of dAmn Viper would be very much appreciated. Please send any feedback to my deviantART account via notes, or submit something on github, I dunno.

Thanks for reading.

DISCLAIMER

Disclaimer:

        dAmn Viper is in no way affiliated with or endorsed by deviantART.com.
This is not an official service of deviantART.com. This is an independent
project created by Henry Rapley:
        <http://photofroggy.deviantart.com>

        THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

Subscribe to package updates

Last updated Dec 7th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.