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 |
|---|---|---|---|---|---|---|---|---|---|---|
basilfx/BierApp-Server | bierapp/core/decorators.py | 1 | 1740 | from django.shortcuts import get_object_or_404
from django.http import Http404
from functools import wraps
from bierapp.accounts.models import User
from bierapp.core.models import Transaction, ProductGroup, Product, \
TransactionTemplate
from bierapp.utils.types import get_int
def resolve_user(func):
@wraps... | gpl-3.0 | 2,630,288,681,782,983,000 | 28 | 78 | 0.644828 | false |
chippey/gaffer | python/GafferImageUITest/ImageGadgetTest.py | 1 | 3183 | ##########################################################################
#
# Copyright (c) 2015, Image Engine Design 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:
#
# * Redistrib... | bsd-3-clause | 3,051,755,592,278,766,000 | 37.817073 | 141 | 0.676406 | false |
aringh/odl | odl/util/vectorization.py | 1 | 8540 | # Copyright 2014-2017 The ODL contributors
#
# This file is part of ODL.
#
# This Source Code Form is subject to the terms of the Mozilla Public License,
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
# obtain one at https://mozilla.org/MPL/2.0/.
"""Utilities for internal functionality con... | mpl-2.0 | -1,299,324,578,800,178,000 | 28.040816 | 79 | 0.559264 | false |
euphorie/Euphorie | src/euphorie/client/authentication.py | 1 | 9395 | """
Authentication
--------------
User account plugins and authentication.
"""
from ..content.api.authentication import authenticate_token as authenticate_cms_token
from . import model
from .interfaces import IClientSkinLayer
from AccessControl import ClassSecurityInfo
from Acquisition import aq_parent
from App.class... | gpl-2.0 | 5,777,297,908,647,784,000 | 30.955782 | 97 | 0.604896 | false |
tensorflow/models | official/vision/beta/modeling/backbones/resnet_3d_test.py | 1 | 3813 | # Copyright 2021 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 | 5,509,428,363,427,333,000 | 36.019417 | 79 | 0.635195 | false |
DFO-Ocean-Navigator/Ocean-Data-Map-Project | tests/test_scriptGen.py | 1 | 5515 | import ast
from plotting.scriptGenerator import generatePython, generateR
from oceannavigator import create_app
import hashlib
import json
import unittest
from io import BytesIO
class TestScriptGenerator(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.app = create_app()
def test_genera... | gpl-3.0 | 6,761,764,156,442,774,000 | 60.977528 | 702 | 0.658386 | false |
larryweya/dry-pyramid | drypyramid/tests.py | 1 | 20737 | import unittest
import colander
from webob.multidict import MultiDict
from webtest import TestApp
from pyramid import testing
from pyramid.httpexceptions import (
HTTPNotFound,
HTTPFound
)
from sqlalchemy import (
create_engine,
Column,
Integer,
String,
Table,
ForeignKey,
)
from sqlalch... | mit | -7,523,207,633,318,657,000 | 33.619366 | 87 | 0.589815 | false |
6aika/issue-reporting | issues/models/applications.py | 1 | 1241 | from django.db import models
from django.utils.crypto import get_random_string
from issues.excs import InvalidAppError
DEFAULT_APP_DATA = { # Used by `.autodetermine()` and the migration
'identifier': 'default',
'name': 'Default',
'key': ''
}
def generate_api_key():
return get_random_string(30)
c... | mit | 6,477,491,313,848,653,000 | 30.025 | 108 | 0.654311 | false |
dajobe/SoCo | soco/ms_data_structures.py | 1 | 21067 | # -*- coding: utf-8 -*-
# pylint: disable = star-args, too-many-arguments, unsupported-membership-test
# pylint: disable = not-an-iterable
# Disable while we have Python 2.x compatability
# pylint: disable=useless-object-inheritance
"""This module contains all the data structures for music service plugins."""
# This... | mit | 7,402,956,122,372,239,000 | 37.164855 | 79 | 0.584896 | false |
kuke/models | fluid/PaddleRec/word2vec/preprocess.py | 1 | 5840 | # -*- coding: utf-8 -*
import os
import random
import re
import six
import argparse
import io
import math
prog = re.compile("[^a-z ]", flags=0)
def parse_args():
parser = argparse.ArgumentParser(
description="Paddle Fluid word2 vector preprocess")
parser.add_argument(
'--build_dict_corpus_dir'... | apache-2.0 | -1,929,002,871,442,135,600 | 30.229947 | 134 | 0.52774 | false |
sysuwuhaibin/vatus | vatus/testcases/test_bussiness/test_login_management/test_E73_modify_personal_information.py | 1 | 5396 | # -*- coding: utf-8 -*-
import time
import unittest
from selenium import webdriver
import settings
class ModifyPersonalInfo(unittest.TestCase):
def setUp(self):
self.driver = None
self.base_url = settings.test_parameters.get("bussiness_base_url")
def test_E73_modify_personal_information(s... | apache-2.0 | 3,833,711,199,793,544,000 | 53.252632 | 111 | 0.528328 | false |
dycodedev/taiga-back | tests/integration/test_vote_issues.py | 1 | 4147 | # Copyright (C) 2015 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2015 Jesús Espino <jespinog@gmail.com>
# Copyright (C) 2015 David Barragán <bameda@dbarragan.com>
# Copyright (C) 2015 Anler Hernández <hello@anler.me>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU... | agpl-3.0 | 7,353,787,517,842,962,000 | 33.247934 | 79 | 0.70584 | false |
lschule/biknstock | web/python/hello.py | 1 | 2891 | from __future__ import print_function
import os
from operator import itemgetter
from crm114 import Classifier
def index(req):
data_path = '%s%s%s' % (os.path.dirname(__file__), os.sep, 'data')
categories = ['good', 'bad']
print('Initializing classifier')
print('- Categories: %s' % ', '.join(categori... | mit | 4,316,286,691,436,116,500 | 34.691358 | 72 | 0.51643 | false |
sigma-random/Triton | examples/callback_after.py | 1 | 8375 |
# Output
#
# $ ./triton ./examples/callback_after.py ./samples/crackmes/crackme_xor a
# 0x40056d: push rbp
# -> #0 = (bvsub (_ bv140735022953896 64) (_ bv8 64)) ; Aligns stack
# -> #1 = (_ bv140735022953936 64)
# -> #2 = (_ bv4195694 64) ; RIP
#
# 0x40056e: mov rbp, rsp
# -> #3 = (... | lgpl-3.0 | 4,867,103,924,392,754,000 | 47.410405 | 200 | 0.469373 | false |
lelit/tailor | vcpx/tests/svn.py | 1 | 13407 | # -*- mode: python; coding: utf-8 -*-
# :Progetto: vcpx -- svn specific tests
# :Creato: gio 11 nov 2004 19:09:06 CET
# :Autore: Lele Gaifax <lele@nautilus.homeip.net>
# :Licenza: GNU General Public License
#
from unittest import TestCase
from datetime import datetime
from vcpx.repository.svn import changesets_fr... | gpl-3.0 | 3,799,975,612,509,294,000 | 36.54902 | 85 | 0.596121 | false |
peterhinch/micropython-epaper | epaper.py | 1 | 19329 | # epaper.py main module for Embedded Artists' 2.7 inch E-paper Display.
# Peter Hinch
# version 0.9
# 17 Jun 2018 Adapted for VFS mount/unmount.
# 18 Mar 2016 Adafruit module and fast (partial) updates.
# 2 Mar 2016 Power control support removed. Support for fonts as persistent byte code
# 29th Jan 2016 Monospaced font... | apache-2.0 | 1,606,973,317,774,428,700 | 37.735471 | 110 | 0.496197 | false |
PyBro-JHU/Clue-Less | clueless/tests/client/game_play_functest.py | 1 | 6596 | """
This module is a functional test of the game_server and game_client
interactions. a game server is spun up in a seperate process space and bound
to localhost on port 5000. The game client is then used to interact with
the game server.
"""
import unittest
from multiprocessing.process import Process
from clueless.... | apache-2.0 | 7,321,740,515,994,931,000 | 38.73494 | 78 | 0.59339 | false |
ecreall/nova-ideo | novaideo/utilities/alerts_utility.py | 1 | 9428 | # -*- coding: utf8 -*-
# Copyright (c) 2015 by Ecreall under licence AGPL terms
# available on http://www.gnu.org/licenses/agpl.html
# licence: AGPL
# author: Amen Souissi
import json
import requests
import re
from persistent.list import PersistentList
# from urllib.request import urlopen
from pyramid.threadlocal im... | agpl-3.0 | -1,736,134,962,268,818,200 | 34.310861 | 101 | 0.559504 | false |
zmarvel/playground | project6-hy/tests.py | 1 | 4016 | from hashtable import Hashtable
import time
###########################
########## Tests ##########
###########################
some_words = [u'lewes', # => 5
u'mistranscribe', # => 13
u'outbleed', # => 8
u'abstemiously', # => 12
u'antifeuda... | mit | 9,035,777,160,325,980,000 | 33.324786 | 82 | 0.534363 | false |
joshua-cogliati-inl/raven | rook/XMLDiff.py | 1 | 19356 | # Copyright 2017 Battelle Energy Alliance, 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 agreed t... | apache-2.0 | 3,820,883,646,590,924,000 | 39.493724 | 100 | 0.606685 | false |
openatv/enigma2 | lib/python/Plugins/Extensions/FileCommander/addons/dmnapi.py | 3 | 1533 | #!/usr/bin/python -u
# -*- coding: UTF-8 -*-
# napiprojekt.pl API is used with napiproject administration consent
import re
import os
import os.path
import sys
import dmnapim
def get_all(file, supplement):
rex = re.compile('.*\\.%s$' % file[-3:], re.I)
(dir, fname) = os.path.split(file)
for f in os.listdir(dir):... | gpl-2.0 | -2,545,383,978,789,383,700 | 26.872727 | 163 | 0.621657 | false |
itsvetkov/pyqtgraph | pyqtgraph/debug.py | 1 | 36061 | # -*- coding: utf-8 -*-
"""
debug.py - Functions to aid in debugging
Copyright 2010 Luke Campagnola
Distributed under MIT/X11 license. See license.txt for more infomation.
"""
from __future__ import print_function
import sys, traceback, time, gc, re, types, weakref, inspect, os, cProfile, threading
from . import pt... | mit | 1,375,255,485,171,331,300 | 32.670401 | 161 | 0.522254 | false |
cloudbase/maas | src/maasserver/migrations/0010_add_node_netboot.py | 1 | 11133 | # flake8: noqa
# SKIP this file when reformatting.
# The rest of this file was generated by South.
# encoding: utf-8
import datetime
from django.db import models
from maasserver.enum import NODE_STATUS
from south.db import db
from south.v2 import SchemaMigration
class Migration(SchemaMigration):
def forwards(s... | agpl-3.0 | -3,308,740,581,718,270,500 | 68.149068 | 182 | 0.548729 | false |
gusDuarte/software-center-5.2 | softwarecenter/config.py | 1 | 2669 | # Copyright (C) 20011 Canonical
#
# Authors:
# Andrew Higginson
#
# 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; version 3.
#
# This program is distributed in the hope that it will be useful, ... | lgpl-3.0 | -5,625,440,615,949,773,000 | 33.217949 | 79 | 0.66242 | false |
veteman/thepython2blob | logicanalyser2fss.py | 1 | 5278 | #Copyright 2015 B. Johan G. Svensson
#Licensed under the terms of the MIT license (see LICENSE).
from __future__ import division
import struct, time, csv
import fsslib
class CSVWriter():
def __init__(self, fid, samplerate):
pass
class CSVReader():
def __init__(self, fid, samplerate):
... | mit | 2,724,560,461,482,590,700 | 28.333333 | 98 | 0.541872 | false |
laurentb/weboob | modules/bouygues/module.py | 1 | 2730 | # -*- coding: utf-8 -*-
# Copyright(C) 2019 Budget Insight
#
# This file is part of a weboob module.
#
# This weboob module 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 version 3 of the ... | lgpl-3.0 | 8,566,490,347,002,986,000 | 39.088235 | 124 | 0.710565 | false |
sempliva/Emotly | emotly/tests/test_model_user.py | 1 | 6285 | """
MIT License
Copyright (c) 2016 Emotly Contributors
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
to use, copy, modify, merge, pu... | mit | -5,786,649,106,648,142,000 | 36.861446 | 78 | 0.608115 | false |
Rayal/ROS_proov | ros_robotics_projects/chapter_7_codes/rostensorflow/image_recognition.py | 1 | 1917 | import rospy
from sensor_msgs.msg import Image
from std_msgs.msg import String
from cv_bridge import CvBridge
import cv2
import numpy as np
import tensorflow as tf
from tensorflow.models.image.imagenet import classify_image
class RosTensorFlow():
def __init__(self):
classify_image.maybe_download_and_extra... | mit | -6,235,122,650,728,627,000 | 38.122449 | 113 | 0.633281 | false |
DailyActie/Surrogate-Model | 01-codes/OpenMDAO-Framework-dev/openmdao.main/src/openmdao/main/test/test_connect_var.py | 1 | 9889 | # test_connect_var.py
"""
Testing connecting different variable types to each other.
"""
import unittest
from openmdao.main.api import Assembly, Component, set_as_top
from openmdao.main.datatypes.api import Array, Float, Int, Str, Bool, Enum
class Oneout(Component):
""" A simple output component """
... | mit | 6,529,345,715,683,629,000 | 38.714859 | 97 | 0.557893 | false |
Microsoft/PTVS | Python/Product/Miniconda/Miniconda3-x64/Lib/site-packages/conda/models/match_spec.py | 1 | 31362 | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals
from abc import ABCMeta, abstractmethod, abstractproperty
from collections import Mapping
from functools import reduce
from os.path import basename
import re
from .channel import Channel
from .dist import Dist
f... | apache-2.0 | -8,014,581,032,672,361,000 | 35.048276 | 99 | 0.568554 | false |
open-austin/capture | distance.py | 1 | 4386 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import division, print_function
import argparse
import glob
import os
import numpy as np
import pandas as pd
from geopy.distance import vincenty as point_distance
def ingest(fn, route_id, begin_latlng, end_latlng):
df = pd.read_csv(fn, parse_dates=[... | gpl-3.0 | -4,384,529,574,560,891,400 | 35.247934 | 131 | 0.649111 | false |
borg-project/borg | borg/unix/accounting.py | 1 | 8038 | """@author: Bryan Silverthorn <bcs@cargo-cult.org>"""
import os
import select
import signal
import datetime
import collections
import borg
log = borg.get_logger(__name__)
class SessionTimeAccountant(object):
"""
Track the total CPU (user) time for members of a session.
Process accounting under Linux is ... | mit | -8,009,201,627,987,073,000 | 30.155039 | 90 | 0.581488 | false |
arenadata/ambari | ambari-server/src/main/resources/stacks/BigInsights/4.2.5/services/HDFS/package/scripts/params.py | 1 | 1253 | """
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 use this ... | apache-2.0 | 1,570,136,230,896,415,200 | 40.766667 | 83 | 0.7917 | false |
pudo/archivekit | archivekit/store/s3.py | 1 | 4834 | import os
from urllib2 import urlopen
from boto.s3.connection import S3Connection, S3ResponseError
from boto.s3.connection import Location
from archivekit.store.common import Store, StoreObject, MANIFEST
DELIM = os.path.join(' ', ' ').strip()
ALL_USERS = 'http://acs.amazonaws.com/groups/global/AllUsers'
class S3St... | mit | -4,507,298,742,891,452,000 | 33.042254 | 78 | 0.571369 | false |
DonHilborn/DataGenerator | faker/providers/es_MX/company.py | 1 | 8627 | # -*- encoding: utf-8 -*-
from __future__ import unicode_literals
from ..company import Provider as CompanyProvider
class Provider(CompanyProvider):
formats = (
'{{last_name}} {{company_suffix}}',
'{{last_name}}-{{last_name}}',
'{{company_prefix}} {{last_name}}-{{last_name}}',
'{{c... | mit | -2,724,498,202,587,713,500 | 49.311765 | 77 | 0.559102 | false |
chrys87/orca-beep | src/orca/generator.py | 1 | 43334 | # Orca
#
# Copyright 2009 Sun Microsystems Inc.
#
# This library 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
# version 2.1 of the License, or (at your option) any later version.
#
# This libr... | lgpl-2.1 | -4,279,859,017,480,769,000 | 40.78785 | 176 | 0.542461 | false |
peterheim1/robbie | bin/speech_text.py | 1 | 2005 | #!/usr/bin/env python
# Author: Derek Green
PKG = 'pocketsphinx'
#import roslib; roslib.load_manifest(PKG)
import rospy
import re
import os
from std_msgs.msg import String
from subprocess import Popen, PIPE
class SpeechText():
def __init__(self):
self.pub = rospy.Publisher('speech_text', String)
... | gpl-3.0 | 1,194,413,395,588,688,100 | 32.983051 | 135 | 0.54015 | false |
noppanit/sweepy | sweepy.py | 1 | 3267 | #!/usr/bin/env python
import pymongo
import tweepy
from pymongo import MongoClient
from sweepy.get_config import get_config
config = get_config()
consumer_key = config.get('PROCESS_TWITTER_CONSUMER_KEY')
consumer_secret = config.get('PROCESS_TWITTER_CONSUMER_SECRET')
access_token = config.get('PROCESS_TWITTER_ACCES... | mit | -7,822,002,205,192,745,000 | 28.7 | 103 | 0.654729 | false |
kaajavi/ninformes | escolar/test_dev.py | 1 | 3482 | from django.shortcuts import render_to_response
from django.template import RequestContext
import os
from django.conf import settings
from django.template import Context
from django.template.loader import get_template
from xhtml2pdf import pisa #INSTALAR ESTA LIBRERIA
from django.templatetags.static import static
from... | gpl-2.0 | 624,910,965,018,021,500 | 34.907216 | 166 | 0.688685 | false |
cloudnull/genastack_roles | genastack_roles/nova_api_os_compute/__init__.py | 1 | 1103 | # =============================================================================
# Copyright [2013] [Kevin Carter]
# License Information :
# This software has no warranty, it is provided 'as is'. It is your
# responsibility to validate the behavior of the routines and its accuracy
# using the code provided. Consult the ... | gpl-3.0 | -5,563,318,845,062,327,000 | 35.766667 | 79 | 0.446056 | false |
svenfraeys/sftoolbox | sftoolboxmaya/widgets.py | 1 | 1480 | import sftoolboxmaya.utils
from sftoolboxqt import qtgui
from sftoolboxqt.widgets import ProjectWidget
class MayaProjectWidget(sftoolboxmaya.utils.DialogWidget):
"""toolbox widget
"""
def _wrapped_set_window_title(self, func):
"""wrap for the set window title to keep it synced
"""
... | mit | 6,410,005,747,240,740,000 | 28.6 | 77 | 0.648649 | false |
RyanofRIT/DjangoWebsite | HealthNet/HealthNet/urls.py | 1 | 2087 | from django.conf.urls import include, url, patterns
from django.contrib import admin
from HealthApp import views
"""
The urlpatterns is how we map the site urls to specific views in the views.py. The first part is
a regular expression to describe the url pattern, followed by the view that should be called.
Lastly, a n... | gpl-2.0 | 9,009,979,145,393,319,000 | 62.272727 | 103 | 0.729756 | false |
LEAMgroup/leam.stress | leam/stress/interfaces/stressanalysis.py | 1 | 1042 | from zope.interface import Interface
# -*- Additional Imports Here -*-
from zope import schema
from leam.stress import stressMessageFactory as _
class IStressAnalysis(Interface):
"""Frontend to the LEAM Stress Analysis Model"""
# -*- schema definition goes here -*-
layer = schema.Object(
title=... | gpl-2.0 | -7,602,434,538,923,923,000 | 30.575758 | 90 | 0.658349 | false |
dereulenspiegel/spotimc | resources/libs/spotimcgui/views/__init__.py | 1 | 7854 | '''
Copyright 2011 Mikel Azkolain
This file is part of Spotimc.
Spotimc 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.
Spotimc ... | gpl-3.0 | 4,706,419,649,641,739,000 | 25.950178 | 77 | 0.540998 | false |
meeza/PythonWork | SearchEngines/crawler.py | 1 | 1625 | import urllib
def get_page(url):
try:
return urllib.urlopen(url).read()
except:
return ""
def get_next_target(page):
start_link = page.find('<a href=')
if start_link == -1:
return None, 0
start_quote = page.find('"', start_link)
end_quote = page.find('"', start_qu... | mit | -1,297,772,012,444,380,000 | 22.214286 | 54 | 0.548308 | false |
xthirtyfive/gamemod | log.py | 1 | 1077 | # Copyright 2013 X35
#
# This file is part of gamemod.
#
# gamemod 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 | 8,196,184,236,019,420,000 | 26.615385 | 73 | 0.694522 | false |
jwhitlock/kuma | kuma/users/signal_handlers.py | 1 | 4279 | from allauth.account.signals import email_confirmed, user_signed_up
from allauth.socialaccount.signals import social_account_removed
from django.conf import settings
from django.contrib import messages
from django.core.exceptions import ObjectDoesNotExist
from django.db.models.signals import post_delete, post_save
from... | mpl-2.0 | -3,534,320,353,739,426,300 | 34.658333 | 78 | 0.703903 | false |
Samcbehrens/VisualAnalytics | dataProcessing/USTimeline.py | 1 | 2413 | import csv
import datetime
import json
import calendar
from timeline3 import convertToFile
def convertTime(dateAsString):
MillisecNum=''
conv =''
if len(dateAsString)>4:
conv = datetime.datetime.strptime(dateAsString, '%m/%d/%Y')
MillisecNum = calendar.timegm(conv.timetuple())
else:
numberAsInt = int(dateA... | bsd-3-clause | 5,171,126,104,977,085,000 | 23.13 | 79 | 0.688355 | false |
okey/aduana | example/example/settings.py | 2 | 1573 | #--------------------------------------------------------------------------
# Scrapy Settings
#--------------------------------------------------------------------------
BOT_NAME = 'example'
SPIDER_MODULES = ['example.spiders']
NEWSPIDER_MODULE = 'example.spiders'
HTTPCACHE_ENABLED = True
REDIRECT_ENABLED = True
COOK... | bsd-3-clause | 5,058,943,456,257,775,000 | 31.770833 | 89 | 0.478067 | false |
sapcc/monasca-notification | monasca_notification/plugins/jira_notifier.py | 1 | 8896 | # (C) Copyright 2016 Hewlett Packard Enterprise Development Company LP
#
# 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... | apache-2.0 | -2,488,763,707,057,027,000 | 40.962264 | 115 | 0.630283 | false |
DavidAndreev/indico | indico/MaKaC/webinterface/wcomponents.py | 1 | 44542 | # This file is part of Indico.
# Copyright (C) 2002 - 2016 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; either version 3 of the
# License, or (a... | gpl-3.0 | -5,558,711,386,967,988,000 | 35.995017 | 202 | 0.586009 | false |
aaabhilash97/google-python-exercises | basic/string2.py | 1 | 2740 | #!/usr/bin/python2.4 -tt
# Copyright 2010 Google Inc.
# Licensed under the Apache License, Version 2.0
# http://www.apache.org/licenses/LICENSE-2.0
# Google's Python Class
# http://code.google.com/edu/languages/google-python-class/
# Additional basic string exercises
# D. verbing
# Given a string, if its length is a... | apache-2.0 | -1,827,243,979,055,912,400 | 26.959184 | 77 | 0.637591 | false |
zhaochl/python-utils | agrith_util/graph/g.py | 1 | 9283 | #!/usr/bin/env python
# coding=utf-8
import pygraphviz as pgv
from pdb import *
gdata = [
['A', '->', 'B',1],
['A', '->', 'C',1],
['B', '->', 'C',1],
['B', '->', 'D',1],
['C', '->', 'D',1],
['D', '->', '',1],
]
graph = {
'A': ['B', 'C'],
'B': ['C', 'D'],
'C': ['D'],
'D':[]
}
def... | apache-2.0 | -5,159,982,726,066,468,000 | 26.302941 | 89 | 0.531078 | false |
edagar/censorship-analyser | tcpconnect.py | 1 | 1629 | # -*- coding: utf-8 -*-
from twisted.internet.error import ConnectionRefusedError
from ooni.utils import log
from ooni.templates import tcpt
from twisted.python import usage
class UsageOptions(usage.Options):
optParameters = [
['target', 't', None, 'Specify a single host to test.'],
['port', 'p', ... | bsd-3-clause | 8,497,879,571,738,538,000 | 29.166667 | 75 | 0.59423 | false |
chrislit/abydos | tests/distance/test_distance_canberra.py | 1 | 2809 | # Copyright 2019-2020 by Christopher C. Little.
# This file is part of Abydos.
#
# Abydos 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 | 1,225,034,253,349,493,200 | 36.453333 | 70 | 0.641865 | false |
sxjscience/tvm | python/tvm/topi/nn/conv2d_transpose.py | 1 | 6465 | # 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... | apache-2.0 | -5,046,389,322,234,244,000 | 35.942857 | 98 | 0.636195 | false |
amitjamadagni/sympy | sympy/statistics/distributions.py | 1 | 14654 | from sympy.core import sympify, Lambda, Dummy, Integer, Rational, oo, Float, pi
from sympy.functions import sqrt, exp, erf
from sympy.printing import sstr
import random
class Sample(tuple):
"""
Sample([x1, x2, x3, ...]) represents a collection of samples.
Sample parameters like mean, variance and stddev c... | bsd-3-clause | 5,455,225,138,428,859,000 | 27.621094 | 95 | 0.503071 | false |
lucidmotifs/auto-aoc | .venv/lib/python3.5/site-packages/pylint/test/unittest_checker_typecheck.py | 1 | 8353 | # -*- coding: utf-8 -*-
# Copyright (c) 2014 Google, Inc.
# Copyright (c) 2014 LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr>
# Copyright (c) 2014 Holger Peters <email@holger-peters.de>
# Copyright (c) 2015-2016 Claudiu Popa <pcmanticore@gmail.com>
# Copyright (c) 2015 Dmitry Pribysh <dmand@yandex.ru>
# Copyright (c... | mit | 8,456,009,336,349,886,000 | 35.155844 | 90 | 0.597222 | false |
pgurumur/netconf | core/lib/ip.py | 1 | 12491 | # Copyright (c) 2015 Prabhu Gurumurthy <pgurumur@users.noreply.github.com>
# 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... | isc | -6,283,409,211,468,774,000 | 31.698953 | 77 | 0.553519 | false |
osmr/utct | TFLearn/feed_dict_flow_cp.py | 1 | 1917 | from tflearn import data_flow
class FeedDictFlowCp(data_flow.FeedDictFlow):
"""
Wrapper of TFLearn's FeedDictFlow for some types of augmentation.
"""
def __init__(self,
feed_dict,
coord,
batch_size=128,
num_threads=8,
... | mit | 4,391,301,540,408,282,000 | 36.607843 | 69 | 0.411581 | false |
mveyrenc/mveyrenc.github.io | docker/conf.py | 1 | 9766 | # -*- coding: utf-8 -*-
#
# Docker build configuration file, created by
# sphinx-quickstart on Thu Jul 23 09:30:31 2015.
#
# 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 configuratio... | gpl-2.0 | -5,326,288,314,645,905,000 | 30.711039 | 86 | 0.704792 | false |
HybridF5/jacket | jacket/db/storage/api.py | 1 | 44700 | # Copyright (c) 2011 X.commerce, a business unit of eBay Inc.
# Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file... | apache-2.0 | 5,485,486,144,737,427,000 | 35.135812 | 79 | 0.643982 | false |
HelloLily/hellolily | lily/search/scan_search.py | 1 | 1365 | import inspect
from django.conf import settings
from elasticutils.contrib.django import MappingType
from lily.search.base_mapping import BaseMapping
class ModelMappings(object):
mappings = []
model_to_mappings = {}
app_to_mappings = {}
@classmethod
def scan(cls, apps_to_scan=settings.INSTALLED_... | agpl-3.0 | -6,483,834,906,151,082,000 | 38 | 115 | 0.578755 | false |
jobovy/galpy | galpy/potential/interpSphericalPotential.py | 1 | 4568 | ###################3###################3###################3##################
# interpSphericalPotential.py: build spherical potential through interpolation
###################3###################3###################3##################
import numpy
from scipy import interpolate
from .SphericalPotential import Spherica... | bsd-3-clause | -5,407,083,161,345,688,000 | 42.09434 | 194 | 0.601576 | false |
OpenTechFund/WebApp | opentech/apply/funds/migrations/0045_new_workflow.py | 1 | 1533 | # Generated by Django 2.0.8 on 2018-10-24 12:13
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('funds', '0044_add_named_blocks'),
]
operations = [
migrations.AlterField(
model_name='applicationbase',
name='workfl... | gpl-2.0 | 7,132,013,135,087,195,000 | 45.454545 | 209 | 0.609263 | false |
ActiveState/code | recipes/Python/496993_Separating_Pattern_ImplementatiYour/recipe-496993.py | 1 | 3324 | ##########
# pattern_impl.py
##########
from installmethod import installmethod # the installmethod from recipe: 223613
class ObserverPattern:
"""
A reusable implementation of the Observer pattern.
"""
theSubject = None
observers = {}
class Subject:
def __init__(self):
... | mit | -542,397,210,227,763,600 | 28.945946 | 81 | 0.619134 | false |
bitmovin/bitmovin-python | tests/bitmovin/services/encodings/drms/playready_drm_tests.py | 1 | 16848 | import unittest
import uuid
import json
from bitmovin import Bitmovin, Response, Stream, StreamInput, EncodingOutput, ACLEntry, Encoding, \
FMP4Muxing, MuxingStream, PlayReadyDRM, SelectionMode, ACLPermission, PlayReadyDRMAdditionalInformation
from bitmovin.errors import BitmovinApiError, InvalidTypeError
from test... | unlicense | -688,011,659,537,507,000 | 45.541436 | 120 | 0.657882 | false |
emory-libraries/eulfedora | eulfedora/server.py | 1 | 19607 | # file eulfedora/server.py
#
# Copyright 2010,2011 Emory University Libraries
#
# 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
#
# ... | apache-2.0 | -3,356,252,382,455,029,000 | 40.80597 | 143 | 0.636711 | false |
turon/openthread | tools/harness-automation/cases/router_5_2_7.py | 1 | 1879 | #!/usr/bin/env python
#
# Copyright (c) 2016, The OpenThread Authors.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# 1. Redistributions of source code must retain the above copyright
# notic... | bsd-3-clause | -737,141,814,733,381,500 | 39.847826 | 77 | 0.761575 | false |
Cepave/portal | web/controller/host.py | 1 | 6380 | # -*- coding:utf-8 -*-
__author__ = 'Ulric Qin'
from flask import jsonify, request, render_template, g, make_response
from web import app
from web.model.host_group import HostGroup
from web.model.group_host import GroupHost
from web.model.grp_tpl import GrpTpl
from web.model.host import Host
from web.model.template imp... | apache-2.0 | -4,357,326,261,906,748,400 | 31.943005 | 115 | 0.619534 | false |
InitialState/python_appender | ISStreamer/Streamer.py | 1 | 10347 | # local config helper stuff
try:
import ISStreamer.configutil as configutil
except ImportError:
import configutil
try:
import ISStreamer.version as version
except ImportError:
import version
import uuid
# python 2 and 3 conversion support
import sys
if (sys.version_info < (2,7,0)):
sys.stderr.write("You need at l... | mit | -6,042,125,597,051,966,000 | 31.034056 | 160 | 0.667826 | false |
Guts/isogeo-api-py-minsdk | isogeo_pysdk/enums/limitation_types.py | 1 | 1993 | # -*- coding: UTF-8 -*-
#! python3
"""
Isogeo API v1 - Enums for Limitation types entity accepted values.
See: http://help.isogeo.com/api/complete/index.html
"""
# #############################################################################
# ########## Libraries #############
# ############################... | gpl-3.0 | -1,665,953,534,875,158,300 | 31.145161 | 80 | 0.438033 | false |
15Dkatz/pants | src/python/pants/engine/build_files.py | 1 | 13721 | # coding=utf-8
# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
from __future__ import (absolute_import, division, generators, nested_scopes, print_function,
unicode_literals, with_statement)
import collections
f... | apache-2.0 | 2,093,579,768,712,662,000 | 37.434174 | 116 | 0.693535 | false |
julianofischer/caederm | caed/models.py | 1 | 2456 | # encoding: utf-8
# Author: Juliano Fischer Naves
# julianofischer at gmail dot com
# April, 2014
from django.db import models
from django.utils.translation import ugettext_lazy as _
# Create your models here.
class StudentClass(models.Model):
name = models.CharField(max_length=30,verbose_name='Turma')
d... | gpl-3.0 | 1,138,426,551,920,276,600 | 34.985294 | 81 | 0.667348 | false |
jorisvandenbossche/numpy | numpy/core/shape_base.py | 1 | 28964 | from __future__ import division, absolute_import, print_function
__all__ = ['atleast_1d', 'atleast_2d', 'atleast_3d', 'block', 'hstack',
'stack', 'vstack']
import functools
import operator
import warnings
from . import numeric as _nx
from . import overrides
from ._asarray import array, asanyarray
from .mu... | bsd-3-clause | 642,279,398,689,061,400 | 30.969095 | 81 | 0.589698 | false |
LabD/django-postcode-lookup | docs/conf.py | 1 | 10306 | # -*- coding: utf-8 -*-
#
# Django PostcodeLookup documentation build configuration file, created by
# sphinx-quickstart on Wed Aug 10 17:06:14 2016.
#
# 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
# autogenerat... | mit | -5,578,861,523,643,388,000 | 28.112994 | 86 | 0.692897 | false |
Parcks/core | test/domain/post_install/shell/test_root_shell_command_runner.py | 1 | 2885 | """
Scriptable Packages Installer - Parcks
Copyright (C) 2017 JValck - Setarit
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) any later version.... | gpl-2.0 | -4,424,503,969,292,120,600 | 40.214286 | 108 | 0.727903 | false |
harshays/southwest | southwest/utils.py | 1 | 1537 | import os, sys, argparse
import datetime as dt
import threading
from functools import wraps
def _caffeinate():
os.system('caffeinate')
def caffeinate(fn):
@wraps(fn)
def wrapper(*args, **kwargs):
if sys.platform == 'darwin':
thrd = threading.Thread(target = _caffeinate, args = ())
... | mit | -6,317,331,149,440,066,000 | 28.557692 | 131 | 0.635654 | false |
bjodah/sym | sym/tests/test_cse.py | 1 | 1882 | from .. import Backend
import pytest
backends = []
for bk in Backend.backends.keys():
try:
_be = Backend(bk)
except ImportError:
continue
_x = _be.Symbol('x')
try:
_be.cse([_x])
except:
continue
backends.append(bk)
def _inverse_cse(subs_cses, cse_exprs):
... | bsd-2-clause | 5,155,013,612,389,622,000 | 26.676471 | 89 | 0.592455 | false |
samhoo/askbot-realworld | askbot/utils/forms.py | 1 | 8152 | import re
from django import forms
from django.http import str_to_unicode
from django.contrib.auth.models import User
from django.conf import settings
from django.utils.translation import ugettext as _
from django.utils.safestring import mark_safe
from askbot.conf import settings as askbot_settings
from askbot.utils.sl... | gpl-3.0 | -7,291,696,706,646,717,000 | 40.591837 | 121 | 0.57765 | false |
e-baumer/sampling | sampling/stratified_rand.py | 1 | 5349 | from __future__ import division
from collections import defaultdict
import numpy as np
from base_sample import BaseSample
from sklearn.cluster import AffinityPropagation as AP
import pandas as pd
from collections import Counter
class StratifiedRandom(BaseSample):
def __init__(self, data_frame, number_arms=2):... | apache-2.0 | 4,018,266,252,111,023,600 | 39.522727 | 93 | 0.5745 | false |
brokenseal/broke | examples/django/broke/blog/views.py | 1 | 2027 | import simplejson as json
from django.core import serializers
from django.http import HttpResponse, Http404
from django.shortcuts import get_object_or_404
from django.contrib.contenttypes.models import ContentType
from django.utils.html import strip_tags
from models import Entry
from forms import EntryForm
... | bsd-3-clause | -219,378,214,440,639,200 | 25.767123 | 95 | 0.696103 | false |
miguelgrinberg/python-socketio | tests/asyncio/test_asyncio_namespace.py | 1 | 10400 | import asyncio
import sys
import unittest
from unittest import mock
from socketio import asyncio_namespace
def AsyncMock(*args, **kwargs):
"""Return a mock asynchronous function."""
m = mock.MagicMock(*args, **kwargs)
async def mock_coro(*args, **kwargs):
return m(*args, **kwargs)
mock_coro... | mit | -7,737,561,823,440,931,000 | 33.323432 | 79 | 0.546731 | false |
appleseedhq/cortex | python/IECore/RelativePreset.py | 2 | 22977 | ##########################################################################
#
# Copyright (c) 2011-2012, Image Engine Design 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:
#
# * Redis... | bsd-3-clause | -4,797,742,808,319,548,000 | 32.251809 | 164 | 0.689994 | false |
bally12345/enigma2 | lib/python/Components/Converter/ClockToText.py | 1 | 2991 | from Converter import Converter
from time import localtime, strftime
from Components.Element import cached
class ClockToText(Converter, object):
DEFAULT = 0
WITH_SECONDS = 1
IN_MINUTES = 2
DATE = 3
FORMAT = 4
AS_LENGTH = 5
TIMESTAMP = 6
FULL = 7
SHORT_DATE = 8
LONG_DATE = 9
VFD = 10
FULL_DATE = 11
# add:... | gpl-2.0 | -1,581,685,355,648,117,200 | 29.520408 | 132 | 0.651287 | false |
octosend/octosend-docs | conf.py | 1 | 9945 | # -*- coding: utf-8 -*-
#
# Octosend Documentation documentation build configuration file, created by
# sphinx-quickstart on Fri Oct 23 18:25:47 2015.
#
# 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
# autogenerate... | isc | 1,927,615,428,846,011,400 | 31.080645 | 95 | 0.708999 | false |
klahnakoski/MySQL-to-S3 | vendor/jx_sqlite/snowflake.py | 1 | 12852 | # encoding: utf-8
#
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http:# mozilla.org/MPL/2.0/.
#
from __future__ import absolute_import
from __future__ import division
from __future__ import un... | mpl-2.0 | 6,842,269,990,975,783,000 | 33.829268 | 152 | 0.549876 | false |
reiven/pungabot | modules/module_tell.py | 1 | 1418 | # -*- coding: utf-8 -*-
import string
from datetime import datetime
def sanitize(buf):
return filter(lambda x: x in string.printable, buf)
def handle_userJoined(bot, user, channel):
"""Someone Joined, lets salute him"""
dbCursor.execute("SELECT * FROM tell WHERE tell_to = '%s' AND tell_channel = '%s'" ... | gpl-3.0 | 1,568,273,911,589,310,500 | 33.585366 | 115 | 0.550071 | false |
brahamcosoX3/TheIoTLearningInitiative | InternetOfThings101/main.py | 1 | 5409 | #!/usr/bin/python
# Libraries
import paho.mqtt.client as paho
import psutil
import pywapi
import signal
import sys
import time
import dweepy
import random
import plotly.plotly as py
import pyupm_i2clcd as lcd
import pyupm_grove as grove
from threading import Thread
from flask import Flask
from flask_restful import A... | apache-2.0 | -6,768,222,355,278,814,000 | 23.926267 | 104 | 0.648364 | false |
antonev/django-handlers | django_handlers.py | 1 | 6406 | from itertools import chain
from collections import (
defaultdict,
Iterable,
)
from django.http import HttpResponseNotAllowed
__version__ = '0.1.1'
class Handler(object):
"""Container for views.
:param decorators: (optional) list of decorators that will be applied
to each endpoint.
""... | mit | 9,030,394,841,770,216,000 | 29.650718 | 78 | 0.611146 | false |
Senseg/robotframework | src/robot/libraries/BuiltIn.py | 1 | 87619 | # Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# 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... | apache-2.0 | -6,076,869,262,917,258,000 | 41.971555 | 94 | 0.605439 | false |
wintermind/pypedal | PyPedal/examples/sets/sets.py | 1 | 1026 | from PyPedal import *
import copy
def main():
options1 = {
'pedname': 'Fake Pedigree 1',
'messages': 'verbose',
'renumber': 1,
'pedfile': 'set1.ped',
'pedformat': 'asd',
'debug_messages': True,
}
options2 = copy.copy(options1)
options2['pedname'] = 'Fake Pedigree 2'
options2['pedfile'] = 'set2.ped'
... | gpl-2.0 | 8,673,712,461,370,547,000 | 21.8 | 68 | 0.659844 | false |
lotcom/automateBoringstuffPython | Chapter13PracBruteForcePDF.py | 1 | 1031 | #! /usr/bin/env python3
# Chapter 13 Practice Brute-Force PDF Password Breaker
# USAGE: Change the pdfFile varible below and run the script to try 44,000 English words
# from the dictionary.txt file to decrypt the encrypted PDF.
import PyPDF2
pdfFile = open('bruteForce.pdf', 'rb') #Change this file name an... | cc0-1.0 | -7,848,625,733,136,509,000 | 31.21875 | 88 | 0.675073 | false |
MaxTyutyunnikov/lino | obsolete/tests/27.py | 1 | 3813 | # coding: latin1
## Copyright 2005 Luc Saffre
## This file is part of the Lino project.
## Lino 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 ... | gpl-3.0 | -7,525,608,813,913,019,000 | 33.981651 | 73 | 0.419093 | false |
GregDMeyer/dynamite | dynamite/subspaces.py | 1 | 10964 | '''
Classes that define the various subspaces on which operators can be defined.
The methods generally are just an interface to the backend, so that there is only
one implementation of each of the functions.
'''
import numpy as np
from copy import deepcopy
from zlib import crc32
from . import validate, states
from .... | mit | -2,831,508,411,975,684,600 | 29.287293 | 99 | 0.598231 | false |
ccpgames/eve-metrics | web2py/applications/welcome/languages/hu.py | 1 | 6444 | # coding: utf8
{
'!langcode!': 'hu',
'!langname!': 'Magyar',
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN',
'%s %%{row} deleted': ... | mit | 480,198,011,037,141,200 | 37.179012 | 281 | 0.661415 | false |
shincling/MemNN_and_Varieties | DataCoupus/list_document/timelist_answer.py | 1 | 1930 | # -*- coding: utf8 -*-
__author__ = 'shin'
import jieba
timelist_answer=[]
timelist_answer.append('明天')
timelist_answer.append('明天')
timelist_answer.append('明天')
timelist_answer.append('明天')
timelist_answer.append('明天')
timelist_answer.append('明天')
timelist_answer.append('明天。')
timelist_answer.append('明天。')
timelist... | bsd-3-clause | 2,609,520,684,569,583,000 | 25.288136 | 60 | 0.72 | false |
nickmarton/Vivid | vivid/classes/test_classes/test_AttributeInterpretation.py | 1 | 17074 | """Attribute Interpretation unit tests."""
import pytest
from vivid.classes.attribute import Attribute
from vivid.classes.relation import Relation
from vivid.classes.attribute_structure import AttributeStructure
from vivid.classes.attribute_system import AttributeSystem
from vivid.classes.relation_symbol import Relati... | mit | 8,102,723,487,795,146,000 | 41.262376 | 106 | 0.549608 | false |
endlessm/chromium-browser | third_party/angle/scripts/generate_stats.py | 4 | 33713 | #!/usr/bin/env vpython
#
# [VPYTHON:BEGIN]
# wheel: <
# name: "infra/python/wheels/google-auth-py2_py3"
# version: "version:1.2.1"
# >
#
# wheel: <
# name: "infra/python/wheels/pyasn1-py2_py3"
# version: "version:0.4.5"
# >
#
# wheel: <
# name: "infra/python/wheels/pyasn1_modules-py2_py3"
# version: "versio... | bsd-3-clause | 4,829,267,775,993,492,000 | 40.213936 | 391 | 0.605671 | false |
datalyze-solutions/pandas-qt | pandasqt/views/CSVDialogs.py | 1 | 23796 | # -*- coding: utf-8 -*-
import os
from encodings.aliases import aliases as _encodings
import pandas
from pandasqt.compat import Qt, QtCore, QtGui, Slot, Signal
from pandasqt.encoding import Detector
from pandasqt.models.DataFrameModel import DataFrameModel
from pandasqt.views.CustomDelegates import DtypeComboDelegat... | mit | -5,449,141,558,697,622,000 | 35.001513 | 117 | 0.643512 | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.