Skip to main content

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.

Release files for dAmnViper 3.59

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distributions (sdists)

Source distribution for dAmnViper 3.59
File Size Uploaded
dAmnViper-3.59.zip 55.4 kB Details
dAmnViper-3.59.tar.gz 37.4 kB Details

Release files / dAmnViper-3.59.zip

Download URL dAmnViper-3.59.zip
Size 55.4 kB
Tags Source
SHA-256 checksum
How to use checksums
41653a8a03af38a710fa0a4a8bdc8dc87a99385e38cd70f3cd7215cd05bea3fe
BLAKE2b-256 checksum
How to use checksums
6489add40e336fe45c93428965af7a730a1e6bc12bb914e6c77621b09f903585
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / dAmnViper-3.59.tar.gz

Download URL dAmnViper-3.59.tar.gz
Size 37.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e90c6eee7f3f959e6d9051a503c4106dd09601c60f2ddf2311b8a3d0a336ab7e
BLAKE2b-256 checksum
How to use checksums
0435b051357d93ce5f1479121043f4c3fe04cde6f0eea9996283d15e9a3fd083
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

3.59 This release

2 release files

3.58

2 release files

3.57

2 release files

3.56

2 release files

3.55

2 release files

2.54

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page