blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
ef2d3f3f7e8a2e96fbc502eab722471aa49295ce
e0dc9c1562df240bb14a0b70c92dfff0d06f898f
/pyatv/mrp/pairing.py
b816735ce73dad35129497e775b15b6da5f9b147
[ "MIT" ]
permissive
sdrmm/pyatv
1c5e7f9623fee9e91bc1de1d76cee57bde20569e
04c86fe94a97868b33625852894fa67f13961752
refs/heads/master
2021-04-09T03:37:57.360823
2020-03-20T12:16:35
2020-03-20T12:48:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,117
py
"""Device pairing and derivation of encryption keys.""" import logging from pyatv import exceptions from pyatv.const import Protocol from pyatv.interface import PairingHandler from pyatv.mrp.auth import MrpPairingProcedure from pyatv.mrp.srp import SRPAuthHandler from pyatv.mrp.protocol import MrpProtocol from pyatv....
[ "pierre.staahl@gmail.com" ]
pierre.staahl@gmail.com
5f88a526d7a2c14bbe7c638a4f511eb9d0b52a79
3ddc54ded27dbb4d40b31958f3f2d2e14c26d8f2
/setup.py
42b9793074b19a6aadb25e5eda042d7c397b2ec3
[]
no_license
chrisspen/webtimer
10f813040982232d49c96f616fe11155f020c0a1
0641f8510d32d5d47bcdb4a2ab79fadad69dd521
refs/heads/master
2021-01-10T20:46:16.804849
2014-03-31T05:03:56
2014-03-31T05:03:56
18,275,355
1
0
null
2014-04-19T15:06:30
2014-03-30T22:29:10
Python
UTF-8
Python
false
false
838
py
from distutils.core import setup import webtimer setup(name='webtimer', version=webtimer.__version__, description='Measures download times of web page resources.', author='Chris Spencer', author_email='chrisspen@gmail.com', url='https://github.com/chrisspen/webtimer', license='LGPL License', ...
[ "chris@coronis" ]
chris@coronis
a7e153f6d5c6acf1a84f1d1d2bc571239672827c
e1857e582609640f60923ea461da3e84c498095a
/block5-datastructures/lists/test_list_group_items.py
418fb8d8eea3d35b4c9df8f5a256d7e6b1969623
[]
no_license
mbaeumer/python-challenge
178f188004e66c5c4092af51ae5d496679d39dec
4cff4a4939268a496117158b0be4e20f4d934213
refs/heads/master
2023-08-07T22:43:35.490777
2023-07-21T21:26:46
2023-07-21T21:26:46
75,015,661
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
import unittest from list_group_items import group_items class GroupItemTestCase(unittest.TestCase): def test_group_items(self): list = ['A', 'B', 'C', 'B', 'B', 'C', 'B', 'A'] result = group_items(list) self.assertTrue('A' in result) countA = result['A'] self.assertEqual(c...
[ "martin.baeumer@gmail.com" ]
martin.baeumer@gmail.com
6062ba986cf5fb20d971cc5e35f2973d8e23fda4
56bbd0ed01d3284e0c884e6e339f88d836354079
/slurm/run_zsl_hpo.py
766b97d676057fbc04468f075663913e6dcbffb2
[]
no_license
yuanmengzhixing/class-norm
93f93e6ab0037e4f76c6cb71d9e72392cb85bc0d
0a4cdd651b30942e98191594b4782e4d0e546c73
refs/heads/master
2023-02-26T07:14:03.126491
2021-02-05T11:35:28
2021-02-05T11:37:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,219
py
#!/usr/bin/env python import sys; sys.path.append('.') import os import numpy as np import argparse from typing import Dict, List, Any, Callable import numpy as np from firelab.config import Config from src.trainers.zsl_trainer import ZSLTrainer from utils import generate_experiments_from_hpo_grid def read_args() -...
[ "iskorokhodov@gmail.com" ]
iskorokhodov@gmail.com
9c508e3c4dccb29eb08f16600aac8b7eada40121
f50f1aa1f8f139d546db3230a1cb1f53043fd9e6
/hardware/firewire/libiec61883/actions.py
007551952361e195493a251e2a1d2850a7c0fcfc
[]
no_license
pars-linux/corporate2
7887961d1552d39bc3b0bef4a60fd3413d9b82bb
14d1eacfc824fb8d0bff8173e7ac06b36b88d10d
refs/heads/master
2020-05-26T15:02:12.005654
2017-02-27T03:07:14
2017-02-27T03:07:14
82,476,084
4
0
null
null
null
null
UTF-8
Python
false
false
547
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2006-2009 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import get de...
[ "eki@420bcd57-4a62-4fd6-832e-5ede16c90cc9" ]
eki@420bcd57-4a62-4fd6-832e-5ede16c90cc9
2436f1583a5c32bfe94f6c6df69b6d3614093754
2af94f8a7609d47fdcea28a2132c4f8bacb103e3
/src/devices/system_device.py
b8077e5ce134a2fe3c10ade8d8d40eb6713b3033
[]
no_license
bernhara/DigiGateway4Raph
685527723f0b306f387233c78d27fe9d78717c38
f36ba29ef883d70f94b8609ff734b5dcde786c66
refs/heads/master
2020-07-05T19:56:27.027547
2019-08-19T06:10:46
2019-08-19T06:10:46
202,756,662
0
0
null
null
null
null
UTF-8
Python
false
false
7,334
py
############################################################################ # # # Copyright (c)2008, 2009, Digi International (Digi). All Rights Reserved. # # # # Permis...
[ "ORBA6563@S-ORBA65630.rd.francetelecom.fr" ]
ORBA6563@S-ORBA65630.rd.francetelecom.fr
d5f6cdc071d241ecd80c2cc76b3a6299f99d09ee
91acf428043e39323e6879861676d6528ef39419
/agence/migrations/0013_agence_mdp.py
9666fa42d96cd8150d18a122e4279ff80fefa0ee
[]
no_license
Zaenma/paiement-django
dec9fca85b2cad0c62b7ec3fa416b34420dea31f
e361873d4a1771403f008e768c76e374bbc8da2c
refs/heads/main
2023-03-19T07:31:53.409214
2021-03-15T23:47:03
2021-03-15T23:47:03
311,372,216
1
0
null
null
null
null
UTF-8
Python
false
false
407
py
# Generated by Django 3.1.7 on 2021-03-02 07:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('agence', '0012_remove_agence_password'), ] operations = [ migrations.AddField( model_name='agence', name='mdp', ...
[ "zaenma.halidisalim@gmail.com" ]
zaenma.halidisalim@gmail.com
9beb60e6112c738434f2380b7f1712a919561405
575d197af5bbc31b89df37f8733e81707294948c
/Python2/examples/tkinter/13_sticky_buttons_west_east.py
6cd880575f0336e0fbe9b4164c61aa419b236df5
[]
no_license
tisnik/python-programming-courses
5c7f1ca9cae07a5f99dd8ade2311edb30dc3e088
4e61221b2a33c19fccb500eb5c8cdb49f5b603c6
refs/heads/master
2022-05-13T07:51:41.138030
2022-05-05T15:37:39
2022-05-05T15:37:39
135,132,128
3
2
null
2021-04-06T12:19:16
2018-05-28T08:27:19
Python
UTF-8
Python
false
false
649
py
#!/usr/bin/env python3 # vim: set fileencoding=utf-8 from tkinter import * from tkinter import ttk import sys root = Tk() button1 = ttk.Button(root, text="1st btn", command=lambda: sys.exit(0)) button2 = ttk.Button(root, text="Second button", command=lambda: sys.exit(0)) button3 = ttk.Button(root, text="Third butto...
[ "ptisnovs@redhat.com" ]
ptisnovs@redhat.com
2a00518531523ffa160b24e45e13d6d1735004ec
f82107f045898f0300aa414780f1d406a6c3398a
/mlmo/eval/metrics/accuracy.py
db0d5709eed4ec74df788ee73eaf759bbde88bc7
[ "MIT" ]
permissive
DanielGutmann/mltoolkit
9b609bb2976e4492473d0692d1a2b26fa8b448d4
acc192bafc66b7661d541ef4f604b5e5ab7df5ca
refs/heads/master
2022-03-09T05:31:46.317003
2019-11-07T12:03:31
2019-11-07T12:03:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,663
py
from mlmo.eval.metrics import BaseMetric from mlutils.helpers.general import sort_hash from collections import OrderedDict class Accuracy(BaseMetric): def __init__(self, excluded_labels=None): super(Accuracy, self).__init__() self.excluded_labels = excluded_labels if excluded_labels else [] ...
[ "bulletdll@gmail.com" ]
bulletdll@gmail.com
b5522106325b0abf5f2db1cd14c624586d8a20b2
7e01c039f2427d434a4ef44a1b9dc0ea21db65ba
/venv/lib/python3.8/site-packages/django/contrib/auth/management/commands/changepassword.py
d5e11559b4262cc1ea25a62c8f7403daa5137cec
[]
no_license
dmfranz/Spike-exercise
09f8051163d2a63dfbc3f75da2de0a1bbbbb122d
83971e95a72d504f629778fece2cdfb953e5d08b
refs/heads/main
2023-08-23T04:18:43.934471
2021-10-11T04:54:28
2021-10-11T04:54:28
413,568,735
0
1
null
2021-10-11T04:36:22
2021-10-04T20:10:01
Python
UTF-8
Python
false
false
2,616
py
import getpass from django.contrib.auth import get_user_model from django.contrib.auth.password_validation import validate_password from django.core.exceptions import ValidationError from django.core.management.base import BaseCommand, CommandError from django.db import DEFAULT_DB_ALIAS UserModel = get_user_m...
[ "marmara@wisc.edu" ]
marmara@wisc.edu
5bb5e540e102b326c5b289a69f535dced5058f30
51427589a09ebf1148e0d2dff01716269696db69
/tuning_suite.py
ffd3bd627dbf9fef033ed4a7ee791ac241c48953
[]
no_license
Thapz123/cs231n-project
41c55761d0c31840d4648ff7abbad01234da3ea0
d5e77db4d49038114b9a5a7eb209bb0620e8889e
refs/heads/master
2020-05-22T18:37:27.472888
2019-06-05T17:02:54
2019-06-05T17:02:54
186,476,642
0
0
null
null
null
null
UTF-8
Python
false
false
4,664
py
import os import numpy as np import torch import torch.nn as nn import torch.optim as optim from torch.utils.data import random_split, Subset from torch.optim import lr_scheduler from torch.utils.data import DataLoader from torch.utils.data import sampler import torchvision.datasets as dset import torchvision.transfor...
[ "google-dl-platform@googlegroups.com" ]
google-dl-platform@googlegroups.com
55df3ae7ca328429a7daac84128c8406f8666fce
236402efa32923fefc9f3924ba4155142e8052fe
/2016/_22_grid_computing_test.py
9d9c4c1eb11bddd8f5fc95efca73a9e4c82310e4
[ "MIT" ]
permissive
pchudzik/adventofcode
7c32126948ea57cdef3858ae3eb63cafdd67abb0
72304880c6b080d6c177d11fc9b9eb7b58e876b7
refs/heads/master
2022-05-08T00:20:58.586672
2022-04-29T19:30:34
2022-04-29T19:30:34
164,089,632
0
0
MIT
2022-04-22T14:29:37
2019-01-04T09:51:33
Python
UTF-8
Python
false
false
2,041
py
import pytest from _22_grid_computing import Node, find_pairs_viable_to_transfer def test_parse_node(): node = Node.parse("/dev/grid/node-x4-y24 90T 70T 20T 77%") assert node.x == 4 assert node.y == 24 assert node.size == 90 assert node.used == 70 assert node.available == 20 as...
[ "pawel.chudzik@gmail.com" ]
pawel.chudzik@gmail.com
20e75a94c1d3e0370135db0caf3b810a8f11b8b3
dfbd3e12a7a7ed28c13715b2fa0c964d0745c8cb
/python/day16/solve.py
59109de2f2ba7cc2040004f56e4122f939dad14f
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ijanos/advent2017
3a90c479bf4f1689264576fb2c4468883458b911
db7ba6c3f2abbe206e47f25480c24d2bade709bb
refs/heads/master
2021-08-31T23:20:35.637440
2017-12-23T12:09:55
2017-12-23T12:09:55
112,766,905
1
0
null
null
null
null
UTF-8
Python
false
false
1,257
py
#!/usr/bin/env python3 import fileinput from collections import deque from string import ascii_lowercase def dance(moves, times=1): order = deque(ascii_lowercase[0:16]) cache = {} for _ in range(times): start_state = ''.join(order) if start_state in cache: order = deque(cache[...
[ "ijanos@gmail.com" ]
ijanos@gmail.com
109038fe12c447a203ae901a7a6fad0dc0771689
a08225934c425be313a12975c9563a72ded58be6
/round704/rearrange.py
e02a36d8961d65e47c3a0a59e7e8b287c9cd5dfc
[]
no_license
marcus-aurelianus/codeforce
27c966554dee9986f23fb2925bd53e6cceb8b9e9
4764df151ade7806e32b6c88283a2de946f99e16
refs/heads/master
2023-03-18T09:30:55.042594
2021-03-12T18:14:08
2021-03-12T18:14:08
231,387,022
2
0
null
null
null
null
UTF-8
Python
false
false
1,710
py
class Node: def __init__(self, x): self.data = x self.next = None # Function for rearranging a linked # list with high and low value def rearrange(head): if not head: # Quick response for empty linked list return None oriHead = head fast...
[ "37787424+marcus-aurelianus@users.noreply.github.com" ]
37787424+marcus-aurelianus@users.noreply.github.com
032f7db82d21d523b5513ec0dbd7bd4f40056c5b
8aa0102f8a89bb132b2564d56383ffa1c831a2d8
/runway/core/system/actions/email.py
8bffd7f5d20e6dd20438f521a73fa28590ff176e
[]
no_license
Teifion/runway
97b7e579160b18b36eeef96ceb8b094868a5aba0
3e24a4feec4a8eefa7db0ad44912da50c98b3a12
refs/heads/master
2021-01-17T15:19:57.185004
2016-06-05T23:56:45
2016-06-05T23:56:45
44,634,061
0
0
null
null
null
null
UTF-8
Python
false
false
2,207
py
from ....core.triggers import Action from ....core.system.lib import email_f class Email(Action): name = "system_email" group = "System" label = "Email" description = """Takes multiple inputs and formats them according to a scheme. Ultimately just a wrapper for the string.format function in Python.""" ...
[ "sarkalian@gmail.com" ]
sarkalian@gmail.com
3abb49d20403eeba223e44436b81ae3dcfe947fd
ec8c050f398e53260a66c8bb8c438fd4c0015021
/software/edison/tests/motion_example.py
5f894c875b7204cb71be15878a01315ec0e98049
[]
no_license
myronww/sk8flair
d7e977d69fc1229aa18c27a5d30dec84da41a1e5
75c0342eda4e70de8cadd521b3ee3ff50d099c2b
refs/heads/main
2021-06-22T05:05:06.647757
2021-01-16T18:20:09
2021-01-16T18:20:09
179,767,207
0
0
null
null
null
null
UTF-8
Python
false
false
1,155
py
from SF_9DOF import IMU import time # Create IMU object imu = IMU() # To select a specific I2C port, use IMU(n). Default is 1. # Initialize IMU imu.initialize() # Enable accel, mag, gyro, and temperature imu.enable_accel() imu.enable_mag() imu.enable_gyro() imu.enable_temp() # Set range on accel, mag, and gyro # S...
[ "myron.walker@gmail.com" ]
myron.walker@gmail.com
6a6c3621936d761145fe604012ef88b5610b750d
d587b52ed6c8a2b57977ead0ec0444222c35fbc8
/dictionary_json_example.py
e178498ab4ca626fdf336dcdb771d788d1c0f677
[]
no_license
BAFurtado/Python4ABMIpea2019
c7209fd11617f954630a5e43e1981985e720989d
c5b5c3e01b01703454fbe57e3f3e0068da8f4316
refs/heads/master
2022-01-05T19:59:44.823307
2019-05-30T00:09:25
2019-05-30T00:09:25
166,847,263
0
2
null
null
null
null
UTF-8
Python
false
false
1,280
py
""" Class example to create and maintain a persistent database using JSON and dictionaries Para usar é necessário sempre entrar com o valor em formato DICIONÁRIO """ import json import os from collections import defaultdict def my_database(k, v): # Checking if database exists ''' args: return ''...
[ "furtadobb@gmail.com" ]
furtadobb@gmail.com
35263ed70bc33fbc7526a7a7bc3936d9f556fa25
da199a7ff8bcc7a37efe2ac9036b785bf45c71c0
/service_mds/node_drop.py
3b1702490ed05f8b256a1c16adac55d3cfb1da5d
[]
no_license
saxisuer/smartmgr-v2
f8ed495ce7ce940477f27c12980bfd159bc159c3
6e3895062d37b6815a0d6de031652048b8f22ad3
refs/heads/master
2021-01-15T21:24:56.622142
2017-07-24T14:35:17
2017-07-24T14:35:17
99,865,861
0
2
null
2017-08-10T01:03:19
2017-08-10T01:03:19
null
UTF-8
Python
false
false
4,408
py
# -*- coding: utf-8 -*- # vim: tabstop=4 shiftwidth=4 softtabstop=4 from pdsframe import * from pdsframe.common import dbclient from service_mds import g from service_mds import common from service_mds import pb2dict_proxy import message.pds_pb2 as msg_pds import message.mds_pb2 as msg_mds import message.ios_pb2 as ms...
[ "wuweisunshine@163.com" ]
wuweisunshine@163.com
31bddbf6ea0f1f17c7e068a64155f4fed377a7d1
ebd9c249d446d809abc9a0f3e4593f34922a1b93
/lintcode/242_convert_binary_tree_to_linked_lists_by_depth.py
7b7587f14b1a53a385204554a293bbe0c64a4e8c
[]
no_license
jaychsu/algorithm
ac7a9dc7366f58c635a68bc46bf1640d2f5ff16d
91892fd64281d96b8a9d5c0d57b938c314ae71be
refs/heads/master
2023-05-11T00:40:39.237813
2022-09-14T07:43:12
2022-09-14T07:43:12
106,277,156
143
39
null
2022-09-14T07:43:13
2017-10-09T11:51:48
Python
UTF-8
Python
false
false
946
py
""" Definition of TreeNode: class TreeNode: def __init__(self, val): this.val = val this.left, this.right = None, None Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None """ class Solution: # @param {TreeNode} root the r...
[ "hi@jaych.su" ]
hi@jaych.su
564ec90736d9724e65864392e0f6e67427c10a4a
d9aa4291a4978b932bef84b8d26aa4b911ca2add
/day11网络编程/05udp_s.py
170be99144cce0d5ca933a869218816fc299ee18
[]
no_license
SelfShadows/my_git
9a32d3713efb1b055d04c813b319eb2196fdcf53
b10a4c838e1146b3f6ce297480840de9a8e89206
refs/heads/master
2020-12-15T22:33:49.273814
2020-02-14T16:33:46
2020-02-14T16:33:46
235,274,933
0
0
null
null
null
null
UTF-8
Python
false
false
337
py
import socket sk=socket.socket(type=socket.SOCK_DGRAM) #DGRAM datagram sk.bind(('127.0.0.1',8080)) while True: msg,addr=sk.recvfrom(1024) print(msg.decode('utf-8')) info = input('服务器:') info = ('\033[34m来自服务器发送的消息:\033[0m%s'%info).encode('utf-8') sk.sendto(bytes(info),addr) sk.close()
[ "870670791@qq.com" ]
870670791@qq.com
f050c906e25fa540fa7598c82a1fb69731198236
729be94363b5ed676d9e83aa9f50a2ee95bd0a92
/isso/core.py
e0306854d3f2182ddaadc5f66a9d287f11cdeefe
[ "MIT" ]
permissive
kod3r/isso
2b603de0b7956332fdcb02543255b1d9acba3bee
6e31111554727e0563472ec11479760d6d7f9c0f
refs/heads/master
2020-12-03T09:32:05.433362
2013-11-29T13:22:21
2013-11-29T13:22:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,415
py
# -*- encoding: utf-8 -*- from __future__ import print_function import io import os import time import logging import binascii import threading import multiprocessing from configparser import ConfigParser try: import uwsgi except ImportError: uwsgi = None from isso.compat import PY2K if PY2K: import t...
[ "info@posativ.org" ]
info@posativ.org
a7d07e5cc100048cca63f9c127c70cd6887ce01c
513050db98102f0331b978716553894bd55b2205
/leetcode_problems/maximum_depth_binarytree_104.py
79b2d071365ae1ebe337ddb0950aefb209092513
[]
no_license
INNOMIGHT/problem_solving
afef164968a98ed1c1d69301de0288c74cc199c8
3a7c9dc7c3747a65fff6947f03a68bc5652d360c
refs/heads/main
2023-08-18T17:42:03.138195
2021-10-03T14:49:38
2021-10-03T14:49:38
328,564,937
1
0
null
null
null
null
UTF-8
Python
false
false
950
py
""" Given the root of a binary tree, return its maximum depth. A binary tree's maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. """ # Definition for a binary tree node. class TreeNode: def __init__(self, val=0, left=None, right=None): self.val =...
[ "iammagnificient@gmail.com" ]
iammagnificient@gmail.com
21c65e354d2155fa80a0cb52d986b1ef1cf634f5
1d60c5a7b8ce6277bff514e376f79848f706344c
/Machine Learning Scientist with Python/07. Dimensionality Reduction in Python/03. Feature selection II, selecting for model accuracy/07. Creating a LASSO regressor.py
246eb7c94ca5322569853647142c30c2bc498b59
[]
no_license
DidiMilikina/DataCamp
338c6e6d3b4f5b6c541c1aba155a36e9ee24949d
3bf2cf3c1430190a7f8e54efda7d50a5fd66f244
refs/heads/master
2020-12-15T13:16:54.178967
2020-05-06T17:30:54
2020-05-06T17:30:54
235,113,616
4
3
null
null
null
null
UTF-8
Python
false
false
1,224
py
''' Creating a LASSO regressor You'll be working on the numeric ANSUR body measurements dataset to predict a persons Body Mass Index (BMI) using the pre-imported Lasso() regressor. BMI is a metric derived from body height and weight but those two features have been removed from the dataset to give the model a challenge...
[ "didimilikina8@gmail.com" ]
didimilikina8@gmail.com
41ae8e762d040b3142be0ebb2fae018e18e70af4
244ecfc2017a48c70b74556be8c188e7a4815848
/res/scripts/client/messenger/gui/scaleform/meta/channelsmanagementwindowmeta.py
2f80335767e193d22b7c49ec549d00c91900eee6
[]
no_license
webiumsk/WOT-0.9.12
c1e1259411ba1e6c7b02cd6408b731419d3174e5
5be5fd9186f335e7bae88c9761c378ff5fbf5351
refs/heads/master
2021-01-10T01:38:36.523788
2015-11-18T11:33:37
2015-11-18T11:33:37
46,414,438
1
0
null
null
null
null
WINDOWS-1250
Python
false
false
1,208
py
# 2015.11.18 11:57:40 Střední Evropa (běžný čas) # Embedded file name: scripts/client/messenger/gui/Scaleform/meta/ChannelsManagementWindowMeta.py from gui.Scaleform.framework.entities.abstract.AbstractWindowView import AbstractWindowView class ChannelsManagementWindowMeta(AbstractWindowView): def getSearchLimitL...
[ "info@webium.sk" ]
info@webium.sk
8026719322ae9bd486c45e78bac9b67bd5a21c4a
c6f811b0df5706c3dc9175e8fc4b18e2058f9460
/en/2019/05/blm.py
e273de3534b04767dfac921d607168eeaf8255c4
[]
no_license
muratk3n/thirdwave
c108ec85bcd6e59282352d924640d58e99f4d2a4
01af4fd74fab8e950d773989124a239c0f6c5ac6
refs/heads/master
2021-08-22T01:33:54.185423
2021-07-19T06:54:02
2021-07-19T06:54:02
161,887,880
0
0
null
null
null
null
UTF-8
Python
false
false
3,989
py
from scipy import sin, cos, tan, arctan, arctan2, arccos, pi import pandas as pd, datetime, numpy as np from zipfile import ZipFile from io import BytesIO import urllib.request as urllib2 from bs4 import BeautifulSoup from bs4.element import Comment import urllib.request, folium, re, requests headers = { 'User-Agent':...
[ "me@yomama.com" ]
me@yomama.com
4f5c0732681ba62b262c1a41089c3077107cd99d
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adverbs/_eastward.py
d655412c68ba184673b91c3776a03aaf30f305f3
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
#calss header class _EASTWARD(): def __init__(self,): self.name = "EASTWARD" self.definitions = [u'towards the east: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'adverbs' def run(self, obj1, obj2): self.jsondata[obj2] = {} self.jsondata[obj2][...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
109ce855ae435d697085e42c2216825ca6bcaa69
f6d7c30a7ed343e5fe4859ceaae1cc1965d904b7
/htdocs/submissions/109ce855ae435d697085e42c2216825ca6bcaa69.py
5948bdbfe0060551e78191943d956f036399af62
[]
no_license
pycontest/pycontest.github.io
ed365ebafc5be5d610ff9d97001240289de697ad
606015cad16170014c41e335b1f69dc86250fb24
refs/heads/master
2021-01-10T04:47:46.713713
2016-02-01T11:03:46
2016-02-01T11:03:46
50,828,627
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
segs = [ (" _ ","| |","|_|"), (" "," |"," |"), (" _ "," _|","|_ "), (" _ "," _|"," _|"), (" ","|_|"," |"), (" _ ","|_ "," _|"), (" _ ","|_ ","|_|"), (" _ "," |"," |"), (" _ ","|_|","|_|"), (" _ ","|_|"," _|"), ] def seven_seg(x): return ''.join([''.join([segs[int(c)][i] for c in x])+'\n' for i in range(3)]...
[ "info@pycontest.net" ]
info@pycontest.net
c2f0c1ac424c67998653efad41fd2ce956a271fd
600df3590cce1fe49b9a96e9ca5b5242884a2a70
/extensions/renderer/api/display_source/wifi_display/DEPS
6dd95bfe71fe27d844f22dfc02b8217b15317b34
[ "BSD-3-Clause" ]
permissive
metux/chromium-suckless
efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a
72a05af97787001756bae2511b7985e61498c965
refs/heads/orig
2022-12-04T23:53:58.681218
2017-04-30T10:59:06
2017-04-30T23:35:58
89,884,931
5
3
BSD-3-Clause
2022-11-23T20:52:53
2017-05-01T00:09:08
null
UTF-8
Python
false
false
245
include_rules = [ # TODO(Mikhail): Consider removing when https://crbug.com/432381 is fixed. "+media/base", "+media/video", "+services/shell/public/cpp", "+third_party/openh264/src/codec/api", "+third_party/wds/src/libwds/public", ]
[ "enrico.weigelt@gr13.net" ]
enrico.weigelt@gr13.net
7e9de9bbe9854a34a8389b3762a967c5bde6d776
f7e8786b1e62222bd1cedcb58383a0576c36a2a2
/src/mojo/python/tests/bindings_constants_unittest.py
4db08c1ad06a4f3c0a888874af940f73222f14eb
[ "BSD-3-Clause" ]
permissive
amplab/ray-core
656915553742302915a363e42b7497037985a91e
89a278ec589d98bcbc7e57e0b80d055667cca62f
refs/heads/master
2023-07-07T20:45:40.883095
2016-08-06T23:52:23
2016-08-06T23:52:23
61,343,320
4
5
null
2016-08-06T23:52:24
2016-06-17T03:35:34
C++
UTF-8
Python
false
false
1,458
py
# Copyright 2014 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 math import unittest # Generated files # pylint: disable=F0401 import sample_service_mojom import test_constants_mojom class ConstantBindingsTest(un...
[ "pcmoritz@gmail.com" ]
pcmoritz@gmail.com
6f77aaf06090d8ac168a1a62697e869b4d35e1fa
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03549/s476969666.py
cad978b40b2c50d40542266d7b31670693fb5e21
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
def getN(): return int(input()) def getNM(): return map(int, input().split()) def getList(): return list(map(int, input().split())) def getArray(intn): return [int(input()) for i in range(intn)] def input(): return sys.stdin.readline().rstrip() from collections import defaultdict, deque, Counter fr...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e93be5a973f7764581b48774320b849312066e4b
dd3b8bd6c9f6f1d9f207678b101eff93b032b0f0
/basis/AbletonLive10.1_MIDIRemoteScripts/ableton/v2/control_surface/components/device_parameters.py
f0dbb3048e20c013431dfc8a6a3d098a5ea0bd5b
[]
no_license
jhlax/les
62955f57c33299ebfc4fca8d0482b30ee97adfe7
d865478bf02778e509e61370174a450104d20a28
refs/heads/master
2023-08-17T17:24:44.297302
2019-12-15T08:13:29
2019-12-15T08:13:29
228,120,861
3
0
null
2023-08-03T16:40:44
2019-12-15T03:02:27
Python
UTF-8
Python
false
false
5,816
py
# uncompyle6 version 3.4.1 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.16 (v2.7.16:413a49145e, Mar 2 2019, 14:32:10) # [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] # Embedded file name: /Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/ableton/v2/c...
[ "jharrington@transcendbg.com" ]
jharrington@transcendbg.com
b340af1ea2d988eda7458621a92f3e662b66ecfa
dc60fbae177523b1c1d6c6317388f18a96aa9c6e
/code/proj/__init__.py
88d5179dd5c5c087702ed04f6f02aa290c501fe7
[]
no_license
lucheol/prjwn_example
b611298995d13adc42ee6c7185eb47ba9fdad468
5154e8f12df7a2c4dd0f1f552829c8df67e6ef3d
refs/heads/main
2023-07-10T02:46:53.646317
2021-08-20T23:48:56
2021-08-20T23:48:56
398,425,150
0
1
null
null
null
null
UTF-8
Python
false
false
186
py
import os from .celery import app as celery_app __all__ = ["celery_app"] __version__ = os.getenv("APP_VERSION", "latest") VERSION = __version__ __staging_code_version__ = __version__
[ "lucheol@gmail.com" ]
lucheol@gmail.com
327964de13a1cb62e967f1b59a1327f7f4617ff7
f124a2bc35fa348d5f5b637eae2a736d67470c76
/work4/scrapy2/dongqiudi/dongqiudi/items.py
41b0aaa06f81a6fc2479b65a24574ac3948b5e07
[ "Apache-2.0" ]
permissive
arfu2016/DuReader
fd173c0eb90abedad0ca65bd9b847ccd58bf567a
66934852c508bff5540596aa71d5ce40c828b37d
refs/heads/master
2021-04-06T05:45:13.002887
2018-09-06T03:58:26
2018-09-06T03:58:26
124,838,393
0
0
Apache-2.0
2018-03-12T05:35:13
2018-03-12T05:35:13
null
UTF-8
Python
false
false
541
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy class DongqiudiItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() title = scrapy.Field() descripti...
[ "deco@cubee.com" ]
deco@cubee.com
f622ebd46ffe3f3629eb46422ae252e63d161091
8adc9d6bb8d9ce60ca970340154fcfb5c9fcde05
/rowpack/gzipfile.py
14f9bcb7f8ada42867bc024c5286a8bebc986170
[ "MIT" ]
permissive
CivicSpleen/rowpack
c7bceab330750a84a4ed55a51b40566550c8c1f5
7e16fbeaafa92919a2759d2e8e9565f86209bf76
refs/heads/master
2021-06-08T11:30:52.675170
2016-12-09T23:05:41
2016-12-09T23:05:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,062
py
# -*- coding: utf-8 -*- # Copyright (c) 2016 Civic Knowledge. This file is licensed under the terms of the # MIT License, included in this distribution as LICENSE.txt """ A Hacked GZIP file implementation """ import gzip import six class GzipFile(gzip.GzipFile): """A Hacked GzipFile that will read only one gz...
[ "eric@clarinova.com" ]
eric@clarinova.com
f12857443bc525c92d3d33f85cb368d0a1a36569
a86293a2033c06410aa8ed19bcbce8ca55ea3c55
/src/client_libraries/python/microsoft/dynamics/customerinsights/api/models/no_content_result_py3.py
bdd02617bd95b71dc4ec6249eb80fa620fef0358
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
ramotheonly/Dynamics365-CustomerInsights-Client-Libraries
a3ca28aa78d2b5509e65d9895ff4a0d42d05f611
e00632f7972717b03e0fb1a9e2667e8f9444a0fe
refs/heads/main
2023-08-02T08:09:04.063030
2021-09-28T22:42:15
2021-09-28T22:42:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
725
py
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
[ "michaelajohnston@mac.com" ]
michaelajohnston@mac.com
0d6a9fd471e5509e89387a6ff4179b972a41469e
3ba218a6bd3ba88e8f223d1a501a94cc33916ab4
/pylib/flake8/flake8/_pyflakes.py
86d28ed50e5be81ea96f7b0b53f8f2402e5f2ef1
[ "MIT" ]
permissive
armenzg/version-control-tools
a8ba9f26f76d208f0dc514791da76de4a792bb8b
9f045b19a4284683f97296f51ca0d2a2d5b75a76
refs/heads/master
2020-12-30T20:05:25.673475
2015-12-16T20:33:05
2015-12-16T20:33:05
46,126,008
1
1
null
2015-11-26T15:09:37
2015-11-13T14:19:30
Python
UTF-8
Python
false
false
1,490
py
# -*- coding: utf-8 -*- import pyflakes import pyflakes.checker def patch_pyflakes(): """Add error codes to Pyflakes messages.""" codes = dict([line.split()[::-1] for line in ( 'F401 UnusedImport', 'F402 ImportShadowedByLoopVar', 'F403 ImportStarUsed', 'F404 LateFutureImport', ...
[ "gps@mozilla.com" ]
gps@mozilla.com
efeab7c2358cdbfd0cbe7ffc8f6a4ff7afed9181
2ec3305bd43171f435092a1070b4e579ff5fc64e
/tests/test_settings.py
609dcb4f0cdd93dd393d55cf0d160414b43a0183
[ "MIT" ]
permissive
altheasmith/django-location-field
c5c6bf6663c8c0ed18a5d479d48349f3ffc2815d
c0dfc81b952f1fd4f6a6326be8409744132f2815
refs/heads/master
2021-01-11T20:17:06.913492
2017-01-02T21:00:42
2017-01-02T21:00:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
749
py
import sys import os TEST_SPATIAL = 'TEST_SPATIAL' in os.environ SECRET_KEY = 'fake-key' INSTALLED_APPS = [ "location_field.apps.DefaultConfig", "tests", ] STATIC_URL = '/static/' TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, }, ] ...
[ "caio.ariede@gmail.com" ]
caio.ariede@gmail.com
0b1288620a148bf78c995cb26e6b5baad32bad0c
dffcf449a5fc73c469c3db05f31e3f604cb73e20
/mi/name.py
36aeeee2714c751276da5832ff36b17319981625
[ "MIT" ]
permissive
mountain/mu
60ca71109b984189abdf0f8254d487eb9479f8d9
9834a5aea2ade8ad4462fa959d2d00c129335b7c
refs/heads/master
2021-01-19T21:27:50.658259
2014-04-13T23:26:28
2014-04-13T23:26:28
14,478,703
1
0
null
null
null
null
UTF-8
Python
false
false
1,284
py
from os.path import join from interface import Eval, Egal from env import Environment # We try to introduce a clojure-like namespace in mu # class NamedEntity(Eval): def __init__(self, scope, name, entity): self.scope = scope self.name = name self.entity = entity def __repr__(self): ...
[ "mingli.yuan@gmail.com" ]
mingli.yuan@gmail.com
f81d6af36c25b986d36d08cf74c3282390e69beb
f14a00cd0e23533283020b07c2c3fc3ad69f3145
/configs/b_to_a_only.py
a6aca42700f1ebcb4c533d43cbca35d003a5795a
[ "MIT" ]
permissive
diogo149/CauseEffectPairsPaper
cfb7b1be6f5c40f2e108220fc5d88e10110deace
7d91db6a6567182eb028cfa6fcfaaff7137b6491
refs/heads/master
2020-05-18T15:12:08.924175
2014-01-22T19:31:59
2014-01-22T19:31:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,291
py
import numpy as np from scipy.stats import skew, kurtosis, shapiro, pearsonr, ansari, mood, levene, fligner, bartlett, mannwhitneyu from scipy.spatial.distance import braycurtis, canberra, chebyshev, cityblock, correlation, cosine, euclidean, hamming, jaccard, kulsinski, matching, russellrao, sqeuclidean from sklearn.p...
[ "diogo149@gmail.com" ]
diogo149@gmail.com
96104e8d128851cf827d8d96c841b1f74949663f
57b831d647686e4a86c856753d85b5b2516cfc55
/121 - Best Time to Buy and Sell Stock.py
7a71f8dc53b8a2c0dce7a4be63e212136413f07f
[]
no_license
PraneshASP/LeetCode-Solutions-2
a7a079a9e7e2b53509bb49cab7832b24599d61cb
b3dd0c0b3e5be016d35ebf3d5a8bcf38cb944d3a
refs/heads/master
2022-12-17T00:05:06.070208
2020-09-25T11:41:31
2020-09-25T11:41:31
298,555,918
0
0
null
2020-09-25T11:40:09
2020-09-25T11:40:08
null
UTF-8
Python
false
false
1,250
py
# Solution 1: Using dynamic programming. This solution takes O(n) time and O(n) space. class Solution(object): def maxProfit(self, prices): """ :type prices: List[int] :rtype: int """ if len(prices) <= 1: return 0 # no transaction can be made right = [0] *...
[ "blakebrown129@gmail.com" ]
blakebrown129@gmail.com
98dc26a59a1e2f6aa848bc260ed093e8eac30517
f1364645e43b60c05b746083981e5c7f169702ba
/strategy/phase_out/s20_1.py
3c5df97bb668af54aa0366afd65827dfd60cb945
[]
no_license
geniustom/AI_Trading
bf41b946abe1f431a98078878d4b5f28a9a0d5c3
8c21d966053d64a224dc6b277ac9a33c576134ea
refs/heads/master
2020-05-29T18:35:43.400029
2020-03-28T21:11:09
2020-03-28T21:11:09
189,305,491
2
0
null
null
null
null
UTF-8
Python
false
false
1,358
py
# coding=UTF-8 ############################################################################### def filter1(self,I): import lib.filter as fl if self.RunToday==-1: self.RunToday=1 R=fl.getOpenVolABS(I.get("小台成交量"),15,start=30) M=fl.getOpenVolABS(I.get("大台未純化主力作為"),15,start=30) #I...
[ "Geniustom@gmail.com" ]
Geniustom@gmail.com
d61187dfe5efd828f42d0012d9c9be4768e8d7ab
3cdb4faf34d8375d6aee08bcc523adadcb0c46e2
/web/env/lib/python3.6/site-packages/django/contrib/postgres/operations.py
95e7edcdea173c3c8aa70bba095df089b6b782b7
[ "MIT", "GPL-3.0-only" ]
permissive
rizwansoaib/face-attendence
bc185d4de627ce5adab1cda7da466cb7a5fddcbe
59300441b52d32f3ecb5095085ef9d448aef63af
refs/heads/master
2020-04-25T23:47:47.303642
2019-09-12T14:26:17
2019-09-12T14:26:17
173,157,284
45
12
MIT
2020-02-11T23:47:55
2019-02-28T17:33:14
Python
UTF-8
Python
false
false
2,010
py
from django.contrib.postgres.signals import ( get_citext_oids, get_hstore_oids, register_type_handlers, ) from django.db.migrations.operations.base import Operation class CreateExtension(Operation): reversible = True def __init__(self, name): self.name = name def state_forwards(self, app_lab...
[ "rizwansoaib@gmail.com" ]
rizwansoaib@gmail.com
992a4c4ab94c6659ebe32bc2d02e62ca5ac23696
fe93774e5cb4e24d7a82518bbf702b19cf6acc15
/meiduo_mall/celery_tasks/send_email/tasks.py
373a4acc470c107e5cab13dee2fd489db62e51bd
[ "MIT" ]
permissive
lhz0707/meiduo
8f37bdea14923cf444a5ed4e0ac801b2b93324e2
5ba6bbb82a28f5c93e7c8d40cdab7ee41b6593d0
refs/heads/master
2020-07-21T19:22:53.938394
2019-09-23T13:36:59
2019-09-23T13:36:59
206,953,905
0
0
null
null
null
null
UTF-8
Python
false
false
615
py
# 实现验证邮箱异步任务 from django.core.mail import send_mail from celery_tasks.main import celery_app @celery_app.task(name='send_emails') def send_emails(to_email,verify_url,email_from): subject = "美多商城邮箱验证" html_message = '<p>尊敬的用户您好!</p>' \ '<p>感谢您使用美多商城。</p>' \ '<p>您的邮箱为:%s 。请...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
d37e661dbf53751fa7dbf08a7ab19b956784c05c
ac8ffabf4d7339c5466e53dafc3f7e87697f08eb
/python_solutions/328.odd-even-linked-list.py
5c25db3da9de9a7ee32d904c17c6d68fc73209f4
[]
no_license
h4hany/leetcode
4cbf23ea7c5b5ecfd26aef61bfc109741f881591
9e4f6f1a2830bd9aab1bba374c98f0464825d435
refs/heads/master
2023-01-09T17:39:06.212421
2020-11-12T07:26:39
2020-11-12T07:26:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,946
py
# # @lc app=leetcode id=328 lang=python3 # # [328] Odd Even Linked List # # https://leetcode.com/problems/odd-even-linked-list/description/ # # algorithms # Medium (49.53%) # Total Accepted: 153K # Total Submissions: 308.6K # Testcase Example: '[1,2,3,4,5]' # # Given a singly linked list, group all odd nodes togeth...
[ "ssrzz@pm.me" ]
ssrzz@pm.me
fff97f21d10337de5d9025efabc43cbd7706e300
63c7060562ec5d1a9153f0454ea6886b0a62a28e
/tb/axil_adapter/test_axil_adapter.py
f60a8d5948ad9f713ac6065916149fe8a74130c0
[ "MIT" ]
permissive
alexforencich/verilog-axi
666e6dfbd14fd124bdcbc2798b4f557347fb8261
38915fb5330cb8270b454afc0140a94489dc56db
refs/heads/master
2023-03-30T07:34:17.721579
2023-03-30T07:12:13
2023-03-30T07:12:13
142,810,315
1,042
342
MIT
2023-03-05T19:52:57
2018-07-30T01:36:26
Verilog
UTF-8
Python
false
false
7,622
py
""" Copyright (c) 2020 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 rights to use, copy, modify, merge, publish, distribute...
[ "alex@alexforencich.com" ]
alex@alexforencich.com
4a99b17c6827beae800f252f9d87fbf526613a4f
747febe786dd6b7fd6c63cfe73dbe3023354daa8
/src/the_tale/the_tale/game/bills/bills/road_create.py
0e9a08f645d14d0441f1d5ba0847b0ad04284bb8
[ "BSD-3-Clause" ]
permissive
the-tale/the-tale
4e4b8d91dc873a5fb935fe58e9721a877baa6d3f
e8450bd2332344da805b1851e728da5a3e5bf0ef
refs/heads/develop
2023-08-01T13:53:46.835667
2022-12-25T18:04:56
2022-12-25T18:04:56
1,949,167
98
52
BSD-3-Clause
2023-02-15T18:57:33
2011-06-24T18:49:48
Python
UTF-8
Python
false
false
5,079
py
import smart_imports smart_imports.all() class BaseForm(forms.BaseUserForm): place_1 = utils_fields.ChoiceField(label='Первый город') place_2 = utils_fields.ChoiceField(label='Второй город') path = utils_fields.CharField(label='Путь') def __init__(self, *args, **kwargs): super(BaseForm, se...
[ "a.eletsky@gmail.com" ]
a.eletsky@gmail.com
59b493691d58195276d7e7cd9f9a4409e12075e2
1aae6e3f765fa6e640c8672c81f3432799e785b4
/py_workspace/sample42.py
af0f30160da91508853a016e494cf928d7527a32
[]
no_license
Taeseong-429/All_workspace
1e66759a3e36a1ac5fd1681b9ba1a8797fa9fce1
8db563f4d4915a4c7566b735aa228f3172222c7b
refs/heads/master
2021-04-07T21:16:34.314519
2020-03-20T09:00:36
2020-03-20T09:00:36
248,709,081
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
# sample42.py def add_and_mul(a, b): return (a + b, a * b) return 1 pass result = add_and_mul(1, 2) ( addResult, mulResult ) = add_and_mul(1, 2) print(addResult) print(mulResult) print('-'*30) def say_myself(name, man=True, old=10): print('- say_myself({}, {}, {})'.format(name, man, old)) pass...
[ "ghkdxotjd3@gmail.com" ]
ghkdxotjd3@gmail.com
2e69f527333e0c8ce675f14dc43273f05472cfca
ea9e9756f6b5b7022015049d92c399ee03cfde67
/电压力锅/接口代码/DYLG_Interface/cj_interface/test_procedure2.py
a52d17f4ce07f528cd466241ac171c549d1670ad
[]
no_license
Godlovesli/jiaojiewendang
724e0f01028cc5cbcc9ce5807bd057e15172eb91
579551eabfc83226804ccfbf8b868192614d7166
refs/heads/master
2020-04-05T03:38:41.212627
2018-11-07T09:31:51
2018-11-07T09:31:51
156,521,937
0
1
null
null
null
null
UTF-8
Python
false
false
1,372
py
#coding:utf-8 # __author__ = 'feng' from base.base import MyTest import json import sys reload(sys) sys.setdefaultencoding('utf-8') class procedure2Test(MyTest): '''流程2''' # 取消收藏-获取我的模式最近使用的集合 不存在 @classmethod def setUpClass(cls): pass def test_procedure2_success(self): '''所有参数都传'...
[ "1107095622@qq.com" ]
1107095622@qq.com
d419dd05a06211fd85f9848f1d8ed171e0be2c99
e70e2f24eb39601e91a903ebb52885b35620cf48
/setup.py
275c0d2305f1dd0e7c09d50335af169c52571b6d
[ "MIT" ]
permissive
gaybro8777/python-benedict
b4eac1e138d6ff7dd7c7b2ae4685aea8b6400762
3208efb9937f025becf5797f6282a81e5bc2ec42
refs/heads/master
2022-03-24T20:24:44.747486
2019-12-13T16:55:53
2019-12-13T16:55:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,519
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import find_packages, setup import os exec(open('benedict/metadata.py').read()) github_url = 'https://github.com/fabiocaccamo' package_name = 'python-benedict' package_path = os.path.abspath(os.path.dirname(__file__)) long_description_file_path = os.path...
[ "fabio.caccamo@gmail.com" ]
fabio.caccamo@gmail.com
cbb09a89cbd15f2f1b8bb4ba4431b3cb86426946
f1f11eb0366392014d0d54c6f7b8e340801192cd
/conf.py
b3d61f6e24aee137edda9397845bcac73aaa3d70
[]
no_license
aclark4life/blog
f1c72375ef53081e4fc8b395bdd7402118a16181
f1b76f43184a4176614b8f1cb213e2b988d579b2
refs/heads/main
2023-01-07T14:27:28.191440
2022-12-31T18:50:22
2022-12-31T18:50:22
44,667,790
1
0
null
null
null
null
UTF-8
Python
false
false
2,473
py
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If ex...
[ "aclark@aclark.net" ]
aclark@aclark.net
fe6004c5ded1a6057b21487b8110916fd2ccaf4e
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/identity/azure-identity/tests/test_live.py
20521b54a2c097d73754424b713ab72dfd2ba2db
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
2,485
py
# ------------------------------------ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ import pytest from azure.identity import ( DefaultAzureCredential, CertificateCredential, ClientSecretCredential, DeviceCodeCredential, InteractiveB...
[ "noreply@github.com" ]
YijunXieMS.noreply@github.com
3c788bf61cc0c4271136cc41f6187de99ba514ca
8cae40932bd9f928744f94a0f5575e4ef43b398b
/photos/tests.py
d6d22f5d0141a5e89eab593c138f7f585a37767e
[ "MIT" ]
permissive
wilbrone/gallery
c3a2bb63cdbba9d951f47261ab225ce74441b16b
709c189394f705e4834eeb3e66e66a82d2b072bb
refs/heads/master
2022-12-14T19:09:04.781823
2020-02-03T13:26:19
2020-02-03T13:26:19
237,160,725
0
0
MIT
2022-12-08T01:07:17
2020-01-30T07:25:54
Python
UTF-8
Python
false
false
1,783
py
from django.test import TestCase from .models import Image,Category,Location # Create your tests here. # Create your tests here. class LocationTestClass(TestCase): # Set up method def setUp(self): self.new_location = Location(loct = 'Nairobi') # Testing instance def test_instance(self):...
[ "wilbroneokoth@gmail.com" ]
wilbroneokoth@gmail.com
00f7b93bef70d9ac27338730382bb0e56e75876a
33c26ef945d580fde717f55970fe472b6c3b26ae
/virtual/bin/wheel
85a86eb2874a495a52bc10cd72b2b6ebbb46bc91
[]
no_license
dicksonkariuki/Tribune
ba4bddc01840f8f03d7275fd491c0a6a012dc5d5
9abcd52dcf59306abb66c4675a65d5f3da0a70b2
refs/heads/master
2023-05-01T09:05:45.138398
2019-11-06T09:54:36
2019-11-06T09:54:36
219,964,145
0
0
null
2023-04-21T20:41:05
2019-11-06T09:51:10
Python
UTF-8
Python
false
false
278
#!/home/moringa/Documents/moringa-school-projects/The-Moringa-Tribune/virtual/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "dicksonkariuki4@gmail.com" ]
dicksonkariuki4@gmail.com
ac4987895cc9644b284cb80356cf569279b7bdff
17311c448e5974e16d3efadd991e41ecb24fafd2
/Code/Lane/django/lab02-todo/todoapp/urls.py
bb82b3e90580b8e890cee6b07399a948e6e22685
[]
no_license
drewherron/class_sheep
77a7f73147bc36e65fc50d38525032cb78659d34
51b3ee13d2a7df5d000fa5e087b8bd4fe50669fd
refs/heads/master
2020-05-31T14:30:51.719008
2019-05-31T17:25:44
2019-05-31T17:25:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
from django.urls import path from . import views app_name = 'todoapp' urlpatterns = [ path('index/', views.index, name='index'), path('save_todo/', views.save_todo, name='save_todo'), path('completed_todo/<int:id_num>/', views.completed_todo, name='completed') ]
[ "you@example.com" ]
you@example.com
1f2ab55a14ac801c4f5a822b1094026386d2685a
f30b91db647dca1f77fffa4b7e26b6c6a68abbc6
/6_kyu/Weird IPv6 hex string parsing/solution.py
9242f4e57b9622101bef277e051521b18de3b38f
[]
no_license
estraviz/codewars
73caf95519eaac6f34962b8ade543bf4417df5b7
5f8685e883cb78381c528a0988f2b5cad6c129c2
refs/heads/master
2023-05-13T07:57:43.165290
2023-05-08T21:50:39
2023-05-08T21:50:39
159,744,593
10
55
null
null
null
null
UTF-8
Python
false
false
209
py
"""Weird IPv6 hex string parsing """ def parse_IPv6(iPv6): output = "" i = 0 while i < len(iPv6): output += str(sum(int(n, 16) for n in iPv6[i : i + 4])) i += 5 return output
[ "javier.estraviz@gmail.com" ]
javier.estraviz@gmail.com
bfa9cc17f57de63846a9468124c53bbbc4d009df
d2ea8079864f6f0b99937645c2d4cab8817e75f8
/01_lekcja2/HOME4FormatowanieZmiennych.py
c9ebc4ddae9a14a1d9ea7bbeb81ef3c5fb191e78
[]
no_license
FlyingMedusa/PythonCourse
ea960ab20415180d6e164abf4af5619ad9d256fb
4be6ffd1054b25285205d19987fb0fade0f72c14
refs/heads/master
2022-04-09T15:59:38.742786
2020-02-12T17:49:56
2020-02-12T17:49:56
213,706,789
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
liczby = input("Podaj dowolną wartość liczbową:") tekst = input("Podaj dowolną wartość tekstową: ") zdanie = "Twoja wartość liczbowa to: {0}, a wartość tekstowa to: {1}" print(zdanie.format(liczby, tekst))
[ "sleboda.m98@gmail.com" ]
sleboda.m98@gmail.com
b0d565ec05650adf07259593055ae6940a4593c5
72bfe8c799f55f42bde0659f1ee2d36d2adc8265
/setup.py
ce325459d66ebb51bf2c75c18751aa517c71c455
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
amjames/QCEngine
b8e82c7fd805ae7adb5f4f8f1729cf4a9e5cc7b9
78cf86199dea6b2a201bec193bda9e0f1f3e943e
refs/heads/master
2020-04-19T05:49:56.907384
2019-01-28T14:46:16
2019-01-28T14:46:16
167,999,832
1
0
null
2019-01-28T16:59:23
2019-01-28T16:59:22
null
UTF-8
Python
false
false
1,494
py
import setuptools import versioneer if __name__ == "__main__": setuptools.setup( name='qcengine', description='Compute wrapper for Quantum Chemistry Schema input/output for a variety of programs.', author='Daniel G. A. Smith', author_email='dgasmith@vt.edu', url="https://git...
[ "malorian@me.com" ]
malorian@me.com
8c5488f5d7727838d866da293879064bdc8dd41e
938a496fe78d5538af94017c78a11615a8498682
/algorithms/801-900/883.projection-area-of-3d-shapes.py
98d1d6790c062047a66e1a69bb9974492b032e81
[]
no_license
huilizhou/Leetcode-pyhton
261280044d15d0baeb227248ade675177efdb297
6ae85bf79c5a21735e3c245c0c256f29c1c60926
refs/heads/master
2020-03-28T15:57:52.762162
2019-11-26T06:14:13
2019-11-26T06:14:13
148,644,059
8
1
null
null
null
null
UTF-8
Python
false
false
766
py
class Solution(object): def projectionArea(self, grid): """ :type grid: List[List[int]] :rtype: int """ # 俯视图所有非零值的和 # 主视图,行的最大值之和 # 左视图,列的最大值之和 N = len(grid) ans = 0 for i in range(N): best_row = 0 # max of grid[i][j] ...
[ "2540278344@qq.com" ]
2540278344@qq.com
c901eedb233c4c727ab58cad6745cb7d4840df98
8b5d68c9398186cae64dbcc5b293d62d69e1921d
/src/python/knowledge_base/resolvers/attach_geoname_resolver.py
42fdadeed8e74f4f802b85ddae0c9b6b8b0c5637
[ "Apache-2.0" ]
permissive
reynoldsm88/Hume
ec99df21e9b9651ec3cacfb8655a510ba567abc9
79a4ae3b116fbf7c9428e75a651753833e5bc137
refs/heads/master
2020-07-24T21:28:39.709145
2019-07-10T15:43:24
2019-07-10T15:43:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,419
py
from knowledge_base import KnowledgeBase from kb_resolver import KBResolver import io class AttachGeoNameResolver(KBResolver): def __init__(self): super(AttachGeoNameResolver,self).__init__() def resolve(self, kb, ua_south_sudan_geoid_txt_path): print "AttachGeoNameResolver RESOLVE" re...
[ "hqiu@bbn.com" ]
hqiu@bbn.com
828f1c0ee71cb6e8f4b7934360e5902871c5bfdd
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/86/usersdata/231/57366/submittedfiles/pico.py
dd0a8e31adb78e17a0e1f528dda122492f2b67fa
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
# -*- coding: utf-8 -*- def pico(lista): cont=0 #CONTINUE... for i in range(0,len(lista),1): if lista[i]<=lista[i+1]: cont=cont+1 elif lista[i]<=lista[i+1]: cont=cont+1 return (cont) n = int(input('Digite a quantidade de elementos da lista: ')) a=[] for i in ra...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
6c6c0d7ddc8cd4f0ebb5e79be2a06dda1db8751d
25ebf226893b44dd8a6b1b85cf80864579372892
/divide-two-integers/Accepted/2-28-2021, 1:15:43 AM/Solution.py
792498a0dd6085946505aa991d76b6d56acd656c
[]
no_license
TianrunCheng/LeetcodeSubmissions
db15f5a1a8e1bbecefc45cb0b2b5fbaa036aa6f5
00a5403f1950e039ccc370cb266b752faebb8e79
refs/heads/main
2023-06-29T21:51:43.029300
2021-07-22T03:12:15
2021-07-22T03:12:15
388,305,775
0
0
null
null
null
null
UTF-8
Python
false
false
1,059
py
// https://leetcode.com/problems/divide-two-integers class Solution: def divide(self, dividend: int, divisor: int) -> int: neg = False if dividend < 0: dividend = 0 - dividend neg = not neg if divisor < 0: divisor = 0 - divisor neg = ...
[ "tc905@georgetown.edu" ]
tc905@georgetown.edu
7873c4c1781e24fe09d5e3aa34d406221e1d16bc
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_216/ch33_2020_09_15_23_51_28_335676.py
fb6393ecc0b8053e931b77b208f20c2b3642bac9
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
def primos_entre(a,b): p = a contador = 0 while p <= b: if p == 0 or p == 1: p += 1 elif p == 2 or p == 3: p += 1 contador += 1 elif p % 2 == 0: p += 1 else: divisor = 3 while divisor > p: ...
[ "you@example.com" ]
you@example.com
6a0e6a2e3e4af848e7d9a6e89b9404ed3c3a714e
7c0ad12b6a27ce243beb36e2eea557875adeecbc
/setup.py
f597eb2d08b52b89147c2f2c50dc1b14ce74f647
[ "MIT" ]
permissive
ahawker/tmnt
83faa4fedcbe1a512bac52fe2ecce50c53a04288
5734b9f24eeebf5b8a350f7e3d89daa4666d595f
refs/heads/master
2021-01-01T05:35:56.273207
2013-04-12T03:32:30
2013-04-12T03:32:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
907
py
__author__ = 'Andrew Hawker <andrew.r.hawker@gmail.com>' import tmnt try: from setuptools import setup except ImportError: from distutils.core import setup setup( name=tmnt.__name__, version=tmnt.__version__, description='Python module for mutation testing.', long_description=open('README.md'...
[ "andrew.r.hawker@gmail.com" ]
andrew.r.hawker@gmail.com
0e4c3872aa175f3c3420ce282edce26e2c1f5457
47a0ea8da3ef955315974a34b1edf0b5992156ea
/reuserat/users/migrations/0008_auto_20170719_0143.py
e4345a2cffc23b5d17d08a97dd39c5112c39411b
[ "MIT" ]
permissive
jamesaud/ReuseRat
21b2a0b03ef609c3ed43ab46c0bba7251f6a4934
2810edd4f0f4caddc32be7a7e1a6cb45ac2d973f
refs/heads/master
2021-01-11T15:13:23.874468
2018-01-30T11:58:19
2018-01-30T11:58:19
80,316,934
3
0
null
2017-02-25T21:19:50
2017-01-28T23:08:13
CSS
UTF-8
Python
false
false
821
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-07-19 01:43 from __future__ import unicode_literals import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0007_auto_20170719_0056'), ] operations = [ ...
[ "jamaudre@indiana.edu" ]
jamaudre@indiana.edu
5cbc4fa756b6f0208fc011cc00f1d9a7230d41aa
c733ba74f431852562be02f24acbc984a39bdf37
/src/rayoptics/qtgui/ipyconsole.py
a5dfa9a584b6169b21d4f3b130ec96e62c16cecd
[ "BSD-3-Clause" ]
permissive
mniehus/ray-optics
94f1e724e76777ea27405908b4d8f889ff459890
056a961a37ca41bc77c42a79296b2e7c5ced42a7
refs/heads/master
2022-06-28T13:26:42.824501
2020-05-07T19:23:18
2020-05-07T19:23:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,846
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright © 2018 Michael J. Hayford """ Support creation of an iPython console, with rayoptics environment .. Created on Wed Nov 21 21:48:02 2018 .. codeauthor: Michael J. Hayford """ from qtconsole.rich_jupyter_widget import RichJupyterWidget from qtconsole.inprocess...
[ "mjhoptics@gmail.com" ]
mjhoptics@gmail.com
d022f830ef09f9469c8bd22d699aa8babd65d610
f1ad4b488ce0719365b36de5df062cfb1c80fde1
/import_export_vote_smart/views.py
1ead490a180b4a6d69f64580624abcafa2c67bda
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
DaleMcGrew/WeVoteServer
59c5a1301e29f93cf1940c7f8f7b3a42a4756df5
e80ad10d6d20c4057872f545ecd55eaf11eca263
refs/heads/develop
2023-08-21T22:16:55.720943
2023-08-09T21:07:12
2023-08-09T21:07:12
134,788,301
0
0
MIT
2023-08-28T01:51:39
2018-05-25T01:41:28
Python
UTF-8
Python
false
false
185
py
# import_export_vote_smart/views.py # Brought to you by We Vote. Be good. # -*- coding: UTF-8 -*- # See also import_export_vote_smart/views_admin.py for views used in the admin area
[ "dale.mcgrew@wevoteusa.org" ]
dale.mcgrew@wevoteusa.org
e2333ef903ac607fd66e399fdabffc622802e7d7
b87f66b13293782321e20c39aebc05defd8d4b48
/maps/build/Traits/integrationtests/ui/test_ui4.py
97256d64e81b0243054309491f4b4120ec78294b
[]
no_license
m-elhussieny/code
5eae020932d935e4d724c2f3d16126a0d42ebf04
5466f5858dbd2f1f082fa0d7417b57c8fb068fad
refs/heads/master
2021-06-13T18:47:08.700053
2016-11-01T05:51:06
2016-11-01T05:51:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,544
py
#------------------------------------------------------------------------------ # Copyright (c) 2005, Enthought, Inc. # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in /LICENSE.txt and may be redistributed only # under the conditions described in the...
[ "fspaolo@gmail.com" ]
fspaolo@gmail.com
33dd200031e989d65567292d90d42cc97788dd75
48981ef531729e6c133f9e01252a7dc6f4251629
/tkinter/scripts/setup_buttons_tkinter.py
7f472269c84dd7dbcb5432b400d39c04dd80df1e
[]
no_license
sharland/python_scripts
f778f3c2dfc2f19592e94472ec9afd5c77ed4052
702b543a77ee5361aa73d5068510e1df937210c4
refs/heads/master
2021-09-08T13:26:54.123689
2021-08-30T21:24:58
2021-08-30T21:24:58
17,588,312
0
1
null
null
null
null
UTF-8
Python
false
false
590
py
from tkinter import * #instantiates an object of class Tk root = Tk() #sets up window title and size root.title("Buttons everywhere") root.geometry("500x300") #create a frame to hold widgets #this says that app is a frame within root #in other words you have passed the master ('root') to the constructor o...
[ "sharland@gmail.com" ]
sharland@gmail.com
deccdc957ae2d6e77f5830a9b672647a360c7ea5
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_157/158.py
f1ed0d5ad09d3bef466af9435f66b557df6a9d71
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,794
py
#!/usr/bin/env python3 # encoding: utf-8 import sys import math from pprint import pprint def qm(a, b): neg = False if a[0] == '-': neg = True a = a[1:] if b[0] == '-': neg = not neg b = b[1:] t = { '1': {'1': '1', 'i': 'i', 'j': 'j', 'k': 'k'}, 'i': {'1': 'i', 'i': '-1', 'j': '...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
a62d683d1c7e3f60e12ba00905dac32a6eda6a5c
08b531d69db0800f48c55da216d641fd586879dd
/src/BEE2_config.py
c7f161570b7c254d32a220a96df6552914873a12
[]
no_license
Stendec-UA/BEE2.4
93e1c94f4dd59f5fa4b2f8c21a8bb2f95b94ea9d
4edf923bac4f282a43fdc8f12300162f97dcb73b
refs/heads/master
2021-01-17T20:10:58.769585
2015-09-30T01:03:03
2015-09-30T01:03:03
45,045,361
1
0
null
2015-10-27T14:10:05
2015-10-27T14:10:04
null
UTF-8
Python
false
false
4,253
py
import os.path from configparser import ConfigParser class ConfigFile(ConfigParser): def __init__(self, filename, root='../config', auto_load=True): """Initialise the config file. filename is the name of the config file, in the 'root' directory. If auto_load is true, this file will immed...
[ "spencerb21@live.com" ]
spencerb21@live.com
98d925bda05e947e2d22e13f7d5ce4758ab21c43
d154fbda4a0d4921a8984468b99618d6072fff67
/testing/scripts/run_gtest_perf_test.py
e1dd0d5788f096c86821caa4ddc9b244e588407b
[ "BSD-3-Clause" ]
permissive
nano325/chromium
9bf596f048d9a702451fc6fcb3be6d2b885045a2
67c4590289f178cb4c77f61194afff8bf0cb67a5
refs/heads/master
2023-01-16T07:43:25.802720
2018-07-18T01:14:13
2018-07-18T01:14:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,739
py
#!/usr/bin/env python # Copyright 2015 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. """Runs an isolated non-Telemetry perf test . The main contract is that the caller passes the arguments: --isolated-script-test-out...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
bd18eb85cdaa3d321cec83e3d2ae3dfc24dd1fcf
0755a5f8d821b2b02b7f087d26e1433156075f04
/programmers/level2/소수찾기.py
e213390d3c6631d3550734ae9d9d0a30d9bb394a
[]
no_license
kimevanjunseok/Algorithm
35fdfdd5a0c5c8ad1029429aba8d6c2320088993
ea0883964e43779e569a1a2c8a879a246083ef0e
refs/heads/master
2020-08-17T22:50:13.096789
2020-01-07T14:28:56
2020-01-07T14:28:56
215,720,238
0
0
null
null
null
null
UTF-8
Python
false
false
663
py
def copy(L): T = ["0"] * len(L) for i in range(len(L)): T[i] = L[i] return T def solution(numbers): x = int("".join(sorted(list(numbers), reverse=True))) T = [True] * (x + 1) save = 0 for i in range(2, int((x) ** 0.5) + 1): if T[i]: for j in range(i + i, x + 1, ...
[ "jnunseok@gmail.com" ]
jnunseok@gmail.com
22024d93f7cb7652da595cfe06eff579858c9004
cc31777830ccbc17347305c40db91afc012977ee
/concepts/strings/words_containing_all_consonants.py
132ab9a06718f37c257e4d2f2427e954e98d66d9
[]
no_license
sourcery-ai-bot/library-python
e147b9e5c6baba502de9f7605c5fa1937dbd13f4
61472955f4b011caa989b8805be3ed7df19c7aa8
refs/heads/master
2022-11-06T20:19:59.056197
2020-06-30T20:56:45
2020-06-30T20:56:45
276,206,925
0
0
null
2020-06-30T20:56:31
2020-06-30T20:56:30
null
UTF-8
Python
false
false
330
py
""" Retrieve all words which only contain consonants. """ words_with_all_consonants = [] with open('concepts/strings/words.txt', 'r') as file: for line in file: if not set('aeiou').intersection(line.lower()): words_with_all_consonants.append(line[0:len(line)-2:]) print(words_with_all_con...
[ "wayne.a.lambert@gmail.com" ]
wayne.a.lambert@gmail.com
f45e58c501de0b61cb59acaeb188bf8ff7d9c324
950d30c1b3adbdcaca6062e7d6b07f23e5136f25
/backend/zambiadecides21/migrations/0004_auto_20210809_0320.py
27e94b9ac542e766718117296e82c4cc35307370
[]
no_license
ThetaleofAj/zambia-decides-2021
2b7b6b3ded13c9b7a06ccae46077844aed97a780
16ab2dae77ef64e7e38ace52ff3546a217cfc814
refs/heads/master
2023-08-10T22:40:00.539507
2021-10-05T16:41:19
2021-10-05T16:41:19
394,209,549
1
0
null
null
null
null
UTF-8
Python
false
false
1,373
py
# Generated by Django 3.1.7 on 2021-08-09 01:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('zambiadecides21', '0003_auto_20210808_2153'), ] operations = [ migrations.CreateModel( name='Chart', fields=[ ...
[ "you@example.com" ]
you@example.com
7b5f264f2133e3e738e409cec6f6e0ae594c2f90
e0ea1eddc8e58fe59a8e902e3b7c8843f2f148b0
/Amonia_P1/Plots.py
85d84db4d5cda3d05ea9c178045b90fa6158fba5
[]
no_license
MendezV/ASE_test
4e4b04e9888dc974b0747acb09d5728ae5c7fa51
5a36c00b17bd0c79558bf35d81027ccfcd8de239
refs/heads/master
2020-05-21T05:21:01.794467
2019-05-10T21:53:05
2019-05-10T21:53:05
185,910,957
0
0
null
null
null
null
UTF-8
Python
false
false
753
py
import matplotlib.pyplot as plt from ase.neb import NEBTools from ase.io import read images = read('neb4.traj@-7:') nebtools = NEBTools(images) # Get the calculated barrier and the energy change of the reaction. Ef, dE = nebtools.get_barrier() # Get the barrier without any interpolation between highest images. Ef, ...
[ "som.felipe66@gmail.com" ]
som.felipe66@gmail.com
48220d9c7faa9d40e95549c0eed4860967102e1f
3c7e0da4d146f45af1202c6d9f4a14f9874bd5d0
/src/wai/spectralio/util/_non_default_kwargs.py
346b473655ab79a7e159e7dc1a944af40ee8a55b
[ "MIT" ]
permissive
waikato-datamining/wai-spectralio
c0d4e85a57f07dfb7daaa8e65f6756687cb4fa81
a0edba2208b0b646ed54782cb0832ce10eed0d5e
refs/heads/master
2020-12-07T07:15:56.731643
2020-02-16T22:22:36
2020-02-16T22:22:36
232,667,947
0
0
null
null
null
null
UTF-8
Python
false
false
977
py
from inspect import Signature, signature, Parameter from typing import Any, Dict def non_default_kwargs(function, locals_) -> Dict[str, Any]: """ Gets a dictionary of all keyword-only arguments which have non-default values. E.g. def my_func(*, kw1=None, kw2=None, kw3=None): return non_de...
[ "coreytsterling@gmail.com" ]
coreytsterling@gmail.com
fad0767571a561bc9ad609275298385db1d12d3d
cce55f618628a8c3734ead3de7422040585dd495
/python_tank/bots/____bots/LOSER/7 Nataphol/bot_sample_a.py
096a972985eeeb258339b9c72ae4406706f0e585
[]
no_license
maxoja/python-presession-se9
eba35f361cae5b7f011d1d1231d948560fae4e48
3036d59f55bed82fac48e60c6f1005e00de3f6ec
refs/heads/master
2021-01-01T04:59:21.396064
2017-09-09T18:04:47
2017-09-09T18:04:47
97,286,520
0
0
null
null
null
null
UTF-8
Python
false
false
3,450
py
import pygame import random from core.tank import TankPrototype class BotSampleA ( TankPrototype ): #because this bot class is inherited from TankPrototype class #this class will derive and obtain all public methods available in TankPrototype #the methods available for use listed below ''' getHP() ...
[ "-" ]
-
4e9c5e928bdb46354ec16ff4c25cef74b765dc15
82762d776e2400948af54ca2e1bdf282885d922c
/648. 单词替换.py
5b70932bd91b5ec8a5129c3133829ea9b788fb7c
[]
no_license
dx19910707/LeetCode
f77bab78bcba2d4002c9662c122b82fc3c9caa46
624975f767f6efa1d7361cc077eaebc344d57210
refs/heads/master
2020-03-17T02:50:46.546878
2019-06-25T09:22:13
2019-06-25T09:22:13
133,208,490
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
class Solution(object): def replaceWords(self, dict, sentence): """ :type dict: List[str] :type sentence: str :rtype: str """ words = sentence.split() dict = set(dict) def repalce(word,dict): for j in range(1,len(word)): if ...
[ "dx19910707@qq.com" ]
dx19910707@qq.com
40d2f91aa1b79fdab73649db6b033d0fbbb9157f
670f4ba8ded99b420c3454c6ae35789667880cc8
/tobiko/tests/functional/shell/sh/test_process.py
20eafd99b645ff926413ecabaf9fc2584a95591d
[ "Apache-2.0" ]
permissive
FedericoRessi/tobiko
892db522198ab48380892138459d801c4bd00efa
ce2a8734f8b4203ec38078207297062263c49f6f
refs/heads/master
2022-07-26T22:52:10.273883
2022-07-20T20:04:43
2022-07-20T20:04:43
145,856,925
1
0
null
null
null
null
UTF-8
Python
false
false
2,690
py
# Copyright (c) 2021 Red Hat, Inc. # # 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 requi...
[ "fressi@redhat.com" ]
fressi@redhat.com
93946091d21adcf7a625c9851780fbfde574c3de
f41309da5e0d26b24d974a009fa309a02fcaa20c
/aws_cloudtrail_rules/aws_console_root_login_failed.py
cd4235bf1ebad8d0f6131287c69df17e9056000c
[ "Apache-2.0" ]
permissive
georgeSkoumas/panther-analysis
2e1e87f83c6533cb6d62ecb62e3f61b2ff4b5ed4
30b21c270504bf7c84f99207c9c6c2f6110843ae
refs/heads/master
2022-09-14T13:22:31.786275
2020-05-26T16:18:58
2020-05-26T16:18:58
267,569,230
1
0
Apache-2.0
2020-05-28T11:15:05
2020-05-28T11:15:04
null
UTF-8
Python
false
false
270
py
def rule(event): return (event['eventName'] == 'ConsoleLogin' and event['userIdentity'].get('type') == 'Root' and event.get('responseElements', {}).get('ConsoleLogin') == 'Failure') def dedup(event): return event.get('sourceIPAddress')
[ "noreply@github.com" ]
georgeSkoumas.noreply@github.com
99aa757bc2ede5b024d4fad04d932cf44fc1b792
57f1bd5aa524278cbf6b7fe3bfca04d34e1d6ad6
/src/tests/test_sum_terms.py
4709e01319ba8620de1ff15450593421bb5e6734
[ "MIT" ]
permissive
serashioda/code-katas
348f87e2932fa5f50fe7b7300b6a18b778a15cca
8822b315f4136c74514348441bd8dd14651a71b9
refs/heads/master
2021-01-22T09:42:22.859203
2017-05-16T07:01:07
2017-05-16T07:01:07
76,081,162
3
0
null
2017-05-16T06:59:20
2016-12-10T00:44:04
Python
UTF-8
Python
false
false
313
py
"""Tests for sum_terms module.""" import pytest TERMS_TABLE = [ [1, '1.00'], [2, '1.25'], [3, '1.39'] ] @pytest.mark.parametrize("n, result", TERMS_TABLE) def test_sum_terms(n, result): """Test the series_sum function.""" from sum_terms import series_sum assert series_sum(n) == result
[ "you@example.com" ]
you@example.com
d0ca2dc2bb4fcb487b13dce959aa415c1147eda9
b4afd14e3b4e9cff0a99906a69587e348b243aeb
/website/菜鸟教程/《基础》/20模块/using_sys.py
f49203d502250b0222a18a271e1610bd011e3072
[]
no_license
zhankq/pythonlearn
d694df23826cda6ba662e852e531e96a10ab2092
cb714fbb8257193029f958e73e0f9bd6a68d77f1
refs/heads/master
2021-12-16T13:51:23.381206
2021-12-03T01:13:36
2021-12-03T01:13:36
205,632,135
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
#!/usr/bin/python3 # file: using_sys.py import sys print('命令行参数如下:') for i in sys.argv: print(i) print('\n\nPython 路径为: ',sys.path,'\n')
[ "zhankq@163.com" ]
zhankq@163.com
018dc1fe3a3e8a6cef38f69c06991ce2baf6bd48
fd704067def8f2b5005e45a5c017641fb08ccdf6
/bl2_slots/wsgi.py
cb189939ed9c0d00c85b02fe9fe10efe66cbbb94
[ "BSD-3-Clause" ]
permissive
jbittel/bl2-slots
97d709316fa7606597b037a4b0179cca6fc6e741
465d0e2d191e1091a3768a4f144e4361aa730b57
refs/heads/master
2016-09-05T22:27:57.050472
2012-12-17T06:05:16
2012-12-17T06:05:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,428
py
""" WSGI config for bl2_slots project. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via the ``WSGI_APPLICATION`...
[ "jason.bittel@gmail.com" ]
jason.bittel@gmail.com
f520d223c1254d588e9eaca23392831fb0a26338
2aba62d66c2c622bdc148cef451da76cae5fd76c
/exercise/learn_python_dm2039/ch29/ch29_14.py
6d1157ddc1e8725993369b82a188457a16ec0773
[]
no_license
NTUT-109AB8011/crawler
6a76de2ab1848ebc8365e071e76c08ca7348be62
a703ec741b48d3af615a757fed7607b1f8eb66a6
refs/heads/master
2023-03-26T22:39:59.527175
2021-03-30T03:29:22
2021-03-30T03:29:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
# ch29_14.py import pymysql conn = pymysql.connect(host = 'localhost', port = 3306, user = 'root', charset = 'utf8', password = 'hung', database = 'mydb1') mycursor = conn.cursor() sql = """ CREATE TABLE I...
[ "terranandes@gmail.com" ]
terranandes@gmail.com
f679d40e63ef7891c56eb6af3fe928f525add9e1
39a5bf0a968e30e78f33c479d952d604f248ca97
/analytics/frequent_calls.py
b5d59f2f345a9da5278a9d9a8dfe1fa2b9a1c94a
[]
no_license
bhargavraju/log_analytics
1a13aa71d14edd6e7dfeab5713310c0d230ad686
ac6319518063f883096f6818cd5c3338d38d1511
refs/heads/master
2023-02-02T05:31:36.545351
2020-12-22T06:26:21
2020-12-22T06:26:21
323,539,911
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
from heapq import nlargest def get_most_frequent_calls(url_dict, k): calls = [] for url in url_dict: for http_method in url_dict[url]: calls.append((http_method, url, len(url_dict[url][http_method]))) most_frequent = nlargest(k, calls, key=lambda x: x[2]) return most_frequent
[ "jampanibhargavraju@gmail.com" ]
jampanibhargavraju@gmail.com
d3bc1e07ff0ac6708ca0cb01e5ac36345964cc5b
8255dcf7689c20283b5e75a452139e553b34ddf3
/app/views/dashboard/items/category_is_popular.py
10b4b1e99560f5b2de07a3814f674bd842d6354a
[ "MIT" ]
permissive
Wern-rm/raton.by
09871eb4da628ff7b0d0b4415a150cf6c12c3e5a
68f862f2bc0551bf2327e9d6352c0cde93f45301
refs/heads/main
2023-05-06T02:26:58.980779
2021-05-25T14:09:47
2021-05-25T14:09:47
317,119,285
0
1
null
null
null
null
UTF-8
Python
false
false
823
py
from flask import redirect, url_for from flask_login import login_required from app import db, logger from app.models.items_category import ItemsCategory from app.views.dashboard import bp from app.controllers.dashboard_controller import dashboard_controller @bp.route('/item/category/popular/<int:category_id>/<int:s...
[ "devwern@gmail.com" ]
devwern@gmail.com
d7d01fd4d444af4f105a94a7be9b1d11fe356c01
6d39bbe870917a9f759cc1342c51cc67bb3c3001
/pyobjc-framework-LocalAuthentication/PyObjCTest/test_laerror.py
ca39217075417a5dbcc4a37491767185d95d771a
[ "MIT" ]
permissive
beOn/pyobjc
6cb1887d0a050d63c9885a9c5ecb8fbe1f402b43
acf71801c5915a5a632afe7a265faa7c9a7209b1
refs/heads/master
2023-06-04T13:46:39.855437
2021-06-25T19:44:40
2021-06-25T19:44:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,847
py
from PyObjCTools.TestSupport import TestCase, min_os_level import LocalAuthentication class TestLAContext(TestCase): @min_os_level("10.10") def testConstants(self): self.assertEqual( LocalAuthentication.LAErrorAuthenticationFailed, LocalAuthentication.kLAErrorAuthenticationFail...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
ca9abafd76c63bff6a24df56960ef75ce10ab43a
b4c740714b29ea325562377e117c9e0a181c6d5e
/env/bin/pyrsa-priv2pub
f1e2e671eb2b970a991f64bc9077dbe85455b418
[]
no_license
mazharoddin/keyword-pos-SEO-updated
b232d304e22dfa0a9076d7892a035d0407bba4b3
e322e31b0db0d9bd9d79574fcfdaf4946b203ec4
refs/heads/master
2023-03-02T10:26:27.299213
2021-02-11T10:55:55
2021-02-11T10:55:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
260
#!/home/anand/Desktop/seotool/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from rsa.util import private_to_public if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(private_to_public())
[ "anand98.ar@gmail.com" ]
anand98.ar@gmail.com
f0fe1c6e5370c491fa9b9eed13880a3010b59311
3b61a91499e048062dfb805456f8fff46e53f0aa
/spectralDNS.py
7d614eff18d1866ebaf814efaa5fa78bd0f02359
[]
no_license
Nasrollah/spectralDNS
4df534e0367c329738dfcda4a501dd5be09ab696
df1ffaa42207dd0ce3a6583f7c4c712e3b76ffa4
refs/heads/master
2021-01-15T10:13:44.550406
2015-01-27T09:24:46
2015-01-27T09:24:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,185
py
__author__ = "Mikael Mortensen <mikaem@math.uio.no>" __date__ = "2014-11-07" __copyright__ = "Copyright (C) 2014 " + __author__ __license__ = "GNU Lesser GPL version 3 or any later version" from MPI_knee import mpi_import, MPI with mpi_import(): import time t0 = time.time() import sys, cProfile from h...
[ "mikaem@math.uio.no" ]
mikaem@math.uio.no
03605ae5bfd171adf54bd4d6848c989903251394
bede0bbf055a7cffc62808cd6ee4654c02e2a2c4
/PlotConfiguration/ISR/2018/unfolding/unfolding_input/configuration_muon.py
b102ddc4a96dfe4f163c50842dc452c2db201f6c
[]
no_license
bhoh/MultiUniv
ec4d94180971542d8c4d69726c4e26a3f90596ef
1105e8203ce650457bb9cbfb985a90323845c8b0
refs/heads/master
2020-04-24T07:33:41.915446
2020-02-13T10:13:40
2020-02-13T10:13:40
171,802,629
0
0
null
2019-06-03T06:49:59
2019-02-21T04:54:20
C
UTF-8
Python
false
false
391
py
Analyzer = 'mkShape' Outputdir = 'Output_Muon' Category = 'SMP' Year = '2018' InSkim = 'MetFt_L_v2_LL_v1_ISR_detector_only_v1_Eff_SF_v1' Userflags = 'unfold_input_muon' treeName = 'recoTree/SKFlat' samplesFile = 'samples_muon.py' plotFile = 'plot_muon.py' variablesFile = 'variables_muon...
[ "jhkim@cern.ch" ]
jhkim@cern.ch
920eec89ac0e91eeda23235253b8e6c8d35c4042
4738be4be8cda375e33ef606dbe82998d6e60bef
/common_nlp/parser_json_bec.py
be57c0e306259c07aece730900b9e8e8c61119c4
[ "MIT" ]
permissive
Arieugon/Pesquisas
39723d6ee642d50708f4a883b8d13faf5d018c3c
87e3923c571d44774c36d4bc54e444cb1003b43b
refs/heads/master
2023-01-21T10:23:53.645736
2020-12-02T19:23:48
2020-12-02T19:23:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,963
py
import json, os class parser_json_bec(): """Classe para parseamento de json's""" def __init__(self): pass def parse_bec_basico(self, file_path, multiple=False): resultados = [] if multiple: arquivos = [] for f in os.listdir(file_path): arquivos.append(file_path+'/'+f) else: arquivos = [file_pa...
[ "danilopcarlotti@gmail.com" ]
danilopcarlotti@gmail.com
021528f86c0ac900db42ee7d779aac327dd93731
c8d666e8d8892629510fe034968aca06c712a18b
/infrastructure/src/main/python/pbase/papp/__init__.py
4abaa950c8c327a1937e80fe5202f7c880be8481
[ "MIT" ]
permissive
Impavidity/pbase
6802cddf78886a5f7a9004826954c7105c91e487
b5577fe1e140e0b360aec2834349ba87647eb000
refs/heads/master
2021-07-21T14:35:30.372273
2019-01-10T08:57:45
2019-01-10T08:57:45
109,772,868
10
1
MIT
2018-12-03T19:00:59
2017-11-07T01:52:01
Python
UTF-8
Python
false
false
370
py
PYTORCH = "pytorch" """ Constant for `pytorch` framework. """ TENSORFLOW = "tensorflow" """ Constant for `tensorflow` framework. """ TRAIN_TAG = "TRAIN" VALID_TAG = "VALID" TEST_TAG = "TEST" from .argument import Argument from .trainer import Trainer from .config import Config from .logger import Logger from .model_py...
[ "spone.2014@gmail.com" ]
spone.2014@gmail.com
77bec83e145833b45a79450556a8931503ba2557
865bd5e42a4299f78c5e23b5db2bdba2d848ab1d
/Python/529.minesweeper.137375432.ac.python3.py
733f1dd913e188a1b5264bc5b6311c8666c9353b
[]
no_license
zhiymatt/Leetcode
53f02834fc636bfe559393e9d98c2202b52528e1
3a965faee2c9b0ae507991b4d9b81ed0e4912f05
refs/heads/master
2020-03-09T08:57:01.796799
2018-05-08T22:01:38
2018-05-08T22:01:38
128,700,683
0
1
null
null
null
null
UTF-8
Python
false
false
3,779
py
# # [529] Minesweeper # # https://leetcode.com/problems/minesweeper/description/ # # algorithms # Medium (49.42%) # Total Accepted: 16.6K # Total Submissions: 33.6K # Testcase Example: '[["E","E","E","E","E"],["E","E","M","E","E"],["E","E","E","E","E"],["E","E","E","E","E"]]\n[3,0]' # # Let's play the minesweeper g...
[ "miylolmiy@gmail.com" ]
miylolmiy@gmail.com
9cb53aa651363a986810ad06ebbe01e842b8aa0c
0bf10171cf52b225131562f39b90c412d3d23953
/charm/customer/migrations/0001_initial.py
abe5ffccd6b5440c0bbe868583146b4b866602b2
[]
no_license
pharmaziegasse/charm-backend
937e601e6f6f06720ecb7e637437bf08f237603a
db94823697541e12e7b8eed975de3419e920a625
refs/heads/master
2021-06-23T05:38:04.466227
2020-11-25T21:05:09
2020-11-25T21:05:09
197,613,405
0
0
null
null
null
null
UTF-8
Python
false
false
564
py
# Generated by Django 2.2.3 on 2019-08-28 13:08 from django.db import migrations class Migration(migrations.Migration): initial = True dependencies = [ ('user', '0004_auto_20190828_1415'), ] operations = [ migrations.CreateModel( name='Customer', fields=[ ...
[ "simon.prast.sp@gmail.com" ]
simon.prast.sp@gmail.com
189fef8c3cab4d5bdcdd1af4e1b33688a846b299
bf05f5efc341bb4c5128e131e57dae5680605a7b
/forum/admin.py
78b12008677d8453759905ae48a858d5d0ec2f31
[]
no_license
import-keshav/Tripoto
0c7c3f06022e4c32e59042f3e510dbcd58d46108
d1649dea9c93d95feb1442f4b98156434544d7cb
refs/heads/master
2020-06-27T00:30:05.777602
2019-07-31T14:38:41
2019-07-31T14:38:41
199,799,343
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
from django.contrib import admin from .models import Question from .models import Answer from .models import Comments admin.site.register(Question) admin.site.register(Answer) admin.site.register(Comments) # Register your models here.
[ "keshavbathla2017@gmail.com" ]
keshavbathla2017@gmail.com
9aee44adf4cd7745f52d34caa4005bfab51007e1
f6db58013843424e737efa2e40d28dbf6ec121d5
/HLA-pipeline/OptiType/scripts/statistic.multi.samples.py
7eedd467b23016f60396d906803eca4e3dfa0e3b
[]
no_license
levinyi/GZ_Tcell_work
ef3d7ab2fa1eda7bfd09b09a83349536d6834c81
275198da3759e3bee6adde09ea68a598a6ca89a8
refs/heads/master
2023-04-06T07:29:59.201311
2023-03-24T07:14:27
2023-03-24T07:14:27
202,257,755
0
1
null
null
null
null
UTF-8
Python
false
false
245
py
import sys import os import pandas as pd files = sys.argv[1:] for each_file in files: filename = os.path.basename(each_file).split(".")[0] df = pd.read_table(each_file, header=T) print(df) pd.melt(df, id_vars="",value_vars=[])
[ "dushiyi319@163.com" ]
dushiyi319@163.com
423fed9c53cec1e51570c919153df39d4fc0e9f0
196fda5a027b96de06c1149ccdfe51f39a633fe6
/gen/sam/sam_sa13.py
8fc069adefd911093e8b12e6707dee4ce8e99a68
[]
no_license
VEAF/dcs_liberation
884995b0174009bc518cd8b7a4f067d4356d8465
7dd3367203b042fdaef639016dc249ac38c42123
refs/heads/master
2022-12-31T18:21:28.015682
2020-10-03T14:50:56
2020-10-03T14:50:56
298,514,261
1
1
null
2020-09-29T13:14:56
2020-09-25T08:29:59
null
UTF-8
Python
false
false
804
py
import random from dcs.vehicles import AirDefence, Unarmed from gen.sam.group_generator import GroupGenerator class SA13Generator(GroupGenerator): """ This generate a SA-13 group """ name = "SA-13 Strela Group" price = 50 def generate(self): self.add_unit(Unarmed.Transport_UAZ_469,...
[ "clemguip@gmail.com" ]
clemguip@gmail.com
9d4999492d44a3ed2e8a4eabce9ca9681a528ac9
dee468400b97faa9926a8f80be9d400fab2c6d85
/tests/admin_default_site/apps.py
92743c18d4fe75dd94f411c30eb131d263f03cb3
[ "BSD-3-Clause", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-other-permissive", "Python-2.0" ]
permissive
claudep/django
0a8eec4039ddb57fc3c31ae03b313fccdeb6a063
f1a808a5025b63715d1034af2b96a6a5241d29e9
refs/heads/master
2023-09-01T05:08:41.544950
2020-04-15T11:11:13
2020-04-15T16:31:30
4,217,165
3
2
BSD-3-Clause
2023-08-27T16:40:58
2012-05-03T18:20:44
Python
UTF-8
Python
false
false
217
py
from django.contrib.admin.apps import SimpleAdminConfig class MyCustomAdminConfig(SimpleAdminConfig): verbose_name = 'My custom default admin site.' default_site = 'admin_default_site.sites.CustomAdminSite'
[ "timograham@gmail.com" ]
timograham@gmail.com
1d1ad37da47cac0c827581e2adde3e48c18547ca
30227ff573bcec32644fca1cca42ef4cdd612c3e
/leetcode/recursion_1/tests/test_unique_bsts.py
917451476f84e257e0f02c115b47451e23caccae
[]
no_license
saurabh-pandey/AlgoAndDS
bc55864422c93e6c93b8432e483394f286ce8ef2
dad11dedea9ceb4904d6c2dea801ce0172abfc81
refs/heads/master
2023-07-01T09:12:57.951949
2023-06-15T12:16:36
2023-06-15T12:16:36
88,239,921
0
0
null
null
null
null
UTF-8
Python
false
false
1,443
py
import pytest import recursion_1.unique_bsts as prob def toList(root): if root is None: return [] treeList = [root.val] nodes_queue = [root] while len(nodes_queue) > 0: node = nodes_queue.pop(0) lChild = node.left rChild = node.right if lChild is None and rChild is None: continue ...
[ "saurabhpandey85@gmail.com" ]
saurabhpandey85@gmail.com
d0bc6c90deac48da27cbd82e84a00d51dd07dcb1
52b5773617a1b972a905de4d692540d26ff74926
/.history/majority_20200527095149.py
1a3b67c259e04c5f8a483733d6bd3ded0743c0d8
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
205
py
def majority (nums): length = len(nums)/2 numbers ={} count = 0 for n in nums: if n in numbers: numbers print(length) majority([3, 3, 4, 2, 4, 4, 2, 4, 4])
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com