repo_name
stringlengths
5
100
ref
stringlengths
12
67
path
stringlengths
4
244
copies
stringlengths
1
8
content
stringlengths
0
1.05M
Katello/katello-cli
refs/heads/master
src/katello/client/core/user_role.py
1
# # Katello User actions # Copyright 2013 Red Hat, Inc. # # This software is licensed to you under the GNU General Public License, # version 2 (GPLv2). There is NO WARRANTY for this software, express or # implied, including the implied warranties of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. You should have...
temasek/android_external_chromium_org
refs/heads/cm-11.0
third_party/libxml/src/check-relaxng-test-suite2.py
343
#!/usr/bin/python import sys import time import os import string import StringIO sys.path.insert(0, "python") import libxml2 # Memory debug specific libxml2.debugMemory(1) debug = 0 quiet = 1 # # the testsuite description # CONF=os.path.join(os.path.dirname(__file__), "test/relaxng/testsuite.xml") LOG="check-relaxng-...
mozilla/olympia
refs/heads/master
src/olympia/git/models.py
1
from django.db import models from olympia.addons.models import Addon from olympia.amo.models import ModelBase class GitExtractionEntry(ModelBase): """ This is a model that represents an entry in a "queue" of add-ons scheduled for git extraction. When an add-on is in this queue, its versions should be ...
explosion/spaCy
refs/heads/master
spacy/tests/lang/am/__init__.py
12133432
michel-rodrigues/forum
refs/heads/master
source/utils/__init__.py
12133432
Johnetordoff/osf.io
refs/heads/develop
api_tests/osf_groups/views/__init__.py
12133432
beni55/edx-platform
refs/heads/master
common/djangoapps/util/tests/__init__.py
12133432
burrowsa/initdotpy
refs/heads/master
test/examples/example1/module2.py
12133432
faun/django_test
refs/heads/master
tests/regressiontests/select_related_onetoone/__init__.py
12133432
tinyendian/eb_cray
refs/heads/master
easyblocks/cp2k.py
1
## # Copyright 2009-2017 Ghent University # # This file is part of EasyBuild, # originally created by the HPC team of Ghent University (http://ugent.be/hpc/en), # with support of Ghent University (http://ugent.be/hpc), # the Flemish Supercomputer Centre (VSC) (https://www.vscentrum.be), # Flemish Research Foundation (F...
CTRoundTable/Encrypted.Cash
refs/heads/master
qa/rpc-tests/signrawtransactions.py
171
#!/usr/bin/env python2 # Copyright (c) 2015 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. from test_framework.test_framework import BitcoinTestFramework from test_framework.util import * class SignR...
ndardenne/pymatgen
refs/heads/master
pymatgen/core/lattice.py
2
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. from __future__ import division, unicode_literals import math import itertools import warnings from six.moves import map, zip import numpy as np from numpy.linalg import inv from numpy import pi, dot, transpo...
saumishr/django
refs/heads/master
django/conf/app_template/tests.py
6666
""" This file demonstrates writing tests using the unittest module. These will pass when you run "manage.py test". Replace this with more appropriate tests for your application. """ from django.test import TestCase class SimpleTest(TestCase): def test_basic_addition(self): """ Tests that 1 + 1 a...
Eksmo/calibre
refs/heads/master
setup/installer/osx/app/site.py
5
""" Append module search paths for third-party packages to sys.path. This is stripped down and customized for use in py2app applications """ import sys import os def makepath(*paths): dir = os.path.abspath(os.path.join(*paths)) return dir, os.path.normcase(dir) def abs__file__(): """Set all module __fil...
illicitonion/givabit
refs/heads/master
lib/packages/selenium-2.25.0/py/selenium/webdriver/support/wait.py
3
#!/usr/bin/python # # Copyright 2011 Software Freedom Conservancy. # # 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 ap...
rpadilha/rvpsite
refs/heads/master
rvpsite/blog/forms.py
1
from django import forms from s3direct.widgets import S3DirectWidget class S3DirectUploadForm(forms.Form): picture = forms.URLField(widget=S3DirectWidget(dest='AmazonS3'))
zahari/samba
refs/heads/master
lib/extras/extras/tests/test_extras.py
4
# Copyright (c) 2010-2012 extras developers. See LICENSE for details. from testtools import TestCase from testtools.matchers import ( Equals, Is, Not, ) from extras import ( safe_hasattr, try_import, try_imports, ) def check_error_callback(test, function, arg, expected_error_count, ...
iCarto/siga
refs/heads/master
extScripting/scripts/jython/Lib/dbexts.py
1
# $Id$ """ This script provides platform independence by wrapping Python Database API 2.0 compatible drivers to allow seamless database usage across implementations. In order to use the C version, you need mxODBC and mxDateTime. In order to use the Java version, you need zxJDBC. >>> import dbexts >>> d = dbexts.dbex...
susilehtola/psi4
refs/heads/master
tests/psithon2/psiaux1/myplugin1/__init__.py
36
"""Plugin docstring. """ __version__ = '0.1' __author__ = 'Psi4 Developer' # Load Python modules from .pymodule import * # Load C++ plugin import os plugdir = os.path.split(os.path.abspath(__file__))[0] #sofile = plugdir + '/' + os.path.split(plugdir)[1] + '.so' #psi4.plugin_load(sofile)
alvinkatojr/django-db-log
refs/heads/master
djangodblog/migrations/__init__.py
12133432
neuromat/abraco
refs/heads/master
quem_somos/migrations/__init__.py
12133432
alsrgv/tensorflow
refs/heads/master
tensorflow/contrib/constrained_optimization/__init__.py
39
# Copyright 2018 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...
D4wN/brickv
refs/heads/master
src/build_data/windows/OpenGL/GL/ARB/texture_compression_rgtc.py
4
'''OpenGL extension ARB.texture_compression_rgtc This module customises the behaviour of the OpenGL.raw.GL.ARB.texture_compression_rgtc to provide a more Python-friendly API Overview (from the spec) This extension introduces four new block-based texture compression formats suited for unsigned and signed red and...
babble/babble
refs/heads/master
include/jython/Lib/test/test_jser2.py
1
from test import test_support import unittest import java from org.python.util import PythonObjectInputStream def serialize(o, special=0): b = java.io.ByteArrayOutputStream() objs = java.io.ObjectOutputStream(b) objs.writeObject(o) if not special: OIS = java.io.ObjectInputStream else: ...
ajaybhatia/ypg-odm-project
refs/heads/master
src/accounts/__init__.py
12133432
GbalsaC/bitnamiP
refs/heads/master
venv/lib/python2.7/site-packages/south/tests/otherfakeapp/__init__.py
12133432
rjschwei/compute-image-packages
refs/heads/master
packages/python-google-compute-engine/google_compute_engine/distro_lib/el_7/__init__.py
12133432
IronLanguages/ironpython2
refs/heads/master
Src/StdLib/Lib/distutils/emxccompiler.py
250
"""distutils.emxccompiler Provides the EMXCCompiler class, a subclass of UnixCCompiler that handles the EMX port of the GNU C compiler to OS/2. """ # issues: # # * OS/2 insists that DLLs can have names no longer than 8 characters # We put export_symbols in a def-file, as though the DLL can have # an arbitrary len...
SuLab/genewiki
refs/heads/master
genewiki/scheduler/__init__.py
12133432
jk1/intellij-community
refs/heads/master
python/lib/Lib/site-packages/django/db/backends/dummy/__init__.py
12133432
lduarte1991/edx-platform
refs/heads/master
openedx/core/djangoapps/content/course_structures/management/commands/__init__.py
12133432
xwolf12/django
refs/heads/master
django/template/context_processors.py
204
""" A set of request processors that return dictionaries to be merged into a template context. Each function takes the request object as its only parameter and returns a dictionary to add to the context. These are referenced from the 'context_processors' option of the configuration of a DjangoTemplates backend and use...
superdesk/superdesk-core
refs/heads/develop
apps/auth/__init__.py
1
# -*- coding: utf-8; -*- # # This file is part of Superdesk. # # Copyright 2013, 2014 Sourcefabric z.u. and contributors. # # For the full copyright and license information, please see the # AUTHORS and LICENSE files distributed with this source code, or # at https://www.sourcefabric.org/superdesk/license import flask...
redhat-openstack/horizon
refs/heads/mitaka-patches
openstack_dashboard/dashboards/admin/info/tabs.py
8
# Copyright 2012 Nebula, Inc. # # 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 agree...
sammy44nts/linux-kernel
refs/heads/master
tools/perf/scripts/python/failed-syscalls-by-pid.py
1996
# failed system call counts, by pid # (c) 2010, Tom Zanussi <tzanussi@gmail.com> # Licensed under the terms of the GNU GPL License version 2 # # Displays system-wide failed system call totals, broken down by pid. # If a [comm] arg is specified, only syscalls called by [comm] are displayed. import os import sys sys.pa...
webdevops/Dockerfile
refs/heads/master
bin/webdevops/doit/__init__.py
1
#!/usr/bin/env/python # -*- coding: utf-8 -*- # # (c) 2016 WebDevOps.io # # This file is part of Dockerfile Repository. # # 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, in...
BullHorn7/ACE3
refs/heads/master
tools/deploy.py
13
#!/usr/bin/env python3 #################################### # ACE3 automatic deployment script # # ================================ # # This is not meant to be run # # directly! # #################################### import os import sys import shutil import traceback import subprocess as ...
yukisakurai/hhana
refs/heads/master
statstools/pulls.py
5
# python imports from multiprocessing import Process import pickle import os # root/rootpy imports from rootpy import asrootpy from rootpy.io import root_open from rootpy.utils.lock import lock from rootpy.stats import Workspace # local imports from nuisance import get_nuisance_params from . import log; log = log[__n...
hcsturix74/django
refs/heads/master
django/contrib/flatpages/templatetags/__init__.py
12133432
ShawnMurd/MetPy
refs/heads/master
src/metpy/calc/thermo.py
1
# Copyright (c) 2008,2015,2016,2017,2018,2019 MetPy Developers. # Distributed under the terms of the BSD 3-Clause License. # SPDX-License-Identifier: BSD-3-Clause """Contains a collection of thermodynamic calculations.""" import warnings import numpy as np import scipy.integrate as si import scipy.optimize as so from...
coderb0t/CouchPotatoServer
refs/heads/master
libs/suds/sax/enc.py
205
# This program is free software; you can redistribute it and/or modify # it under the terms of the (LGPL) GNU Lesser General Public License as # published by the Free Software Foundation; either version 3 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will ...
ycaihua/kbengine
refs/heads/master
assets/scripts/bots/kbengine.py
26
# -*- coding: utf-8 -*- import KBEngine from KBEDebug import * def onInit(isReload): """ KBEngine method. 当引擎启动后初始化完所有的脚本后这个接口被调用 @param isReload: 是否是被重写加载脚本后触发的 @type isReload: bool """ DEBUG_MSG('onInit::isReload:%s' % isReload) def onStart(): """ KBEngine method. 在onInitialize调用之后, 准备开始游戏时引擎调用这个接口. """ ...
windyuuy/opera
refs/heads/master
chromium/src/ppapi/generators/generator.py
165
#!/usr/bin/env python # 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 os import sys import traceback # Note: some of these files are imported to register cmdline options. from idl_generator imp...
Amechi101/concepteur-market-app
refs/heads/master
designers/__init__.py
12133432
vveerava/Openstack
refs/heads/master
neutron/services/firewall/agents/l3reference/__init__.py
12133432
NunoEdgarGub1/nupic
refs/heads/master
examples/opf/experiments/opfrunexperiment_test/checkpoints/b/description.py
17
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progr...
dagwieers/ansible
refs/heads/devel
lib/ansible/modules/cloud/google/gcp_compute_instance_group_manager.py
1
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright (C) 2017 Google # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # ---------------------------------------------------------------------------- # # *** AUTO GENERATED CODE *** AUTO GENERATED CODE *** # ...
schettino72/nikola
refs/heads/master
nikola/data/themes/base/messages/messages_hr.py
6
# -*- encoding:utf-8 -*- from __future__ import unicode_literals MESSAGES = { "%d min remaining to read": "%d minuta preostalo za čitanje", "(active)": "(aktivno)", "Also available in:": "Također dostupno i u:", "Archive": "Arhiva", "Categories": "Kategorije", "Comments": "Komentari", "LANG...
chrisfilda/edx_platform
refs/heads/master
common/lib/capa/setup.py
120
from setuptools import setup, find_packages setup( name="capa", version="0.1", packages=find_packages(exclude=["tests"]), install_requires=["distribute>=0.6.28"], )
VladimirNik/tasty
refs/heads/master
exttests/tastyTests.py
1
#!/usr/bin/python import sys from tastyFun import checkTasty, projectPath moveCommand = "cd " + projectPath sbtCommand = "sbt 'project tasty' package" packageCommand = moveCommand + ' && ' + sbtCommand import subprocess proc = subprocess.Popen([packageCommand], stdin = subprocess.PIPE, stdout = subprocess.PIPE, ...
gechong/XlsxWriter
refs/heads/master
xlsxwriter/test/worksheet/test_cond_format04.py
8
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2015, John McNamara, jmcnamara@cpan.org # import unittest from ...compatibility import StringIO from ..helperfunctions import _xml_to_list from ...worksheet import Worksheet class TestAss...
RobotGame/rgkit
refs/heads/master
setup.py
1
#!/usr/bin/env python ''' Run: ./setup.py register sdist upload Check: ./setup.py checkdocs (pip install collective.checkdocs) ''' from setuptools import setup with open('README.rst') as readme_file: long_description = readme_file.read() setup( name='rgkit', version='0.5.3', description='Game Engine ...
matheus2740/blog
refs/heads/master
metaclasses/metametaclass.py
1
from better_choices import Choices class ChoicesMetaMeta(type): PROXIED_METHODS = ['__len__', '__iter__', '__getattr__', '__getitem__', '__eq__', '__contains__'] def __new__(cls, name, bases, dct): """ This method will take care of building/assembling ChoicesMeta. We want to ...
freedomsponsors/www.freedomsponsors.org
refs/heads/master
djangoproject/frespo/__init__.py
12133432
kosz85/django
refs/heads/master
django/conf/locale/en_GB/__init__.py
12133432
hobarrera/django
refs/heads/master
tests/migrations/test_add_many_to_many_field_initial/__init__.py
12133432
palladius/gcloud
refs/heads/master
packages/gsutil/boto/tests/integration/s3/test_mfa.py
136
# Copyright (c) 2010 Mitch Garnaat http://garnaat.org/ # Copyright (c) 2010, Eucalyptus Systems, Inc. # All rights reserved. # # 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 restrict...
aminghadersohi/airflow
refs/heads/master
tests/ti_deps/deps/__init__.py
1049
# -*- coding: utf-8 -*- # # 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 agreed to in writing, software ...
hfp/tensorflow-xsmm
refs/heads/master
tensorflow/python/data/experimental/kernel_tests/reader_dataset_ops_test_base.py
5
# 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...
cloudbau/cinder
refs/heads/master
cinder/api/contrib/volume_encryption_metadata.py
3
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright (c) 2013 The Johns Hopkins University/Applied Physics Laboratory # 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 ...
bala4901/odoo
refs/heads/master
addons/im_livechat/im_livechat.py
38
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
ftomassetti/intellij-community
refs/heads/master
python/testData/inspections/PyUnresolvedReferencesInspection/getattrAttribute.py
83
class C(object): def f(self, name): return name __getattr__ = f c = C() print(c.foo) #pass
amallia/zulip
refs/heads/master
puppet/zulip_internal/files/graphite/local_settings.py
135
TIME_ZONE="America/New_York" ALLOWED_HOSTS=['graphite.humbughq.com', 'graphite.zulip.net', 'stats1.zulip.net'] DATABASES = { 'default': { 'NAME': '/opt/graphite/storage/graphite.db', 'ENGINE': 'django.db.backends.sqlite3', 'USER': '', 'PASSWORD': '', 'HOST': '', 'POR...
j717273419/librime
refs/heads/develop
thirdparty/src/gtest/test/gtest_filter_unittest.py
2826
#!/usr/bin/env python # # Copyright 2005 Google Inc. All Rights Reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of...
foobarbazblarg/stayclean
refs/heads/master
stayclean-2015-july/display.py
2
#!/usr/bin/python import participantCollection import re import datetime import pyperclip currentMonthIndex = datetime.date.today().month #TODO: need to figure out how to get total days in current month... currentMonthTotalDays = 31 currentMonthPenultimateDayIndex = currentMonthTotalDays - 1 currentMonthName = {1:'Jan...
barryhobbs/tornado_balance
refs/heads/master
handlers/json_web_request_handler.py
1
import json import tornado import logging __author__ = 'barryhobbs' logger = logging.getLogger("json_requests") class JsonWebRequestHandler(tornado.web.RequestHandler): def prepare(self): content_type = self.request.headers.get("Content-Type") if content_type and content_type.startswith("applicat...
acenario/Payable
refs/heads/master
lib/python2.7/site-packages/django/conf/locale/fr/__init__.py
12133432
bjackel/dbdt
refs/heads/master
cgv/model/igrf/__init__.py
12133432
mdsafwan/Deal-My-Stuff
refs/heads/master
Lib/site-packages/django/middleware/__init__.py
12133432
gdayton/linux-cmps107
refs/heads/master
scripts/gdb/linux/tasks.py
630
# # gdb helper commands and functions for Linux kernel debugging # # task & thread tools # # Copyright (c) Siemens AG, 2011-2013 # # Authors: # Jan Kiszka <jan.kiszka@siemens.com> # # This work is licensed under the terms of the GNU GPL version 2. # import gdb from linux import utils task_type = utils.CachedType(...
uclouvain/osis_louvain
refs/heads/master
assessments/tests/templatetags/test_check.py
1
############################################################################## # # OSIS stands for Open Student Information System. It's an application # designed to manage the core business of higher education institutions, # such as universities, faculties, institutes and professional schools. # The core ...
phlax/pootle
refs/heads/master
pootle/apps/pootle_store/decorators.py
10
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from functools import wraps from django.cor...
JioCloud/python-ceilometerclient
refs/heads/master
ceilometerclient/shell.py
1
# 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 agreed to in writing, software # d...
matterport/whistletips
refs/heads/master
setup.py
1
#!/usr/bin/env python from setuptools import setup version = '0.0.1' setup( name='whistletips', version=version, author='Teran McKinney', author_email='sega01@go-beyond.org', description='AWS/boto3 helper library and reference tools', keywords=['boto3', 'aws'], license='Unlicense', ur...
Arundhatii/erpnext
refs/heads/develop
erpnext/schools/report/__init__.py
12133432
thinkgen/thirdparty
refs/heads/master
script.module.urlresolver/lib/urlresolver/plugins/tubeplus.py
3
""" urlresolver XBMC Addon Copyright (C) 2011 t0mm0 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 Free Software Foundation, either version 3 of the License, or (at your option) any later version. ...
dmargala/qusp
refs/heads/master
qusp/continuum.py
1
""" Provides classes that represent quasar continuum objects. """ import abc import scipy.interpolate import numpy as np import qusp class Continuum(object): """ Abstract base class for quasar continuum objects. """ __metaclass__ = abc.ABCMeta def __init__(self): raise NotImplementedE...
ict-felix/stack
refs/heads/master
vt_manager_kvm/src/python/agent/utils/MonitoringCallbackFunctions.py
5
from agent.communication.XmlRpcClient import XmlRpcClient XmlRpcClient.sendAsyncMonitoringActionStatus(actionId,status,description)
andresriancho/django-moth
refs/heads/master
moth/views/vulnerabilities/grep/csp.py
1
from moth.views.base.vulnerable_template_view import VulnerableTemplateView from django.shortcuts import render_to_response HTML = 'Take a look at the Content-Security-Policy header.' CSP_HEADER = 'Content-Security-Policy' class CSPTemplateView(object): CSP = None def get(self, request, *args, **kwds):...
blueboxgroup/neutron
refs/heads/master
neutron/tests/unit/test_l3_dvr.py
34
# Copyright 2014 Hewlett-Packard Development Company, L.P. # # 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 requir...
EnTeQuAk/django-allauth
refs/heads/master
allauth/socialaccount/providers/bitly/__init__.py
12133432
freezmeinster/teh-manis
refs/heads/master
django/templatetags/__init__.py
12133432
FrankDuan/df_code
refs/heads/master
dragonflow/db/pubsub_drivers/__init__.py
12133432
willharris/django
refs/heads/master
django/db/backends/dummy/__init__.py
12133432
landism/pants
refs/heads/master
contrib/findbugs/src/python/pants/contrib/findbugs/tasks/__init__.py
12133432
mengli/MachineLearning
refs/heads/master
self_driving/optical_flow/python/__init__.py
12133432
panfengfeng/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...
hanteng/babel
refs/heads/master
tests/messages/test_checkers.py
41
# -*- coding: utf-8 -*- # # Copyright (C) 2008-2011 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://babel.edgewall.org/wiki/License. # # This software consists...
Beauhurst/django
refs/heads/master
tests/migration_test_data_persistence/migrations/__init__.py
12133432
ArthurChiao/flame
refs/heads/master
frontend/__init__.py
12133432
gvanerven/engsoftware
refs/heads/master
mcritica/__init__.py
12133432
downthemall/anticontainer
refs/heads/master
build/__init__.py
12133432
bopo/django-userena
refs/heads/master
demo/demo/__init__.py
12133432
ferabra/edx-platform
refs/heads/master
lms/djangoapps/shoppingcart/__init__.py
12133432
facebook/prophet
refs/heads/master
python_shim/fbprophet/make_holidays.py
2
# Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from prophet.make_holidays import *
StrellaGroup/erpnext
refs/heads/develop
erpnext/buying/report/procurement_tracker/test_procurement_tracker.py
5
# Copyright (c) 2013, Frappe Technologies Pvt. Ltd. and contributors # For license information, please see license.txt from __future__ import unicode_literals import unittest from datetime import datetime import frappe from erpnext.buying.report.procurement_tracker.procurement_tracker import execute from erpnext.stock...
neilpelow/wmap-django
refs/heads/master
venv/lib/python3.5/site-packages/pip/baseparser.py
339
"""Base option parser setup""" from __future__ import absolute_import import sys import optparse import os import re import textwrap from distutils.util import strtobool from pip._vendor.six import string_types from pip._vendor.six.moves import configparser from pip.locations import ( legacy_config_file, config_b...
CanalTP/navitia
refs/heads/dev
source/jormungandr/jormungandr/scenarios/helper_classes/fallback_durations.py
1
# Copyright (c) 2001-2017, Canal TP and/or its affiliates. All rights reserved. # # This file is part of Navitia, # the software to build cool stuff with public transport. # # Hope you'll enjoy and contribute to this project, # powered by Canal TP (www.canaltp.fr). # Help us simplify mobility and open public tr...
GetSomeBlocks/Score_Soccer
refs/heads/master
resources/lib/twisted/twisted/internet/inotify.py
56
# -*- test-case-name: twisted.internet.test.test_inotify -*- # Copyright (c) 2008-2010 Twisted Matrix Laboratories. # See LICENSE for details. """ This module provides support for Twisted to linux inotify API. In order to use this support, simply do the following (and start a reactor at some point):: from twiste...
baidu/Paddle
refs/heads/develop
benchmark/tensorflow/rnn/reader.py
8
# Copyright (c) 2018 PaddlePaddle 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 app...