FM

//lib64/python2.7 UP

"""Self documenting XML-RPC Server.

This module can be used to create XML-RPC servers that
serve pydoc-style documentation in response to HTTP
GET requests. This documentation is dynamically generated
based on the functions and methods registered with the
server.

This module is built upon the pydoc and SimpleXMLRPCServer
modules.
"""

import pydoc
import inspect
import re
import sys

from SimpleXMLRPCServer import (SimpleXMLRPCServer,
            SimpleXMLRPCRequestHandler,
            CGIXMLRPCRequestHandler,
            resolve_dotted_attribute)


def _html_escape_quote(s):
    s = s.replace("&", "&") # Must be done first!
    s = s.replace("<", "&lt;")
    s = s.replace(">", "&gt;")
    s = s.replace('"', "&quot;")
    s = s.replace('\'', "&#x27;")
    return s


class ServerHTMLDoc(pydoc.HTMLDoc):
    """Class used to generate pydoc HTML document for a server"""

    def markup(self, text, escape=None, funcs={}, classes={}, methods={}):
        """Mark up some plain text, given a context of symbols to look for.
        Each context dictionary maps object names to anchor names."""
        escape = escape or self.escape
        results = []
        here = 0

        # XXX Note that this regular expression does not allow for the
        # hyperlinking of arbitrary strings being used as method
        # names. Only methods with names consisting of word characters
        # and '.'s are hyperlinked.
        pattern = re.compile(r'\b((http|ftp)://\S+[\w/]|'
                                r'RFC[- ]?(\d+)|'
                                r'PEP[- ]?(\d+)|'
                                r'(self\.)?((?:\w|\.)+))\b')
        while 1:
            match = pattern.search(text, here)
            if not match: break
            start, end = match.span()
            results.append(escape(text[here:start]))

            all, scheme, rfc, pep, selfdot, name = match.groups()
            if scheme:
                url = escape(all).replace('"', '&quot;')
                results.append('<a href="%s">%s</a>' % (url, url))
            elif rfc:
                url = 'http://www.rfc-editor.org/rfc/rfc%d.txt' % int(rfc)
                results.append('<a href="%s">%s</a>' % (url, escape(all)))
            elif pep:
                url = 'http://www.python.org/dev/peps/pep-%04d/' % int(pep)
                results.append('<a href="%s">%s</a>' % (url, escape(all)))
            elif text[end:end+1] == '(':
                results.append(self.namelink(name, methods, funcs, classes))
            elif selfdot:
                results.append('self.<strong>%s</strong>' % name)
            else:
                results.append(self.namelink(name, classes))
            here = end
        results.append(escape(text[here:]))
        return ''.join(results)

    def docroutine(self, object, name, mod=None,
                   funcs={}, classes={}, methods={}, cl=None):
        """Produce HTML documentation for a function or method object."""

        anchor = (cl and cl.__name__ or '') + '-' + name
        note = ''

        title = '<a name="%s"><strong>%s</strong></a>' % (
            self.escape(anchor), self.escape(name))

        if inspect.ismethod(object):
            args, varargs, varkw, defaults = inspect.getargspec(object.im_func)
            # exclude the argument bound to the instance, it will be
            # confusing to the non-Python user
            argspec = inspect.formatargspec (
                    args[1:],
                    varargs,
                    varkw,
                    defaults,
                    formatvalue=self.formatvalue
                )
        elif inspect.isfunction(object):
            args, varargs, varkw, defaults = inspect.getargspec(object)
            argspec = inspect.formatargspec(
                args, varargs, varkw, defaults, formatvalue=self.formatvalue)
        else:
            argspec = '(...)'

        if isinstance(object, tuple):
            argspec = object[0] or argspec
            docstring = object[1] or ""
        else:
            docstring = pydoc.getdoc(object)

        decl = title + argspec + (note and self.grey(
               '<font face="helvetica, arial">%s</font>' % note))

        doc = self.markup(
            docstring, self.preformat, funcs, classes, methods)
        doc = doc and '<dd><tt>%s</tt></dd>' % doc
        return '<dl><dt>%s</dt>%s</dl>\n' % (decl, doc)

    def docserver(self, server_name, package_documentation, methods):
        """Produce HTML documentation for an XML-RPC server."""

        fdict = {}
        for key, value in methods.items():
            fdict[key] = '#-' + key
            fdict[value] = fdict[key]

        server_name = self.escape(server_name)
        head = '<big><big><strong>%s</strong></big></big>' % server_name
        result = self.heading(head, '#ffffff', '#7799ee')

        doc = self.markup(package_documentation, self.preformat, fdict)
        doc = doc and '<tt>%s</tt>' % doc
        result = result + '<p>%s</p>\n' % doc

        contents = []
        method_items = sorted(methods.items())
        for key, value in method_items:
            contents.append(self.docroutine(value, key, funcs=fdict))
        result = result + self.bigsection(
            'Methods', '#ffffff', '#eeaa77', pydoc.join(contents))

        return result

