repo_name stringlengths 5 92 | path stringlengths 4 232 | copies stringclasses 19
values | size stringlengths 4 7 | content stringlengths 721 1.04M | license stringclasses 15
values | hash int64 -9,223,277,421,539,062,000 9,223,102,107B | line_mean float64 6.51 99.9 | line_max int64 15 997 | alpha_frac float64 0.25 0.97 | autogenerated bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|
vinc456/coala | coalib/processes/Processing.py | 1 | 28893 | import multiprocessing
import os
import platform
import queue
import subprocess
from itertools import chain
from coalib.collecting import Dependencies
from coalib.collecting.Collectors import collect_files
from coalib.misc.StringConverter import StringConverter
from coalib.output.printers.LOG_LEVEL import LOG_LEVEL
fr... | agpl-3.0 | -7,423,959,529,669,435,000 | 39.924929 | 80 | 0.534559 | false |
KlubbAlfaRomeoNorge/members | admin/__init__.py | 1 | 5300 | # -*- coding: utf-8 -*-
# -------------------------------------------------------------------------
# Portello membership system
# Copyright (C) 2014 Klubb Alfa Romeo Norge
#
# 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
# t... | gpl-2.0 | -6,283,368,510,747,206,000 | 35.054422 | 99 | 0.562264 | false |
richo/groundstation | test/handlers/test_listallobjects_handler.py | 1 | 2821 | from support.handler_fixture import StationHandlerTestCase
from groundstation.transfer.request_handlers import handle_listallobjects
from groundstation.transfer.response_handlers import handle_terminate
import groundstation.transfer.response as response
from groundstation.proto.object_list_pb2 import ObjectList
cla... | mit | 2,283,875,326,875,109,000 | 35.166667 | 73 | 0.684864 | false |
freeflightsim/ffs-app-engine | freeflightsim.appspot.com/distlib/tipfy/__init__.py | 1 | 41328 | # -*- coding: utf-8 -*-
"""
tipfy
~~~~~
Minimalist WSGI application and utilities for App Engine.
:copyright: 2010 by tipfy.org.
:license: BSD, see LICENSE.txt for more details.
"""
import logging
import os
from wsgiref.handlers import CGIHandler
# Werkzeug swiss knife.
# Need to import werkzeug ... | gpl-2.0 | -5,686,333,359,332,392,000 | 32.356739 | 96 | 0.591754 | false |
tylerwmarrs/single-artist-lyric-analysis | lyricanalysis/utils.py | 1 | 1576 | import unicodedata
import sys
from nltk.stem import PorterStemmer
def split_sentences(text):
sentences = []
for sentence in text.split('\n'):
sentence = sentence.strip()
if sentence:
sentences.append(sentence)
return sentences
stemmer = PorterStemmer()
def stem_... | mit | -4,943,583,380,357,310 | 25.283333 | 77 | 0.645305 | false |
blueshed/blueshed-py | src/blueshed/fling/fling_rpc.py | 1 | 1225 | '''
Created on Nov 12, 2013
@author: peterb
'''
import logging
import time
from blueshed.fling.fling_client import FlingClient
from tornado.ioloop import IOLoop
class FlingRPC(FlingClient):
def __init__(self, target, url="ws://localhost:7777/ws", reconnect=1):
FlingClient.__init__(self, url=url)
... | mit | 6,750,943,200,508,859,000 | 25.652174 | 85 | 0.585306 | false |
veteman/thepython2blob | timei.py | 1 | 6839 | #Copyright 2015 B. Johan G. Svensson
#Licensed under the terms of the MIT license (see LICENSE).
def datetest(y,m,d,bc=False):
# datetest(y ,m ,d [,bc])
if (type(y)!=type(1) and type(y)!=type(1L)) or \
(type(m)!=type(1) and type(y)!=type(1L)) or \
(type(d)!=type(1) and type(y)!=type(1L)):
... | mit | -7,946,349,581,877,763,000 | 26.144033 | 100 | 0.446118 | false |
sclooney94/example-avi-gaiadr1-magnitude-distribution | views.py | 1 | 2732 | """
GAVIP Example AVIS: Simple AVI
@req: SOW-FUN-010
@req: SOW-FUN-040
@req: SOW-FUN-046
@req: SOW-INT-001
@comp: AVI Web System
This is a simple example AVI which demonstrates usage of the GAVIP AVI framework
Here in views.py, you can define any type of functions to handle
HTTP requests. Any of these functions can ... | lgpl-3.0 | -8,593,449,538,297,468,000 | 29.032967 | 101 | 0.711933 | false |
g2p/systems | lib/systems/context.py | 1 | 17949 | # vim: set fileencoding=utf-8 sw=2 ts=2 et :
from __future__ import absolute_import
from __future__ import with_statement
from logging import getLogger
import networkx as NX
import yaml
from systems.collector import Aggregate, CResource
from systems.registry import get_registry
from systems.typesystem import EResour... | gpl-2.0 | -7,044,774,306,404,940,000 | 29.783877 | 78 | 0.645902 | false |
paour/weblate | weblate/trans/models/__init__.py | 1 | 1926 | # -*- coding: utf-8 -*-
#
# Copyright © 2012 - 2014 Michal Čihař <michal@cihar.com>
#
# This file is part of Weblate <http://weblate.org/>
#
# 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, eithe... | gpl-3.0 | -3,836,975,499,630,569,000 | 33.963636 | 71 | 0.76131 | false |
ErwinRieger/ddprint | host/intmath.py | 1 | 5070 | # -*- coding: utf-8 -*-
#
#/*
# This file is part of ddprint - a 3D printer firmware.
#
# Copyright 2021 erwin.rieger@ibrieger.de
#
# ddprint 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 ... | gpl-2.0 | -6,284,402,136,257,748,000 | 27.627119 | 139 | 0.546675 | false |
grezesf/Research | Reservoirs/Task0_Replication/code/preprocessing/feat_extract.py | 1 | 2574 | #!/usr/bin/python
import os
import sys
import datetime
# README
# reads the TIMIT dataset, copies the directory structure
# performs a mffc extraction on the audio files
# input:
# TIMITPath: path to the base of the dataset directory
# SMILExtractPath: path to SMILExtract executable
# ConfPath: path to the SMILExtract... | mit | 3,095,255,279,587,556,400 | 31.582278 | 141 | 0.674825 | false |
aitjcize/PyTox | setup.py | 1 | 1268 | from distutils.core import setup, Extension
from subprocess import Popen, PIPE
def supports_av():
h = Popen("ld $LDFLAGS -ltoxav", shell=True, stderr=PIPE)
out, err = h.communicate()
return 'toxav' not in str(err)
sources = ["pytox/pytox.c", "pytox/core.c", "pytox/util.c"]
libraries = [
"opus",
"sodi... | gpl-3.0 | -2,171,528,531,317,965,000 | 20.491525 | 63 | 0.608044 | false |
WaveBlocks/WaveBlocks | src/WaveBlocks/TimeManager.py | 1 | 7218 | """The WaveBlocks Project
Provides several computation routines for
handling time and timesteps.
@author: R. Bourquin
@copyright: Copyright (C) 2010, 2011 R. Bourquin
@license: Modified BSD License
"""
from scipy import floor
class TimeManager:
r"""
This class performs several computation with time, timest... | bsd-3-clause | 1,664,457,358,564,621,800 | 30.246753 | 109 | 0.584927 | false |
simonemainardi/LSHash | tests/test_lsh.py | 1 | 4542 | import random
import string
from unittest import TestCase
from redis import StrictRedis
from pprint import pprint
import sys
import os
# add the LSHash package to the current python path
sys.path.insert(0, os.path.abspath('../'))
# now we can use our lshash package and not the standard one
from lshash import LSHash
... | mit | 2,219,903,868,623,740,700 | 34.76378 | 102 | 0.547776 | false |
stevshil/PiMediaPlayer | PiGUI/example.py | 1 | 1068 | #move the GUI-window from its initial position to see how it stays there only with the new version
#note also the flickering happens only in the old version
# comment out and in as necessary
################################# easygui with callback
import easygui_callback
def controller(user_input):
print "controller... | apache-2.0 | -4,630,286,491,995,790,000 | 27.864865 | 98 | 0.645131 | false |
JarbasAI/JarbasAI | mycroft/stt/__init__.py | 1 | 4937 | # Copyright 2016 Mycroft AI, Inc.
#
# This file is part of Mycroft Core.
#
# Mycroft Core 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 versio... | gpl-3.0 | 4,356,992,615,965,597,000 | 28.740964 | 77 | 0.616974 | false |
gkc1000/pyscf | pyscf/fci/direct_uhf.py | 1 | 14649 | #!/usr/bin/env python
# Copyright 2014-2018 The PySCF Developers. 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
#
# U... | apache-2.0 | 5,878,243,789,563,975,000 | 41.46087 | 89 | 0.564271 | false |
shaz13/oppia | core/controllers/learner_playlist.py | 1 | 2096 | # Copyright 2017 The Oppia 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 applicable ... | apache-2.0 | 7,436,396,985,364,026,000 | 42.666667 | 79 | 0.722328 | false |
canast02/csci544_fall2016_project | yelp-sentiment/experiments/sentiment_stochasticGradientDescent.py | 1 | 2641 | import numpy as np
from nltk import TweetTokenizer, accuracy
from nltk.stem.snowball import EnglishStemmer
from sklearn import svm, linear_model
from sklearn.cross_validation import StratifiedKFold
from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.metrics import accuracy_score
from sklearn.metric... | gpl-3.0 | -4,050,931,623,567,482,000 | 33.75 | 105 | 0.603559 | false |
MissionCriticalCloud/marvin | marvin/cloudstackAPI/stopVirtualMachine.py | 1 | 24289 | """Stops a virtual machine."""
from baseCmd import *
from baseResponse import *
class stopVirtualMachineCmd (baseCmd):
typeInfo = {}
def __init__(self):
self.isAsync = "true"
"""The ID of the virtual machine"""
"""Required"""
self.id = None
self.typeInfo['id'] = 'uuid'... | apache-2.0 | 5,430,298,847,573,778,000 | 37.800319 | 145 | 0.572276 | false |
Mutiny-Games/unicorn-hat-hd | examples/snake.py | 1 | 5313 | #!/usr/bin/env python
import curses
import os
import random
import time
import unicornhathd
CONTROLS = {
ord('w'): 'up',
ord('s'): 'down',
ord('a'): 'left',
ord('d'): 'right',
curses.KEY_UP: 'up',
curses.KEY_DOWN: 'down',
curses.KEY_LEFT: 'left',
curses.KEY_RIGHT: 'right'
}
class Sn... | mit | 2,677,595,456,128,741,000 | 22.50885 | 76 | 0.472238 | false |
GreatEmerald/geoscripting | Assignment1/Complete.py | 1 | 3661 | import os
os.chdir('/home/tim/geoscripting/lesson11')
print os.getcwd()
os.chdir('data')
## Loading osgeo
try:
from osgeo import ogr, osr
print 'Import of ogr and osr from osgeo worked. Hurray!\n'
except:
print 'Import of ogr and osr from osgeo failed\n\n'
## Is the ESRI Shapefile driver available?
driverName... | apache-2.0 | -55,867,917,027,162,376 | 26.533835 | 84 | 0.749795 | false |
jarrodmcc/OpenFermion | src/openfermion/tests/_lih_integration_test.py | 1 | 6229 | # 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
# distribu... | apache-2.0 | -6,725,934,730,498,603,000 | 43.81295 | 79 | 0.647455 | false |
pli3/e2-openwbif | plugin/controllers/views/web/parentcontrollist.py | 1 | 5525 | #!/usr/bin/env python
##################################################
## DEPENDENCIES
import sys
import os
import os.path
try:
import builtins as builtin
except ImportError:
import __builtin__ as builtin
from os.path import getmtime, exists
import time
import types
from Cheetah.Version import MinCompatib... | gpl-2.0 | 7,711,901,379,807,445,000 | 35.111111 | 199 | 0.635113 | false |
andymitchhank/bessie | bessie/base.py | 1 | 2160 | from functools import partial
import requests
try:
import urlparse as parse
except:
from urllib import parse
class InvalidEndpointException(Exception):
pass
class BaseClient(object):
endpoints = []
separator = '/'
base_url = ''
def __init__(self, path='', path_params=None, **kwargs):
self.path = path
... | mit | 4,279,400,171,414,058,000 | 23.545455 | 81 | 0.688426 | false |
x10an14/Programming_Practice | project_euler/9/python/solution.py | 1 | 1427 | #!/usr/bin/env python3.7
from math import floor
from typing import Tuple
from functools import reduce
from itertools import combinations_with_replacement
def factors(
n: int # Number to factorize
) -> Tuple[int]:
return tuple(
reduce(
list.__add__,
(
[i, f... | mit | -4,583,035,532,445,794,000 | 23.186441 | 94 | 0.529783 | false |
cranes-bill/cedit | tools/generate-plugin.py | 1 | 5946 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# generate-plugin.py - cedit plugin skeletton generator
# This file is part of cedit
#
# Copyright (C) 2006 - Steve Frécinaux
#
# cedit 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... | gpl-2.0 | -9,085,646,997,685,193,000 | 31.664835 | 95 | 0.584861 | false |
jdepoix/goto_cloud | goto_cloud/migration_commander/device_identification.py | 1 | 4673 | from command.public import SourceCommand
from .mountpoint_mapping import MountpointMapper
class DeviceIdentificationCommand(SourceCommand):
"""
takes care of identifying, which of the targets devices, should replicated, which device of the source system
"""
class NoMatchingDevicesException(SourceComm... | mit | -253,590,842,994,977,500 | 38.601695 | 116 | 0.577573 | false |
rocktavious/pyul | pyul/xmlUtils.py | 1 | 7272 | from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator
from xml.sax.xmlreader import AttributesImpl
from xml.dom.minidom import parseString
try:
from cStringIO import StringIO
except ImportError:
try:
from StringIO import StringIO
except ImportError:
from io import StringIO
... | mit | 3,095,048,240,525,451,000 | 32.205479 | 72 | 0.582508 | false |
benosteen/mypaint | lib/brush.py | 1 | 14425 | # This file is part of MyPaint.
# Copyright (C) 2007 by Martin Renold <martinxyz@gmx.ch>
#
# 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 2 of the License, or
# (at your option) ... | gpl-2.0 | 3,792,774,296,780,017,700 | 34.972569 | 112 | 0.552236 | false |
Musaka96/FB-Chat-Toolkit | chat.py | 1 | 2494 | import fbchat
def login():
username = input("Enter your id --> ")
password = input("Enter your password --> ")
try:
client = fbchat.Client(username, password)
except:
print("id or password is wrong")
login()
menu(client)
def menu(client):
print("1.Messenger")
print("2.Spammer")
print("3.Log out")
c... | gpl-3.0 | 1,108,275,265,305,331,300 | 16.206897 | 91 | 0.607458 | false |
simontakite/sysadmin | pythonscripts/learningPython/argtest.py | 1 | 5114 | """
File argtest.py: (3.X + 2.X) function decorator that performs
arbitrary passed-in validations for arguments passed to any
function method. Range and type tests are two example uses;
valuetest handles more arbitrary tests on a argument's value.
Arguments are specified by keyword to the decorator. In the act... | gpl-2.0 | -1,233,746,748,900,023,800 | 39.577236 | 84 | 0.517208 | false |
cpdean/sqlalchemy-bigquery | sqlalchemy_bigquery/base.py | 1 | 2701 | """
Support for Google BigQuery.
Does not support actually connecting to BQ.
Directly derived from the mssql dialect with minor modifications
"""
import sqlalchemy.dialects.mssql.base as mssql_base
from sqlalchemy.dialects.mssql.base import MSDialect
from sqlalchemy.sql import compiler
from sqlalchemy.sql import sql... | mit | -109,448,852,808,508,160 | 27.135417 | 81 | 0.593484 | false |
nickmeharry/django-mysql | django_mysql/models/fields/lists.py | 1 | 7795 | # -*- coding:utf-8 -*-
from __future__ import (
absolute_import, division, print_function, unicode_literals
)
from django.core import checks
from django.db.models import CharField, IntegerField, Lookup, TextField
from django.utils import six
from django.utils.translation import ugettext_lazy as _
from django_mysq... | bsd-3-clause | -5,785,116,181,025,149,000 | 32.170213 | 79 | 0.540475 | false |
c4sc/arividam | arividam/djangocms_news/migrations/0003_auto_20170218_2159.py | 1 | 1393 | # -*- coding: utf-8 -*-
# Generated by Django 1.9.12 on 2017-02-18 16:29
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import djangocms_text_ckeditor.fields
import filer.fields.image
class Migration(migrations.Migration):
dependencies = [
... | mit | 5,029,275,819,570,105,000 | 37.694444 | 218 | 0.643934 | false |
guyemerson/pyphon | src/pyphon.py | 1 | 3033 | #!/usr/bin/env python2
import wx, os, sqlite3
import wxGUI
wx.USE_UNICODE = 1
SRC_DIR = os.getcwd()
DATA_DIR = os.path.join(os.path.split(SRC_DIR)[0], 'data')
def filepath(text):
""" If text contains no slashes, add the default data directory """
directory, filename = os.path.split(text)
if director... | gpl-3.0 | 8,069,458,571,730,618,000 | 28.656566 | 99 | 0.648863 | false |
umass-forensics/Yapr-forensics | yapr/yapr_scan.py | 1 | 6163 | """
This script attempts to determine important characteristics of a Yaffs phone image.
Ideally, this functionality will be incorporated into a new version of the Yaffs parser.
"""
__author__ = 'wallsr'
import argparse
import os
from . import utilities
from .YaffsClasses.YaffsChunk import YaffsHeader
from .YaffsCla... | gpl-2.0 | -7,580,820,317,265,886,000 | 28.917476 | 108 | 0.602304 | false |
nthall/pip | pip/index.py | 1 | 37111 | """Routines related to PyPI, indexes"""
from __future__ import absolute_import
import logging
import cgi
from collections import namedtuple
import itertools
import sys
import os
import re
import mimetypes
import posixpath
import warnings
from pip._vendor.six.moves.urllib import parse as urllib_parse
from pip._vendor.... | mit | -1,062,880,060,406,941,300 | 34.546935 | 79 | 0.554391 | false |
axltxl/kaoru | kaoru/commands/hello.py | 1 | 1196 | # -*- coding: utf-8 -*-
"""
kaoru.commands.hello
~~~~~~~~
/hello command implementation
:copyright: (c) 2015 by Alejandro Ricoveri
:license: MIT, see LICENSE for more details.
"""
from telegram import Update
from .. import utils
from . import bot_command
_greetings = [
# English
'Affirmative Dave, I read ... | mit | -4,500,527,741,360,126,500 | 15.041096 | 71 | 0.590094 | false |
kentaro0919/billing | app/entries/forms.py | 1 | 1990 | """doc."""
import wtforms
from wtforms.validators import DataRequired
from models import Entry, Tag
class ImageForm(wtforms.Form):
file = wtforms.FileField('Image file')
class TagField(wtforms.StringField):
"""doc."""
def _value(self):
"""doc."""
if self.data:
# Display tag... | mit | 1,626,705,362,889,400,300 | 26.638889 | 77 | 0.58392 | false |
chemelnucfin/tensorflow | tensorflow/python/keras/regularizers_test.py | 1 | 7803 | # 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... | apache-2.0 | -3,927,156,256,061,779,000 | 37.438424 | 80 | 0.670768 | false |
JiscPER/magnificent-octopus | octopus/modules/es/initialise.py | 1 | 4362 | import esprit
from octopus.lib import plugin
from octopus.core import app
def _default_mapping():
default_mapping = app.config.get("ELASTIC_SEARCH_DEFAULT_MAPPING")
if default_mapping is None:
return None
if "mappings" in default_mapping:
return default_mapping
if "_default_" in defau... | apache-2.0 | -1,562,341,599,889,666,300 | 39.775701 | 118 | 0.646034 | false |
Ictp/indico | indico/MaKaC/common/log.py | 1 | 8114 | # -*- coding: utf-8 -*-
##
##
## This file is part of Indico.
## Copyright (C) 2002 - 2014 European Organization for Nuclear Research (CERN).
##
## Indico 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; eith... | gpl-3.0 | -8,128,992,374,017,895,000 | 30.449612 | 83 | 0.599704 | false |
palankai/baluster | tests/test_nested.py | 1 | 1212 | from baluster import Baluster, placeholders
class CompositeRoot(Baluster):
@placeholders.factory
def value(self, root):
return 2
class subns(Baluster):
_closed = False
@placeholders.factory
def value(self, root):
return 1
@value.close
def cl... | mit | 7,758,543,138,161,990,000 | 19.896552 | 47 | 0.578383 | false |
crossroadchurch/paul | openlp/core/ui/settingsdialog.py | 1 | 3292 | # -*- coding: utf-8 -*-
# vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=4
###############################################################################
# OpenLP - Open Source Lyrics Projection #
# ------------------------------------------------------... | gpl-2.0 | -6,551,662,760,534,454,000 | 51.253968 | 92 | 0.559538 | false |
icereval/scrapi | scrapi/base/__init__.py | 1 | 6929 | # Classes for scrAPI Harvesters
from __future__ import unicode_literals
import abc
import json
import logging
from datetime import timedelta, date
from lxml import etree
from scrapi import util
from scrapi import requests
from scrapi import registry
from scrapi import settings
from scrapi.base.schemas import OAISCHE... | apache-2.0 | -8,320,974,376,876,299,000 | 31.530516 | 102 | 0.625487 | false |
tchellomello/home-assistant | homeassistant/components/template/trigger.py | 1 | 3430 | """Offer template automation rules."""
import logging
import voluptuous as vol
from homeassistant import exceptions
from homeassistant.const import CONF_FOR, CONF_PLATFORM, CONF_VALUE_TEMPLATE
from homeassistant.core import callback
from homeassistant.helpers import config_validation as cv, template
from homeassistan... | apache-2.0 | 9,030,021,066,005,904,000 | 28.568966 | 84 | 0.560933 | false |
daniel-j/lutris | lutris/runners/__init__.py | 1 | 2119 | """Generic runner functions."""
# from lutris.util.log import logger
__all__ = (
# Native
"linux",
"steam",
"browser",
"web",
# Microsoft based
"wine",
"winesteam",
"dosbox",
# Multi-system
"mame",
"mess",
"mednafen",
"scummvm",
"residualvm",
"libretro",
... | gpl-3.0 | 6,627,909,325,748,285,000 | 19.375 | 80 | 0.583766 | false |
Diti24/python-ivi | ivi/agilent/agilent3000A.py | 1 | 6792 | """
Python Interchangeable Virtual Instrument Library
Copyright (c) 2012-2016 Alex Forencich
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... | mit | 3,845,266,033,228,307,500 | 34.375 | 100 | 0.633687 | false |
HazyResearch/metal | metal/contrib/info_extraction/mentions.py | 1 | 6222 | import numpy as np
class EntityMention(object):
"""A mention of an entity (span of text) in a document
Args:
doc_id: a unique identifier for the document
text: a single string of text corresponding to the document
char_start: the integer offset of the first character in the entity
... | apache-2.0 | 566,391,379,007,993,200 | 33.759777 | 81 | 0.613468 | false |
SnakeHunt2012/word2vec | word-word/word-word.py | 1 | 3317 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from sys import stdout
from codecs import open
from json import loads
from numpy import zeros, dot, sqrt
from argparse import ArgumentParser
from heapq import nlargest
import cudamat as cm
def debug(debug_str):
stdout.write(debug_str)
stdout.flush()
def load_vec... | apache-2.0 | -9,172,534,614,930,218,000 | 32.505051 | 93 | 0.586675 | false |
Telestream/telestream-cloud-python-sdk | telestream_cloud_qc_sdk/test/test_drop_frame_type.py | 1 | 1328 | # coding: utf-8
"""
Qc API
Qc API # noqa: E501
The version of the OpenAPI document: 3.0.0
Contact: cloudsupport@telestream.net
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import datetime
import telestream_cloud_qc
from telestream_cl... | mit | -4,047,097,072,042,222,600 | 24.538462 | 90 | 0.649849 | false |
bearstech/modoboa | modoboa/lib/form_utils.py | 1 | 12669 | # coding: utf-8
"""Form management utilities."""
from __future__ import unicode_literals
import abc
from collections import OrderedDict
import re
from django.forms import TypedChoiceField
from django.forms.fields import Field
from django.forms.widgets import RadioSelect
from django.forms.widgets import RadioChoiceI... | isc | 2,693,508,765,597,406,000 | 28.462791 | 79 | 0.546926 | false |
dnbaker/emp | python/hll_sketch.py | 1 | 1366 | import argparse
import os
import shlex
import subprocess
import multiprocessing
import sys
def sketch_call(tup):
ss, ks, paths = tup
cstr = "flashdans sketch -p1 -k%i -S%i %s" % (ss, ks, " ".join(paths))
subprocess.check_call(shlex.split(cstr))
if __name__ == "__main__":
sketch_range = range(10, 24,... | gpl-3.0 | 9,033,839,705,742,966,000 | 34.947368 | 78 | 0.606149 | false |
tanghaibao/goatools | goatools/cli/docopt_parse.py | 1 | 3852 | """Run docopt in GOATOOLS."""
from __future__ import print_function
__copyright__ = "Copyright (C) 2016-present, DV Klopfenstein, H Tang, All rights reserved."
__author__ = "DV Klopfenstein"
import sys
import re
from docopt import docopt
from goatools.gosubdag.utils import get_kwargs
#pylint: disable=too-few-publi... | bsd-2-clause | 713,140,892,205,950,200 | 38.306122 | 100 | 0.570872 | false |
Asana/boto | tests/unit/test_connection.py | 1 | 23327 | # Copyright (c) 2013 Amazon.com, Inc. or its affiliates. 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 restriction, including
# without limitation the rights ... | mit | -7,608,701,348,387,864,000 | 40.879713 | 99 | 0.533759 | false |
louisrli/grabrc-client | tests/testbase.py | 1 | 1922 | import unittest
import os
import shutil
import subprocess
from client import const
class BaseIntegrationTest(unittest.TestCase):
def setUp(self):
"""
Clears out old temporary test directories, then
creates a new one.
"""
self.TMPDIR = "tmp-grabrc-test"
self.BACKUP_... | gpl-3.0 | -6,224,113,858,382,469,000 | 28.121212 | 68 | 0.594693 | false |
uclapi/uclapi | backend/uclapi/roombookings/models.py | 1 | 8730 | from __future__ import unicode_literals
from django.db import models
models.options.DEFAULT_NAMES += ('_DATABASE',)
class Booking(models.Model):
setid = models.CharField(max_length=40, blank=True, null=True)
siteid = models.CharField(max_length=40, blank=True, null=True)
roomid = models.CharField(max_l... | mit | -4,850,903,556,800,862,000 | 46.967033 | 77 | 0.716266 | false |
rogeriofalcone/treeio | services/forms.py | 1 | 24922 | # encoding: utf-8
# Copyright 2011 Tree.io Limited
# This file is part of Treeio.
# License www.tree.io/license
"""
Services module forms
"""
from django import forms
from django.db.models import Q
from django.core.urlresolvers import reverse
from django.utils.translation import ugettext as _
from django.utils.html im... | mit | -6,035,473,457,789,518,000 | 45.066543 | 128 | 0.566367 | false |
quarkslab/arybo | tests/arybo/llvm.py | 1 | 3837 | import unittest
import operator
import six
import random
from six.moves import range,reduce
import ctypes
from ctypes import CFUNCTYPE
from arybo.lib.exprs_asm import llvmlite_available
if llvmlite_available:
import llvmlite.binding as llvm
import arybo.lib.mba_exprs as EX
from arybo.lib import MBA
from arybo.l... | bsd-3-clause | 6,109,709,905,965,048,000 | 32.365217 | 105 | 0.591869 | false |
mvo5/snapcraft | snapcraft/plugins/kbuild.py | 1 | 9392 | # -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*-
#
# Copyright (C) 2016-2017 Canonical Ltd
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3 as
# published by the Free Software Foundation.
#
# This program is distributed in ... | gpl-3.0 | 2,984,809,691,852,066,300 | 36.12253 | 88 | 0.627449 | false |
sliwhu/UWHousingTeam | model/house_price_model.py | 1 | 6622 | """
Contains the house price model.
DON'T USE THIS MODEL! Use the HousePriceModel in house_price_model_2.py.
"""
import os
import numpy as np
import pandas as pd
from sklearn.ensemble import RandomForestRegressor
from sklearn.linear_model import RidgeCV
# Constants
BASE_DATE = pd.to_datetime('20140101', format='%Y%... | mit | 3,879,649,261,701,865,000 | 35.788889 | 92 | 0.663546 | false |
elastic-event-components/e2c | source/python/e2c.examples/web_mud/contracts/token.py | 1 | 1166 | #
# Copyright 2017 The E2C 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 applicable l... | apache-2.0 | -590,398,240,472,339,600 | 24.911111 | 80 | 0.598628 | false |
ThomasZh/legend-league-portal | foo/auth/auth_newsup.py | 1 | 3243 | #!/usr/bin/env python
# _*_ coding: utf-8_*_
#
# Copyright 2016 7x24hs.com
# thomas@7x24hs.com
#
# 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... | apache-2.0 | 3,766,114,325,257,546,000 | 30.673267 | 108 | 0.66427 | false |
renatopp/liac | liac/dataset/__init__.py | 1 | 3050 | # =============================================================================
# Federal University of Rio Grande do Sul (UFRGS)
# Connectionist Artificial Intelligence Laboratory (LIAC)
# Renato de Pontes Pereira - rppereira@inf.ufrgs.br
# =============================================================================
... | mit | -752,506,588,079,396,900 | 36.654321 | 79 | 0.644918 | false |
thanatoskira/AndroGuard | elsim/elsim/elsim_db.py | 1 | 7471 | #!/usr/bin/env python
# This file is part of Elsim.
#
# Copyright (C) 2012, Anthony Desnos <desnos at t0t0.fr>
# All rights reserved.
#
# Elsim is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either ve... | lgpl-3.0 | -4,021,871,903,078,052,400 | 29.373984 | 148 | 0.504752 | false |
Maaack/Silent-Night-API | game_api/migrations/0002_auto_20160207_1603.py | 1 | 1928 | # -*- coding: utf-8 -*-
# Generated by Django 1.9.2 on 2016-02-08 00:03
from __future__ import unicode_literals
import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('game_api', '0001... | gpl-3.0 | -5,922,265,363,484,232,000 | 36.803922 | 114 | 0.547718 | false |
DBWangGroupUNSW/revs | revs/entity.py | 1 | 1871 | from elasticsearch.helpers import bulk
class EntityDoc:
def __init__(self, name, uri, num_occ):
self.name = name
self.uri = uri
self.num_occ = num_occ
class EntityIndexer:
def __init__(self, config, elastic_search):
self._config = config
self._elastic_search = elastic... | mit | 6,968,993,648,632,724,000 | 28.698413 | 89 | 0.377873 | false |
racetted/maestro-utils | bin/task_setup.py | 1 | 50921 | #!/usr/bin/env python
#/* Part of the Maestro sequencer software package.
# * Copyright (C) 2011-2015 Canadian Meteorological Centre
# * Environment Canada
# *
# * Maestro is free software; you can redistribute it and/or
# * modify it under the terms of the GNU Lesser General Public
# * Licen... | lgpl-2.1 | -177,184,573,625,039,000 | 46.368372 | 184 | 0.50814 | false |
jbmouret/limbo | src/tutorials/ros.py | 2 | 1325 | #! /usr/bin/env python
# encoding: utf-8
# to be put in your experiment's directory
import os
from waflib.Configure import conf
def options(opt):
opt.add_option('--ros', type='string', help='path to ros', dest='ros')
@conf
def check_ros(conf):
if conf.options.ros:
includes_check = [conf.options.ros + '/incl... | gpl-3.0 | 5,223,864,863,413,622,000 | 31.317073 | 132 | 0.643019 | false |
pdehaye/theming-edx-platform | cms/djangoapps/contentstore/tests/test_contentstore.py | 1 | 78438 | #pylint: disable=E1101
import json
import shutil
import mock
from textwrap import dedent
from django.test.client import Client
from django.test.utils import override_settings
from django.conf import settings
from django.core.urlresolvers import reverse
from path import path
from tempdir import mkdtemp_clean
from fs.... | agpl-3.0 | -9,173,351,805,722,796,000 | 43.140687 | 203 | 0.626826 | false |
ifiddes/pycbio | pycbio/sys/dbDict.py | 1 | 3316 | # Copyright 2006-2012 Mark Diekhans
# Copyright sebsauvage.net
"""
Code from:
http://sebsauvage.net/python/snyppets/index.html#dbdict
A dictionnary-like object for LARGE datasets
Python dictionnaries are very efficient objects for fast data access. But when data is too large to fit in memory, you're in trouble.
Here'... | bsd-3-clause | -6,402,318,023,815,042,000 | 43.810811 | 133 | 0.658625 | false |
tdsimao/tt | algoritmos/algGenetico-backup.py | 1 | 12029 | # -*- coding: utf-8 -*-
from celulas.models import Celula, Encontro
from random import choice, random, sample
from time import time
from src.variaveisGlobais import pesos
class CelulaAlg(Celula):
"""
classe criada para acumular lista de encontros sem salva-los
e editar o metodo save() permitindo ... | gpl-2.0 | 9,191,960,471,433,302,000 | 32.157459 | 267 | 0.5994 | false |
specify/specify7 | specifyweb/context/schema_localization.py | 1 | 2364 | from collections import defaultdict
import json
from django.conf import settings
from django.db import connection
from specifyweb.specify.models import (
Splocalecontainer as Container,
Splocalecontaineritem as Item,
Splocaleitemstr as SpString)
schema_localization_cache = {}
def get_schema_localization... | gpl-2.0 | -2,763,643,266,562,375,700 | 41.981818 | 122 | 0.713198 | false |
Edraak/edraak-platform | cms/djangoapps/contentstore/storage.py | 1 | 1226 | """
Storage backend for course import and export.
"""
from __future__ import absolute_import
from django.conf import settings
from django.core.files.storage import get_storage_class
from storages.backends.s3boto import S3BotoStorage
from storages.utils import setting
class ImportExportS3Storage(S3BotoStorage): # py... | agpl-3.0 | 1,933,521,590,470,509,600 | 34.028571 | 109 | 0.729201 | false |
sedouard/scaleio-flocker-driver | scaleio_flocker_driver/__init__.py | 1 | 1317 | # Copyright 2015 EMC Corporation
from flocker.node import BackendDescription, DeployerType
from .emc_sio import (
scaleio_from_configuration, DEFAULT_STORAGE_POOL,
DEFAULT_PROTECTION_DOMAIN, DEFAULT_PORT, DEBUG
)
def api_factory(cluster_id, **kwargs):
protection_domain = DEFAULT_PROTECTION_DOMAIN
if ... | apache-2.0 | -3,388,212,268,403,209,700 | 32.769231 | 90 | 0.678815 | false |
shlomif/patool | patoolib/programs/bzip2.py | 1 | 1327 | # -*- coding: utf-8 -*-
# Copyright (C) 2010-2012 Bastian Kleineidam
#
# 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.
#... | gpl-3.0 | 3,623,195,511,221,700,000 | 40.46875 | 71 | 0.718161 | false |
larrylindsey/reconstructmergetool | build/lib.linux-x86_64-2.7/pyrecon/toolsgui/excelTool.py | 1 | 4104 | #!/usr/bin/env python
import sys, os
from pyrecon.tools import excelTool
from PySide import QtGui, QtCore
class excelToolWindow(QtGui.QWidget):
def __init__(self, parent = None):
QtGui.QWidget.__init__(self, parent)
self.parent = parent
self.setGeometry(0,0,500,200)
self.se... | gpl-3.0 | 3,869,149,202,501,233,000 | 35.327434 | 102 | 0.570906 | false |
sYnfo/samba | python/samba/getopt.py | 1 | 11288 | # Samba-specific bits for optparse
# Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007
#
# 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... | gpl-3.0 | 6,134,900,008,198,523,000 | 38.468531 | 79 | 0.582123 | false |
hjhsalo/reana-server | reana_server/api_client.py | 1 | 1852 | # -*- coding: utf-8 -*-
#
# This file is part of REANA.
# Copyright (C) 2017 CERN.
#
# REANA 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 2 of the License, or (at your option) any later
# ver... | gpl-2.0 | 6,410,380,712,022,820,000 | 30.931034 | 79 | 0.692765 | false |
dontnod/weblate | weblate/accounts/migrations/0012_auto_20190805_1248.py | 1 | 1517 | # Generated by Django 2.2.3 on 2019-08-05 12:48
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("accounts", "0011_auto_20190721_1810")]
operations = [
migrations.AlterField(
model_name="subscription",
name="notification",
... | gpl-3.0 | -129,581,008,454,388,270 | 42.342857 | 83 | 0.54911 | false |
samuto/ladybug | src/Ladybug_Open EPW Weather File.py | 1 | 1873 | # Open Weather data file
#
# Ladybug: A Plugin for Environmental Analysis (GPL) started by Mostapha Sadeghipour Roudsari
#
# This file is part of Ladybug.
#
# Copyright (c) 2013-2015, Mostapha Sadeghipour Roudsari <Sadeghipour@gmail.com>
# Ladybug is free software; you can redistribute it and/or modify
# it... | gpl-3.0 | 6,968,332,342,942,576,000 | 33.339623 | 93 | 0.697811 | false |
taschik/ramcloud | scripts/log.py | 1 | 2528 | #!/usr/bin/env python
# Copyright (c) 2010 Stanford University
#
# Permission to use, copy, modify, and distribute this software 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 "AS IS" AND T... | isc | 2,893,362,188,098,615,300 | 32.706667 | 76 | 0.615902 | false |
lhfei/spark-in-action | spark-2.x/src/main/python/mllib/svd_example.py | 1 | 1821 | #
# 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 n... | apache-2.0 | 8,269,495,635,788,406,000 | 35.9375 | 77 | 0.666118 | false |
JeroenZegers/Nabu-MSSS | nabu/neuralnetworks/loss_computers/pit_noise_loss.py | 1 | 1142 | """@file pit_noise_loss.py
contains the PITNoiseLoss"""
import loss_computer
from nabu.neuralnetworks.components import ops
class PITNoiseLoss(loss_computer.LossComputer):
"""A loss computer that calculates the loss"""
def __call__(self, targets, logits, seq_length):
"""
Compute the loss
Creates the operat... | mit | -1,165,106,504,995,643,600 | 29.052632 | 104 | 0.71979 | false |
GongYiLiao/Python_Daily | 2014/Sep/8/test_opencl_benchmark.py | 1 | 3178 |
import pyopencl as cl
import numpy
import numpy.linalg as la
import scipy.special as ssf
import datetime
from time import time
import test_cython_32
def test_cython_0(zz):
time1 = time()
a, b, c = test_cython_32.test_0(zz)
run_time = time() - time1
print("Execution time of Cython on float32: ", r... | mit | -1,539,835,912,262,503,000 | 40.272727 | 92 | 0.465702 | false |
pylover/pymlconf | sphinx/conf.py | 1 | 5697 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# pymlconf documentation build configuration file, created by
# sphinx-quickstart on Sat Mar 25 00:12:51 2017.
#
# 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
# a... | mit | 4,386,085,715,522,529,000 | 28.827225 | 79 | 0.667544 | false |
cmusatyalab/opendiamond | opendiamond/blaster/cache.py | 1 | 5375 | #
# The OpenDiamond Platform for Interactive Search
#
# Copyright (c) 2011-2012 Carnegie Mellon University
# All rights reserved.
#
# This software is distributed under the terms of the Eclipse Public
# License, Version 1.0 which can be found in the file named LICENSE.
# ANY USE, REPRODUCTION OR DISTRIBUTION OF T... | epl-1.0 | 6,612,470,580,327,325,000 | 30.617647 | 76 | 0.611535 | false |
c4fcm/CivilServant | alembic/versions/960085fce39c_generating_migration_for_a_praw_object.py | 1 | 2408 | """Generating migration for a PRAW object
Revision ID: 960085fce39c
Revises: 4d46b88366fc
Create Date: 2016-06-13 17:30:49.056215
"""
# revision identifiers, used by Alembic.
revision = '960085fce39c'
down_revision = '4d46b88366fc'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as s... | mit | -8,745,198,961,622,810,000 | 27.329412 | 63 | 0.66113 | false |
TribeMedia/synapse | synapse/rest/media/v1/upload_resource.py | 2 | 3506 | # -*- coding: utf-8 -*-
# Copyright 2014-2016 OpenMarket Ltd
#
# 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 applicab... | apache-2.0 | 7,054,650,231,856,196,000 | 32.711538 | 79 | 0.625214 | false |
kata-csc/ckanext-oaipmh | docs/conf.py | 1 | 8464 | # -*- coding: utf-8 -*-
#
# Kata documentation build configuration file, created by
# sphinx-quickstart on Tue Jul 15 10:01:47 2014.
#
# 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
# autogenerated file.
#
# All ... | agpl-3.0 | 1,165,127,676,307,662,300 | 29.890511 | 79 | 0.70345 | false |
cgart/photobooth | mainapp/preview.py | 1 | 2172 | import piggyphoto
from kivy.uix.widget import Widget
from kivy.properties import StringProperty
from kivy.properties import NumericProperty
from kivy.properties import ListProperty, ObjectProperty
from kivy.core.image import Image as CoreImage
from kivy.uix.image import Image
# ------------------------------... | mit | -8,266,618,033,812,970,000 | 30.941176 | 75 | 0.445212 | false |
eseidel/native_client_patches | tests/tone/run.py | 1 | 1783 | #!/usr/bin/python
# Copyright 2008, 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 co... | bsd-3-clause | -1,862,171,788,224,770,300 | 42.487805 | 72 | 0.757712 | false |
HaroldMills/Vesper | vesper/mpg_ranch/nfc_bounding_interval_annotator_1_0/annotator.py | 1 | 7220 | """
Module containing NFC bounding interval annotator, version 1.0.
An NFC bounding interval annotator sets values for the `Call Start Index`
and `Call End Index` annotations for a clip containing a nocturnal flight
call (NFC). If the annotations already exist their values are overwritten,
and if they do not already e... | mit | -6,382,661,020,857,981,000 | 31.232143 | 79 | 0.571884 | false |
mlperf/training_results_v0.7 | Fujitsu/benchmarks/resnet/implementations/implementation_open/mxnet/3rdparty/onnx-tensorrt/third_party/onnx/setup.py | 1 | 11020 | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from distutils.spawn import find_executable
from distutils import sysconfig, log
import setuptools
import setuptools.command.build_py
import setuptools.command.develop
im... | apache-2.0 | -948,853,856,165,309,600 | 32.293051 | 118 | 0.522505 | false |
sherpya/archiver | setup_all.py | 1 | 2040 | #!/usr/bin/env python
# -*- Mode: Python; tab-width: 4 -*-
#
# Netfarm Mail Archiver - release 2
#
# Copyright (C) 2005-2007 Gianluigi Tiesi <sherpya@netfarm.it>
# Copyright (C) 2005-2007 NetFarm S.r.l. [http://www.netfarm.it]
#
# This program is free software; you can redistribute it and/or modify
# it under the term... | gpl-2.0 | -6,462,490,321,913,439,000 | 27.732394 | 93 | 0.633333 | false |
ragupta-git/ImcSdk | imcsdk/mometa/storage/StorageLocalDiskEp.py | 1 | 1913 | """This module contains the general information for StorageLocalDiskEp ManagedObject."""
from ...imcmo import ManagedObject
from ...imccoremeta import MoPropertyMeta, MoMeta
from ...imcmeta import VersionMeta
class StorageLocalDiskEpConsts:
pass
class StorageLocalDiskEp(ManagedObject):
"""This is StorageLo... | apache-2.0 | 8,475,116,203,333,382,000 | 34.425926 | 215 | 0.592263 | false |
joharei/plasma-netctl | contents/code/netctl.py | 1 | 2541 | # -*- coding: utf-8 -*-
#
# Author: Johan Reitan <johan.reitan@gmail.com>
# Date: Sat Jan 18 2014, 17:03:40
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Library General Public License as
# published by the Free Software Foundation; either version 2, or
# (at y... | gpl-3.0 | 5,458,483,675,457,180,000 | 32 | 73 | 0.706415 | false |
rudhir-upretee/Sumo17_With_Netsim | tools/net/batch0103to0110.py | 1 | 1060 | #!/usr/bin/python
"""
@file batch0103to0110.py
@author Daniel Krajzewicz
@author Michael Behrisch
@date 2007
@version $Id: batch0103to0110.py 13811 2013-05-01 20:31:43Z behrisch $
Applies the transformation on all nets in the given folder or
- if no folder is given - in the base folder (../..).
SUMO, Simula... | gpl-3.0 | -8,821,300,692,409,846,000 | 31.121212 | 85 | 0.616981 | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.