blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
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
777 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
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
130714484ab7bd4391518ceba64a99c41e7365b0
6e6e1301d2aa55d1542640a76ad30b68314b4b56
/radiobutton.py
9c2465760ade1ce9fa9259d8835e84a7534a0f66
[]
no_license
Akhil-64/tkinter-python-
e3906f16930b3a7bb544696808a6b7f7e5b310fb
dbe55e82194de7f1e826f4d236592fb4e86d34aa
refs/heads/master
2020-09-06T02:44:11.918618
2019-11-11T11:20:39
2019-11-11T11:20:39
220,293,231
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
from tkinter import * root=Tk() v=IntVar() master=Radiobutton(root,text="GfG",variable=v,value=1).pack(anchor=W)#anchor for left alignment master=Radiobutton(root,text="Pnj",variable=v,value=2).pack(anchor=W) root.mainloop()
[ "noreply@github.com" ]
Akhil-64.noreply@github.com
88aa9c9e0dd1fe3fd0adc143f1631d6bb4bdbf22
099976fab0dc207b7e4116d6c9965102a307fdaf
/kNN/KNN.py
8eec7af052246e2fb31b1cae6ff9d03b1c7ed8f5
[]
no_license
enningxie/mlWin
8d387dd8e6228377b916f68661e471a5d9d9fd57
fce35bcc71f9ac4a8059d022c6b216a2c4cd2834
refs/heads/master
2021-01-22T23:57:56.313185
2018-03-29T13:42:59
2018-03-29T13:42:59
85,682,778
0
0
null
null
null
null
UTF-8
Python
false
false
2,409
py
#coding=utf-8 from numpy import * from os import listdir import operator def classify0(inX, dataSet, labels, k): """ 分类器 参数说明:用于分类的输入向量inX/输入的训练样本集dataSet/标签向量labels/用于选择最近邻向量的数目k """ dataSetSize = dataSet.shape[0] diffMat = tile(inX, (dataSetSize,1)) - dataSet #tile函数以inX为基准生成shape为(dataSetSize,1)大小的array sq...
[ "enningxie@163.com" ]
enningxie@163.com
131e309c0b50460e66d4e5a9a60fa88662524d57
2f63688febd21dc3ae6b19abfa79ad313c820154
/For Irene/DFS/0104_Maximum_Depth_of_Binary_Tree.py
be6de331f2aee2e7984f41c5fcbadc9e59b7a7b9
[]
no_license
novayo/LeetCode
cadd03587ee4ed6e35f60294070165afc1539ac8
54d0b3c237e0ffed8782915d6b75b7c6a0fe0de7
refs/heads/master
2023-08-14T00:35:15.528520
2023-07-30T05:56:05
2023-07-30T05:56:05
200,248,146
8
1
null
2022-11-19T04:37:54
2019-08-02T14:24:19
Python
UTF-8
Python
false
false
541
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def maxDepth(self, root: Optional[TreeNode]) -> int: def postorder(node): if no...
[ "f14051172@gs.ncku.edu.tw" ]
f14051172@gs.ncku.edu.tw
9235a4e25c904a61ce16f1660c39cd3e8c9f63ff
9a819fc91e17ef9a44e45cf68e76cf696381d06d
/snake_bnb_project/src/program_hosts.py
f95975366365a90441d74c0a94f79a315eac1054
[]
no_license
Gautam3994/Dark-Knight
aef1d6383e0785130db75e80ed40f544a120579e
327b2d58851a42da1b707addea73e40fac6a61cc
refs/heads/master
2022-12-01T11:58:39.857379
2020-09-05T18:07:51
2020-09-05T18:07:55
203,866,327
0
1
null
2022-11-24T09:16:18
2019-08-22T20:14:43
Python
UTF-8
Python
false
false
7,024
py
from colorama import Fore from infrastructure.switchlang import switch import infrastructure.state as state from services import data_service import dateutil, datetime def run(): print(' ****************** Welcome host **************** ') print() show_commands() while True: action = get_acti...
[ "gautam3994@gmail.com" ]
gautam3994@gmail.com
c85032b63cbdc557d2481ca0b0b2b8af2bf6d57f
dd46c2eed4291a2b6895401e6c18442bb59c70de
/学习/pygame库/贪吃蛇1.0.py
9b9b88be69f892b02f79b49b898d856c4287616a
[]
no_license
linzhongxiazhi/student_python
0894b3f7e23b516a5ffc6bc056d3a3d77589338d
0bbd71ea2f0b9c886f4cbecc9a1e2a3d8fec6ffe
refs/heads/master
2023-06-30T21:38:23.624449
2021-08-07T15:20:03
2021-08-07T15:20:03
393,718,479
0
0
null
null
null
null
UTF-8
Python
false
false
3,683
py
import pygame, sys, time, random from pygame.locals import * # 定义颜色变量 redColour = pygame.Color(255, 0, 0) blackColour = pygame.Color(0, 0, 0) whiteColour = pygame.Color(255, 255, 255) greyColour = pygame.Color(150, 150, 150) # 定义gameOver函数 def gameOver(playSurface): gameOverFont = pygame.font.Font('arial.ttf', 7...
[ "1134393383" ]
1134393383
c9c7e2bfde0e9f30320765355d36f8fba7e065bb
bdfb6084a33e4b443ffc2a97673ecbfa736d947b
/.history/vision/tensorflow_object_detect/scripts/detect_lane_20210224073617.py
4b9d7673c398293b97536af85ab936b7119f8430
[ "MIT" ]
permissive
robcn/Autopilot-Demo
5c830a0f721d3e8df864c0fcb26e9ea280bbe3fe
0b7178ae3f417f529d7015373a1e51eb71df28ab
refs/heads/master
2023-03-16T00:20:31.498672
2021-02-24T13:34:06
2021-02-24T13:34:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,020
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import rospy import numpy as np import cv2 from cv_bridge import CvBridge from std_msgs.msg import UInt8, Float64 from sensor_msgs.msg import Image, CompressedImage import time # from vision_msgs.msg import Center class DetectLane(): def __init__(self): self....
[ "hemingshan_1999@163.com" ]
hemingshan_1999@163.com
87b4e02b7e5842acb4020612476b7709c67338c0
c3082eb2adc43b311dd3c9ff16fd3ed9df85f266
/python/examples/code-reuse/k_permutation_module.py
3c3a299dca423f00935250d56d37946d618d8687
[]
no_license
szabgab/slides
78818c7138331b3ba9e221c81da3678a46efe9b3
63bba06678554db737602f2fbcd6510c36037e8a
refs/heads/main
2023-08-31T07:13:51.536711
2023-08-29T13:17:59
2023-08-29T13:17:59
122,212,527
87
69
null
2023-05-19T06:55:11
2018-02-20T14:57:03
Python
UTF-8
Python
false
false
313
py
import sys from mymath import fact if len(sys.argv) != 3: exit(f"Usage: {sys.argv[0]} n r") ''' n! P(n, r) = ----- (n-r)! ''' n = int(sys.argv[1]) r = int(sys.argv[2]) n_fact = fact(n) #print(n_fact) n_r_fact = fact(n-r) #print(n_r_fact) P = n_fact // n_r_fact print(P)
[ "gabor@szabgab.com" ]
gabor@szabgab.com
7fdd464803df821f2821b9304cd413b9e8ef8c7e
12412a9d3f3434d9a0f9d6db099a6cb75a35a77f
/bgx/consensus/pbft_python/bgx_pbft_common/utils.py
8038c84491b0ec08a432c0a21700ad8579aa44e6
[ "Zlib", "MIT", "Apache-2.0" ]
permissive
DGT-Network/DGT-Mississauga
3cf6d79618d2b076ac75b771910cabc5bdd6431a
fb0a558f1304696cdf4278b8009001212ee17cb9
refs/heads/master
2023-03-05T08:58:09.141087
2022-05-10T15:48:04
2022-05-10T15:48:04
241,790,384
0
0
Apache-2.0
2023-03-02T17:42:45
2020-02-20T04:10:38
Python
UTF-8
Python
false
false
2,227
py
# Copyright 2016, 2018 NTRlab # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
[ "sparsov@sinergo.ru" ]
sparsov@sinergo.ru
505bb735533b3334b3929e04260b649d5d342389
046116f7dac7c15cc8af87761fad6d69125cb553
/Django Web应用开发实战/chapter16/16.3/MyDjango_User/MyDjango_User/settings.py
9a6e74f6b085b43d6bdefa9d55d70d2116b4b020
[]
no_license
xingzuhui/Python-Web-Django
36a0d5e70dd9d4660103c0deeff98abc2984349b
1b4bd259dd7d6343bf24fa79dc631d6d6fb64a58
refs/heads/master
2022-10-11T03:00:07.049245
2020-06-14T13:22:49
2020-06-14T13:22:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,651
py
""" Django settings for MyDjango_User project. Generated by 'django-admin startproject' using Django 2.2.1. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import...
[ "huwt15@163.com" ]
huwt15@163.com
15ee603bb46c7437c126e4b32fb4f106c68bb73a
f4229b9711cc42b9b386fd446438eaf6ab746a86
/test.py
ed2b56c357556c0270dde69976e54f4b8c4fd0f9
[ "WTFPL", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Spectrum-CETB/competitive-programming
b71947a0539856831f4aef834f1933e83c36b0b7
b0827db89916ccda94c6ed38e136fcd7776f5c22
refs/heads/master
2022-12-25T04:12:02.477797
2020-10-04T08:10:41
2020-10-04T08:10:41
283,162,958
2
7
WTFPL
2020-10-04T08:10:42
2020-07-28T09:21:00
C++
UTF-8
Python
false
false
19,069
py
#!/usr/bin/env python3 import collections import os import os.path import shutil import subprocess import sys import re languages = [ 'arr', 'c', 'cc', 'cr', 'd', 'hx', 'factor', 'go', 'jl', 'js', 'lid', 'lisp', 'ml', 'moon', 'nim', 'ooc', 'pi', 'pony', 'py', 'rb', 'rkt', 'rs', 'sage', 'sml', 'stanza', 'sh...
[ "alfredo.beaumont@gmail.com" ]
alfredo.beaumont@gmail.com
58d7514b96b34cee6b47d8dbecc807eacdf13fd8
01b7ad17cf0f214dc4c6be46337ce112e7eac840
/healpixify/__init__.py
7a58f411ea5dd82c1ba6b2396eba2335a825d085
[ "MIT" ]
permissive
kadrlica/healpixify
ff91a9716664c8bb748e7d49be61b3ebf463e9ee
db44339071ee0e134b12dd938dab3101b729cdc9
refs/heads/master
2021-01-19T16:58:28.175393
2017-07-11T18:19:45
2017-07-11T18:19:45
88,294,301
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
#!/usr/bin/env python """ Generic python script. """ __author__ = "Alex Drlica-Wagner" import fitsio import healpy as hp if __name__ == "__main__": import argparse parser = argparse.ArgumentParser(description=__doc__) args = parser.parse_args()
[ "kadrlica@fnal.gov" ]
kadrlica@fnal.gov
626712a3f27429ba2161e5bff01a4d2c343cd8c3
01d31e7e969be9977781ada4a77291f6a73080bb
/Programming101/week5/2-Cinema-Reservation-System/Magic-Cinema-No-OOP/cinema_reservation.py
b9e419e9eed42689c1f3533a7f827e7806382685
[]
no_license
stanislavBozhanov/HackBulgaria
93a337ad823a3f1ccd305dd1c57df26c4c7d49a2
0fd0744a48c337576ca4dfaedf6d8b417dea212a
refs/heads/master
2021-01-20T12:12:46.582051
2015-06-21T20:40:27
2015-06-21T20:40:27
24,852,396
0
0
null
null
null
null
UTF-8
Python
false
false
7,092
py
import sqlite3 def create_table_movies(db, cursor): cursor.execute('''CREATE TABLE IF NOT EXISTS movies( id INTEGER PRIMARY KEY, name TEXT, rating REAL )''') db.commit() def create_table_projections(db, cursor): cursor.execute('''CREATE TA...
[ "stanislav.bozhanov@gmail.com" ]
stanislav.bozhanov@gmail.com
35c79bd5bff7a7463816fcbb46640eb7cb4d5b5f
272c1920e168c41bc48d10b8d82cd22aa6d82fc7
/tools/core_tools_WGCI.py
bf6b60658c9e52f1bcf199a9f8371989c2bbe863
[ "MIT" ]
permissive
passion4energy/Kalman-Filter
e3facd79140d15b3fbeee09b37c4a2c985ac480c
1f4b567fdf9b6465d27ffcaba8da8404f3f80c62
refs/heads/master
2022-03-21T09:48:53.432907
2019-12-10T07:27:38
2019-12-10T07:27:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,980
py
"""重要工具包 计算 WGCI Copyright: ---------- Author: AutuanLiu Date: 2019/2/22 """ import numpy as np import scipy.io as sio from kalman_estimation import (Kalman4ARX, Kalman4FROLS, Selector, get_terms_matrix, get_txt_data, make_func4K4FROLS, make_linear_func, plot_term_ERR, save_3Da...
[ "autuanliu@163.com" ]
autuanliu@163.com
b4377f15b5571bc63d5c60b1a5df7257600bce43
a479a5773fd5607f96c3b84fed57733fe39c3dbb
/napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/ospfv2/areas/area/lsdb/lsa_types/lsa_type/lsas/lsa/as_external_lsa/types_of_service/type_of_service/state/__init__.py
868a2ec6db7e8ae231952e4752d89bc0dcf1bd68
[ "Apache-2.0" ]
permissive
napalm-automation/napalm-yang
839c711e9294745534f5fbbe115e0100b645dbca
9148e015b086ebe311c07deb92e168ea36fd7771
refs/heads/develop
2021-01-11T07:17:20.226734
2019-05-15T08:43:03
2019-05-15T08:43:03
69,226,025
65
64
Apache-2.0
2019-05-15T08:43:24
2016-09-26T07:48:42
Python
UTF-8
Python
false
false
40,677
py
# -*- coding: utf-8 -*- from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType from pyangbind.lib.yangtypes import RestrictedClassType from pyangbind.lib.yangtypes import TypedListType from pyangbind.lib.yangtypes import YANGBool from pyangbind.lib.yangtypes import YANGListTy...
[ "dbarrosop@dravetech.com" ]
dbarrosop@dravetech.com
37d200a86c845be6d5609336099e569145bc106c
9ce891fdd998efea19f79dae4ce971f6e2d74528
/tests/test_apps/test_poller/test_managment_commands/test_poll_dynamics.py
75ef46f2e0cacc6d23b73546bdbd47d07322fe95
[ "MIT" ]
permissive
uktrade/legal-basis-api
fba0876e4e2f35223afbf29e5a096e8d38f721c4
036f0defc84e485c935d93ecc77c1c2bf60e2477
refs/heads/master
2023-08-31T15:17:02.303317
2023-08-25T08:41:56
2023-08-25T08:41:56
227,385,913
4
1
MIT
2023-09-06T18:49:38
2019-12-11T14:31:55
Python
UTF-8
Python
false
false
2,535
py
import io import pytest from mixer.backend.django import mixer from server.apps.main.models import Consent, LegalBasis from server.apps.poller.management.commands import poll_dynamics class TestDynamicsCommand: pytestmark = pytest.mark.django_db def test_email_consent_creates_if_missing(self): Cons...
[ "nick.ir.ross@gmail.com" ]
nick.ir.ross@gmail.com
deb2567b32d956ed4e674ed4a6c3b42550b00a4f
21b965f430ee6fd5772d65b2ce54287d461479ee
/python/setup.temp.py
23c01c8b4b42c53bc870791a1788a41415ce5b6b
[ "MIT" ]
permissive
hoojaoh/taichi
9610266386229957a2c0bb7f6afcaaad3c83a746
641c4b83bcf98e7354b135964cd23759b0110c6b
refs/heads/master
2023-08-31T07:33:58.991208
2019-11-01T20:01:46
2019-11-01T20:01:52
78,141,490
0
0
MIT
2019-11-01T22:20:18
2017-01-05T19:24:06
C++
UTF-8
Python
false
false
1,142
py
import setuptools import glob classifiers = [ 'Development Status :: 1 - Planning', 'Topic :: Multimedia :: Graphics', 'Topic :: Games/Entertainment :: Simulation', 'Intended Audience :: Science/Research', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Program...
[ "yuanmhu@gmail.com" ]
yuanmhu@gmail.com
77e75cde2e9917f1df2476fea3c616112c507065
d3919225e9a0af652eddd333cb5540ca065d6512
/scirex/predictors/__init__.py
5d33845887b44b1580dc4a24ed467e098d594d7d
[ "Apache-2.0" ]
permissive
viswavi/SciREX
ed230bf16f142950b60fbe4cd0bd4a49be65bb16
8e4b402e95d438c92eeecee315d389903a963b8d
refs/heads/master
2023-05-19T08:38:16.709227
2021-05-24T15:50:30
2021-05-24T15:56:30
294,549,661
0
1
Apache-2.0
2021-06-09T16:30:06
2020-09-11T00:02:13
Python
UTF-8
Python
false
false
97
py
# Because Allennlp decoding api won't work. # Need to combine paragraph stuff into document stuff
[ "successar@gmail.com" ]
successar@gmail.com
162d8945cb75bcdebb266800438923f8d7ffb325
384d0be5ac54b306b945cf38c10d9b0a44c975ea
/stack/glance/glance/tests/functional/keystone_utils.py
397fae9f593ff18fb7d69ebb6075a5c3d45caf71
[ "Apache-2.0" ]
permissive
ashokcse/openstack-bill
05ae313637b3cfecba946d2a9b32e8c7609fc721
1a3d7575d4b341f64fa1764ed47e47a7504a9bcc
refs/heads/master
2021-01-18T14:05:24.696165
2012-09-12T11:29:20
2012-09-12T11:29:20
5,424,267
5
2
null
null
null
null
UTF-8
Python
false
false
12,329
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2011 OpenStack, LLC # 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/...
[ "ashokcse@live.com" ]
ashokcse@live.com
89e45a5cc761cc4a4a3c992bcb906b1d81f2e26d
e0b5a869c687fea3c9dda138734d25b3c5e68b88
/venv/Lib/site-packages/hupper/cli.py
b6c0f6a609fb989443332a91ab55d53443a9b502
[]
no_license
asen-krasimirov/Python-OOP-Course
b74de5f83fb3e287cb206d48c3db79d15657c902
c6df3830168d8b8d780d4fb4ccfe67d1bb350f7e
refs/heads/main
2023-02-01T04:09:33.796334
2020-12-15T14:56:59
2020-12-15T14:56:59
309,389,119
2
0
null
null
null
null
UTF-8
Python
false
false
1,853
py
import argparse import runpy import sys from .logger import LogLevel from .reloader import start_reloader def interval_parser(string): """Parses the shutdown or reload interval into an int greater than 0.""" msg = "Interval must be an int greater than 0" try: value = int(string) if value ...
[ "68907559+asen-krasimirov@users.noreply.github.com" ]
68907559+asen-krasimirov@users.noreply.github.com
f4c60a6b9683e8bff777b2c1770eff89ad84842e
6e8f2e28479566dbaa338300b2d61f784ff83f97
/.history/code/datasetup_20210414095452.py
f5a12d33d825aade94f6256ddefae15b5c5a1929
[]
no_license
eeng5/CV-final-project
55a7d736f75602858233ebc380c4e1d67ab2b866
580e28819560b86f6974959efb1d31ef138198fc
refs/heads/main
2023-04-09T21:28:21.531293
2021-04-21T19:57:22
2021-04-21T19:57:22
352,703,734
0
0
null
null
null
null
UTF-8
Python
false
false
3,652
py
from PIL import Image import numpy as np import matplotlib.pyplot as plt import matplotlib.image as mpimg import pandas as pd import cv2 import os import glob from pathlib import Path def cleanTestDirs(): for f in Path('/Users/Natalie/Desktop/cs1430/CV-final-project/data/test').glob('*.jpg'): try: ...
[ "natalie_rshaidat@brown.edu" ]
natalie_rshaidat@brown.edu
b551f6a67c562c1ba60365cb11afee1bb21d6d0e
f902bfafd93fe96515f5b12fa8630b365cf71ce9
/tests/events/test_group.py
c0a25f25ff814c12d580094ebf7f0a857a69ae97
[]
no_license
hickb/Houdini-Toolbox
69e999a924f387313382c254de2771d66c649f64
5309b2608f86b12aab8e90e754269ed2d2a44653
refs/heads/master
2022-06-18T23:08:45.481414
2020-05-06T19:25:02
2020-05-06T19:25:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,481
py
"""Tests for ht.events.group module.""" # ============================================================================= # IMPORTS # ============================================================================= # Houdini Toolbox Imports import ht.events.group # =======================================================...
[ "captainhammy@gmail.com" ]
captainhammy@gmail.com
4cb2ac17b39afa644185ebcf5031f1894d4ba203
c64713cee6f47b5ac3448ff5ecb358d9f4bd5542
/todo_list/todo_list/urls.py
b18144eab99eb3d5218d3d86ecef2e95a6f2d8ea
[ "MIT" ]
permissive
ptyadana/django3-todo-app
ce902681d07e1f0ce47be6def70196a9e25168ef
0cc753e25f2ace219e51539ee511e5ed844a1d7c
refs/heads/master
2021-03-25T23:23:04.626284
2020-03-16T12:52:12
2020-03-16T12:52:12
247,654,283
1
0
null
null
null
null
UTF-8
Python
false
false
1,535
py
"""todo_list URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "ptyadana@users.noreply.github.com" ]
ptyadana@users.noreply.github.com
3a2b365370c237b7be1266a276c875045c6571b9
480e33f95eec2e471c563d4c0661784c92396368
/HeterogeneousCore/CUDAServices/scripts/cudaPreallocate.py
331ddd30f73bd19b66fea42b3c13512c272e1f22
[ "Apache-2.0" ]
permissive
cms-nanoAOD/cmssw
4d836e5b76ae5075c232de5e062d286e2026e8bd
4eccb8a758b605875003124dd55ea58552b86af1
refs/heads/master-cmsswmaster
2021-01-23T21:19:52.295420
2020-08-27T08:01:20
2020-08-27T08:01:20
102,867,729
7
14
Apache-2.0
2022-05-23T07:58:09
2017-09-08T14:03:57
C++
UTF-8
Python
false
false
1,285
py
#!/usr/bin/env python from __future__ import print_function import re import sys import argparse def main(opts): device = [] host = [] device_re = re.compile("Device.*allocated new device block.*\((?P<bytes>\d+) bytes") host_re = re.compile("Host.*allocated new host block.*\((?P<bytes>\d+) bytes") ...
[ "matti.kortelainen@cern.ch" ]
matti.kortelainen@cern.ch
5223dd247001b502827063554b4efad3205d446e
2b42b40ae2e84b438146003bf231532973f1081d
/spec/mgm4441501.3.spec
e67e344e2f6159571cddc2df4d0a27d1a2583ac7
[]
no_license
MG-RAST/mtf
0ea0ebd0c0eb18ec6711e30de7cc336bdae7215a
e2ddb3b145068f22808ef43e2bbbbaeec7abccff
refs/heads/master
2020-05-20T15:32:04.334532
2012-03-05T09:51:49
2012-03-05T09:51:49
3,625,755
0
1
null
null
null
null
UTF-8
Python
false
false
13,964
spec
{ "id": "mgm4441501.3", "metadata": { "mgm4441501.3.metadata.json": { "format": "json", "provider": "metagenomics.anl.gov" } }, "providers": { "metagenomics.anl.gov": { "files": { "100.preprocess.info": { ...
[ "jared.wilkening@gmail.com" ]
jared.wilkening@gmail.com
8093a2ae2e4f724c10c39558d775be3dd8e508b5
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=3.5_rd=1_rw=0.04_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=32/sched.py
a11fb9d9a8e363d961dbdb7bb6a5f953e71cec31
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
-X FMLP -Q 0 -L 1 66 250 -X FMLP -Q 0 -L 1 57 200 -X FMLP -Q 0 -L 1 57 400 -X FMLP -Q 0 -L 1 53 250 -X FMLP -Q 0 -L 1 45 200 -X FMLP -Q 1 -L 1 42 150 -X FMLP -Q 1 -L 1 40 125 -X FMLP -Q 1 -L 1 34 125 -X FMLP -Q 1 -L 1 32 150 -X FMLP -Q 1 -L 1 31 150 -X FMLP -Q 2 -L 1 29 100 -X FMLP -Q ...
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
28c329cdb87b9bf4ba6938afa96149d6b26b45ee
52b5773617a1b972a905de4d692540d26ff74926
/.history/compareVersions_20200909131716.py
d622cfb2cc1588914ad6545a8a07d595eeab93c4
[]
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
461
py
def compare(version1,version2): # split where there are , # then loop through both of them # if v1 > v2 return 1 # if v1 < v2 return -1 # otherwise return 0 v1 = version1.split(".") v2 = version2.split(".") v1 = [int(i) for i in v1] v2= [int(i) for i in v2] for a,b in zip(v1,...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
748cba2b3befffb2fb4003ded47dc999b5531b0a
95d7f71d2467d48e91f9e9b2ee6b668794d92b66
/official/core/base_trainer_test.py
a346173a587b1c4e65d6d4d62c357debcafb6a81
[ "Apache-2.0" ]
permissive
ChulanZhang/models
e130d43033d2f34a05fc31f345e3364ad69b4590
341fe24b69d5f9a15872641dbec6aab8a09e1d8e
refs/heads/master
2021-06-24T08:02:58.397775
2021-06-20T15:48:15
2021-06-20T15:48:15
218,371,200
1
0
Apache-2.0
2019-10-29T19:50:47
2019-10-29T19:50:46
null
UTF-8
Python
false
false
13,715
py
# 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...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
193c66f9c3f80d05c19b0f91adaa16272a94ff58
8ffaaedd45732f077a3b20dcfd1e6a11c8cd779b
/deck_chores/parsers.py
236d855ccb0ee5589e938b8724f8ba9455fdd29f
[ "ISC" ]
permissive
mumblepins-docker/deck-chores
84dc72684767dad5d31fbf9e481b9e248da44ca2
36ee7501837154581c19d1ad1cead401539eb568
refs/heads/master
2020-04-05T18:53:29.369373
2018-10-25T19:04:58
2018-10-25T19:04:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,708
py
from functools import lru_cache from collections import defaultdict import logging from typing import DefaultDict, Dict, Optional, Tuple, Type, Union # noqa: F401 from apscheduler.triggers.cron import CronTrigger # type: ignore from apscheduler.triggers.date import DateTrigger # type: ignore from apscheduler.trigge...
[ "funkyfuture@riseup.net" ]
funkyfuture@riseup.net
2bc9e59e83813ef8d9d7d458526f16966d131ff3
33a424e56d9f843c5052464d035cb1cca807ddca
/agent/temboardagent/version.py
bb3bb25db908f2a69980f1fecc915047114ac13e
[ "PostgreSQL" ]
permissive
pgiraud/temboard
9dd6cfb5d6cb5ad5cacd21b079138e9f4b7b7c49
4967cf27de8f731a05167d56a6d3bbd7550c4a3b
refs/heads/master
2022-10-12T18:34:26.950034
2022-09-23T14:25:06
2022-09-23T14:25:06
84,056,172
0
0
NOASSERTION
2021-05-21T14:37:21
2017-03-06T09:45:21
Python
UTF-8
Python
false
false
28
py
__version__ = "8.0b1.post9"
[ "etienne.bersac@dalibo.com" ]
etienne.bersac@dalibo.com
c8736f7aaa4e64d1dfec83c6618e2f4782ba1c90
d778c533a90a58bd4322ac7ad160817c519ea2d1
/models/category.py
128618c4a231257555ff68677653c9cff350535f
[]
no_license
pythonmentor/OC_Projet5
c7cd38d278add858bb9cf8fe8531a1a945ce0c3b
3ace454c35ce1bc4c8ac4d24db25951cc2f46e3a
refs/heads/master
2020-09-26T19:28:16.321724
2019-12-06T12:30:42
2019-12-06T12:30:42
226,325,877
0
0
null
2019-12-06T12:29:26
2019-12-06T12:29:26
null
UTF-8
Python
false
false
300
py
class Category: """Class that contains the information of a category""" def __init__(self): self.name = "" self.products = [] @property def count(self): return len(self.products) def __repr__(self): return f"Category({self.name})"
[ "benjamin.rejaud@gmail.com" ]
benjamin.rejaud@gmail.com
51b72cc978fa82d5916f05f291fe4eac44222e17
bfc25f1ad7bfe061b57cfab82aba9d0af1453491
/data/external/repositories/238397/ucla-cs145-kaggle-master/ccle-submission/multinomialnbclassifier.py
5a9a20565693a2cfe7a371515cbdf9ca2d105af1
[ "MIT" ]
permissive
Keesiu/meta-kaggle
77d134620ebce530d183467202cf45639d9c6ff2
87de739aba2399fd31072ee81b391f9b7a63f540
refs/heads/master
2020-03-28T00:23:10.584151
2018-12-20T19:09:50
2018-12-20T19:09:50
147,406,338
0
1
null
null
null
null
UTF-8
Python
false
false
864
py
""" multinomialnbclassifier.py Builds a Multinomial NB classifier ~75 pct accuracy, 0m7.843s execution time """ from classifier import Classifier from matrixdatabase import MatrixDatabase from sklearn.naive_bayes import MultinomialNB import numpy as np class MultinomialNBClassifier(Classifier): def __init__(self...
[ "keesiu.wong@gmail.com" ]
keesiu.wong@gmail.com
fc77fc4b71fbf255ed35ce57035c54569e418768
9617203960dccb356b775c69d901ad815b9282bb
/racf_audit/racf_audit.py
a33f5d2417d86bffc64a7f1a41158eb9d84e8230
[ "MIT" ]
permissive
smlbiobot/SML-Cogs
5b97e7df0b1126a6daf22829f82adb84c3e35ee0
31e8553183b87dce76fdf7744fc9fb1434ccc67f
refs/heads/master
2021-10-27T13:02:38.591310
2021-10-26T15:56:17
2021-10-26T15:56:17
80,660,432
17
18
MIT
2018-06-15T00:05:54
2017-02-01T20:23:30
Python
UTF-8
Python
false
false
64,137
py
# -*- coding: utf-8 -*- """ The MIT License (MIT) Copyright (c) 2017 SML 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...
[ "smlbiobot@gmail.com" ]
smlbiobot@gmail.com
51d221efc71450a9447ed1cc3d8e2b8806174042
753f729f33a1b00a0a7f5c78d217cc4c609aee6f
/n36_OrederingFilters/n36/urls.py
507187fbf8244fca6bd187503daf84ca39577cc6
[]
no_license
nayan-gujju/DRF-Code
874114a861042d558112f1a8ec95daf1356d5493
6fb3fdd5dde352e7b6e3a7363da0e7a3057b1ede
refs/heads/master
2023-08-06T12:42:23.551603
2021-10-06T11:34:54
2021-10-06T11:34:54
404,650,413
0
0
null
null
null
null
UTF-8
Python
false
false
865
py
"""n36 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vie...
[ "nayangujarati007@gmail.com" ]
nayangujarati007@gmail.com
8b53da104c687539f986a07f4980030af002b509
7b102f9c8f2e3f9240090d1d67af50333a2ba98d
/gbd_2019/cod_code/cancer/a_inputs/subtotal_recalculation/remove_subtotals.py
ff5a829c362c72125f4867f618f34104bbf1cd99
[]
no_license
Nermin-Ghith/ihme-modeling
9c8ec56b249cb0c417361102724fef1e6e0bcebd
746ea5fb76a9c049c37a8c15aa089c041a90a6d5
refs/heads/main
2023-04-13T00:26:55.363986
2020-10-28T19:51:51
2020-10-28T19:51:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,827
py
""" Description: Recalculates data in the cancer prep process to remove subtotals where possible """ import pandas as pd import time import os from sys import argv from warnings import warn # Import cancer_estimation utilities and modules from cancer_estimation.py_utils import common_utils as utils from cancer_estima...
[ "cheth@uw.edu" ]
cheth@uw.edu
71b5df77e92ee6ba445aa6fb17fe513d5fb9f7d7
fcc5570ffc9ad58630e2b67f1304d571836befac
/official/vision/keras_cv/ops/anchor_generator_test.py
cbce14a65c1e849d32e68c6d858d998c456a77c0
[ "Apache-2.0" ]
permissive
dotdotdotcg/models
5763f6cc950b309636f44c3c08d053f0eebb9930
b139a84b001e21256582c8bd73e814a73ab0a0a3
refs/heads/master
2022-12-24T04:19:32.198116
2020-09-16T19:22:09
2020-09-16T19:22:49
296,137,381
1
0
Apache-2.0
2020-09-16T20:10:40
2020-09-16T20:10:39
null
UTF-8
Python
false
false
6,229
py
# Copyright 2020 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...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
494a53f4c738dcec70676f42bc59460e67fa53ba
b5ce6908490cfb8e6a1e1cbe4745d675122ddce0
/questions/k-th-symbol-in-grammar/Solution.py
d62e6361a6009041beb89ea612a42e384f3f4fe0
[ "MIT" ]
permissive
franklingu/leetcode-solutions
8895910f13208e1d8e604100d84c2dd35684cde4
7ad7e5c1c040510b7b7bd225ed4297054464dbc6
refs/heads/master
2023-01-09T01:34:08.097518
2023-01-02T02:05:35
2023-01-02T02:05:35
43,345,677
155
66
MIT
2020-10-02T03:41:36
2015-09-29T04:54:38
Python
UTF-8
Python
false
false
935
py
""" On the first row, we write a 0. Now in every subsequent row, we look at the previous row and replace each occurrence of 0 with 01, and each occurrence of 1 with 10. Given row N and index K, return the K-th indexed symbol in row N. (The values of K are 1-indexed.) (1 indexed). Examples: Input: N = 1, K = 1 Outp...
[ "franklingujunchao@gmail.com" ]
franklingujunchao@gmail.com
1b6242cc2272740736622a7bc9fd18cbcd0a0ef0
ac45b55915e634815922329195c203b1e810458c
/astro1304_1.py
7ce6f2048aa3388427b9a63bb2c1492b20518b8b
[]
no_license
mj1e16lsst/iridisPeriodicNew
96a8bfef0d09f13e18adb81b89e25ae885e30bd9
dc0214b1e702b454e0cca67d4208b2113e1fbcea
refs/heads/master
2020-03-23T15:01:23.583944
2018-07-23T18:58:59
2018-07-23T18:58:59
141,715,292
0
0
null
null
null
null
UTF-8
Python
false
false
12,056
py
from operator import add #from astropy import units as u #from astropy.coordinates import SkyCoord #from astropy.stats import LombScargle #from gatspy.periodic import LombScargleFast from functools import partial #from gatspy import periodic #import matplotlib.pyplot as plt #from matplotlib.font_manager import FontProp...
[ "mj1e16@soton.ac.uk" ]
mj1e16@soton.ac.uk
c12364c22ce13ee4fe369445973e916b88a5835e
53faa0ef3496997412eb5e697bc85eb09a28f8c9
/math/0x04-convolutions_and_pooling/0-convolve_grayscale_valid.py
007b84962f728009944922618a67fe435f3944a9
[]
no_license
oran2527/holbertonschool-machine_learning
aaec2ffe762b959573f98a5f4e002272a5d643a3
8761eb876046ad3c0c3f85d98dbdca4007d93cd1
refs/heads/master
2023-08-14T00:37:31.163130
2021-09-20T13:34:33
2021-09-20T13:34:33
330,999,053
0
2
null
null
null
null
UTF-8
Python
false
false
711
py
#!/usr/bin/env python3 """ Convolution on grayscale """ import numpy as np def convolve_grayscale_valid(images, kernel): """ Convolution on grayscale """ # Input dimensions m = images.shape[0] ih = images.shape[1] iw = images.shape[2] # Kernel dimension kh = kernel.shape[0] kw = kernel...
[ "orlago250183@gmail.com" ]
orlago250183@gmail.com
1a13a0caabf926ff2a9d38360ddfafe0169a2959
96ca1945a32c5ea708d4871e320a2f19b557e68b
/testing_utils.py
b4e94e411fa42d9444a6ae40cfec29b2beaa5874
[]
no_license
u8sand/backup
81922941296c0b1e9f1fc4e2b851e3691421b8cc
9d44bd541b36069acc9610a9719eff8ea9c2e0d7
refs/heads/master
2021-05-11T15:33:28.376210
2018-01-30T22:23:20
2018-01-30T22:23:20
117,734,883
2
3
null
null
null
null
UTF-8
Python
false
false
2,810
py
#!/usr/bin/env python3 import os import uuid import shutil from subprocess import Popen from unittest import TestCase class ExtendedTestCase(TestCase): ''' Add file/path manipulation tools for seemlessly creating files and directories under a test_root. ''' def setUp(self): self.test_root = os.environ....
[ "u8sand@gmail.com" ]
u8sand@gmail.com
335b3e3a28a63dd8854139e58998b6ee0405e682
3ea7398c58b2f9550c23dcd5f9ca49b6285783f6
/Flowbade/Flowblade/editorstate.py
72a2f69c61e876a3c5f861b775172f0a097dda15
[]
no_license
nyancat18/flowbade
69b4f811db67576c69faa2b5ad422b46f532b8a0
089238151dac950d2b603b08ab6d112d4c9bf241
refs/heads/master
2021-05-30T00:35:14.902084
2015-04-12T13:27:21
2015-04-12T13:27:21
33,707,740
1
0
null
null
null
null
UTF-8
Python
false
false
4,230
py
""" Flowblade Movie Editor is a nonlinear video editor. Copyright 2012 Janne Liljeblad. This file is part of Flowblade Movie Editor <http://code.google.com/p/flowblade>. Flowblade Movie Editor is free software: you can redistribute it and/or modify it under the terms of the GNU General Public Lice...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
5a05ca58b3b2a03658566d323a0ecb09b062f0ea
5436cf0a4fea55b1db00e02091423bc7c3591420
/src/google/events/cloud/video/transcoder_v1/types/__init__.py
fb34680e81ed0befdad68826cc7aaf16737c0773
[ "Apache-2.0" ]
permissive
googleapis/google-cloudevents-python
427341933bfe06e632c22b3f6f448b9b077668bc
d1e753b3ecb3f9c14e0f3ff9422205652c4c4296
refs/heads/main
2023-08-22T20:59:04.345364
2023-08-10T22:58:54
2023-08-10T22:58:54
273,051,026
24
8
Apache-2.0
2023-09-14T05:15:58
2020-06-17T18:33:15
Python
UTF-8
Python
false
false
1,347
py
# -*- coding: utf-8 -*- # Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
googleapis.noreply@github.com
d911d41ea10e898e5e480de12c41a924ed6978ed
f0257428fed2a5f10950ee52e88a0f6811120323
/study_oldboy2/Day14/9_def_作用域.py
11358cbf50f9fec1916da9b9e42c599589e0a641
[]
no_license
tata-LY/python
454d42cc8f6db9a1450966aba4af6894e1b59b78
55d13b7f61cbb87ff3f272f596cd5b8c53b807c5
refs/heads/main
2023-04-08T19:31:57.945506
2021-04-19T05:39:17
2021-04-19T05:39:17
328,880,464
0
0
null
null
null
null
UTF-8
Python
false
false
1,674
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # @Time : 2021-1-21 15:35 # @Author : liuyang # @File : 9_def_局部变量.py # @Software: PyCharm """ 全局与局部变量 在子程序中定义的变量称为局部变量,在程序的一开始定义的变量称为全局变量。 全局变量作用域是整个程序,局部变量作用域是定义该变量的子程序。 当全局变量与局部变量同名时: 在定义局部变量的子程序内,局部变量起作用;在其它地方全局变量起作用。 (1)变量查找顺序:LEGB,作用域局部>外层作用域>当前模块中的全局>pytho...
[ "ainiyang20@qq.com" ]
ainiyang20@qq.com
2662721ecc6945238c226f470821898bec7f597d
8ad0b51d6de026c98d3f1cbf3a0bdf2367484292
/fasta_to_bed_mito_refs.py
743c99f3a75e85c5deae5e57119eab0962419311
[]
no_license
BioXiao/repeatability
808053abaeab578fc7bbff4aa078b290ebee6bbc
fa180e03d3fb77fcd4de1b025dac06bb6b346608
refs/heads/master
2021-05-03T16:17:42.907270
2015-11-06T22:30:17
2015-11-06T22:30:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
748
py
#Tessa Pierce # 2.8.13 #Input - fasta file #Output - basic BED file ( chr_name + '\t' + start_pos + '\t' + end_pos ) import sys, re in_fasta = open(sys.argv[1], 'r') out_BED = open(sys.argv[2], 'w') fasta_lines = in_fasta.readlines() fastaDt = {} bp = 0 contig_name = re.compile('^>(\S*)') start_pos = str(0) # BE...
[ "ntpierce@gmail.com" ]
ntpierce@gmail.com
560e670b43fdbb9bce911dd7b9a26357c2f79fa4
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2470/60605/239003.py
da4f110e552b00d48262d5ee86228ecf6796cb8f
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
1,046
py
# 题目描述 # 您会得到一个表示图像的n x n 2D矩阵。 将图像旋转90度(顺时针)。 # 您需要就地执行此操作。 请注意,如果最终使用其他数组,则只会得到部分分数。 例: 如果数组是 1 2 3 4 5 6 7 8 9 然后旋转的数组变为: 7 4 1 8 5 2 9 6 3 # # 输入描述 # 第一行包含一个整数“ T”,表示测试用例的总数。 在每个测试案例中,第一行都包含一个整数“ N”,表示2D方阵的大小。 在第二行中,矩阵A [] []的元素以行主要形式用空格隔开。 # # 输出描述 # 对于每个测试用例,按行打印旋转数组的元素,每个元素用空格分隔。在新行中打印每个测试用例的输出。 t = int(input()...
[ "1069583789@qq.com" ]
1069583789@qq.com
e175e6f8593f34faa472f96e1f490c2057732095
978d1d0875da670b26bc6195a2756e4f8f5776c0
/tweets/models.py
c8188584580dfc37c233936cfb1cdc39086f49b0
[]
no_license
piyushpandey16444/TweetMe2
78515f6d92a680469e5391eff0ee7844d031e5f5
0de9fb2dbaad29a3ff62024ccb2e0fdd60b78e9a
refs/heads/master
2023-05-24T15:09:09.084888
2021-06-12T12:47:51
2021-06-12T12:47:51
354,522,512
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
from django.db import models class Tweet(models.Model): content = models.TextField(null=True, blank=True) count = models.IntegerField(null=True, blank=True, default=0) # image = models.ImageField(upload_to='images/', null=True, blank=True)
[ "piyushpandey16444@gmail.com" ]
piyushpandey16444@gmail.com
840a28961fce0ffb85635e8b111d8b2b21a57327
c4702d1a06640555829b367852138cc93ba4a161
/dym_report_titipan/report/dym_report_titipan_customer.py
fcca83ae3b33101c7559675eab9bc3e283ed5bf3
[]
no_license
Rizalimami/dym
0ecadf9c049b22ebfebf92e4eab6eaad17dd3e26
af1bcf7b77a3212bc8a8a0e41e6042a134587ed4
refs/heads/master
2020-04-08T10:56:43.605698
2018-11-27T06:44:08
2018-11-27T06:44:08
159,287,876
0
2
null
null
null
null
UTF-8
Python
false
false
46,445
py
from datetime import datetime from openerp.osv.fields import datetime as datetime_field from openerp.tools import DEFAULT_SERVER_DATETIME_FORMAT from openerp.report import report_sxw from openerp.tools.translate import _ from openerp.osv import orm from openerp.osv import fields, osv from openerp import SUPERUSER_ID im...
[ "rizal@portcities.net" ]
rizal@portcities.net
3b0d668630c013434717427be2e901eb1ee7d2e6
d5fd8bea31bcdb1133cc020c924561c1fa169e0a
/clien-eha-6.py
c722254d756c598e8cf78d9c70744760539e92fb
[]
no_license
vpalex999/ebilock_from_python_2_7
e710bba6e87fc008da8c8cd2da3a86a920c87ac9
d1f20809e5e7d0cd384df3ab0430d1f9fe0c5d48
refs/heads/master
2021-01-19T17:52:53.849002
2017-03-27T13:34:04
2017-03-27T13:34:04
88,345,834
0
0
null
null
null
null
UTF-8
Python
false
false
6,532
py
# This is the Twisted Clien EHA Now! client, version 5.0. # NOTE: This should not be used as the basis for production code. # It uses low-level Twisted APIs as a learning exercise. import datetime import time from sources.ebilockorder import Ebilock_order as eb from sources.hdlc import read_hdlc from twisted.internet...
[ "vpalex@mail.ru" ]
vpalex@mail.ru
111cb63365ac351b255c8417f6bb0bbb491982c6
6a61667e176b06ccdef07e84d79b382b2fb491bb
/app/companies/migrations/0003_auto_20170819_0924.py
56d406fb035e8623a86b93d5adc98f39a1de78d7
[]
no_license
vsokoltsov/Interview360Server
333f08f13b33ef88928b3e4b844f60e72ebec809
252b0ebd77eefbcc945a0efc3068cc3421f46d5f
refs/heads/master
2022-12-11T05:38:01.310133
2019-03-24T17:47:09
2019-03-24T17:47:09
95,320,167
2
3
null
2022-12-08T04:54:08
2017-06-24T20:09:08
Python
UTF-8
Python
false
false
860
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-08-19 09:24 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
[ "vforvad@gmail.com" ]
vforvad@gmail.com
52342dc8b5a7d89f6e58b45b1747bc207094f391
d7da288db4fd9fc0bb1c60c5074f290b5f70c8ef
/Aulas Python/Conteúdo das Aulas/066/lutas/minhaluta/Luta.py
db9ce0237e30d48fa2dbc4104c998353567efe1d
[]
no_license
luizdefranca/Curso-Python-IgnoranciaZero
dbf4cf342b3f3efea6fb3b8cf27bf39ed92927e9
9fbf2f25e3e6fce1f1582af0bd6bc7dbc5b9f588
refs/heads/master
2020-04-09T07:17:00.735378
2016-09-12T10:51:37
2016-09-12T10:51:37
67,999,169
1
0
null
null
null
null
UTF-8
Python
false
false
6,200
py
import random def Luta(player, inimigos): """ Função que implementa o combate entre o player e os inimigos """ #Primeiro nós selecionamos os adversários do player adversarios = CriaInimigos(player, inimigos) #Depois iniciamos o combate while True: #Imprimimos as informações do play...
[ "luizramospe@hotmail.com" ]
luizramospe@hotmail.com
d1c8fa0a98f5302eeca312559c8158a01bde5ffe
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/migrate/latest/__init__.py
72b2dce984d0bb430bb704f81cffd29cab9c9356
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,238
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** # Export this package's modules as members: from ._enums import * from .assessment import * from .get_assessment import * from .get_group import * from...
[ "noreply@github.com" ]
MisinformedDNA.noreply@github.com
d31791fd86a2922fa0cfcd9d5d211b87ada6d45d
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-6950.py
fdbaeee09ef68ef735b69519b755ed455ba338d2
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,755
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
7f22f99506b5bebdf15e7d8c3e3704cd82bfc040
95100d3a58122a81946eac46618b9e59bef1ba22
/Bin/TestModules/runReport.py
81738db4f7f51908ce3eb39fc3aa078f9df11eda
[]
no_license
ayiya-hui/automation
6fc65bf7168a2ca663d17ead66ad83adffb61cb4
d100795db2275994a40199b8935296ae30a9eb0e
refs/heads/master
2022-12-31T08:32:53.558207
2020-05-25T09:17:53
2020-05-25T09:17:53
135,518,107
2
1
null
null
null
null
UTF-8
Python
false
false
11,514
py
from runBase import baseTest class reportTest(baseTest): def __init__(self, task, testConfig): baseTest.__init__(self, task, testConfig) self.appServer=testConfig.testServer.appServer self.user=testConfig.user self.password=testConfig.password self.excludeModules=self.getExc...
[ "hhuang@fortinet.com" ]
hhuang@fortinet.com
9d7f1126d636583fafd7ccd31cb4edaf55275d14
73808fd35d78939f114928059a579857dc53c3a2
/vue/vue/urls.py
01d19add6368bc691ee2e92f0a0882cbeae660ff
[]
no_license
peng-python/vue-django
019956b81a978650a60062fcfedb2d1ace3c36c3
511ac57142aaafc302850c641cf05d66ddb9ac28
refs/heads/master
2020-03-11T10:59:22.051535
2018-04-18T09:23:44
2018-04-18T09:23:44
129,957,597
0
0
null
null
null
null
UTF-8
Python
false
false
2,304
py
"""vue URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-based ...
[ "zhenpeng_pro@sina.com" ]
zhenpeng_pro@sina.com
5b83781be109b96ede6403ee1a58bf83a838d872
90edf85e7aa474a77fbf216fdcd87ad93f48fc06
/democracy_club/apps/authorities/migrations/0014_auto_20170223_2023.py
ed558c6ef6ff10a2d2a81e5726c07d04bbe77f91
[]
no_license
rosewhiffen/Website
6c1a0446f21e1db2ed211b67ce85cea0b6596e4a
f6ea298fee9db27f9e59bad98e4549d400e58e6b
refs/heads/master
2020-03-16T19:33:34.803504
2018-03-29T14:35:37
2018-03-29T14:35:37
132,921,892
0
0
null
2018-05-10T15:46:29
2018-05-10T15:46:29
null
UTF-8
Python
false
false
1,211
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-23 20:23 from __future__ import unicode_literals from django.db import migrations import django_extensions.db.fields class Migration(migrations.Migration): dependencies = [ ('authorities', '0013_auto_20160129_1737'), ] operations =...
[ "sym.roe@talusdesign.co.uk" ]
sym.roe@talusdesign.co.uk
c9f17e345b44dfe7a6feb1ae5d3e8c193c6a6df2
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/77/usersdata/164/40279/submittedfiles/exercicio24.py
ca66652522f6f8b76cd5f7f0a329145e5a8f1f60
[]
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
222
py
# -*- coding: utf-8 -*- import math a=int(input('Digite o primeiro número: ')) b=int(input('Digite o segundo número: ')) cont=0 for i in range (a,b+1,1): if (a%i==0) and (b%i==0): cont=cont+1 print(i)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
be5c18b079aebc09c25c5c40ba297eb4165c8731
0b696d8cd64048ba12b69449f1c18923950554f3
/data_process/__init__.py
04acb8f7254c9a9497494a2c000f8bfadd1f91a4
[ "Apache-2.0" ]
permissive
cbbing/stock
4ca5117c09e571025a421a586208edd1b25e9e07
6bde95c447544b719094f045817690c54c6e730f
refs/heads/master
2020-12-25T17:13:40.198577
2020-01-13T15:46:06
2020-01-13T15:46:06
35,657,612
32
21
null
2018-01-17T12:44:28
2015-05-15T06:27:42
Python
UTF-8
Python
false
false
154
py
from data_process.Stock import * from data_process.online_data import * from data_process.native_data import * from data_process.download_stock import *
[ "cbbing@163.com" ]
cbbing@163.com
1c1871f3371ff062b95872268ff82ffd4cbc0207
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/Autodesk/Revit/DB/__init___parts/VertexPair.py
0ec4cb85639d891870a9ab932359da3669998f6f
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
1,668
py
class VertexPair(object,IDisposable): """ Indices of a pair of vertices in two CurveLoops(one vertex in each loop). VertexPair(firstVertexIdx: int,secondVertexIdx: int) """ def Dispose(self): """ Dispose(self: VertexPair) """ pass def ReleaseUnmanagedResources(self,*args): """ ReleaseUnmanagedResources(...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
e3a10d22f8cb91ee5d14990a7c18d7278c1f5f31
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/102/usersdata/171/50012/submittedfiles/av1_2.py
702e6edf58fe1a9adf9e388197dc41b5c7db2c12
[]
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
296
py
# -*- coding: utf-8 -*- import math a=int(input('digite um numero de 0 a 9:')) b=int(input('digite um numero de 0 a 9:')) c=int(input('digite um numero de 0 a 9:')) d=int(input('digite um numero de 0 a 9:')) if a!=b and a==c: print('V') elif b!=c and b==d: print('V') else: print('F')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
105d4fd585c16efac502bb18578f73439c8d6903
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03377/s653945723.py
246eff69dfc32547003acd11dc61038dcc0fab76
[]
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
95
py
a,b,c = list(map(int,input().split())) if a>c or a+b<c: print("NO") else: print("YES")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f0ebb9f664cf7e5284380bbf3c352cf6860c27e0
b3699724907850fd26cbce4509fec83a33b89760
/rllib/tests/test_timesteps.py
c1492305682446aae01fc9595fc2c2d25a1682a3
[ "Apache-2.0", "MIT" ]
permissive
BonsaiAI/ray
5e2f26a81d865a795261d11f9182aca7f07c7b97
941d30f082fe879ea30618af14327c25b5a21a74
refs/heads/master
2023-06-12T05:15:29.370188
2021-05-06T07:03:53
2021-05-06T07:03:53
233,708,687
3
5
Apache-2.0
2023-05-27T08:06:37
2020-01-13T22:41:47
Python
UTF-8
Python
false
false
1,702
py
import numpy as np import unittest import ray import ray.rllib.agents.pg as pg from ray.rllib.examples.env.random_env import RandomEnv from ray.rllib.utils.test_utils import framework_iterator class TestTimeSteps(unittest.TestCase): @classmethod def setUpClass(cls): ray.init() @classmethod d...
[ "noreply@github.com" ]
BonsaiAI.noreply@github.com
336bdc869702c500c8b1982504aaba281c351c0f
01733042e84a768b77f64ec24118d0242b2f13b8
/uhd_restpy/testplatform/sessions/ixnetwork/statistics/view/page/egressrxcondition/egressrxcondition.py
d95178dd731803868df29c939e8d7d24fa0a8fa2
[ "MIT" ]
permissive
slieberth/ixnetwork_restpy
e95673905854bc57e56177911cb3853c7e4c5e26
23eeb24b21568a23d3f31bbd72814ff55eb1af44
refs/heads/master
2023-01-04T06:57:17.513612
2020-10-16T22:30:55
2020-10-16T22:30:55
311,959,027
0
0
NOASSERTION
2020-11-11T12:15:34
2020-11-11T12:06:00
null
UTF-8
Python
false
false
3,130
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # 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, ...
[ "andy.balogh@keysight.com" ]
andy.balogh@keysight.com
c26de64b8d6fd3f0da379da7c401c638cf8969d6
0de3b5280354af68bc8c4103100d712d0607e014
/tests/kbcr/clutrr/test_adv.py
bedfd910c6a821fcaffa87af09e3346a2f16cc81
[ "MIT" ]
permissive
uclnlp/ctp
e2609a39b8c2663c61fe3f93be937ee3b8f5f5c4
8cd7e639024f2aa28bdae4783e940cad784580ae
refs/heads/master
2023-04-18T05:48:21.788361
2021-04-30T20:47:07
2021-04-30T20:47:07
279,368,568
48
17
null
null
null
null
UTF-8
Python
false
false
21,949
py
# -*- coding: utf-8 -*- import numpy as np import multiprocessing import torch from torch import nn, Tensor from ctp.kernels import GaussianKernel from ctp.clutrr.models import BatchNeuralKB, BatchHoppy, BatchUnary, BatchMulti from ctp.reformulators import SymbolicReformulator from typing import List, Dict, Tuple,...
[ "p.minervini@gmail.com" ]
p.minervini@gmail.com
808fcfbbf732fe7f8436b93771450de2e33a8cb4
466912406272829982f75854cf0104c6ce8c9814
/data/nlp/track/tmp.py
031fa1205e2783960588d484b6d4c1b5cd5642d6
[]
no_license
logonmy/Codes
9631fa103fc499663361fa7eeccd7cedb9bb08e4
92723efdeccfc193f9ee5d0ab77203c254f34bc2
refs/heads/master
2021-09-21T18:07:22.985184
2018-08-30T05:53:26
2018-08-30T05:53:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,410
py
# -*- coding: utf-8 -*- __author__ = 'victor' import os import sys reload(sys) sys.setdefaultencoding('utf-8') sys.path.append(os.path.join(os.path.split(os.path.realpath(__file__))[0], '..')) sys.path.append(os.path.join(os.path.split(os.path.realpath(__file__))[0], '../../util')) import db as dbcon from common impo...
[ "hush_guo@163.com" ]
hush_guo@163.com
30dec1a9be83b00f6ed9174d5ccf3617c4b66aea
527a8837c449d7fd0ccacf33cd6e6be0d6308038
/oldcode/xmlCorpusLoop.py
96dff5041619012db1cd619e06fab35d69c37079
[]
no_license
nparslow/L2FrenchWritingAnalyser
c4539cf67f6885224d83890c31d95080c49fa175
6708e560d65120d1946f1d08a460ca8fe97a548f
refs/heads/master
2020-12-07T03:50:12.090153
2015-07-18T18:28:12
2015-07-18T18:28:12
39,304,412
0
0
null
null
null
null
UTF-8
Python
false
false
1,030
py
# coding=utf-8 import codecs import os __author__ = 'nparslow' import xml.etree.cElementTree as ET path = "/home/nparslow/Documents/AutoCorrige/CEFLE/longitudinal" for filename in os.listdir(path): tree = ET.parse(path + "/" + filename) root = tree.getroot() all_text = "" last_was_apostrophe = Tru...
[ "nparslow@yahoo.com.au" ]
nparslow@yahoo.com.au
ab5b0270f72209402c70b87a82d085eb59ca8f4f
ceadb36233359cee0fcaa0f849e59c0039d5a87f
/3-1-hold/main0.py
1b7b5c07fc51965e1a097c7882321f8bb73af438
[]
no_license
Mia9469/Rodgers2014
df1a6150f2fa0e3470293d868a2d46f0bd8d6065
390b6089c429877dfea9c56de153bbea0380c20f
refs/heads/master
2021-06-04T08:02:06.087375
2016-07-10T00:17:44
2016-07-10T00:17:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,909
py
# Dump spike counts from hold period import numpy as np, os.path import pandas, itertools import kkpandas, kkpandas.kkrs from ns5_process import myutils, LBPB import my, my.dataload # Hooks to data gets = my.dataload.getstarted() unit_db = gets['unit_db'] # How long the hold should be, and how long to count over ra...
[ "xrodgers@gmail.com" ]
xrodgers@gmail.com
f1ab6f8fa8edb10c1c354289961b3a2f8731e8ff
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/point/early_time_or_high_place/different_hand/number/good_person/government.py
085d09201044cdb189e8aaa8ae78550b56fea60a
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
#! /usr/bin/env python def find_government(str_arg): little_thing_or_time(str_arg) print('work_and_government') def little_thing_or_time(str_arg): print(str_arg) if __name__ == '__main__': find_government('hand')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
a14df9c5a985dd02e45fa975f779a368158c9797
9f09ecfed34f5014116a1c7afadec2b9c07e9971
/example_project/some_modules/third_modules/a18.py
9f36c1164a3702ab0485b738acd3c9f2bf338912
[ "MIT" ]
permissive
Yuriy-Leonov/cython_imports_limit_issue
a04ce73e8c750f3a61d7aaacaf58665273bf4a49
2f9e7c02798fb52185dabfe6ce3811c439ca2839
refs/heads/master
2020-09-11T23:57:56.677138
2019-11-18T17:48:50
2019-11-18T17:51:07
222,232,874
0
0
null
null
null
null
UTF-8
Python
false
false
20
py
class A18: pass
[ "tavoseg@gmail.com" ]
tavoseg@gmail.com
0037abc0f444dbbec4df0a3f252b3e8007b9d2da
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-network-security/google/cloud/network_security_v1/services/network_security/transports/rest.py
1e9b9a7875e486763dc49c8f13f26e58a11ff9da
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
125,821
py
# -*- coding: utf-8 -*- # Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
googleapis.noreply@github.com
ddd34ea08596d2d05159f6914cffcb9e00684c2d
d1c2d00078520cd556f60b7213c27856f8b3460d
/sdks/python/apache_beam/ml/gcp/recommendations_ai_test.py
2f688d97a3091221ac592f6c7946043b53143aaa
[ "BSD-3-Clause", "MIT", "LicenseRef-scancode-protobuf", "Apache-2.0", "Python-2.0" ]
permissive
apache/beam
ed11b9e043465c720659eac20ac71b5b171bfa88
6d5048e05087ea54abc889ce402ae2a0abb9252b
refs/heads/master
2023-09-04T07:41:07.002653
2023-09-01T23:01:05
2023-09-01T23:01:05
50,904,245
7,061
4,522
Apache-2.0
2023-09-14T21:43:38
2016-02-02T08:00:06
Java
UTF-8
Python
false
false
7,200
py
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
[ "noreply@github.com" ]
apache.noreply@github.com
14d51b560479208f47425e4e8fc427bfc9227c73
732df6649e8e2738bd2003c22f3617cfe52ed17e
/query_climate.py
742f837bad34acd7ccf5c19d3d5a119f0323f217
[]
no_license
perrygeo/climate_explorer
62dbf978bdc9f44667cade639868fdacf912267c
07babca0ef3f8e0a895aa5af1abb58b4fdd74d02
refs/heads/master
2021-01-22T07:02:47.622845
2014-02-08T22:58:37
2014-02-08T22:58:37
16,056,636
1
0
null
null
null
null
UTF-8
Python
false
false
1,931
py
from rasterstats import raster_stats import os raster_dir = "./clipped_imgs" def raster_path(year, climate, variable): if year == 1990: path = os.path.join(raster_dir, "current_%s.img" % variable) else: path = os.path.join(raster_dir, "%s_y%d_%s.img" % (climate, year, variable)) return pa...
[ "perrygeo@gmail.com" ]
perrygeo@gmail.com
c74d7ffa0dd90e80a48ea08c87bf81bc2fc53607
c9500ad778b8521aaa85cb7fe3239989efaa4799
/plugins/office365_admin/komand_office365_admin/actions/assign_license_to_user/__init__.py
763ad05f614040e316f56f349e86d88b005cd945
[ "MIT" ]
permissive
rapid7/insightconnect-plugins
5a6465e720f114d71b1a82fe14e42e94db104a0b
718d15ca36c57231bb89df0aebc53d0210db400c
refs/heads/master
2023-09-01T09:21:27.143980
2023-08-31T10:25:36
2023-08-31T10:25:36
190,435,635
61
60
MIT
2023-09-14T08:47:37
2019-06-05T17:05:12
Python
UTF-8
Python
false
false
80
py
# GENERATED BY KOMAND SDK - DO NOT EDIT from .action import AssignLicenseToUser
[ "noreply@github.com" ]
rapid7.noreply@github.com
4a902be01b8b5dd1a3238c1130c12ec595e0ddb0
2c1429a1bd2d0477fd88119d4d778fc68c82adcf
/python/DeepSeaScene/IndexBuffer.py
397c1a1a357be311c9f32e54a38971b3342dbb12
[ "Apache-2.0" ]
permissive
akb825/DeepSea
d7ac54f6d8243d43d6ea538159f3067ab7e79880
5a909b4f51717bc59682e51ad6aa598a25a9b965
refs/heads/master
2023-08-31T23:45:19.533393
2023-08-29T07:30:36
2023-08-29T07:30:43
142,716,767
10
2
null
null
null
null
UTF-8
Python
false
false
2,612
py
# automatically generated by the FlatBuffers compiler, do not modify # namespace: DeepSeaScene import flatbuffers from flatbuffers.compat import import_numpy np = import_numpy() class IndexBuffer(object): __slots__ = ['_tab'] @classmethod def GetRootAs(cls, buf, offset=0): n = flatbuffers.encode...
[ "akb825@gmail.com" ]
akb825@gmail.com
9d9eaab6ec3230e2066106997cb6c35f43d5577d
999ed80db247794159be1d752bc6f0fc272bd117
/tests/ecmp/inner_hashing/conftest.py
26e8d2a0420bfa4ccd879764c834daf109fe0f5c
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
ramakristipati/sonic-mgmt
7fee876412f0121da96d751f7d199690c73496f3
a86f0e5b1742d01b8d8a28a537f79bf608955695
refs/heads/master
2023-08-31T07:55:38.446663
2023-08-31T06:34:53
2023-08-31T06:34:53
315,448,103
2
0
NOASSERTION
2020-11-23T21:44:07
2020-11-23T21:44:07
null
UTF-8
Python
false
false
22,632
py
import time import json import logging import tempfile import re import allure from datetime import datetime import pytest from tests.common.fixtures.ptfhost_utils import copy_ptftests_directory, change_mac_addresses # noqa F401 from tests.common.config_reload import config_reload logger = logging.getLogger(__nam...
[ "noreply@github.com" ]
ramakristipati.noreply@github.com
170cd1ce1091294f52973e80ad4029682e10964e
303d4aa8ec749844d2f7472e1006b46379c62bc6
/函数/函数2/装饰器.py
d8a03f5617ac5c028cd9497c45d790bfd9af6ad3
[]
no_license
suntyneu/test
d6f63791006785518d8e4c92d89018049396dd01
a05f93fe71cdd0594fba180e0bed52d402b47bb2
refs/heads/master
2023-03-26T10:55:28.214978
2021-03-20T07:04:03
2021-03-20T10:02:38
349,372,793
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
""" 加入购物车,付款,修改收货地址 判断用户的登录状态 """ def func(number): a = 100 def inner_func(): nonlocal a # nonlocal关键字用来在函数或其他作用域中使用外层(非全局)变量。 nonlocal number number += 1 for i in range(number): a += 1 print('修改后的a:', a) return inner_func f = ...
[ "19904270266@189.cn" ]
19904270266@189.cn
5f18c00fcfdc8f112083cb032dbcd66e7ce7f380
030724b60fb4f8b63953b7401702a98072993e94
/python/377.combination_sum_IV.py
fd65f6e461fd38abe5d720e829de8e15480f6bbb
[]
no_license
MtTsai/Leetcode
5f51a892b78cf6427ce2b4891a10bc2d4ed4d972
21e83294aee779a16a8c1b96089da4a40eb03035
refs/heads/master
2021-01-24T17:17:52.909429
2019-08-04T06:53:53
2019-08-04T06:54:23
123,228,705
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
class Solution(object): def combinationSum4(self, nums, target): """ :type nums: List[int] :type target: int :rtype: int """ dp = [-1] * (target + 1) def dfs(remain): if remain < 0: return 0 elif remain == 0: ...
[ "mttsai@gmail.com" ]
mttsai@gmail.com
eeabcd7b2bf8e1d0f592997842ed392095f7ba52
56169cc42c21baeb0773a11f9dc2d14bc873e094
/sortowanie_6.py
a94c90a09eb464708222617baa9d937dca6e7597
[]
no_license
PROGRAMMINinGPYTHON/minilogia
cc1842bb1e5a388c6d7c71bb7b8412776c1ed26b
346b97671a72046d45e1736b11ba360a92f32c6f
refs/heads/master
2021-07-09T00:47:11.406056
2021-03-28T11:19:13
2021-03-28T11:19:13
234,959,810
0
0
null
2020-03-21T19:07:48
2020-01-19T20:19:22
Python
UTF-8
Python
false
false
337
py
tab = [10,0, 6, 2, 9, 1] def index(tab,d): idx = 0 for i in range(len(tab)-d): if tab[i]>tab[idx]: idx = i return idx def sortowanie(tab): for j in range(len(tab)): tmp = tab[-1-j] tab[-1-j] = tab[index(tab,j)] tab[index(tab,j)] = tmp print(tab) sortowanie...
[ "59664343+PROGRAMMINinGPYTHON@users.noreply.github.com" ]
59664343+PROGRAMMINinGPYTHON@users.noreply.github.com
37731425de101d041b382bdaf92002fa20d4511c
a3a741f27db3a8669bc49a6eb928d8b34d1ea872
/api/api/urls.py
61ce99df9872296af2724fedd4849ca21a6a7094
[ "MIT" ]
permissive
ectvalenz/virtual-queue
2f77a007d4a925e9db1a1f27fbe68c5f514ed250
b49d4bfb6f45b177b5744273316716effe306161
refs/heads/main
2023-06-18T17:26:14.922319
2021-07-05T08:55:14
2021-07-05T08:55:14
370,253,647
0
0
MIT
2021-05-24T06:41:43
2021-05-24T06:41:42
null
UTF-8
Python
false
false
840
py
"""api URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vie...
[ "jayragaile@gmail.com" ]
jayragaile@gmail.com
64d4e232124e9008442f4e0016075a19d0bd9f16
b96f7c01df9417aaf4408e794b1edcc501921c6f
/pirates/invasion/DistributedCapturePointAI.py
122c490066e5b6d1332dd418409a5a50995b70d6
[]
no_license
Puggyblue999/PiratesOfTheCarribeanOnline
492b5feec3dace921026ab1ec64603c208869a62
5c7eff12c3821d337404be0face368a5a899fff1
refs/heads/master
2021-01-22T15:10:54.858772
2015-06-25T20:30:11
2015-06-25T20:30:11
38,146,060
4
4
null
2015-07-01T18:58:11
2015-06-27T04:01:44
Python
UTF-8
Python
false
false
151
py
from pirates.movement.DistributedMovingObjectAI import DistributedMovingObjectAI class DistributedCapturePointAI(DistributedMovingObjectAI): pass
[ "bryanmuschter@hotmail.com" ]
bryanmuschter@hotmail.com
79d4f9cfc383cbeaac2f0f826b7a48b0d4cd4c37
bfe6c95fa8a2aae3c3998bd59555583fed72900a
/unhappyFriends.py
6dd8c38fa86b88748bf032e86f33aafaf5997dc0
[]
no_license
zzz136454872/leetcode
f9534016388a1ba010599f4771c08a55748694b2
b5ea6c21bff317884bdb3d7e873aa159b8c30215
refs/heads/master
2023-09-01T17:26:57.624117
2023-08-29T03:18:56
2023-08-29T03:18:56
240,464,565
0
0
null
null
null
null
UTF-8
Python
false
false
1,849
py
from typing import List class Solution: def unhappyFriends(self, n: int, preferences: List[List[int]], pairs: List[List[int]]) -> int: rank = [[0] * n for i in range(n)] for i in range(n): for j in range(n - 1): rank[i][preferences[i][j]] = j ...
[ "zzz136454872@163.com" ]
zzz136454872@163.com
f59e06352147e9d47457b91a41e3b197b9e3351e
3cedc2e0867a53ed2f36e01624f369693d1a050d
/rnn/age/rnn59.py
25a09bc78fb0d259bcc5ead651b20dba3d1880da
[]
no_license
lkpiel/mastersthesis
a471d8c6a5881e13599b22965dd3f437c83fc967
71c723b435b347d2805e159b6e10828f89541e98
refs/heads/master
2023-02-20T11:57:45.266361
2018-05-06T11:17:43
2018-05-06T11:17:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,370
py
#! /usr/bin/python3 import sys print(sys.version) import sys import pandas import numpy as np from keras.preprocessing.sequence import pad_sequences from keras.models import Sequential, load_model from keras.layers import Dense, Input, Dropout, Average, Merge, Layer, Conv2D, MaxPooling2D, GlobalAveragePooling2D, Glob...
[ "leo.piel@pipedrive.com" ]
leo.piel@pipedrive.com
6117427f4f2203c9f360c0a5e33373059c92b9a1
5218e77f02d278e43b7df687e37cd73cffd21823
/doc/samples/titlewithactions.py
20502a9b4f922ec4e0aac04df51d1a144b425612
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
pydoit/doit
12c4fa30f2153bdba69810b0393f5be19edae110
00c136f5dfe7e9039d0fed6dddd6d45c84c307b4
refs/heads/master
2023-08-03T04:41:26.397490
2023-01-16T03:40:03
2023-01-16T03:40:03
16,851,127
1,727
201
MIT
2023-03-18T18:37:45
2014-02-14T22:21:23
Python
UTF-8
Python
false
false
150
py
from doit.tools import title_with_actions def task_with_details(): return {'actions': ['echo abc 123'], 'title': title_with_actions}
[ "schettino72@gmail.com" ]
schettino72@gmail.com
9dd5fb5d4691c5e7121a41e89a339a0144b63837
033c8192a91a5804828257a653b0da615948c6bb
/Testing/Tc_01_validateLoginData.py
5c4a336c8ede31a776e9804a46aeb861b0341c07
[]
no_license
VeeraPrathapSelenium/PythonRegularSession
ea9e223c4aa4b14b15c9b560e28439ed174f5826
383e86c8d8de5460237538baef907c9a1ae410cb
refs/heads/master
2020-07-26T16:33:14.442154
2019-09-18T04:12:19
2019-09-18T04:12:19
208,704,230
0
0
null
null
null
null
UTF-8
Python
false
false
62
py
import CommonUtils.CommonUtils as lib lib.getSystemDateTime()
[ "prathap.ufttest@gmail.com" ]
prathap.ufttest@gmail.com
a0915133ff380a7418134db96fe6d7254b53f231
4be56098894a95da5964622fc4102b69e4530ab6
/题库/1152.矩阵中1的最大数量.py
ffbe1c1ad51e4b98c72a69c55f4e34c39123be58
[]
no_license
ACENDER/LeetCode
7c7c7ecc8d0cc52215272f47ec34638637fae7ac
3383b09ab1246651b1d7b56ab426a456f56a4ece
refs/heads/master
2023-03-13T19:19:07.084141
2021-03-15T09:29:21
2021-03-15T09:29:21
299,332,864
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
# !/usr/bin/env python3 # -*- coding: utf-8 -*- # @File : 1152.矩阵中1的最大数量.py
[ "1641429327@qq.com" ]
1641429327@qq.com
1b8023948d0977855ec5634e923e166d1da00558
df34265abd90ca86f1f32e54ccb451a87f21ba77
/venv/Scripts/django-admin.py
8bcd595bdab3197e287dc8439d89202ecb98c9f9
[]
no_license
njokuifeanyigerald/django-todo-app
52b0ab1bcad185e8b3177667d09beffb4116a128
b8a2837d800b43b4f7742cc72b681bf1cec2219e
refs/heads/master
2020-09-15T12:14:55.240316
2019-11-22T16:28:41
2019-11-22T16:28:41
223,440,153
1
0
null
null
null
null
UTF-8
Python
false
false
177
py
#!C:\Users\GERALD\Desktop\projects\django_todo\venv\Scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "brainboyrichmond@gmail.com" ]
brainboyrichmond@gmail.com
808e8a1ec3d2c2c70ba7f7bc81883cfe429029a8
80bd3024fd5a4e0bed6228f22421dac8bbd245d2
/muted/tools/builder.py
b650f0067e0a845e1d47c16e49377284d84bf43f
[ "MIT" ]
permissive
eddychen1597/mute7
3c77349cd3931073d682d26e422943b162e3fcb2
740218ed8c3afa18cff5b122d4685188b2c286c8
refs/heads/master
2020-06-04T07:07:57.958266
2019-06-13T05:09:02
2019-06-13T05:09:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,592
py
from __future__ import annotations from typing import List from typing import NamedTuple from typing import Optional from typing import Tuple from pathlib import Path from random import randint import json from component.text_component import TextComponent from entity.entity import Entity TEXT_COMPONENT = ( ...
[ "ywchiao@gmail.com" ]
ywchiao@gmail.com
f86f0965d0ad37fd0595aa8fa3f9eae95e877e72
5ec06dab1409d790496ce082dacb321392b32fe9
/clients/python/generated/swaggeraemosgi/model/com_adobe_granite_activitystreams_impl_activity_manager_impl_properties.py
b38afcffa6693afe20b7b2d3ba5e55aaeff52253
[ "Apache-2.0" ]
permissive
shinesolutions/swagger-aem-osgi
e9d2385f44bee70e5bbdc0d577e99a9f2525266f
c2f6e076971d2592c1cbd3f70695c679e807396b
refs/heads/master
2022-10-29T13:07:40.422092
2021-04-09T07:46:03
2021-04-09T07:46:03
190,217,155
3
3
Apache-2.0
2022-10-05T03:26:20
2019-06-04T14:23:28
null
UTF-8
Python
false
false
7,435
py
""" Adobe Experience Manager OSGI config (AEM) API Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API # noqa: E501 The version of the OpenAPI document: 1.0.0-pre.0 Contact: opensource@shinesolutions.com Generated by: https://openapi-generator.t...
[ "cliffano@gmail.com" ]
cliffano@gmail.com
9c891b29da45ad9b7e6b4ae7922f68698db1a860
63f9a0d150cbef75f4e6e8246dc7ecac3f3b6d09
/python/ray/tests/test_dask_callback.py
58c720cea2242d98fd8b42232382f109776961c7
[ "Apache-2.0", "MIT" ]
permissive
ray-project/maze-raylit
79f0a5af9fe4bdc13a2d5b3919da867ed5439aab
a03cd14a50d87d58effea1d749391af530d7609c
refs/heads/master
2023-01-23T04:23:35.178501
2020-12-04T22:34:14
2020-12-04T22:34:14
318,274,659
5
0
Apache-2.0
2020-12-04T22:34:15
2020-12-03T17:47:58
Python
UTF-8
Python
false
false
6,755
py
import dask import pytest import ray from ray.util.dask import ray_dask_get, RayDaskCallback @dask.delayed def add(x, y): return x + y def test_callback_active(): """Test that callbacks are active within context""" assert not RayDaskCallback.ray_active with RayDaskCallback(): assert RayDas...
[ "noreply@github.com" ]
ray-project.noreply@github.com
c1bdc4d4f3870d1c617490e734ad946b2b8c6080
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02841/s981909864.py
86381bef5b1eab04773a3c0bebcca4b8c75e0cf4
[]
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
126
py
m1,d1=(int(x) for x in input().split()) m2,d2=(int(x) for x in input().split()) if m1!=m2: print('1') else: print('0')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
bf62e0d535ce2338980b562465fc20a767f3fdf2
4b3f719ea1bb06c1bc679cbb9a1e542e20d797df
/ini.py
0ef9fc7cef456182570b7a7091c483253a2b1bfb
[ "MIT" ]
permissive
peitaosu/INI
9144912990fe704231f6132be5f564206e07a7f7
696858910e6dc48305fea1c307803bb3a1e92062
refs/heads/master
2020-03-31T05:36:41.862436
2018-11-04T14:59:35
2018-11-04T14:59:35
151,952,491
0
0
null
null
null
null
UTF-8
Python
false
false
3,478
py
import os, sys, codecs, json, optparse class INI(): def __init__(self): self.ini_file_path = None self.json_file_path = None self.ini = {} self.ini_str = None self.ini_file_encode = "utf-8" def read_from_ini(self, file_path): """read ini string from *.ini fi...
[ "peitaosu@163.com" ]
peitaosu@163.com
2664d96ec03ad596d045b7f873f560f7749cd96c
1d7be9d6cf8fbe8b56f384e4d9596e1ada2aab9a
/search_face_project/search_face_project/urls.py
26d4f9a805dc4f361c91781c9e33fbf81c080515
[ "MIT" ]
permissive
leifos/search-face
04dba91afaf4687245e012ef180233428fbd3cc2
cbeac746b7a7ff0acbfcb5a2640cc525a37512e1
refs/heads/master
2021-01-23T01:41:33.269883
2019-05-16T14:15:24
2019-05-16T14:15:24
85,927,498
2
3
null
null
null
null
UTF-8
Python
false
false
821
py
"""search_face_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='hom...
[ "leifos@acm.org" ]
leifos@acm.org
f001086d1729d767ec38b2a99d86d2c69f5ba7c4
cdfcc31dec578e7e0bd98f409b885927460a0198
/tensorflow/python/ops/structured/structured_tensor_test.py
9faea58e2d92e5a33503d318cc61fd5a07bbb42e
[ "Apache-2.0" ]
permissive
ChaoXiang661/tensorflow
56c222feae334f91729778073b8342f279967c74
96e32564c0df0566fb2db72288ff805c41127df8
refs/heads/master
2020-08-09T11:20:46.198008
2019-10-09T23:24:08
2019-10-10T02:40:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,568
py
# Copyright 2019 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...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
f1216f94c4d029b431983263e6250f303cb2417a
08f6237dee72a476b258ee6c4bfc6e20bb307e2b
/infy.py
51d53be900671fe4d440968560ee1a9f919d090c
[]
no_license
0siris7/Think-python-repo
2fa110898f6be9c922b6988605bb46dcc2140ef1
ea126cea4040b88d78a5ab54345fe966ba1b4a8c
refs/heads/master
2020-06-25T17:54:26.987797
2020-01-21T17:44:53
2020-01-21T17:44:53
199,383,165
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
a = input('enter string: ') k = dict() z = [x for x in a.split(',')] print(z) for i in z: c, d = i.split(':') k[d] = c count = 0 for i,j in k.items(): for k in i: count += int(k) ** 2 if count % 2 == 0: templist = list(j) for w in templist: if w == 'Z': ...
[ "sarang.prakash2@gmail.com" ]
sarang.prakash2@gmail.com
995c702c61f1226e8cc9835500b7b1c034277d5b
d3d2204d297b4db67e17455aef3c7078cb851809
/function_scheduling_distributed_framework/timing_job/__init__.py
4397957704ee55a97daebd6924a1017774b96865
[ "Apache-2.0" ]
permissive
fengyinws/distributed_framework
b9a9bc3af54342ec51b6e46b3e4b03e39097c9a8
2920873b42bde893d813cf9278cc1e63157cad03
refs/heads/master
2023-04-05T08:21:38.889153
2021-04-18T05:51:13
2021-04-18T05:51:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,697
py
""" 集成定时任务。 """ import time from typing import Union import threading from apscheduler.schedulers.background import BackgroundScheduler from apscheduler.util import undefined from function_scheduling_distributed_framework import frame_config from function_scheduling_distributed_framework.consumers.base_consumer impor...
[ "909686719@qq.com" ]
909686719@qq.com
aca0a770ee0f119ae68d895e6219d167ef69a13e
e4901ff88a550e4a7427671c16212c2141090add
/data_structures_and_algorithms/challenges/left_join/hash_table.py
947a6ffe09878304fbe4291411f30a6b23723742
[]
no_license
Osama-Yousef/data-structures-and-algorithms-python
bbcd7e16798d35abec318dbc9adf159c3650fc68
a2258cdfe039a86f27874db5c8aa7e029061f05b
refs/heads/master
2022-12-26T23:13:18.048479
2020-10-07T19:05:58
2020-10-07T19:05:58
288,030,706
3
1
null
2020-10-07T19:06:00
2020-08-16T21:56:15
Python
UTF-8
Python
false
false
1,711
py
class HashTable: def __init__(self, length=1024): self.length = length self.hash_table = [None]*self.length self.idx = 0 def add(self, key, value=None): hsh = self.hash(key) if not self.hash_table[hsh]: self.hash_table[hsh] = [] self.hash_table[hsh...
[ "osamawalidyousef@gmail.com" ]
osamawalidyousef@gmail.com
15b38bb974a6a899ed3056670dde7926eeb1ea21
99eb4013a12ddac44042d3305a16edac1c9e2d67
/shexer/io/graph/yielder/multi_tsv_nt_triples_yielder.py
5d246feb9e3a91084c9ca3643bd7dc98d04ca976
[ "Apache-2.0" ]
permissive
DaniFdezAlvarez/shexer
cd4816991ec630a81fd9dd58a291a78af7aee491
7ab457b6fa4b30f9e0e8b0aaf25f9b4f4fcbf6d9
refs/heads/master
2023-05-24T18:46:26.209094
2023-05-09T18:25:27
2023-05-09T18:25:27
132,451,334
24
2
Apache-2.0
2023-05-03T18:39:57
2018-05-07T11:32:26
Python
UTF-8
Python
false
false
1,146
py
from shexer.io.graph.yielder.tsv_nt_triples_yielder import TsvNtTriplesYielder from shexer.io.graph.yielder.multifile_base_triples_yielder import MultifileBaseTripleYielder class MultiTsvNtTriplesYielder(MultifileBaseTripleYielder): def __init__(self, list_of_files, allow_untyped_numbers=False, ...
[ "danifdezalvarez@gmail.com" ]
danifdezalvarez@gmail.com
d1542ce3f753c4cb0326aa5df64d5b57f37dfad7
cb4a9b53eff6d8a0db984c0e5233416bcb54b969
/src/python/codebay/l2tpserver/webui/admin/status/statusmain.py
7ae2fbfd861660f5672248d590d551f63551d005
[ "WTFPL" ]
permissive
Cloudxtreme/vpnease-l2tp
d6f2f8d6480398494ad2eb9e0d414efe6696dc9d
0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c
refs/heads/master
2021-05-29T16:17:02.563556
2013-09-05T09:44:37
2013-09-05T09:44:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
"""Main status page.""" __docformat__ = 'epytext en' from codebay.l2tpserver.webui import commonpage class StatusMainPage(commonpage.AdminPage): template = 'admin/status/main.xhtml' pagetitle = 'Status / Overview'
[ "naked@iki.fi" ]
naked@iki.fi
2cd733038fba37603a84f82eb6653cef00c4085f
e71b6d14fbdbc57c7234ca45a47329d7d02fc6f7
/flask_api/venv/lib/python3.7/site-packages/vsts/release/v4_1/models/condition.py
ca33a5f7e90defe930aac403d2d77d1f155e5f48
[]
no_license
u-blavins/secret_sasquatch_society
c36993c738ab29a6a4879bfbeb78a5803f4f2a57
0214eadcdfa9b40254e331a6617c50b422212f4c
refs/heads/master
2020-08-14T00:39:52.948272
2020-01-22T13:54:58
2020-01-22T13:54:58
215,058,646
1
0
null
null
null
null
UTF-8
Python
false
false
1,353
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -----------------------------------------------------------------...
[ "usama.blavins1@gmail.com" ]
usama.blavins1@gmail.com
2501635e9b68ea8f89461e487bd25cab38b1ead3
fb1e852da0a026fb59c8cb24aeb40e62005501f1
/kosmos-2/fairseq/fairseq/data/encoders/moses_tokenizer.py
e236dad167a037a8ed95f7fc8292b27b10d580b0
[ "LicenseRef-scancode-unknown-license-reference", "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-free-unknown", "Apache-2.0" ]
permissive
microsoft/unilm
134aa44867c5ed36222220d3f4fd9616d02db573
b60c741f746877293bb85eed6806736fc8fa0ffd
refs/heads/master
2023-08-31T04:09:05.779071
2023-08-29T14:07:57
2023-08-29T14:07:57
198,350,484
15,313
2,192
MIT
2023-08-19T11:33:20
2019-07-23T04:15:28
Python
UTF-8
Python
false
false
1,660
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from dataclasses import dataclass, field from fairseq.data.encoders import register_tokenizer from fairseq.dataclass import FairseqDataclass ...
[ "1083127130@qq.com" ]
1083127130@qq.com
27e3c8e36c7ced6976e392cde4c82b0ff2cadaba
db680f67f9cc99a7a4f5b79b000d6f8f79c784b3
/apycula/gowin_unpack.py
fb1c7599deec164fde88ca36e49b2a3c85ffaff4
[ "MIT" ]
permissive
TinyRetroWarehouse/apicula
d59d458bf754ca7f98aa8cf196ec801b016ad082
53fd16a8bc307d14677c3b1b060ab00c0a3c84ad
refs/heads/master
2023-02-25T23:39:45.680024
2021-01-30T10:41:19
2021-01-30T10:41:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,723
py
import sys import os import re import random import numpy as np from itertools import chain, count import pickle import argparse import importlib.resources from apycula import codegen from apycula import chipdb from apycula.bslib import read_bitstream from apycula.wirenames import wirenames def parse_tile_(db, row, co...
[ "pepijndevos@gmail.com" ]
pepijndevos@gmail.com
14f82160f51a7353857dd5d33efc5915525fa099
fab14fae2b494068aa793901d76464afb965df7e
/benchmarks/f3_wrong_hints/scaling_ltl_infinite_state/12-extending_bound_34.py
8784eb42fdeb81a6d79831bf3b9f3d24ee3d96a6
[ "MIT" ]
permissive
teodorov/F3
673f6f9ccc25acdfdecbfc180f439253474ba250
c863215c318d7d5f258eb9be38c6962cf6863b52
refs/heads/master
2023-08-04T17:37:38.771863
2021-09-16T07:38:28
2021-09-16T07:38:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,583
py
from typing import Tuple, FrozenSet from collections import Iterable from mathsat import msat_term, msat_env from mathsat import msat_make_constant, msat_declare_function from mathsat import msat_get_integer_type, msat_get_rational_type, msat_get_bool_type from mathsat import msat_make_and, msat_make_not, msat_mak...
[ "en.magnago@gmail.com" ]
en.magnago@gmail.com