class XMLRPCDocGenerator:
    """Generates documentation for an XML-RPC server.

    This class is designed as mix-in and should not
    be constructed directly.
    """

    def __init__(self):
        # setup variables used for HTML documentation
        self.server_name = 'XML-RPC Server Documentation'
        self.server_documentation = \
            "This server exports the following methods through the XML-RPC "\
            "protocol."
        self.server_title = 'XML-RPC Server Documentation'

    def set_server_title(self, server_title):
        """Set the HTML title of the generated server documentation"""

        self.server_title = server_title

    def set_server_name(self, server_name):
        """Set the name of the generated HTML server documentation"""

        self.server_name = server_name

    def set_server_documentation(self, server_documentation):
        """Set the documentation string for the entire server."""

        self.server_documentation = server_documentation

    def generate_html_documentation(self):
        """generate_html_documentation() => html documentation for the server

        Generates HTML documentation for the server using introspection for
        installed functions and instances that do not implement the
        _dispatch method. Alternatively, instances can choose to implement
        the _get_method_argstring(method_name) method to provide the
        argument string used in the documentation and the
        _methodHelp(method_name) method to provide the help text used
        in the documentation."""

        methods = {}

        for method_name in self.system_listMethods():
            if method_name in self.funcs:
                method = self.funcs[method_name]
            elif self.instance is not None:
                method_info = [None, None] # argspec, documentation
                if hasattr(self.instance, '_get_method_argstring'):
                    method_info[0] = self.instance._get_method_argstring(method_name)
                if hasattr(self.instance, '_methodHelp'):
                    method_info[1] = self.instance._methodHelp(method_name)

                method_info = tuple(method_info)
                if method_info != (None, None):
                    method = method_info
                elif not hasattr(self.instance, '_dispatch'):
                    try:
                        method = resolve_dotted_attribute(
                                    self.instance,
                                    method_name
                                    )
                    except AttributeError:
                        method = method_info
                else:
                    method = method_info
            else:
                assert 0, "Could not find method in self.functions and no "\
                          "instance installed"

            methods[method_name] = method

        documenter = ServerHTMLDoc()
        documentation = documenter.docserver(
                                self.server_name,
                                self.server_documentation,
                                methods
                            )

        title = _html_escape_quote(self.server_title)
        return documenter.page(title, documentation)

class DocXMLRPCRequestHandler(SimpleXMLRPCRequestHandler):
    """XML-RPC and documentation request handler class.

    Handles all HTTP POST requests and attempts to decode them as
    XML-RPC requests.

    Handles all HTTP GET requests and interprets them as requests
    for documentation.
    """

    def do_GET(self):
        """Handles the HTTP GET request.

        Interpret all HTTP GET requests as requests for server
        documentation.
        """
        # Check that the path is legal
        if not self.is_rpc_path_valid():
            self.report_404()
            return

        response = self.server.generate_html_documentation()
        self.send_response(200)
        self.send_header("Content-type", "text/html")
        self.send_header("Content-length", str(len(response)))
        self.end_headers()
        self.wfile.write(response)

