id int64 0 458k | file_name stringlengths 4 119 | file_path stringlengths 14 227 | content stringlengths 24 9.96M | size int64 24 9.96M | language stringclasses 1
value | extension stringclasses 14
values | total_lines int64 1 219k | avg_line_length float64 2.52 4.63M | max_line_length int64 5 9.91M | alphanum_fraction float64 0 1 | repo_name stringlengths 7 101 | repo_stars int64 100 139k | repo_forks int64 0 26.4k | repo_open_issues int64 0 2.27k | repo_license stringclasses 12
values | repo_extraction_date stringclasses 433
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
20,300 | helpers.py | simonwagner_mergepbx/tools/helpers.py | import logging
import os
import sys
from . import SRC_DIR
def setup_path():
sys.path.append(SRC_DIR)
def setup_logging(log_level = logging.DEBUG):
logger = logging.getLogger()
logger.setLevel(log_level)
formatter = logging.Formatter('%(levelname)s %(name)s - %(message)s')
ch = logging.StreamHan... | 421 | Python | .py | 14 | 26.428571 | 73 | 0.731343 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,301 | mergepbx.py | simonwagner_mergepbx/src/mergepbx.py | #!/usr/bin/env python
import sys
import os
import zipfile
from argparse import ArgumentParser
import io
from plist.nextstep import NSPlistReader
import pbxproj
from pbxproj.merge import merge_pbxs
from pbxproj.merge.pbxmerge import MergeException
import merge3
def get_argument_parser():
parser = ArgumentParser()... | 4,527 | Python | .py | 102 | 35.029412 | 125 | 0.621677 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,302 | __init__.py | simonwagner_mergepbx/src/merge3/__init__.py | # ============================================================================
# Copyright (C) 1988, 1989, 1992, 1993, 1994 Free Software Foundation, Inc.
# Copyright (c) 2011-2012 University of Pennsylvania
# Copyright (c) 2013-2014 Andreas Schuh
# All rights reserved.
# ===============================================... | 8,584 | Python | .py | 217 | 30.926267 | 78 | 0.444218 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,303 | isa.py | simonwagner_mergepbx/src/pbxproj/isa.py | from .core import DictionaryBoundObject
from inspect import isclass
import abc
class PBXISA(object):
__metaclass__ = abc.ABCMeta
def __init__(self, identifier, *args, **kwargs):
self._identifier = identifier
super(PBXISA, self).__init__(identifier, *args, **kwargs)
@abc.abstractmethod
... | 6,678 | Python | .py | 158 | 34.905063 | 122 | 0.656313 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,304 | writer.py | simonwagner_mergepbx/src/pbxproj/writer.py | import re
import codecs
from plist import NSPlistWriter
class PBXProjectPlistWriter(NSPlistWriter):
OBJECTID_RE = re.compile(r"^[0-9A-F]{24}")
COMMENT_BLACKLIST = frozenset((
"remoteGlobalIDString",
"TargetAttributes",
))
def __init__(self, f):
super(PBXProjectPlistWriter, sel... | 4,746 | Python | .py | 117 | 29.880342 | 104 | 0.577107 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,305 | __init__.py | simonwagner_mergepbx/src/pbxproj/__init__.py | from . import core
from . import isa
from . import reader
from . import writer
from . import pbxobjects
from . import merge
read = reader.read_pbx
write = writer.write_pbx
| 173 | Python | .py | 8 | 20.5 | 24 | 0.792683 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,306 | core.py | simonwagner_mergepbx/src/pbxproj/core.py | class DictionaryBoundObject(object):
def __init__(self, dict, restricted_to_keys=None):
self._dict = dict
assert self._dict != None
self._restricted_to_keys = set(restricted_to_keys) if restricted_to_keys != None else None
def __getattr__(self, attr):
if not attr.startswith("_")... | 1,249 | Python | .py | 31 | 30.935484 | 98 | 0.601156 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,307 | pbxobjects.py | simonwagner_mergepbx/src/pbxproj/pbxobjects.py | from itertools import chain
from .core import DictionaryBoundObject
from . import isa
class PBXProjFile(DictionaryBoundObject):
MAPPED_ATTRIBUTES = ("archiveVersion", "objectVersion", "rootObject")
def __init__(self, plist, ignore_unknown_objects=False, encoding=None):
super(self.__class__, self).__in... | 3,150 | Python | .py | 75 | 33.066667 | 113 | 0.629096 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,308 | reader.py | simonwagner_mergepbx/src/pbxproj/reader.py | try:
from cStringIO import StringIO
except:
from StringIO import StringIO
from plist import NSPlistReader, XMLPlistReader
from .pbxobjects import PBXProjFile
def read_pbx(pbx_file, ignore_unknown_objects=False):
fname_or_f = pbx_file
#open file if fname_or_f is a string
#else use it as f
if is... | 1,028 | Python | .py | 32 | 27 | 70 | 0.685484 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,309 | coremerge.py | simonwagner_mergepbx/src/pbxproj/merge/coremerge.py | from collections import namedtuple, OrderedDict
from itertools import chain, izip
from orderedset import OrderedSet
KeysDictDiff = namedtuple("KeysDictDiff", ("added", "deleted", "common"))
KeysDictDiff3 = namedtuple("KeysDictDiff", ("mine_added", "theirs_added", "deleted", "common", "conflicting_deleted"))
DictDiff =... | 5,928 | Python | .py | 108 | 49.740741 | 185 | 0.708557 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,310 | pbxmerge.py | simonwagner_mergepbx/src/pbxproj/merge/pbxmerge.py | from collections import namedtuple, OrderedDict
from orderedset import OrderedSet
from inspect import isclass
import logging
from .coremerge import *
from ..pbxobjects import PBXProjFile
class MergeConflict(object):
def __init__(self, *args, **kwargs):
if not "msg" in kwargs:
raise Exception("... | 15,600 | Python | .py | 273 | 48.820513 | 188 | 0.688863 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,311 | __init__.py | simonwagner_mergepbx/src/pbxproj/merge/__init__.py | from . import coremerge
from . import pbxmerge
from .pbxmerge import get_project_file_merger
def merge_pbxs(base, mine, theirs):
merger = get_project_file_merger()
return merger.merge(base, mine, theirs)
| 214 | Python | .py | 6 | 33 | 45 | 0.76699 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,312 | orderedset.py | simonwagner_mergepbx/src/orderedset/orderedset.py | import collections
import weakref
class OrderedSetEntry(object):
def __init__(self, *args, **kwargs):
self.prev = kwargs.get("prev", None)
self.key = kwargs.get("key", None)
self._set_next(kwargs.get("next", None))
@property
def prev(self):
if self._ref_prev is None:
... | 2,872 | Python | .py | 91 | 22.296703 | 77 | 0.538992 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,313 | __main__.py | simonwagner_mergepbx/src/plist/__main__.py | import sys
from argparse import ArgumentParser
from .nextstep import NSPlistReader
def get_argument_parser():
parser = ArgumentParser()
parser.add_argument("file",
help="The file to parse")
parser.add_argument("debug",
help="If an exception is thrown, start... | 1,242 | Python | .py | 35 | 27.4 | 77 | 0.609205 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,314 | xml.py | simonwagner_mergepbx/src/plist/xml.py | from __future__ import absolute_import
from xml.dom.minidom import parse as parseXML
import xml.dom
from itertools import islice, izip, tee
from collections import OrderedDict
ENCODING_ALIASES = {
"UTF-8":"UTF8",
}
class XMLPlistReader(object):
def __init__(self, f, name=None):
self._f = f
se... | 2,816 | Python | .py | 74 | 30.702703 | 136 | 0.650368 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,315 | escape.py | simonwagner_mergepbx/src/plist/escape.py | import re
CONTROL_CHARS = {
u"\n" : u"\\n",
u"\t" : u"\\t",
u"\"" : u"\\\"",
u"\\" : u"\\\\",
}
ESCAPED_CHARS = dict((value, key) for key, value in CONTROL_CHARS.iteritems())
CONTROL_CHAR_RE = re.compile(
unicode.join(u"|", (u"(%s)" % re.escape(char) for char in CONTROL_CHARS.iterkeys()))
)
ESCA... | 743 | Python | .py | 26 | 24.269231 | 88 | 0.601969 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,316 | nextstep.py | simonwagner_mergepbx/src/plist/nextstep.py | import re
from collections import OrderedDict
import codecs
from itertools import izip, izip_longest
try:
from cStringIO import StringIO
except:
from StringIO import StringIO
from .antlr import PlistLexer
from .antlr import PlistParser
from .antlr.runtime import antlr3
from .escape import escape_string
class... | 6,663 | Python | .py | 173 | 29.34104 | 116 | 0.592024 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,317 | PlistLexer.py | simonwagner_mergepbx/src/plist/antlr/PlistLexer.py | # $ANTLR 3.2 Sep 23, 2009 12:02:23 Plist.g 2013-12-12 18:02:36
import sys
from itertools import chain
from .runtime.antlr3 import *
from .runtime.antlr3.compat import set, frozenset
# for convenience in actions
HIDDEN = BaseRecognizer.HIDDEN
# token types
BRACE_OPEN=13
WS=16
ESC_SEQ=7
BRACE_CLOSE=14
WS_CHAR=5
IDENT... | 22,194 | Python | .py | 634 | 20.970032 | 173 | 0.402122 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,318 | PlistParser.py | simonwagner_mergepbx/src/plist/antlr/PlistParser.py | # $ANTLR 3.2 Sep 23, 2009 12:02:23 Plist.g 2013-12-12 18:02:36
import sys
from .runtime.antlr3 import *
from .runtime.antlr3.compat import set, frozenset
from collections import OrderedDict
from ..escape import unescape_string
# for convenience in actions
HIDDEN = BaseRecognizer.HIDDEN
# token types
BRAC... | 16,877 | Python | .py | 378 | 28.78836 | 159 | 0.523288 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,319 | treewizard.py | simonwagner_mergepbx/src/plist/antlr/runtime/antlr3/treewizard.py | """ @package antlr3.tree
@brief ANTLR3 runtime package, treewizard module
A utility module to create ASTs at runtime.
See <http://www.antlr.org/wiki/display/~admin/2007/07/02/Exploring+Concept+of+TreeWizard> for an overview. Note that the API of the Python implementation is slightly different.
"""
# begin[licence]
#... | 18,311 | Python | .py | 443 | 31.124153 | 176 | 0.610558 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,320 | recognizers.py | simonwagner_mergepbx/src/plist/antlr/runtime/antlr3/recognizers.py | """ANTLR3 runtime package"""
# begin[licence]
#
# [The "BSD licence"]
# Copyright (c) 2005-2008 Terence Parr
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code ... | 51,730 | Python | .py | 1,091 | 36.936755 | 84 | 0.630046 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,321 | tree.py | simonwagner_mergepbx/src/plist/antlr/runtime/antlr3/tree.py | """ @package antlr3.tree
@brief ANTLR3 runtime package, tree module
This module contains all support classes for AST construction and tree parsers.
"""
# begin[licence]
#
# [The "BSD licence"]
# Copyright (c) 2005-2008 Terence Parr
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or... | 78,338 | Python | .py | 1,854 | 32.673679 | 82 | 0.614011 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,322 | streams.py | simonwagner_mergepbx/src/plist/antlr/runtime/antlr3/streams.py | """ANTLR3 runtime package"""
# begin[licence]
#
# [The "BSD licence"]
# Copyright (c) 2005-2008 Terence Parr
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code ... | 43,486 | Python | .py | 1,038 | 32.065511 | 79 | 0.607213 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,323 | dfa.py | simonwagner_mergepbx/src/plist/antlr/runtime/antlr3/dfa.py | """ANTLR3 runtime package"""
# begin[licence]
#
# [The "BSD licence"]
# Copyright (c) 2005-2008 Terence Parr
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code ... | 7,619 | Python | .py | 166 | 33.23494 | 79 | 0.579786 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,324 | tokens.py | simonwagner_mergepbx/src/plist/antlr/runtime/antlr3/tokens.py | """ANTLR3 runtime package"""
# begin[licence]
#
# [The "BSD licence"]
# Copyright (c) 2005-2008 Terence Parr
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code ... | 12,010 | Python | .py | 281 | 33.359431 | 87 | 0.627277 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,325 | constants.py | simonwagner_mergepbx/src/plist/antlr/runtime/antlr3/constants.py | """ANTLR3 runtime package"""
# begin[licence]
#
# [The "BSD licence"]
# Copyright (c) 2005-2008 Terence Parr
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code ... | 2,111 | Python | .py | 48 | 42.770833 | 75 | 0.779834 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,326 | __init__.py | simonwagner_mergepbx/src/plist/antlr/runtime/antlr3/__init__.py | """ @package antlr3
@brief ANTLR3 runtime package
This module contains all support classes, which are needed to use recognizers
generated by ANTLR3.
@mainpage
\note Please be warned that the line numbers in the API documentation do not
match the real locations in the source code of the package. This is an
unintended... | 5,724 | Python | .py | 128 | 42.585938 | 79 | 0.793911 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,327 | debug.py | simonwagner_mergepbx/src/plist/antlr/runtime/antlr3/debug.py | # begin[licence]
#
# [The "BSD licence"]
# Copyright (c) 2005-2009 Terence Parr
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above co... | 33,654 | Python | .py | 788 | 34.685279 | 80 | 0.650094 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,328 | compat.py | simonwagner_mergepbx/src/plist/antlr/runtime/antlr3/compat.py | """Compatibility stuff"""
# begin[licence]
#
# [The "BSD licence"]
# Copyright (c) 2005-2008 Terence Parr
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code mus... | 1,776 | Python | .py | 42 | 40.095238 | 75 | 0.769676 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,329 | exceptions.py | simonwagner_mergepbx/src/plist/antlr/runtime/antlr3/exceptions.py | """ANTLR3 exception hierarchy"""
# begin[licence]
#
# [The "BSD licence"]
# Copyright (c) 2005-2008 Terence Parr
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source c... | 12,725 | Python | .py | 264 | 39.359848 | 86 | 0.672586 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,330 | main.py | simonwagner_mergepbx/src/plist/antlr/runtime/antlr3/main.py | """ANTLR3 runtime package"""
# begin[licence]
#
# [The "BSD licence"]
# Copyright (c) 2005-2008 Terence Parr
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code ... | 9,134 | Python | .py | 248 | 25.46371 | 75 | 0.5693 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,331 | dottreegen.py | simonwagner_mergepbx/src/plist/antlr/runtime/antlr3/dottreegen.py | """ @package antlr3.dottreegenerator
@brief ANTLR3 runtime package, tree module
This module contains all support classes for AST construction and tree parsers.
"""
# begin[licence]
#
# [The "BSD licence"]
# Copyright (c) 2005-2008 Terence Parr
# All rights reserved.
#
# Redistribution and use in source and binary fo... | 6,974 | Python | .py | 167 | 33.916168 | 96 | 0.649911 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,332 | extras.py | simonwagner_mergepbx/src/plist/antlr/runtime/antlr3/extras.py | """ @package antlr3.dottreegenerator
@brief ANTLR3 runtime package, tree module
This module contains all support classes for AST construction and tree parsers.
"""
# begin[licence]
#
# [The "BSD licence"]
# Copyright (c) 2005-2008 Terence Parr
# All rights reserved.
#
# Redistribution and use in source and binary fo... | 1,907 | Python | .py | 41 | 44.97561 | 79 | 0.786022 | simonwagner/mergepbx | 1,037 | 46 | 14 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,333 | setup.py | devsnd_cherrymusic/setup.py | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import os
import sys
import codecs
try:
import py2exe
except ImportError:
pass
import re
here = os.path.abspath(os.path.dirname(__file__))
def get_global_str_from_file(rel_filepath, var):
... | 5,647 | Python | .py | 149 | 31.248322 | 128 | 0.634307 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,334 | __init__.py | devsnd_cherrymusic/cmbootstrap/__init__.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012-2015 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT license)... | 3,910 | Python | .py | 98 | 34 | 100 | 0.68883 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,335 | tinytag.py | devsnd_cherrymusic/tinytag/tinytag.py | #!/usr/bin/python3
# -*- coding: utf-8 -*-
#
# tinytag - an audio meta info reader
# Copyright (c) 2014-2015 Tom Wallroth
#
# Sources on github:
# http://github.com/devsnd/tinytag/
#
# licensed under GNU GPL version 3 (or later)
#
# This program is free software: you can redistribute it and/or modify
# it under the ter... | 48,475 | Python | .py | 938 | 39.430704 | 142 | 0.552044 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,336 | __init__.py | devsnd_cherrymusic/tinytag/__init__.py | #!/usr/bin/python
# -*- coding: utf-8 -*-
from .tinytag import TinyTag, TinyTagException, ID3, Ogg, Wave, Flac
import sys
__version__ = '0.15.0'
if __name__ == '__main__':
print(TinyTag.get(sys.argv[1])) | 210 | Python | .py | 7 | 28.142857 | 68 | 0.641791 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,337 | __init__.py | devsnd_cherrymusic/backport/__init__.py | #!/usr/bin/python3
# -*- coding: utf-8 -*-
import sys
if sys.version_info < (3,0):
from . import urllib
input = raw_input
else:
input = input
if sys.version_info < (3,2):
import optparse as argparse
argparse.ArgumentParser = argparse.OptionParser
argparse.ArgumentParser.add_argument = argparse... | 858 | Python | .py | 29 | 25.517241 | 79 | 0.696602 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,338 | __init__.py | devsnd_cherrymusic/backport/logging/__init__.py | #!/usr/bin/python3
# -*- coding: utf-8 -*-
from logging import *
import sys
if sys.version_info < (2,7):
StreamHandler.__realinit__ = StreamHandler.__init__
def initStreamHandler(self,stream):
StreamHandler.__realinit__(self)
StreamHandler.__init__ = initStreamHandler
| 295 | Python | .py | 9 | 28.888889 | 55 | 0.692857 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,339 | __init__.py | devsnd_cherrymusic/backport/urllib/__init__.py | #!/usr/bin/python3
# -*- coding: utf-8 -*-
from . import parse
from . import request
| 85 | Python | .py | 4 | 20.25 | 23 | 0.679012 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,340 | __init__.py | devsnd_cherrymusic/backport/urllib/request/__init__.py | #!/usr/bin/python3
# -*- coding: utf-8 -*-
import sys
if sys.version_info < (3,):
from urllib2 import *
| 109 | Python | .py | 5 | 19.8 | 27 | 0.640777 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,341 | __init__.py | devsnd_cherrymusic/backport/urllib/parse/__init__.py | #!/usr/bin/python3
# -*- coding: utf-8 -*-
import sys
if sys.version_info < (3,):
from urllib2 import *
from urllib import unquote
from urlparse import urlparse
| 174 | Python | .py | 7 | 22 | 33 | 0.692771 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,342 | _backported.py | devsnd_cherrymusic/backport/collections/_backported.py | #!/usr/bin/python3
# -*- coding: utf-8 -*-
#
# Copyright (c) 2009 Raymond Hettinger
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
# (the "Software"), to deal in the Software without restriction,
# including without limitation the r... | 10,402 | Python | .py | 261 | 31.141762 | 85 | 0.565252 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,343 | __init__.py | devsnd_cherrymusic/backport/collections/__init__.py | #!/usr/bin/python3
# -*- coding: utf-8 -*-
from collections import *
if 'OrderedDict' not in dir():
from _backported import Counter
from _backported import OrderedDict
| 178 | Python | .py | 6 | 27 | 39 | 0.723529 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,344 | __init__.py | devsnd_cherrymusic/backport/configparser/__init__.py | #!/usr/bin/python3
# -*- coding: utf-8 -*-
import sys
if sys.version_info < (3,0):
from ConfigParser import ConfigParser
else:
from configparser import ConfigParser
| 174 | Python | .py | 7 | 22.571429 | 41 | 0.73494 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,345 | conf.py | devsnd_cherrymusic/doc/sphinx/conf.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic documentation build configuration file, created by
# sphinx-quickstart on Fri Mar 1 23:32:37 2013.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# ... | 9,483 | Python | .py | 219 | 41.744292 | 80 | 0.723335 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,346 | release.py | devsnd_cherrymusic/devscripts/release.py | #!/usr/bin/python3
import subprocess
import os
import sys
import codecs
import time
usage = """
%s --major
prepare a major release, e.g. 1.3.5 --> 2.3.5
%s --minor
prepare a minor release, e.g. 1.3.5 --> 1.4.5
%s --path
prepare a patch release, e.g. 1.3.5 --> 1.3.6
""" % (__file__,__file__,__file__,)
if (... | 3,142 | Python | .py | 80 | 36.4375 | 116 | 0.638898 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,347 | deploy.py | devsnd_cherrymusic/devscripts/deploy.py | #!/usr/bin/python3
import subprocess as sp
import re
import os
import hashlib
MAIN_CM_FOLDER = os.path.dirname(os.path.dirname(__file__))
DEVEL_INPUT_HTML = os.path.join(MAIN_CM_FOLDER, 'res/devel.html')
MAIN_OUTPUT_HTML = os.path.join(MAIN_CM_FOLDER, 'res/dist/main.html')
LESSC = 'lessc'
JSMIN = 'jsmin'
def prog_... | 3,846 | Python | .py | 90 | 35.844444 | 95 | 0.607439 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,348 | scrollspy.js | devsnd_cherrymusic/res/bootstrap3/js/scrollspy.js | /* ========================================================================
* Bootstrap: scrollspy.js v3.0.0
* http://twbs.github.com/bootstrap/javascript.html#scrollspy
* ========================================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License,... | 4,642 | Python | .py | 125 | 31.96 | 138 | 0.56289 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,349 | scrollspy.js | devsnd_cherrymusic/res/bootstrap3/js/tests/unit/scrollspy.js | $(function () {
module("scrollspy")
test("should provide no conflict", function () {
var scrollspy = $.fn.scrollspy.noConflict()
ok(!$.fn.scrollspy, 'scrollspy was set back to undefined (org value)')
$.fn.scrollspy = scrollspy
})
test("should be defined on jquery object"... | 1,194 | Python | .py | 30 | 30.966667 | 86 | 0.535004 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,350 | update_translations.py | devsnd_cherrymusic/res/i18n/update_translations.py | #!/usr/bin/python3
import subprocess
import os
currdir = os.path.relpath(os.path.dirname(__file__), start=os.getcwd())
sourcedir = os.path.normpath(os.path.join(currdir, '..', '..', 'cherrymusicserver'))
print('updating pot file')
subprocess.call('xgettext --language=Python --keyword=_ --add-comments=i18n --output='+... | 910 | Python | .py | 15 | 56.8 | 178 | 0.702915 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,351 | __init__.py | devsnd_cherrymusic/audiotranscode/__init__.py | #!/usr/bin/python3
"""
audiotranscode
Copyright (c) 2013 Tom Wallroth
Sources on github:
http://github.com/devsnd/audiotranscode/
licensed under GNU GPL version 3 (or later)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the... | 12,242 | Python | .py | 272 | 33.702206 | 105 | 0.556562 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,352 | test_transcode.py | devsnd_cherrymusic/audiotranscode/test/test_transcode.py | #!/usr/bin/python3
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2014 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT license) http://www.jplayer.org/
#... | 2,593 | Python | .py | 68 | 33.617647 | 99 | 0.691422 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,353 | configuration.py | devsnd_cherrymusic/cherrymusicserver/configuration.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2016 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 38,539 | Python | .py | 827 | 36.195889 | 120 | 0.60519 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,354 | util.py | devsnd_cherrymusic/cherrymusicserver/util.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2016 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 9,043 | Python | .py | 270 | 24.225926 | 81 | 0.531849 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,355 | tweak.py | devsnd_cherrymusic/cherrymusicserver/tweak.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2016 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 1,980 | Python | .py | 54 | 34.444444 | 79 | 0.755741 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,356 | useroptiondb.py | devsnd_cherrymusic/cherrymusicserver/useroptiondb.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2016 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 6,077 | Python | .py | 138 | 33.862319 | 78 | 0.59669 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,357 | albumartfetcher.py | devsnd_cherrymusic/cherrymusicserver/albumartfetcher.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2016 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 11,003 | Python | .py | 279 | 28 | 110 | 0.542387 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,358 | metainfo.py | devsnd_cherrymusic/cherrymusicserver/metainfo.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2016 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 2,022 | Python | .py | 58 | 30.62069 | 83 | 0.68456 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,359 | cherrymodel.py | devsnd_cherrymusic/cherrymusicserver/cherrymodel.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2016 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 18,039 | Python | .py | 384 | 35.231771 | 164 | 0.598593 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,360 | sqlitecache.py | devsnd_cherrymusic/cherrymusicserver/sqlitecache.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2016 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 33,822 | Python | .py | 735 | 34.306122 | 226 | 0.583245 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,361 | pathprovider.py | devsnd_cherrymusic/cherrymusicserver/pathprovider.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2016 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 6,286 | Python | .py | 161 | 33.875776 | 117 | 0.694162 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,362 | __init__.py | devsnd_cherrymusic/cherrymusicserver/__init__.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2016 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 22,205 | Python | .py | 512 | 35.654297 | 109 | 0.647407 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,363 | log.py | devsnd_cherrymusic/cherrymusicserver/log.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2016 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 6,190 | Python | .py | 144 | 39.090278 | 164 | 0.721019 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,364 | progress.py | devsnd_cherrymusic/cherrymusicserver/progress.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2016 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 13,564 | Python | .py | 340 | 29.111765 | 102 | 0.556441 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,365 | browsersetup.py | devsnd_cherrymusic/cherrymusicserver/browsersetup.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2016 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 6,179 | Python | .py | 151 | 30.801325 | 100 | 0.585496 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,366 | userdb.py | devsnd_cherrymusic/cherrymusicserver/userdb.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2016 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 6,549 | Python | .py | 158 | 33.348101 | 107 | 0.626317 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,367 | service.py | devsnd_cherrymusic/cherrymusicserver/service.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2016 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 7,773 | Python | .py | 186 | 34.854839 | 80 | 0.665253 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,368 | httphandler.py | devsnd_cherrymusic/cherrymusicserver/httphandler.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2016 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 32,963 | Python | .py | 698 | 35.909742 | 107 | 0.60877 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,369 | resultorder.py | devsnd_cherrymusic/cherrymusicserver/resultorder.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2016 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 5,467 | Python | .py | 132 | 34.787879 | 148 | 0.670489 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,370 | i18n_client.py | devsnd_cherrymusic/cherrymusicserver/i18n_client.py | def get():
return {
'track has no path set!': _('track has no path set!'),
'track has no label set!': _('track has no label set!'),
} | 157 | Python | .py | 5 | 25.8 | 64 | 0.535948 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,371 | playlistdb.py | devsnd_cherrymusic/cherrymusicserver/playlistdb.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2016 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 7,535 | Python | .py | 172 | 33.819767 | 115 | 0.596434 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,372 | test_playlistdb.py | devsnd_cherrymusic/cherrymusicserver/test/test_playlistdb.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2014 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 2,613 | Python | .py | 71 | 33.943662 | 120 | 0.726408 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,373 | test_httphandler.py | devsnd_cherrymusic/cherrymusicserver/test/test_httphandler.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2014 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 14,071 | Python | .py | 279 | 42.860215 | 117 | 0.694282 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,374 | test_useroptiondb.py | devsnd_cherrymusic/cherrymusicserver/test/test_useroptiondb.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2014 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 1,601 | Python | .py | 45 | 34.044444 | 74 | 0.773902 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,375 | test_pathprovider.py | devsnd_cherrymusic/cherrymusicserver/test/test_pathprovider.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2014 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 1,907 | Python | .py | 51 | 35.431373 | 87 | 0.753113 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,376 | test_albumartfetcher.py | devsnd_cherrymusic/cherrymusicserver/test/test_albumartfetcher.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2014 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 2,683 | Python | .py | 66 | 37.621212 | 81 | 0.739915 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,377 | __init__.py | devsnd_cherrymusic/cherrymusicserver/test/__init__.py | import sys
if sys.version_info >= (2, 7):
import unittest
else:
import unittest2 as unittest
if __name__ == '__main__':
unittest.main()
| 150 | Python | .py | 7 | 18.428571 | 32 | 0.652482 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,378 | test_database.py | devsnd_cherrymusic/cherrymusicserver/test/test_database.py | #!/usr/bin/env python3
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2014 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT license) http://www.jplayer.or... | 7,167 | Python | .py | 175 | 32.04 | 96 | 0.600316 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,379 | test_userdb.py | devsnd_cherrymusic/cherrymusicserver/test/test_userdb.py | #!/usr/bin/env python3
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2014 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT license) http://www.jplayer.or... | 3,802 | Python | .py | 84 | 38.666667 | 83 | 0.691849 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,380 | test_configuration.py | devsnd_cherrymusic/cherrymusicserver/test/test_configuration.py | #!/usr/bin/env python3
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2014 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT license) http://www.jplayer.or... | 10,335 | Python | .py | 243 | 31.650206 | 90 | 0.551342 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,381 | test_util.py | devsnd_cherrymusic/cherrymusicserver/test/test_util.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2014 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 2,279 | Python | .py | 65 | 32.184615 | 71 | 0.705082 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,382 | test_sqlitecache.py | devsnd_cherrymusic/cherrymusicserver/test/test_sqlitecache.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2014 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 31,659 | Python | .py | 664 | 37.463855 | 139 | 0.625163 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,383 | helpers.py | devsnd_cherrymusic/cherrymusicserver/test/helpers.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*- #
#
# CherryMusic - a standalone music server
# Copyright (c) 2012-2014 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 5,186 | Python | .py | 134 | 33.074627 | 97 | 0.687749 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,384 | test_init.py | devsnd_cherrymusic/cherrymusicserver/test/test_init.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012-2014 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT license)... | 1,930 | Python | .py | 51 | 34.823529 | 79 | 0.738197 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,385 | test_cherrymodel.py | devsnd_cherrymusic/cherrymusicserver/test/test_cherrymodel.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2014 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 7,416 | Python | .py | 159 | 40.874214 | 97 | 0.701178 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,386 | test_service.py | devsnd_cherrymusic/cherrymusicserver/test/test_service.py | #!/usr/bin/env python3
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2014 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT license) http://www.jplayer.or... | 1,466 | Python | .py | 39 | 34.564103 | 70 | 0.737324 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,387 | migration_0002.py | devsnd_cherrymusic/cherrymusicserver/migrations/migration_0002.py | # -*- coding: utf-8 -*- #
#
# CherryMusic - a standalone music server
# Copyright (c) 2012-2015 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT license) http://www.jplayer.o... | 2,299 | Python | .py | 59 | 35.864407 | 100 | 0.724955 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,388 | __init__.py | devsnd_cherrymusic/cherrymusicserver/migrations/__init__.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012-2015 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT license)... | 2,847 | Python | .py | 68 | 38.897059 | 80 | 0.738879 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,389 | migration_0001.py | devsnd_cherrymusic/cherrymusicserver/migrations/migration_0001.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012-2015 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT license)... | 2,297 | Python | .py | 60 | 36.083333 | 86 | 0.692584 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,390 | migration_0003.py | devsnd_cherrymusic/cherrymusicserver/migrations/migration_0003.py | # -*- coding: utf-8 -*- #
#
# CherryMusic - a standalone music server
# Copyright (c) 2012-2015 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT license) http://www.jplayer.o... | 4,843 | Python | .py | 121 | 35.512397 | 79 | 0.69917 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,391 | test_migration_0003.py | devsnd_cherrymusic/cherrymusicserver/migrations/test/test_migration_0003.py | #!/usr/bin/python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012-2014 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT license) htt... | 3,176 | Python | .py | 83 | 33.566265 | 96 | 0.675992 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,392 | zipstream.py | devsnd_cherrymusic/cherrymusicserver/ext/zipstream.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
This library was created by SpiderOak, Inc. and is released under the GPLv3.
https://github.com/gourneau/SpiderOak-zipstream
Iterable ZIP archive genrator.
Derived directly from zipfile.py
"""
import struct, os, time, sys
import binascii
import codecs
try:
impo... | 15,807 | Python | .py | 353 | 34.68272 | 101 | 0.592154 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,393 | test_v1.py | devsnd_cherrymusic/cherrymusicserver/api/test/test_v1.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012-2014 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT license)... | 7,788 | Python | .py | 208 | 31.370192 | 90 | 0.633347 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,394 | users.py | devsnd_cherrymusic/cherrymusicserver/api/v1/users.py | # -*- coding: utf-8 -*- #
#
# CherryMusic - a standalone music server
# Copyright (c) 2012-2015 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT license) http://www.jplayer.o... | 1,730 | Python | .py | 50 | 31.8 | 70 | 0.718563 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,395 | models.py | devsnd_cherrymusic/cherrymusicserver/api/v1/models.py | # -*- coding: utf-8 -*- #
#
# CherryMusic - a standalone music server
# Copyright (c) 2012-2015 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT license) http://www.jplayer.o... | 4,866 | Python | .py | 112 | 34.776786 | 79 | 0.618897 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,396 | resources.py | devsnd_cherrymusic/cherrymusicserver/api/v1/resources.py | # -*- coding: utf-8 -*- #
#
# CherryMusic - a standalone music server
# Copyright (c) 2012-2015 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT license) http://www.jplayer.o... | 1,434 | Python | .py | 41 | 33.073171 | 75 | 0.744236 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,397 | jsontools.py | devsnd_cherrymusic/cherrymusicserver/api/v1/jsontools.py | # -*- coding: utf-8 -*- #
#
# CherryMusic - a standalone music server
# Copyright (c) 2012-2015 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT license) http://www.jplayer.o... | 2,530 | Python | .py | 63 | 37.111111 | 88 | 0.69284 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,398 | __init__.py | devsnd_cherrymusic/cherrymusicserver/api/v1/__init__.py | #!/usr/bin/env python3
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT license) http://www.jplayer.org/
# ... | 4,107 | Python | .py | 97 | 38.268041 | 80 | 0.528307 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,399 | test_models.py | devsnd_cherrymusic/cherrymusicserver/api/v1/test/test_models.py | #!/usr/bin/python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012-2014 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT license) htt... | 2,222 | Python | .py | 63 | 32.31746 | 78 | 0.701026 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |