repo_name
stringlengths
5
100
ref
stringlengths
12
67
path
stringlengths
4
244
copies
stringlengths
1
8
content
stringlengths
0
1.05M
igsr/igsr_analysis
refs/heads/master
PyHive/Factories/CoordFactory.py
1
import eHive import pdb import ast import os from BEDTools import BEDTools class CoordFactory(eHive.BaseRunnable): """Run BEDTools 'make_windows' in order to create genomic chunks of a certain length (in bp)""" def run(self): bedtools_obj = BEDTools(bedtools_folder=self.param_required('bedtools_folde...
rafaelvieiras/plugin.program.advanced.launcher
refs/heads/master
resources/lib/subprocess_hack.py
4
# subprocess - Subprocesses with accessible I/O streams # # For more information about this module, see PEP 324. # # This module should remain compatible with Python 2.2, see PEP 291. # # Copyright (c) 2003-2005 by Peter Astrand <astrand@lysator.liu.se> # # Licensed to PSF under a Contributor Agreement. # See http://w...
benjimons/FIR
refs/heads/master
fir_api/__init__.py
12133432
locke189/iplant-backend
refs/heads/master
iPlantBackend/Database/Database.py
1
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Created on Nov 7, 2015 Don't blink... @author: Juan_Insuasti ''' import pyrebase from Shared import Logger from apscheduler.schedulers.background import BackgroundScheduler class Database: def __init__(self,options,logs = True, debug=False): self.console ...
googleapis/python-artifact-registry
refs/heads/master
google/cloud/artifactregistry_v1beta2/__init__.py
1
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
Gr1ph00n/staticwebanalyzer
refs/heads/master
SDK/dnspython-1.11.1/dns/rdtypes/ANY/AFSDB.py
109
# Copyright (C) 2003-2007, 2009-2011 Nominum, Inc. # # Permission to use, copy, modify, and distribute this software and its # documentation for any purpose with or without fee is hereby granted, # provided that the above copyright notice and this permission notice # appear in all copies. # # THE SOFTWARE IS PROVIDED "...
airanmehr/bio
refs/heads/master
Scripts/Miscellaneous/Chris/random_SNP_by_cand.py
1
import sys import collections from optparse import OptionParser,OptionGroup #Author: Martin Kapun ######################################################### HELP ######################################################################### usage="usage: %prog --cand candidates.txt --full SNPs.txt --distance 100000 --ou...
plotly/plotly.py
refs/heads/master
packages/python/plotly/plotly/validators/treemap/domain/_y.py
1
import _plotly_utils.basevalidators class YValidator(_plotly_utils.basevalidators.InfoArrayValidator): def __init__(self, plotly_name="y", parent_name="treemap.domain", **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, edit_t...
harvard-vpal/bridge-adaptivity
refs/heads/master
bridge_adaptivity/config/__init__.py
1
from config.celery import celery_app __all__ = ['celery_app']
muntasirsyed/intellij-community
refs/heads/master
python/testData/completion/fieldReassignment.py
83
class C1(object): def method1(self): pass class Test(object): def __init__(self, x): self.x = x self.x = C1() self.x.meth<caret>
Gagaro/django
refs/heads/master
django/conf/locale/en_AU/formats.py
504
# -*- encoding: utf-8 -*- # This file is distributed under the same license as the Django package. # from __future__ import unicode_literals # The *_FORMAT strings use the Django date format syntax, # see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date DATE_FORMAT = 'j M Y' # '25 Oc...
JVillella/tensorflow
refs/heads/master
tensorflow/contrib/labeled_tensor/python/ops/ops_test.py
76
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
Philippe12/external_chromium_org
refs/heads/kitkat
tools/telemetry/telemetry/page/page_runner.py
23
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import collections import glob import logging import os import sys import tempfile import time import traceback import random from telemetry import excep...
sidartaoliveira/ansible
refs/heads/devel
lib/ansible/modules/windows/win_domain_controller.py
46
#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2017, Red Hat, Inc. # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your ...
treejames/viewfinder
refs/heads/master
backend/www/index.py
13
# Copyright 2012 Viewfinder Inc. All Rights Reserved. """Handler for front page of site. IndexHandler """ __author__ = 'spencer@emailscrubbed.com (Spencer Kimball)' from tornado import web import base class IndexHandler(base.BaseHandler): def get(self): """If logged in, redirect to /view. Otherwise, render...
Bulochkin/tensorflow_pack
refs/heads/master
tensorflow/contrib/hooks/python/training/profiler_hook.py
78
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
iissnan/tita
refs/heads/master
markdown/extensions/abbr.py
131
''' Abbreviation Extension for Python-Markdown ========================================== This extension adds abbreviation handling to Python-Markdown. Simple Usage: >>> import markdown >>> text = """ ... Some text with an ABBR and a REF. Ignore REFERENCE and ref. ... ... *[ABBR]: Abbreviation ...
expobrain/sqlalchemy_exasol
refs/heads/master
sqlalchemy_exasol/turbodbc.py
1
import decimal from sqlalchemy import types as sqltypes, util from sqlalchemy_exasol.base import EXADialect DEFAULT_DRIVER_NAME = 'EXAODBC' DEFAULT_CONNECTION_PARAMS = { 'driver': DEFAULT_DRIVER_NAME, # always enable efficient conversion to Python types: see https://www.exasol.com/support/browse/EXASOL-898...
jonfaustman/django-frontend
refs/heads/master
djfrontend/templatetags/__init__.py
12133432
saurabh6790/omnitech-apps
refs/heads/master
selling/report/available_stock_for_packing_items/__init__.py
12133432
moijes12/oh-mainline
refs/heads/master
vendor/packages/Django/tests/regressiontests/nested_foreign_keys/__init__.py
12133432
skyddv/neutron
refs/heads/master
neutron/plugins/__init__.py
12133432
mapr/hue
refs/heads/hue-3.9.0-mapr
desktop/core/ext-py/Django-1.6.10/django/conf/locale/pt/__init__.py
12133432
bhaskar24/ns-3_RARED
refs/heads/master
src/mpi/bindings/callbacks_list.py
191
callback_classes = [ ['void', 'ns3::Ptr<ns3::Packet>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ]
xysmas/site_source
refs/heads/master
_posts/pyconverter.py
1
#!/usr/bin/env python3 """Python md to HTML converter with YAML Usage: pyconverter.py FILE [--pandoc_args | -h] Arguments: file the file to convert Options: -h, --help Show this screen. --pandoc_args option list of arguments for pandoc """ from docopt import docopt """ pyconver...
GarySparrow/mFlaskWeb
refs/heads/master
venv/Lib/site-packages/pygments/lexers/elm.py
21
# -*- coding: utf-8 -*- """ pygments.lexers.elm ~~~~~~~~~~~~~~~~~~~ Lexer for the Elm programming language. :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ from pygments.lexer import RegexLexer, words, include from pygments.token impo...
mindbender-studio/setup
refs/heads/master
bin/windows/python36/Lib/encodings/iso8859_14.py
272
""" Python Character Mapping Codec iso8859_14 generated from 'MAPPINGS/ISO8859/8859-14.TXT' with gencodec.py. """#" import codecs ### Codec APIs class Codec(codecs.Codec): def encode(self,input,errors='strict'): return codecs.charmap_encode(input,errors,encoding_table) def decode(self,input,errors...
alrifqi/django
refs/heads/master
tests/sitemaps_tests/models.py
318
from django.core.urlresolvers import reverse from django.db import models class TestModel(models.Model): name = models.CharField(max_length=100) def get_absolute_url(self): return '/testmodel/%s/' % self.id class I18nTestModel(models.Model): name = models.CharField(max_length=100) def get_...
40223221/2015cd_midterm
refs/heads/master
static/Brython3.1.1-20150328-091302/Lib/unittest/test/testmock/support.py
829
import sys def is_instance(obj, klass): """Version of is_instance that doesn't access __class__""" return issubclass(type(obj), klass) class SomeClass(object): class_attribute = None def wibble(self): pass class X(object): pass def examine_warnings(func): def wrapper(): w...
cybernet14/scikit-learn
refs/heads/master
sklearn/linear_model/ransac.py
191
# coding: utf-8 # Author: Johannes Schönberger # # License: BSD 3 clause import numpy as np from ..base import BaseEstimator, MetaEstimatorMixin, RegressorMixin, clone from ..utils import check_random_state, check_array, check_consistent_length from ..utils.random import sample_without_replacement from ..utils.valid...
Dhivyap/ansible
refs/heads/devel
lib/ansible/module_utils/network/bigswitch/__init__.py
12133432
python-dirbtuves/it-brandos-egzaminai
refs/heads/master
exams/E2017/pagrindinis/u1/__init__.py
12133432
steinam/teacher
refs/heads/master
jup_notebooks/data-science-ipython-notebooks-master/scipy/tests/__init__.py
12133432
hjy846/scrapy-web
refs/heads/master
crawler/settings.py
1
# -*- coding: utf-8 -*- # Scrapy settings for residence project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org...
tornadomeet/mxnet
refs/heads/master
example/nce-loss/wordvec_subwords.py
27
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
AndiDog/git-cola
refs/heads/master
cola/widgets/completion.py
1
from __future__ import division, absolute_import, unicode_literals import re from qtpy import QtCore from qtpy import QtGui from qtpy import QtWidgets from qtpy.QtCore import Qt from qtpy.QtCore import Signal from ..models import prefs from .. import core from .. import gitcmds from .. import icons from .. import qtu...
ArtsiomCh/tensorflow
refs/heads/master
tensorflow/contrib/framework/python/framework/experimental.py
179
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
foobert/ansible-modules-core
refs/heads/devel
cloud/amazon/__init__.py
12133432
modelbrouwers/django-login-for-phpbb
refs/heads/master
django/sessionprofile/management/commands/__init__.py
12133432
sw00/pixelated-user-agent
refs/heads/master
service/pixelated/assets/__init__.py
12133432
HyperBaton/ansible
refs/heads/devel
test/integration/targets/module_utils/module_utils/spam8/__init__.py
12133432
jyotikamboj/container
refs/heads/master
dj-tests/context_processors/__init__.py
12133432
Plain-Andy-legacy/android_external_chromium_org
refs/heads/lp-5.1r1
mojo/public/tools/bindings/pylib/mojom/__init__.py
12133432
itpubs/reflecting
refs/heads/production
apps/blog/urls.py
1
from django.conf.urls import url from .views import * urlpatterns = [ url(r'^comment/$', CommentsView.as_view(), name='comment'), url(r'^reply/$', ReplyView.as_view(), name='reply'), ] hander404 = 'blog.views.page_not_found' hander500 = 'blog.views.page_errors'
Yelp/sqlparse
refs/heads/master
extras/appengine/config.py
9
# SQLFormat configuration # Debug flag DEBUG = True # Secret key, please change this SECRET_KEY = 'notsosecret'
ArcherCraftStore/ArcherVMPeridot
refs/heads/master
Python/Lib/site-packages/tornado/test/__init__.py
12133432
Danceiny/HackGirlfriend
refs/heads/master
Platform/ZuiwanCenter/__init__.py
12133432
xq262144/hue
refs/heads/master
desktop/core/ext-py/django-nose-1.3/testapp/__init__.py
12133432
tunneln/CarnotKE
refs/heads/master
jyhton/out/test/tests/org/python/indexer/data/pkg/other/__init__.py
12133432
codeadict/alignetpy
refs/heads/master
tests/__init__.py
12133432
openstack/networking-arista
refs/heads/master
networking_arista/db/migration/__init__.py
12133432
h-medjahed/pyvcloud
refs/heads/master
examples/reuse_token.py
1
#! /usr/bin/env python import json import time, datetime, os, sys from pyvcloud.vcloudair import VCA from pyvcloud.task import Task from pyvcloud.helper.CommonUtils import convertPythonObjToStr host = sys.argv[1] org_id = sys.argv[2] vcloud_token = sys.argv[3] org_url = 'https://%s/api/org/%s' % (host,...
jamiefolsom/edx-platform
refs/heads/master
common/lib/xmodule/xmodule/tests/test_videoannotation.py
92
# -*- coding: utf-8 -*- "Test for Annotation Xmodule functional logic." import unittest from mock import Mock from lxml import etree from xblock.field_data import DictFieldData from xblock.fields import ScopeIds from xmodule.videoannotation_module import VideoAnnotationModule from . import get_test_system class V...
glennw/servo
refs/heads/master
tests/wpt/web-platform-tests/tools/py/testing/root/test_xmlgen.py
162
import py from py._xmlgen import unicode, html, raw class ns(py.xml.Namespace): pass def test_escape(): uvalue = py.builtin._totext('\xc4\x85\xc4\x87\n\xe2\x82\xac\n', 'utf-8') class A: def __unicode__(self): return uvalue def __str__(self): x = self.__unicode__() ...
irvingprog/pilas
refs/heads/master
pilas/ejemplos/ejemplos/basicos/actor_personalizado_con_imagen_y_control.py
6
import pilas # Permite que este ejemplo funcion incluso si no has instalado pilas. import sys sys.path.insert(0, "..") pilas.iniciar() class Patito(pilas.actores.Actor): def __init__(self): pilas.actores.Actor.__init__(self) self.imagen = "patito.png" def actualizar(self): if pilas.e...
galtys/odoo
refs/heads/8.0
addons/product_email_template/__init__.py
544
# -*- coding: utf-8 -*- import models
jeffzheng1/tensorflow
refs/heads/master
tensorflow/python/platform/test.py
10
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
rolandmansilla/microblog
refs/heads/master
flask/lib/python2.7/site-packages/pip/_vendor/requests/packages/chardet/euckrfreq.py
3120
######################## BEGIN LICENSE BLOCK ######################## # The Original Code is Mozilla Communicator client code. # # The Initial Developer of the Original Code is # Netscape Communications Corporation. # Portions created by the Initial Developer are Copyright (C) 1998 # the Initial Developer. All Rights R...
bjolivot/ansible
refs/heads/devel
test/units/plugins/connection/test_network_cli.py
48
# # (c) 2016 Red Hat Inc. # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is d...
xuxiao19910803/edx-platform
refs/heads/master
common/djangoapps/util/tests/test_memcache.py
84
""" Tests for memcache in util app """ from django.test import TestCase from django.core.cache import get_cache from util.memcache import safe_key class MemcacheTest(TestCase): """ Test memcache key cleanup """ # Test whitespace, control characters, and some non-ASCII UTF-16 UNICODE_CHAR_CODES =...
ajoaoff/django
refs/heads/master
tests/generic_inline_admin/__init__.py
12133432
cainmatt/django
refs/heads/master
django/conf/locale/sq/__init__.py
12133432
diox/zamboni
refs/heads/master
mkt/tags/migrations/__init__.py
12133432
bikong2/django
refs/heads/master
tests/migrations/migrations_test_apps/migrated_unapplied_app/migrations/__init__.py
12133432
linearhub/titanium_mobile
refs/heads/master
support/common/mako/ext/__init__.py
12133432
chugunovyar/factoryForBuild
refs/heads/master
env/lib/python2.7/site-packages/tornado/httpserver.py
45
#!/usr/bin/env python # # Copyright 2009 Facebook # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
rcbops/python-django-buildpackage
refs/heads/master
django/contrib/gis/tests/geo3d/models.py
404
from django.contrib.gis.db import models class City3D(models.Model): name = models.CharField(max_length=30) point = models.PointField(dim=3) objects = models.GeoManager() def __unicode__(self): return self.name class Interstate2D(models.Model): name = models.CharField(max_length=30) l...
ShinyROM/android_external_chromium_org
refs/heads/master
third_party/tlslite/scripts/tls.py
83
#! python import sys import os import os.path import socket import thread import time import httplib import BaseHTTPServer import SimpleHTTPServer try: from cryptoIDlib.api import * cryptoIDlibLoaded = True except: cryptoIDlibLoaded = False if __name__ != "__main__": raise "This must be run as a com...
cstipkovic/spidermonkey-research
refs/heads/master
js/src/build_OPT.OBJ/_virtualenv/lib/python2.7/site-packages/pip/_vendor/distlib/database.py
129
# -*- coding: utf-8 -*- # # Copyright (C) 2012-2016 The Python Software Foundation. # See LICENSE.txt and CONTRIBUTORS.txt. # """PEP 376 implementation.""" from __future__ import unicode_literals import base64 import codecs import contextlib import hashlib import logging import os import posixpath import sys import z...
arun6582/django
refs/heads/master
tests/template_tests/syntax_tests/test_with.py
28
from django.template import TemplateSyntaxError from django.template.defaulttags import WithNode from django.test import SimpleTestCase from ..utils import setup class WithTagTests(SimpleTestCase): @setup({'with01': '{% with key=dict.key %}{{ key }}{% endwith %}'}) def test_with01(self): output = se...
Shamestick/android_kernel_htc_msm8974
refs/heads/cm-12.0
tools/perf/scripts/python/sched-migration.py
11215
#!/usr/bin/python # # Cpu task migration overview toy # # Copyright (C) 2010 Frederic Weisbecker <fweisbec@gmail.com> # # perf script event handlers have been generated by perf script -g python # # This software is distributed under the terms of the GNU General # Public License ("GPL") version 2 as published by the Fre...
eusi/MissionPlanerHM
refs/heads/master
Lib/__future__.py
257
"""Record of phased-in incompatible language changes. Each line is of the form: FeatureName = "_Feature(" OptionalRelease "," MandatoryRelease "," CompilerFlag ")" where, normally, OptionalRelease < MandatoryRelease, and both are 5-tuples of the same form as sys.version_info: (...
tmimori/frappe
refs/heads/develop
frappe/core/doctype/tag/__init__.py
12133432
tigersirvine/occtigerscricket
refs/heads/master
django/contrib/auth/management/commands/__init__.py
12133432
bak1an/django
refs/heads/master
tests/urlpatterns_reverse/translations/locale/fr/__init__.py
12133432
iguzu/gae-django
refs/heads/master
django/contrib/webdesign/__init__.py
12133432
MLnick/spark
refs/heads/master
examples/src/main/python/ml/naive_bayes_example.py
123
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
YoeriDijkstra/iFlow
refs/heads/master
packages/semi_analytical2DV/__init__.py
12133432
DylannCordel/django-cms
refs/heads/develop
cms/test_utils/project/bunch_of_plugins/migrations/__init__.py
12133432
willingc/pythondotorg
refs/heads/master
downloads/migrations/__init__.py
12133432
KasperPRasmussen/bokeh
refs/heads/master
bokeh/server/protocol/messages/tests/test_ack.py
12133432
xrg/django-static-gitified
refs/heads/master
django/conf/locale/es_NI/__init__.py
12133432
BlindHunter/django
refs/heads/master
django/contrib/gis/utils/ogrinfo.py
564
""" This module includes some utility functions for inspecting the layout of a GDAL data source -- the functionality is analogous to the output produced by the `ogrinfo` utility. """ from django.contrib.gis.gdal import DataSource from django.contrib.gis.gdal.geometries import GEO_CLASSES def ogrinfo(data_source, num...
dominikkowalski/django-powerdns-dnssec
refs/heads/develop
powerdns/tests/test_auto_ptr.py
1
"""Tests for auto_ptr feature""" from unittest import mock from django.contrib.auth import get_user_model from django.test import TestCase from powerdns.models import Domain, Record, get_ptr_obj from .utils import ( DomainFactory, DomainTemplateFactory, RecordFactory, RecordTemplateFactory, asser...
cfobel/webcam-recorder
refs/heads/master
setup.py
1
try: from setuptools import setup except ImportError: from distutils.core import setup import sys sys.path.insert(0, '.') import version setup(name='webcam-recorder', version=version.getVersion(), author='Christian Fobel', author_email='christian@fobel.net', url='https://github.com/cf...
ToonTownInfiniteRepo/ToontownInfinite
refs/heads/master
toontown/coghq/MintInterior.py
1
from direct.directnotify import DirectNotifyGlobal from toontown.battle import BattlePlace from direct.fsm import ClassicFSM, State from direct.fsm import State from direct.showbase import BulletinBoardWatcher from pandac.PandaModules import * from otp.distributed.TelemetryLimiter import RotationLimitToH, TLGatherAllAv...
pong3489/TEST_Mission
refs/heads/master
Lib/encodings/cp856.py
93
""" Python Character Mapping Codec cp856 generated from 'MAPPINGS/VENDORS/MISC/CP856.TXT' with gencodec.py. """#" import codecs ### Codec APIs class Codec(codecs.Codec): def encode(self,input,errors='strict'): return codecs.charmap_encode(input,errors,encoding_table) def decode(self,i...
ptchankue/youtube-dl
refs/heads/master
youtube_dl/extractor/videomega.py
87
# coding: utf-8 from __future__ import unicode_literals import re from .common import InfoExtractor from ..compat import compat_urllib_request class VideoMegaIE(InfoExtractor): _VALID_URL = r'(?:videomega:|https?://(?:www\.)?videomega\.tv/(?:(?:view|iframe|cdn)\.php)?\?ref=)(?P<id>[A-Za-z0-9]+)' _TESTS = [{...
laco/gladiator
refs/heads/master
tests/test_composition.py
2
from gladiator import validate, skip_on_fail def always_true(obj, ctx, **kw): return True def always_false(obj, ctx, **kw): return False, 'This is the error msg.' def not_none(obj, ctx, **kw): return obj is not None def super_lazy_validator1(obj, selector, ctx): counter = ctx.get('super_lazy_cal...
juliengdt/juliengdt-resources
refs/heads/master
node_modules/grunt-docker/node_modules/docker/node_modules/pygmentize-bundled/vendor/pygments/build-3.3/pygments/lexers/_vimbuiltins.py
376
# Split up in multiple functions so it's importable by jython, which has a # per-method size limit. def _getauto(): return [('BufAdd','BufAdd'),('BufCreate','BufCreate'),('BufDelete','BufDelete'),('BufEnter','BufEnter'),('BufFilePost','BufFilePost'),('BufFilePre','BufFilePre'),('BufHidden','BufHidden'),('BufLeave'...
oberlin/django
refs/heads/master
tests/template_tests/filter_tests/test_length.py
521
from django.template.defaultfilters import length from django.test import SimpleTestCase from django.utils.safestring import mark_safe from ..utils import setup class LengthTests(SimpleTestCase): @setup({'length01': '{{ list|length }}'}) def test_length01(self): output = self.engine.render_to_string...
jonyroda97/redbot-amigosprovaveis
refs/heads/develop
lib/pip/_vendor/idna/uts46data.py
32
# This file is automatically generated by tools/idna-data # vim: set fileencoding=utf-8 : """IDNA Mapping Table from UTS46.""" __version__ = "10.0.0" def _seg_0(): return [ (0x0, '3'), (0x1, '3'), (0x2, '3'), (0x3, '3'), (0x4, '3'), (0x5, '3'), (0x6, '3'), (0x7, '3'), (0x8, '3...
lexus42/w17
refs/heads/master
static/Brython3.1.1-20150328-091302/Lib/site-packages/pygame/time.py
601
class _clock(): def __init__(self): pass def tick(self, framerate): pass def Clock(): return _clock() def get_ticks(t): pass
sander76/home-assistant
refs/heads/dev
homeassistant/components/google/__init__.py
7
"""Support for Google - Calendar Event Devices.""" from datetime import datetime, timedelta import logging import os from googleapiclient import discovery as google_discovery import httplib2 from oauth2client.client import ( FlowExchangeError, OAuth2DeviceCodeError, OAuth2WebServerFlow, ) from oauth2client...
kntem/webdeposit
refs/heads/webdeposit-final
modules/bibworkflow/lib/widgets/__init__.py
12133432
cyiops/easybuild-easyblocks
refs/heads/master
easybuild/easyblocks/z/__init__.py
12133432
rosarior/mayan
refs/heads/master
apps/permissions/templatetags/__init__.py
12133432
aviarypl/mozilla-l10n-addons-server
refs/heads/master
src/olympia/bandwagon/templatetags/__init__.py
12133432
ymollard/apex_playground
refs/heads/master
ros/apex_playground/src/apex_playground/torso/idle.py
12133432
lupyuen/RaspberryPiImage
refs/heads/master
home/pi/GrovePi/Software/Python/others/temboo/Library/Google/DistanceMatrix/WalkingDistanceMatrix.py
4
# -*- coding: utf-8 -*- ############################################################################### # # WalkingDistanceMatrix # Obtain walking distances and times for a matrix of addresses and/or latitude/longitude coordinates. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under th...