class DocXMLRPCServer(  SimpleXMLRPCServer,
                        XMLRPCDocGenerator):
    """XML-RPC and HTML documentation server.

    Adds the ability to serve server documentation to the capabilities
    of SimpleXMLRPCServer.
    """

    def __init__(self, addr, requestHandler=DocXMLRPCRequestHandler,
                 logRequests=1, allow_none=False, encoding=None,
                 bind_and_activate=True):
        SimpleXMLRPCServer.__init__(self, addr, requestHandler, logRequests,
                                    allow_none, encoding, bind_and_activate)
        XMLRPCDocGenerator.__init__(self)

class DocCGIXMLRPCRequestHandler(   CGIXMLRPCRequestHandler,
                                    XMLRPCDocGenerator):
    """Handler for XML-RPC data and documentation requests passed through
    CGI"""

    def handle_get(self):
        """Handles the HTTP GET request.

        Interpret all HTTP GET requests as requests for server
        documentation.
        """

        response = self.generate_html_documentation()

        print 'Content-Type: text/html'
        print 'Content-Length: %d' % len(response)
        print
        sys.stdout.write(response)

    def __init__(self):
        CGIXMLRPCRequestHandler.__init__(self)
        XMLRPCDocGenerator.__init__(self)
BaseHTTPServer.py22747V
BaseHTTPServer.pyc21722V
BaseHTTPServer.pyo21722V
Bastion.py5744V
Bastion.pyc6660V
Bastion.pyo6660V
CGIHTTPServer.py13089V
CGIHTTPServer.pyc11018V
CGIHTTPServer.pyo11018V
ConfigParser.py27746V
ConfigParser.pyc25213V
ConfigParser.pyo25213V
Cookie.py26538V
Cookie.pyc22658V
Cookie.pyo22658V
DocXMLRPCServer.py10768V
DocXMLRPCServer.pyc10195V
DocXMLRPCServer.pyo10086V
HTMLParser.py17171V
HTMLParser.pyc13727V
HTMLParser.pyo13422V
MimeWriter.py6482V
MimeWriter.pyc7364V
MimeWriter.pyo7364V
Queue.py8577V
Queue.pyc9424V
Queue.pyo9424V
SimpleHTTPServer.py7997V
SimpleHTTPServer.pyc8010V
SimpleHTTPServer.pyo8010V
SimpleXMLRPCServer.py25812V
SimpleXMLRPCServer.pyc22863V
SimpleXMLRPCServer.pyo22863V
SocketServer.py23948V
SocketServer.pyc24087V
SocketServer.pyo24087V
StringIO.py10662V
StringIO.pyc11480V
StringIO.pyo11480V
UserDict.py7060V
UserDict.pyc9711V
UserDict.pyo9711V
UserList.py3644V
UserList.pyc6577V
UserList.pyo6577V
UserString.py9687V
UserString.pyc14864V
UserString.pyo14864V
_LWPCookieJar.py6553V
_LWPCookieJar.pyc5434V
_LWPCookieJar.pyo5434V
_MozillaCookieJar.py5797V
_MozillaCookieJar.pyc4461V
_MozillaCookieJar.pyo4422V
__future__.py4380V
__future__.pyc4223V
__future__.pyo4223V
__phello__.foo.py64V
__phello__.foo.pyc125V
__phello__.foo.pyo125V
_abcoll.py18619V
_abcoll.pyc25682V
_abcoll.pyo25682V
_osx_support.py19100V
_osx_support.pyc11758V
_osx_support.pyo11758V
_pyio.py69630V
_pyio.pyc64701V
_pyio.pyo64701V
_strptime.py20728V
_strptime.pyc15172V
_strptime.pyo15172V
_sysconfigdata.py19732V
_sysconfigdata.pyc22968V
_sysconfigdata.pyo22968V
_threading_local.py7260V
_threading_local.pyc6373V
_threading_local.pyo6373V
_weakrefset.py5911V
_weakrefset.pyc9678V
_weakrefset.pyo9678V
abc.py7145V
abc.pyc6143V
abc.pyo6087V
aifc.py34579V
aifc.pyc30459V
aifc.pyo30459V
antigravity.py60V
antigravity.pyc203V
antigravity.pyo203V
anydbm.py2663V
anydbm.pyc2800V
anydbm.pyo2800V
argparse.py89228V
argparse.pyc64367V
argparse.pyo64202V
ast.py11805V
ast.pyc12938V
ast.pyo12938V
asynchat.py11581V
asynchat.pyc8810V
asynchat.pyo8810V
asyncore.py20943V
asyncore.pyc18893V
asyncore.pyo18893V
atexit.py1705V
atexit.pyc2203V
atexit.pyo2203V
audiodev.py7597V
audiodev.pyc8469V
audiodev.pyo8469V
base64.py11806V
base64.pyc11297V
base64.pyo11297V
bdb.py21714V
bdb.pyc19101V
bdb.pyo19101V
binhex.py14698V
binhex.pyc15460V
binhex.pyo15460V
bisect.py2595V
bisect.pyc3071V
bisect.pyo3071V
bsddb-
cProfile.py6573V
cProfile.pyc6395V
cProfile.pyo6395V
calendar.py23384V
calendar.pyc27913V
calendar.pyo27913V
cgi.py36308V
cgi.pyc33366V
cgi.pyo33366V
cgitb.py12175V
cgitb.pyc12138V
cgitb.pyo12138V
chunk.py5419V
chunk.pyc5602V
chunk.pyo5602V
cmd.py15026V
cmd.pyc14039V
cmd.pyo14039V
code.py10189V
code.pyc10334V
code.pyo10334V
codecs.py36143V
codecs.pyc36824V
codecs.pyo36824V
codeop.py5999V
codeop.pyc6597V
codeop.pyo6597V
collections.py27798V
collections.pyc26163V
collections.pyo26112V
colorsys.py3691V
colorsys.pyc3991V
colorsys.pyo3991V
commands.py2545V
commands.pyc2469V
commands.pyo2469V
compileall.py7763V
compileall.pyc7017V
compileall.pyo7017V
compiler-
config-
contextlib.py4424V
contextlib.pyc4454V
contextlib.pyo4454V
cookielib.py65486V
cookielib.pyc54725V
cookielib.pyo54537V
copy.py11533V
copy.pyc12170V
copy.pyo12078V
copy_reg.py6974V
copy_reg.pyc5167V
copy_reg.pyo5123V
crypt.py2292V
crypt.pyc2960V
crypt.pyo2960V
csv.py16708V
csv.pyc13507V
csv.pyo13507V
ctypes-
curses-
dbhash.py498V
dbhash.pyc718V
dbhash.pyo718V
decimal.py221933V
decimal.pyc172155V
decimal.pyo172155V
difflib.py82325V
difflib.pyc61898V
difflib.pyo61847V
dircache.py1126V
dircache.pyc1576V
dircache.pyo1576V
dis.py6499V
dis.pyc6228V
dis.pyo6228V
distutils-
doctest.py105095V
doctest.pyc83637V
doctest.pyo83350V
dumbdbm.py9141V
dumbdbm.pyc6746V
dumbdbm.pyo6746V
dummy_thread.py4418V
dummy_thread.pyc5394V
dummy_thread.pyo5394V
dummy_threading.py2804V
dummy_threading.pyc1285V
dummy_threading.pyo1285V
email-
encodings-
ensurepip-
filecmp.py9588V
filecmp.pyc9622V
filecmp.pyo9622V
fileinput.py13746V
fileinput.pyc14500V
fileinput.pyo14500V
fnmatch.py3315V
fnmatch.pyc3614V
fnmatch.pyo3614V
formatter.py14911V
formatter.pyc19178V
formatter.pyo19178V
fpformat.py4732V
fpformat.pyc4703V
fpformat.pyo4703V
fractions.py22390V
fractions.pyc19711V
fractions.pyo19711V
ftplib.py38555V
ftplib.pyc34939V
ftplib.pyo34939V
functools.py4806V
functools.pyc6629V
functools.pyo6629V
genericpath.py3201V
genericpath.pyc3517V
genericpath.pyo3517V
getopt.py7319V
getopt.pyc6654V
getopt.pyo6609V
getpass.py5563V
getpass.pyc4744V
getpass.pyo4744V
gettext.py22666V
gettext.pyc18004V
gettext.pyo18004V
glob.py3114V
glob.pyc2943V
glob.pyo2943V
gzip.py19028V
gzip.pyc15236V
gzip.pyo15236V
hashlib.py7841V
hashlib.pyc6919V
hashlib.pyo6919V
heapq.py18295V
heapq.pyc14564V
heapq.pyo14564V
hmac.py4588V
hmac.pyc4542V
hmac.pyo4542V
hotshot-
htmlentitydefs.py18056V
htmlentitydefs.pyc6367V
htmlentitydefs.pyo6367V
htmllib.py12869V
htmllib.pyc20309V
htmllib.pyo20309V
httplib.py53306V
httplib.pyc38724V
httplib.pyo38540V
idlelib-
ihooks.py18986V
ihooks.pyc21372V
ihooks.pyo21372V
imaplib.py48366V
imaplib.pyc45011V
imaplib.pyo42310V
imghdr.py3541V
imghdr.pyc4838V
imghdr.pyo4838V
importlib-
imputil.py25764V
imputil.pyc15623V
imputil.pyo15445V
inspect.py43008V
inspect.pyc40229V
inspect.pyo40229V
io.py3322V
io.pyc3589V
io.pyo3589V
json-
keyword.py1995V
keyword.pyc2105V
keyword.pyo2105V
lib-dynload-
lib2to3-
linecache.py4027V
linecache.pyc3272V
linecache.pyo3272V
locale.py102834V
locale.pyc56610V
locale.pyo56610V
logging-
macpath.py6289V
macpath.pyc7681V
macpath.pyo7681V
macurl2path.py2731V
macurl2path.pyc2244V
macurl2path.pyo2244V
mailbox.py81240V
mailbox.pyc76717V
mailbox.pyo76670V
mailcap.py8404V
mailcap.pyc7955V
mailcap.pyo7955V
markupbase.py14643V
markupbase.pyc9267V
markupbase.pyo9071V
md5.py358V
md5.pyc378V
md5.pyo378V
mhlib.py33434V
mhlib.pyc33777V
mhlib.pyo33777V
mimetools.py7168V
mimetools.pyc8201V
mimetools.pyo8201V
mimetypes.py21028V
mimetypes.pyc18489V
mimetypes.pyo18489V
mimify.py15020V
mimify.pyc12001V
mimify.pyo12001V
modulefinder.py24461V
modulefinder.pyc19127V
modulefinder.pyo19045V
multifile.py4820V
multifile.pyc5420V
multifile.pyo5378V
multiprocessing-
mutex.py1878V
mutex.pyc2516V
mutex.pyo2516V
netrc.py5888V
netrc.pyc4714V
netrc.pyo4714V
new.py610V
new.pyc862V
new.pyo862V
nntplib.py21470V
nntplib.pyc21044V
nntplib.pyo21044V
ntpath.py19429V
ntpath.pyc13129V
ntpath.pyo13129V
nturl2path.py2419V
nturl2path.pyc1815V
nturl2path.pyo1815V
numbers.py10319V
numbers.pyc14012V
numbers.pyo14012V
opcode.py5474V
opcode.pyc6145V
opcode.pyo6145V
optparse.py61203V
optparse.pyc53894V
optparse.pyo53811V
os.py25910V
os.pyc25689V
os.pyo25689V
os2emxpath.py4635V
os2emxpath.pyc4525V
os2emxpath.pyo4525V
pdb.doc7914V
pdb.py46098V
pdb.pyc43669V
pdb.pyo43669V
pickle.py45489V
pickle.pyc38560V
pickle.pyo38364V
pickletools.py74523V
pickletools.pyc57032V
pickletools.pyo56171V
pipes.py9582V
pipes.pyc9308V
pipes.pyo9308V
pkgutil.py20243V
pkgutil.pyc18959V
pkgutil.pyo18959V
plat-linux2-
platform.py52801V
platform.pyc37971V
platform.pyo37971V
plistlib.py15810V
plistlib.pyc19963V
plistlib.pyo19877V
popen2.py8416V
popen2.pyc9025V
popen2.pyo8983V
poplib.py12824V
poplib.pyc13345V
poplib.pyo13345V
posixfile.py8003V
posixfile.pyc7652V
posixfile.pyo7652V
posixpath.py14293V
posixpath.pyc11462V
posixpath.pyo11462V
pprint.py11777V
pprint.pyc10194V
pprint.pyo10017V
profile.py22781V
profile.pyc16456V
profile.pyo16209V
pstats.py26712V
pstats.pyc25013V
pstats.pyo25013V
pty.py5058V
pty.pyc4966V
pty.pyo4966V
py_compile.py5936V
py_compile.pyc6428V
py_compile.pyo6428V
pyclbr.py13388V
pyclbr.pyc9651V
pyclbr.pyo9651V
pydoc.py95739V
pydoc.pyc92342V
pydoc.pyo92278V
pydoc_data-
quopri.py6968V
quopri.pyc6574V
quopri.pyo6574V
random.py32457V
random.pyc25704V
random.pyo25704V
re.py13423V
re.pyc13413V
re.pyo13413V
repr.py4296V
repr.pyc5385V
repr.pyo5385V
rexec.py20148V
rexec.pyc23807V
rexec.pyo23807V
rfc822.py33542V
rfc822.pyc31813V
rfc822.pyo31813V
rlcompleter.py5991V
rlcompleter.pyc6078V
rlcompleter.pyo6078V
robotparser.py7695V
robotparser.pyc8003V
robotparser.pyo8003V
runpy.py11081V
runpy.pyc8803V
runpy.pyo8803V
sched.py5088V
sched.pyc4994V
sched.pyo4994V
sets.py19050V
sets.pyc16895V
sets.pyo16895V
sgmllib.py17884V
sgmllib.pyc15436V
sgmllib.pyo15436V
sha.py393V
sha.pyc421V
sha.pyo421V
shelve.py8178V
shelve.pyc10256V
shelve.pyo10256V
shlex.py11164V
shlex.pyc7558V
shlex.pyo7558V
shutil.py19871V
shutil.pyc19259V
shutil.pyo19259V
site-packages-
site.py21296V
site.pyc20786V
site.pyo20786V
smtpd.py18542V
smtpd.pyc15883V
smtpd.pyo15883V
smtplib.py32134V
smtplib.pyc30304V
smtplib.pyo30304V
sndhdr.py5973V
sndhdr.pyc7361V
sndhdr.pyo7361V
socket.py20615V
socket.pyc16152V
socket.pyo16066V
sqlite3-
sre.py384V
sre.pyc519V
sre.pyo519V
sre_compile.py19823V
sre_compile.pyc12560V
sre_compile.pyo12404V
sre_constants.py7197V
sre_constants.pyc6195V
sre_constants.pyo6195V
sre_parse.py30700V
sre_parse.pyc21156V
sre_parse.pyo21156V
ssl.py39310V
ssl.pyc32716V
ssl.pyo32716V
stat.py1842V
stat.pyc2751V
stat.pyo2751V
statvfs.py898V
statvfs.pyc620V
statvfs.pyo620V
string.py21548V
string.pyc20459V
string.pyo20459V
stringold.py12449V
stringold.pyc12549V
stringold.pyo12549V
stringprep.py13522V
stringprep.pyc14487V
stringprep.pyo14415V
struct.py82V
struct.pyc239V
struct.pyo239V
subprocess.py50520V
subprocess.pyc32398V
subprocess.pyo32398V
sunau.py17222V
sunau.pyc18394V
sunau.pyo18394V
sunaudio.py1399V
sunaudio.pyc1987V
sunaudio.pyo1987V
symbol.py2057V
symbol.pyc3026V
symbol.pyo3026V
symtable.py7437V
symtable.pyc11786V
symtable.pyo11655V
sysconfig.py22852V
sysconfig.pyc17818V
sysconfig.pyo17818V
tabnanny.py11339V
tabnanny.pyc8247V
tabnanny.pyo8247V
tarfile.py90655V
tarfile.pyc76193V
tarfile.pyo76193V
telnetlib.py27036V
telnetlib.pyc23154V
telnetlib.pyo23154V
tempfile.py19547V
tempfile.pyc20344V
tempfile.pyo20344V
test-
textwrap.py17280V
textwrap.pyc12097V
textwrap.pyo12005V
this.py1002V
this.pyc1220V
this.pyo1220V
threading.py47377V
threading.pyc42726V
threading.pyo40552V
timeit.py12791V
timeit.pyc12183V
timeit.pyo12183V
toaiff.py3142V
toaiff.pyc3106V
toaiff.pyo3106V
token.py2922V
token.pyc3816V
token.pyo3816V
tokenize.py17483V
tokenize.pyc14505V
tokenize.pyo14449V
trace.py29891V
trace.pyc22793V
trace.pyo22730V
traceback.py11285V
traceback.pyc11679V
traceback.pyo11679V
tty.py879V
tty.pyc1317V
tty.pyo1317V
types.py2094V
types.pyc2725V
types.pyo2725V
unittest-
urllib.py60228V
urllib.pyc51241V
urllib.pyo51146V
urllib2.py52541V
urllib2.pyc47302V
urllib2.pyo47207V
urlparse.py20461V
urlparse.pyc18015V
urlparse.pyo18015V
user.py1627V
user.pyc1724V
user.pyo1724V
uu.py6697V
uu.pyc4390V
uu.pyo4390V
uuid.py23530V
uuid.pyc23366V
uuid.pyo23250V
warnings.py14823V
warnings.pyc13510V
warnings.pyo12721V
wave.py18582V
wave.pyc20013V
wave.pyo19869V
weakref.py14830V
weakref.pyc16441V
weakref.pyo16441V
webbrowser.py22725V
webbrowser.pyc19750V
webbrowser.pyo19705V
whichdb.py3379V
whichdb.pyc2241V
whichdb.pyo2241V
wsgiref-
wsgiref.egg-info187V
xdrlib.py6069V
xdrlib.pyc9902V
xdrlib.pyo9902V
xml-
xmllib.py34865V
xmllib.pyc26848V
xmllib.pyo26848V
xmlrpclib.py52136V
xmlrpclib.pyc44106V
xmlrpclib.pyo43922V
zipfile.py59477V
zipfile.pyc42137V
zipfile.pyo42137V
MyMelon - Digital Marketing and Creative Agency in Delhi, India
Skip to content Skip to footer

MyMelon Home Page

Bored Of Old School Strategies?

Conventional strategies do no justice to complex modern problems. Bringing in kickass blueprints to escalate your exclusive ideas to the growth trajectory.

MyMelon Home Page (1)

Falling In Love With Your Problems

Your problems are our play! You get to decide which ‘solutions’ feel like an astounding fuck yes!

Discover pitch-perfect marketing strategies to deliver complex ideas into simplified solutions. 

Diversity in our problem solving approach makes us who we are!

You Do You

For us every client and their offerings are unique. We offer tailored and hot-off-the-press strategies to produce a unique brand identity. Listening, evolving, and promoting your articles of faith is what makes our work kickass and compelling too!

#
Award
Type
Project
01
Best Project
Art Business
Business Style
2017
02
Best Design
Creative Work
Best Designers
2018
03
Best Concept
New Strategy
Branding Concept
2019
04
Best Picture
Visualization
Small Figures
2020

Our Inspirations

Vivekanand

Arise, awake, and stop not until the goal is achieved

Dr APJ Abdul Kalam

Creativity is seeing the same thing but thinking differently

Christopher Columbus

By prevailing over all obstacles one may unfailingly arrive at his chosen goal.

JRD Tata

Uncommon thinkers reuse what common thinkers refuse.

Lead The Way With Your New Digital Partners

Waiting to get viral? Don’t worry we’ve got your back!

Leading your way through business acumen and business strategies tailored to your needs.

Handholding you since your first lightbulb moment to making a mark in the industry through unique formulas.  Bringing unexpected things to the table is in our DNA.

Producing Tailored Solutions

One solution for multiple solutions is hard to swallow. Creating tailored solutions for your unique problems

Setting Benchmarks

Doesn’t carving a path for others give the best kick ever?

Making A Difference

You can’t wait for a case study. You will be too late!

Blogs

Contact Us

We work hard and then succeed on purpose.

We are constantly looking for a needle in a haystack and connecting to get the deal to happen!

If you've loved our idea and want to take the road less traveled, reach out to us on …….

Before you take the sure-shots of success, let's take some shots of vodka!

    Polscy gracze coraz częściej wybierają kasyno bez weryfikacji przy wypłacie bez ukrytych opłat, aby cieszyć się szybkim dostępem do gier i przejrzystymi warunkami wypłaty wygranych. Tego typu platformy stawiają na uproszczoną rejestrację, nowoczesne metody płatności oraz jasne zasady dotyczące transakcji. Przed rozpoczęciem gry warto zapoznać się z opiniami innych użytkowników, aby ocenić jakość obsługi i niezawodność serwisu.

    Jeśli chcesz znaleźć rzetelne opinie oraz porównać najlepsze platformy, casino Revolut Pay może pomóc Ci podjąć świadomą decyzję. Znajdziesz tam recenzje użytkowników, szczegóły bonusów oraz informacje o wpłatach i wypłatach w kasynach akceptujących Revolut.

    People searching for gerçek canlı casino usually mean live-dealer roulette, blackjack, baccarat, or game-show tables streamed from a studio with a real dealer, rather than an RNG-only game. To assess authenticity, verify the operator’s licence directly with the regulator, check the named game provider and studio, look for clear rules and table limits, inspect withdrawal terms, and confirm that the service is legal in your jurisdiction; a foreign licence does not automatically make an operator legal in Türkiye.

    [canlı casino lisans rehberi](https://guvenilircanlicasinos.com/)[gerçek krupiyeli oyunlar](https://www.livecasinos.com/tr/) [guvenilircanlicasinos](https://guvenilircanlicasinos.com/)

    Many Dutch players now look for beste online casino iDEAL to benefit from secure iDEAL deposits, low minimum stakes, and quick withdrawals. These casinos integrate trusted Dutch payment infrastructure with streamlined cashout systems, ideal for users who value speed, simplicity, and transparent transactions. By consulting authentic player reviews, gamblers can identify sites that consistently deliver rapid payouts and a seamless gaming experience.

    Gli online casinos with bancoposta sono principalmente operatori che accettano la carta Visa o Mastercard collegata al conto BancoPosta per depositi e, in alcuni casi, prelievi. Tra i nomi più citati in Italia figurano 888casino, SNAI, LeoVegas, Planetwin365, Gioco Digitale, Sisal e StarCasinò, con depositi minimi spesso tra 10€ e 20€ e limiti massimi che possono arrivare a diverse migliaia di euro. Per utilizzare la carta, di solito basta selezionare Visa o Mastercard alla cassa, inserire i dati della carta BancoPosta e completare la verifica 3D Secure; i prelievi possono tornare sulla stessa carta o sul conto tramite bonifico, con tempi tipici da 24 ore a 3–5 giorni lavorativi.

    Gracze poszukujący sprawdzonych platform często wybierają kasyno niemcy, które oferuje przejrzyste zasady wypłat i bezpieczne metody płatności. Przed rejestracją warto porównać limity transakcji, czas realizacji przelewów oraz dostępne opcje wpłat, aby uniknąć niepotrzebnych opóźnień. Opinie innych użytkowników mogą pomóc ocenić rzetelność obsługi, jakość gier i ogólny komfort korzystania z platformy.

    Oferty określane jako zagraniczne kasyna bonus bez depozytu mogą obejmować darmowe spiny lub niewielkie środki promocyjne przyznawane po rejestracji i weryfikacji konta. Przed skorzystaniem z promocji należy dokładnie sprawdzić wymagania obrotu, maksymalną wypłatę, czas ważności bonusu oraz ograniczenia dla użytkowników z Polski. Zagraniczna licencja nie legalizuje automatycznie działalności hazardowej w Polsce, dlatego warto zweryfikować operatora w oficjalnych źródłach i grać odpowiedzialnie .