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
f1852c7da40eb5c08990351bb1c5c7ea3197c233
7bfcb91f95d20f1199d54f91c9a095df08b44d83
/Backup/Django_Youtube/WebBanHang/user/models.py
b2d82ecc75ed2668b3c7dbb54babf9acbad04250
[]
no_license
llduyll10/backup
bcb09eb632dd0858d515aacb7132d913da4dc24c
8849d812566977f9a379d38ee1daa2ef42c02c7f
refs/heads/master
2023-02-28T11:22:23.831040
2021-02-01T17:09:55
2021-02-01T17:09:55
335,006,700
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
from django.db import models from django.contrib.auth.models import AbstractUser # Create your models here. class CustomerUser(AbstractUser): phone_number = models.CharField(default='', max_length=15) address = models.CharField(default='', max_length=255)
[ "llduyll10@gmail.com" ]
llduyll10@gmail.com
6a20c6b46f1956d64bcd5fc20261bb7af697a8eb
6679ab23bf4f0100eb07cf13be21a8c1b1ae4c1f
/Python_Team_Notes/구현/input_alpha_to_num.py
817176213e5896f5d99570aae3099f7501ab5271
[]
no_license
gimquokka/problem-solving
1c77e0ad1828fa93ebba360dcf774e38e157d7b6
f3c661241d3e41adee330d19db3a66e20d23cf50
refs/heads/master
2023-06-28T10:19:07.230366
2021-07-29T11:29:26
2021-07-29T11:29:26
365,461,737
4
0
null
null
null
null
UTF-8
Python
false
false
131
py
# a ~ z를 입력으로 받아 숫자로 전환 char = input() # ord 함수 이용 num = int(ord(char)) - int(ord('a')) print(num)
[ "gimquokka@gmail.com" ]
gimquokka@gmail.com
72caec1e57d85a6bf4b606a5228254cf3c680874
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_179/ch25_2020_03_23_14_36_52_247565.py
b77b247db72eeb75a6603e8b3a253feeebcab017
[]
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
300
py
import math g = 9.8 def calcula_distancia (velocidade, angulo): angulo_radianos = math.degrees(angulo) distancia = (velocidade**2 * math.sin(2*angulo_radianos))/g return distancia if distancia < 98: print ('Muito perto') elif distancia > 102: print ('Muito longe') else: print ('Acertou!')
[ "you@example.com" ]
you@example.com
06648aa873d47bf1a3429114bfc2a4d5585aa1c1
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_20914.py
3c20fbf20829f9b981a226ccaa46c39051a43f32
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
77
py
# py.test Tracebacks: Highlight my code, fold frames of framework --tb=short
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
01aaab4806daf83624fce5a5d71e77ac84e3cb95
714983fc24c6befe80d426dd94134d09ad2cbdfb
/env/lib/python3.6/site-packages/RestAuth/Services/migrations/0004_delete_old_m2m.py
31494a3ab34e3a19585de405f5ad81cb7bb1f511
[]
no_license
sachinlokesh05/login-registration-forgotpassword-and-resetpassword-using-django-rest-framework-
486354ffb3a397c79afc6cbb290ab1cd637f50ac
60769f6b4965836b2220878cfa2e1bc403d8f8a3
refs/heads/master
2023-01-28T22:19:13.483527
2020-01-28T14:07:53
2020-01-28T14:07:53
233,223,694
3
0
null
2023-01-07T22:10:06
2020-01-11T11:49:44
Python
UTF-8
Python
false
false
4,682
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Removing M2M table for field hosts on 'Service' db.delete_table('Services_service_hosts') def backwa...
[ "sachin.beee.15@acharya.ac.in" ]
sachin.beee.15@acharya.ac.in
52bd5b80c303f7ec03c6a84634f9654784e1fe1c
2293c76c3d18e2fcd44ded90bd40113d26285663
/pyeccodes/defs/grib2/modelName_def.py
ca5790b97b3bf22a70902abdc87628726645d7a4
[ "Apache-2.0" ]
permissive
ecmwf/pyeccodes
b1f121dbddf68d176a03805ed5144ba0b37ac211
dce2c72d3adcc0cb801731366be53327ce13a00b
refs/heads/master
2022-04-23T10:37:40.524078
2020-04-18T06:30:29
2020-04-18T06:30:29
255,554,540
9
3
null
null
null
null
UTF-8
Python
false
false
1,990
py
import pyeccodes.accessors as _ def load(h): def wrapped(h): originatingCentre = h.get_l('originatingCentre') if originatingCentre == 242: return 'cosmo-romania' if originatingCentre == 220: return 'cosmo-poland' if originatingCentre == 96: ...
[ "baudouin.raoult@ecmwf.int" ]
baudouin.raoult@ecmwf.int
fbfc207ef43a7797ae51a3f77a2080848f479024
d94be223f733daa58ce03f6f2dd701c55355f044
/docs/data/new_east_st_louis-3.py
7270fd573042b368984fc13a16e5220c497a576b
[]
no_license
emirdemirel/JAAH
7bb4f9c2a434e1df34d99596dd294b7c96836bfe
8c065c3b043ad7ac95241c242bb468fe4c731ec7
refs/heads/master
2023-02-10T14:10:52.755206
2021-01-07T23:11:02
2021-01-07T23:11:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
import siteUtils siteUtils.show5HexagramsForFileList(['../../../annotations/new_east_st_louis.json'])
[ "seva@ringrows.ru" ]
seva@ringrows.ru
469eebafcf857f87276c308ad37773ed5d6351dd
95ec78292e150591dc0587988cf3a4b9b5ad08c2
/code/srmcollider/Residues.py
988d50d1542f6b880b4d90b333ad0cef6cd72721
[]
no_license
hroest/srmcollider
40b034f4f1713d94a6f36ed78b3ed67857b47eb7
67c0a04fb21a4f089e3aab15d5ee8884b389ec44
refs/heads/master
2021-01-18T23:10:14.927217
2018-01-15T15:04:25
2018-01-15T15:04:25
10,242,093
0
2
null
2017-12-05T22:02:04
2013-05-23T11:18:25
Python
UTF-8
Python
false
false
18,191
py
""" * * Program : SRMCollider * Author : Hannes Roest <roest@imsb.biol.ethz.ch> * Date : 05.02.2011 * * * Copyright (C) 2011 - 2012 Hannes Roest * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as p...
[ "you@example.com" ]
you@example.com
8fbeae9a4326bddee26e1a4de2ade8d305654222
f87f51ec4d9353bc3836e22ac4a944951f9c45c0
/.history/HW06_20210715223105.py
d97dd858d1598f85d9ebd66b49358181614c0345
[]
no_license
sanjayMamidipaka/cs1301
deaffee3847519eb85030d1bd82ae11e734bc1b7
9ddb66596497382d807673eba96853a17884d67b
refs/heads/main
2023-06-25T04:52:28.153535
2021-07-26T16:42:44
2021-07-26T16:42:44
389,703,530
0
0
null
null
null
null
UTF-8
Python
false
false
5,070
py
""" Georgia Institute of Technology - CS1301 HW06 - Text Files & CSV Collaboration Statement: """ ######################################### """ Function Name: findCuisine() Parameters: filename (str), cuisine (str) Returns: list of restaurants (list) """ ######################################### ########## WRITE FUN...
[ "sanjay.mamidipaka@gmail.com" ]
sanjay.mamidipaka@gmail.com
bb5ebaf33900bfcc44fdc19ac42207993daeaa5f
551d993b15f7e54635cc11d7ed3ee45a2e9aacc6
/AAE/Tensorflow_implementation/unsupervised/regularized_z/model.py
df4e3fcf6ad90ce669025df91eb33dfbcfbcb10a
[ "MIT" ]
permissive
hendrikTpl/GAN_models
6185a3c112a8b45205bdd4c556164b6153fbec19
8234c7f04be39d20fe09f81511b591deab9152a9
refs/heads/master
2021-10-25T16:52:13.239290
2019-04-05T15:28:06
2019-04-05T15:28:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,844
py
from component_without_bn import * class Object: pass def build_graph(is_test=False): # Inputs images = tf.placeholder(dtype=tf.float32, shape=[None, config.ndim_x]) z_sampler = tf.placeholder(dtype=tf.float32, shape=[None, config.ndim_z]) learning_rate = tf.placeholder(dtype=tf.float32, shape=[...
[ "1019636836@qq.com" ]
1019636836@qq.com
4e84c64706c5b3dcde4f84dc13e6085aa18fa72b
61296b98e4d481893db4bc51d75652c7109ae626
/0000_examples/cobotta_g.py
116d8d398c21d519f84520776dd6e95bfdd43b4d
[ "MIT" ]
permissive
Shogo-Hayakawa/wrs
23d4560b1062cf103ed32db4b2ef1fc2261dd765
405f15be1a3f7740f3eb7d234d96998f6d057a54
refs/heads/main
2023-08-19T19:29:15.409949
2021-11-02T01:22:29
2021-11-02T01:22:29
423,663,614
0
0
MIT
2021-11-02T00:59:17
2021-11-02T00:59:17
null
UTF-8
Python
false
false
1,418
py
import visualization.panda.world as wd import grasping.planning.antipodal as gp import robot_sim.end_effectors.grippers.cobotta_gripper.cobotta_gripper as cg import modeling.collision_model as cm import modeling.geometric_model as gm import numpy as np import math base = wd.World(cam_pos=np.array([.5, .5, .5]), lookat...
[ "wanweiwei07@gmail.com" ]
wanweiwei07@gmail.com
560bbdf2d856311a383f2556ff042c6b24798d81
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/SAF-ENTERPRISE.py
25f13b95d7e50531041d277cb4e2ad47bc261ce1
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
2,343
py
# # PySNMP MIB module SAF-ENTERPRISE (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/SAF-ENTERPRISE # Produced by pysmi-0.3.4 at Wed May 1 14:59:53 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
b18c5a2b2afb8aa641c036874755e5247c1d83d0
be78d77bea1a5eea2a7f0d4090e1fc138623b79a
/cybox/test/objects/link_test.py
bac34e34bbbca2617a14995b938c2e2f2505741b
[ "BSD-3-Clause" ]
permissive
CybOXProject/python-cybox
399f73feb6a54778dca9260b1c0340a3895c6369
25e6e8b3a6f429f079d3fbd9ace3db9eb3d5ab71
refs/heads/master
2020-05-21T19:05:56.725689
2020-05-01T13:33:48
2020-05-01T13:33:48
7,631,169
43
31
BSD-3-Clause
2020-05-01T12:41:03
2013-01-15T19:04:47
Python
UTF-8
Python
false
false
980
py
# Copyright (c) 2017, The MITRE Corporation. All rights reserved. # See LICENSE.txt for complete terms. import unittest from mixbox.vendor.six import u from cybox.core import Observables from cybox.objects.link_object import Link from cybox.objects.uri_object import URI from cybox.test.objects import ObjectTestCase ...
[ "gback@mitre.org" ]
gback@mitre.org
1e8fed92b77867c5a707bc1e8cdaed3ff6f5566b
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/20ed819acd6f85b1facda3b799d3c24b3ada7ad6-<run>-bug.py
9d67f4caf81ac18c3daab8feb6cc8736cb5c336a
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,420
py
def run(self, terms, variables, **kwargs): if (not CREDSTASH_INSTALLED): raise AnsibleError('The credstash lookup plugin requires credstash to be installed.') ret = [] for term in terms: try: version = kwargs.pop('version', '') region = kwargs.pop('region', None) ...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
09d3b6f3dc518b71e5ac7013db8d512620bbe1a1
7bb64fb43c503e8f2ecf0f02619b539af3401d39
/test_files/Zr_Vasprun/test_Vasprun.py
adc1d5cc9df5295240f97a9d3801a1ca67e323a4
[ "MIT" ]
permissive
montoyjh/pymatgen
13c3179cd4cf5ff521e8380e480b23d35709c379
62ecae1c7382a41861e3a5d9b9c8dd1207472409
refs/heads/master
2023-06-09T15:02:15.309354
2019-04-03T14:39:33
2019-04-03T14:39:33
42,539,977
2
2
MIT
2019-06-21T17:15:55
2015-09-15T18:56:26
Propeller Spin
UTF-8
Python
false
false
99
py
#!/usr/bin/env python from pymatgen.io.vasp.outputs import Vasprun run = Vasprun("./vasprun.xml")
[ "shyuep@gmail.com" ]
shyuep@gmail.com
00884fcc431f3b0fc1c306f662977b63ebc1c16c
743da4642ac376e5c4e1a3b63c079533a5e56587
/build/lib.win-amd64-3.6/fairseq/modules/quantization/pq/modules/__init__.py
b6881e26bb167f75f55dacfac72238979dd74f80
[ "MIT" ]
permissive
tmtmaj/Exploiting-PrLM-for-NLG-tasks
cdae1b6e451b594b11d8ecef3c1cd4e12fe51c9b
e8752593d3ee881cf9c0fb5ed26d26fcb02e6dd5
refs/heads/main
2023-06-16T08:26:32.560746
2021-07-14T17:50:19
2021-07-14T17:50:19
371,899,601
0
0
null
null
null
null
UTF-8
Python
false
false
298
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 .qconv import PQConv2d # NOQA from .qlinear import PQLinear # NOQA from .qemb import PQEmbedding # NOQA
[ "qkrwjdgur09@naver.com" ]
qkrwjdgur09@naver.com
f89d77ec7050a0b3fad826498e49acf3dae1ad69
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/4060/157004060.py
58e52da8c9b818275d320822a6d5a4d065d5c91c
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
1,347
py
from bots.botsconfig import * from records004060 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'NP', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGN', MIN: 1, MAX: 1}, {ID: 'N1', MIN: 0, MAX: 99999, LE...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
52ae3a1a8d1d8f8f7503b9181f015b165f68bf00
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_scrubs.py
6efbee2e9b847a91a88e3d43d8c1023f95e3fd07
[ "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
231
py
from xai.brain.wordbase.nouns._scrub import _SCRUB #calss header class _SCRUBS(_SCRUB, ): def __init__(self,): _SCRUB.__init__(self) self.name = "SCRUBS" self.specie = 'nouns' self.basic = "scrub" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
9c765fca0194129caa59e74b70cc204fc59bce14
cf1e19f7b6354302037bca563b42218df7d79400
/최단경로/[2307]도로검문.py
3540a2ab6f4b48e1f02290e4e11b12bf476f0669
[]
no_license
kim-kiwon/Baekjoon-Algorithm
680565ddeced2d44506ae6720cf32d8004db42f8
4699e6551d3e7451648b9256c54ea4318b71bd4d
refs/heads/master
2023-04-13T11:10:21.031969
2021-04-26T10:50:08
2021-04-26T10:50:08
325,209,266
0
0
null
null
null
null
UTF-8
Python
false
false
1,898
py
#다익스트라 + 경로추적 import heapq n, m = map(int, input().split()) INF = int(1e9) graph = [[] for _ in range(n+1)] previous = [1] * (n+1) #이전 노드 저장 for _ in range(m): a, b, dist = map(int, input().split()) graph[a].append((b, dist)) graph[b].append((a, dist)) def dijkstra(): distance = [INF] * (n+1) ...
[ "76721493+kim-kiwon@users.noreply.github.com" ]
76721493+kim-kiwon@users.noreply.github.com
e1c2fca2bad35624293caa5c903e7e1a37fcb96d
e35eb92b5ab6547119585004b9eea3cafe948050
/efsw/archive/errors.py
3b9ac8626e58cb7513fc221356b582c5bec573f4
[]
no_license
einsfr/mmkit
0a084db85b2cf5ba268e692676095d768733f387
f12bc2f83254a3123e02abdc105816cc04c438b5
refs/heads/master
2020-12-31T05:56:19.287611
2016-06-10T05:56:58
2016-06-10T05:56:58
29,473,203
0
0
null
null
null
null
UTF-8
Python
false
false
598
py
ITEM_LINK_SELF_SELF = 'Элемент не может иметь связь с самим собой.' ITEM_LINK_TYPE_UNKNOWN = 'Неизвестный тип связи между элементами: {0}.' ITEM_NOT_FOUND = 'Элемент(ы) с ID {0} не существует(ют).' STORAGE_NOT_FOUND = 'Хранилище(а) с ID {0} не существует(ют).' STORAGE_NOT_ALLOWED_AS_ARCHIVE = 'Хранилище(а) с ID {0} нел...
[ "einsfr@users.noreply.github.com" ]
einsfr@users.noreply.github.com
9084c5e743b26571e62ba65a4df2d3ec5e68700c
a3972cb6ba32abd18b374975f4abd5318bc95f09
/project/src/yosigy/api/yosigy_list_views.py
960d32f8f54604c94ee00262c81979094695a2d5
[]
no_license
ssr03/MiniDelivery
c57bb45e497cab34787473925663ace46dbb6b2d
659d9757d1f369a6713aa5a66bab2aa5d6381b8e
refs/heads/master
2020-07-30T15:05:01.401229
2019-09-23T11:52:51
2019-09-23T11:52:51
210,267,973
0
0
null
null
null
null
UTF-8
Python
false
false
5,099
py
import enum from datetime import datetime from django.core.paginator import Paginator from django.db.models import F, Count from django.http import JsonResponse from django.views.generic.base import View from accounts.mixins import LoginRequiredMixin from restaurant.api.views import CategoryNum from yosigy.models i...
[ "43363127+ssr03@users.noreply.github.com" ]
43363127+ssr03@users.noreply.github.com
1217e3e57869565f3ec42a80986e66bb1d63dbd2
e00fe1e065b448f6f8c0472ed2b8a39991fa7b1b
/Fuzzy_clustering/version2/dataset_manager/create_datasets_pca.py
0542341ca3bd78c1d9c10831c04312420e50e87c
[ "Apache-2.0" ]
permissive
joesider9/forecasting_library
1a4ded5b09fc603f91fa1c075e79fc2ed06c08a8
db07ff8f0f2693983058d49004f2fc6f8849d197
refs/heads/master
2023-03-29T12:18:22.261488
2021-04-01T08:57:08
2021-04-01T08:57:08
319,906,316
0
0
null
null
null
null
UTF-8
Python
false
false
65,155
py
import os import joblib import numpy as np import pandas as pd from joblib import Parallel from joblib import delayed from pytz import timezone from sklearn.decomposition import KernelPCA from sklearn.model_selection import GridSearchCV from sklearn.preprocessing import MinMaxScaler from Fuzzy_clustering.version2.com...
[ "joesider9@gmail.com" ]
joesider9@gmail.com
0f41b4c555162561f877240887369c044b1fe898
3d589d1c56b55fbd2b45b03564b8a9442ebf142b
/lib/src/klio/metrics/base.py
1b50aeb1da57930cc8fba17042c72434460c2eb4
[ "Apache-2.0" ]
permissive
spotify/klio
1aff27412e92c9d699259e5ab1eaeb39dc3e9571
e625565708ed846201d2e05f782c0ce585554346
refs/heads/develop
2023-05-25T14:33:28.348335
2022-03-23T20:34:09
2022-03-23T20:34:09
285,928,366
815
57
Apache-2.0
2023-05-24T21:07:09
2020-08-07T22:02:58
Python
UTF-8
Python
false
false
5,765
py
# Copyright 2019-2020 Spotify AB # # 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 writin...
[ "lynn@spotify.com" ]
lynn@spotify.com
2682ec078d2d665c54515022a6840ddf88168001
7a1f6f1aae43b219cd34c3c9b907923fb839e6f5
/Python/Udemy/FXTRADE/pyfxtrading/pyfxtrading/28/app/controllers/webserver.py
bbf2ff35ce8221762754b16b7b6dd096ee8484a4
[]
no_license
amanoman/amanoman.github.io
b5afc80e0e49ed15db793e2ebf69003c05ab8ce0
141c928f6d1df0389859f663f6439d327d4c32d6
refs/heads/master
2023-05-28T07:22:09.735409
2021-03-31T15:00:14
2021-03-31T15:00:14
187,139,297
0
1
null
2023-05-22T23:37:24
2019-05-17T03:19:36
Jupyter Notebook
UTF-8
Python
false
false
543
py
from flask import Flask from flask import render_template import settings app = Flask(__name__, template_folder='../views') @app.teardown_appcontext def remove_session(ex=None): from app.models.base import Session Session.remove() @app.route('/') def index(): app.logger.info('index') return rende...
[ "amntkykblog@gmail.com" ]
amntkykblog@gmail.com
2dd09cf0b1134b3972740048402bc6e9ee1c97be
1ece1faa638f85c567fdb237c67340501f86f89e
/model/model_builder.py
5bc0acb8d41370c2b1905ff26fb7f1070790eb67
[]
no_license
seasa2016/transformer_random
54223ee5b04a4563c7903d925436d843b8cf7f1c
e3e13c9a2ddc49558d8e991427a974848a850b9c
refs/heads/master
2020-04-02T12:21:28.167673
2019-03-19T03:45:00
2019-03-19T03:45:00
154,429,913
0
0
null
null
null
null
UTF-8
Python
false
false
7,030
py
import torch import torch.nn as nn from torch.nn.init import xavier_uniform_,xavier_normal_ from .module.Embedding import Embedding from .util.Logger import logger from . import Constant from . import transformer def build_embedding(opt,word_dict,max_len,for_encoder=True,dtype='sum',tag=None): if(for_encoder): ...
[ "ericet1234@gmail.com" ]
ericet1234@gmail.com
b51e6caa09f683cec6c8f09fb1aca60e73ec36f0
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flasharray/FA_2_25/models/resource_performance_no_id_by_array_get_response.py
dc59892d20f80e34fb26c25e0f59584a263ca562
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
6,240
py
# coding: utf-8 """ FlashArray REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.25 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typing from ...
[ "noreply@github.com" ]
PureStorage-OpenConnect.noreply@github.com
e152459956c322f9cbc51869cd7582e46c883a4f
ca77040a488fea5410449a6ae06693c64c0d3f1a
/web/ui/views/views.py
8bf22427e4bbe80ad2a7a40c428831f5b4e2c697
[]
no_license
patricknevindwyer/space-base-otter
0565412db484b5bb8b2dbc4e8d3878fbd73f7b0b
ea7dd7649c172ca3e4c14b6df8b6715f55f746ba
refs/heads/master
2021-01-19T13:42:53.229964
2017-08-19T21:50:45
2017-08-19T21:50:45
82,412,968
0
0
null
null
null
null
UTF-8
Python
false
false
122
py
from django.shortcuts import render # Create your views here. def index(request): return render(request, "ping.html")
[ "patricknevindwyer@gmail.com" ]
patricknevindwyer@gmail.com
2455804a9deef4d3443589283af4dc9f1ef5c926
dd8227454b817ccf2ceb24b3dfd4260d4ded7a72
/scripts/item/consume_2435694.py
020e445c8c1b62894419c308afa2bc358e797d3f
[ "MIT" ]
permissive
Snewmy/swordie
0dd3c17808b064c2cb2bd9576b51daf01ae5d686
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
refs/heads/master
2023-06-30T21:14:05.225798
2021-07-06T14:32:39
2021-07-06T14:32:39
389,497,502
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
# Heroes Evan Damage Skin success = sm.addDamageSkin(2435694) if success: sm.chat("The Heroes Evan Damage Skin has been added to your account's damage skin collection.")
[ "vcalheirosdoc@gmail.com" ]
vcalheirosdoc@gmail.com
12caf078872a5634ca4638aed6dbdbd7776b5062
6097031d8e85400214085f152164a29346d106e3
/maxheap.py
7e3f269c4b2365d3684fe48cdb32ec815206f9cd
[]
no_license
ekourkchi/GalaxyGroups
2fccca4998850c0838d0c7ef949bba8b1267716a
19e98da0015b0462133133a23915e6d633614ad3
refs/heads/master
2022-04-03T09:30:19.667796
2020-02-13T03:05:48
2020-02-13T03:05:48
112,898,380
2
0
null
null
null
null
UTF-8
Python
false
false
4,137
py
#!/home/ehsan/Ureka/Ureka/variants/common/bin/python import numpy as np from math import * from copy import * class heapNode: key = None ID = None flag = False def __init__(self, key, ID): self.key = key self.ID = ID def toString(self): print self.key, self.ID, self.flag # ...
[ "ekourkchi@gmail.com" ]
ekourkchi@gmail.com
4e3d52464d257688f122a23748edd43590043b89
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flasharray/FA_2_24/models/network_interface_neighbor_capability.py
76ae203e5847eb8a031597b8f2d39119f564eac0
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
4,245
py
# coding: utf-8 """ FlashArray REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.24 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typing from ...
[ "noreply@github.com" ]
PureStorage-OpenConnect.noreply@github.com
2ecaa0902b36455da6e55c02523cefe6bcec5bfc
e5f4c22bfae93d3d96dea1b0ed8f3e4df373243f
/test.py
f3a74709481a1e1e55a6bdc81b7b3e3e0cf3f866
[]
no_license
MrLokans/discover_flask
5925a2ab07480398543d51e33c8be2cf23b2c36b
63f847409dd67725bdef754cd0041f2647dabf4e
refs/heads/master
2021-01-10T16:25:21.767911
2016-03-07T05:44:17
2016-03-07T05:44:17
52,816,186
0
0
null
null
null
null
UTF-8
Python
false
false
1,919
py
import unittest from app import app class AppTestCase(unittest.TestCase): def setUp(self): self.tester = app.test_client(self) def login(self, username, password, follow_redirects=True): return self.tester.post('/login', data={'username': username, ...
[ "trikster1911@gmail.com" ]
trikster1911@gmail.com
a145346bc456c2281fad96365f8d9a5af1f4cd7d
52b5773617a1b972a905de4d692540d26ff74926
/.history/sets_20200609191149.py
89a07ef2d3f4c49463319f9699998f9dd296f2fc
[]
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
1,000
py
import json def Strings(str): # dictionary--> key value pairs values = {} newArray = [] keys = [] for i in str: newArray.append(i.split(":")) for j in range(0,len(newArray)): if newArray[j][0] in values: values[j][0] = # if...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
8a463bda0d0c60cd4f34f3e9d156d3254165acfc
ebfcae1c5ba2997b2ac4471d5bedc3f5daffcb31
/repos/Flask-Large-Application-Example-master/tests/views/test_pypi_packages.py
27394594cc76c8ccde073c14c83e1f2757b0f036
[ "MIT" ]
permissive
babiato/flaskapp1
84de2d0b26a54f5820d3bbe97926782ad41e005c
530beb9e3b8516e0e93960b99521c23a523ef546
refs/heads/master
2023-02-26T16:36:49.760632
2021-02-04T09:08:40
2021-02-04T09:08:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,239
py
from flask import current_app from flask.ext.celery import CELERY_LOCK import pytest from redis.exceptions import LockError from pypi_portal.extensions import db, redis from pypi_portal.models.pypi import Package from pypi_portal.models.redis import POLL_SIMPLE_THROTTLE from pypi_portal.tasks import pypi class FakeD...
[ "jinxufang@tencent.com" ]
jinxufang@tencent.com
6e242cc43e2c7d24c5cfd1f02e749621f9366a0e
0bfb4208bdf7fcfd75311c777e25a3b639bf566d
/backend/code/iep/auth/models.py
fb6f856736cbe2fd1a25f1dc89baf52a17eff536
[ "Apache-2.0" ]
permissive
socek/iep
ab7833f94af739abd19f569f28de84cdcc689e95
793e35ca5304eef7b7dacb5dd8d486622f497759
refs/heads/master
2020-05-16T13:48:12.252161
2019-12-03T08:28:05
2019-12-03T08:28:05
183,082,207
0
0
Apache-2.0
2019-12-03T08:28:07
2019-04-23T19:24:49
Python
UTF-8
Python
false
false
1,193
py
from bcrypt import checkpw from bcrypt import gensalt from bcrypt import hashpw from iep.application.model import Model class User(Model): def __init__( self, uid, created_at=None, updated_at=None, name=None, email=None, is_admin=None, password=None...
[ "msocek@gmail.com" ]
msocek@gmail.com
f77ffc69cb16459c8138b3e8578323ac411365e2
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-4/5644d97cc5014e18b14799feeb9b354d528a6489-<test_invalid_interfaces>-bug.py
88bcd68511e3ab151bad7e95439f0d409610e661
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
def test_invalid_interfaces(self): event = self.create_sample_event(platform='invalid-interfaces') self.browser.get('/{}/{}/issues/{}/'.format(self.org.slug, self.project.slug, event.group.id)) self.browser.wait_until('.entries') self.browser.snapshot('issue details invalid interfaces')
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
bb4d3c4ffba8b3fdd9dae18528199a1e9560a1a0
43ede7b8fb546c00804c0ef94501f6e48ba170d6
/Cursos Python/Python 3 - Solyd/Orientacao_a_objeto.py
e902f0d109aa9feef7f8a68a9651bc74a65cd1bb
[]
no_license
bopopescu/Python-13
db407d17252473e78e705e563cfee4dbd316c6b9
c8bef500f2d3e4a63d850f96dfa219eff2ecebda
refs/heads/master
2022-11-22T16:24:08.490879
2020-06-11T14:22:24
2020-06-11T14:22:24
281,830,055
0
0
null
2020-07-23T02:26:31
2020-07-23T02:26:30
null
UTF-8
Python
false
false
1,339
py
class Cliente: def __init__(self, nome, cpf, idade): self.__nome = nome self.__cpf = cpf self.__idade = idade def dados_cliente(self): return {'nome': self.__nome, 'cpf': self.__cpf, 'idade': self.__idade} class Conta(Cliente): def __init__(...
[ "ofc.erickson@gmail.com" ]
ofc.erickson@gmail.com
ccf9a734c56a27aad1c7b63e96282803ea84b5a4
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/f1dbf6292b80b7cc67661707e7f1d8b5b0a06eb5-<check_params>-bug.py
b748d6d0116f380fc5635eaf4ef57ebc08f34ef9
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
761
py
def check_params(self): 'Check all input params' if (not self.key_id.isdigit()): self.module.fail_json(msg='Error: key_id is not digit.') if ((int(self.key_id) < 1) or (int(self.key_id) > 4294967295)): self.module.fail_json(msg='Error: The length of key_id is between 1 and 4294967295.') ...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
dfdfdc73b69afa83125300340f0252cfe3100d38
a127d0feb3bcf4f2581f385bb24f2b789c771c9c
/10syo/95_2.py
0a1ea7e35fd38d9a0daad78a923622656306fdf5
[]
no_license
NgoVanDau/nlp100knock
01383e4cc5a1470508744668103b9ea1a238b892
3ef63c0d2dfb55c0e6a31aced645f284325a98a5
refs/heads/master
2023-03-22T13:19:23.932429
2018-08-05T05:27:11
2018-08-05T05:27:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
994
py
fname_input = 'combined_out.tab' class Data: def __init__(self, human_score, my_score): self.human_score = human_score self.my_score = my_score def __repr__(self): return 'Data%s' % repr(self.__dict__) # データ配列作成 with open(fname_input) as data_file: def read_data(): for lin...
[ "kota.k.1132.pda@gmail.com" ]
kota.k.1132.pda@gmail.com
796965104f9a8b405aea58339305c0e917d2c247
7aae3051a7d08a280f7adc55b4b984bc48c87db3
/vehicle/admins/vehicle_model_admin.py
ba26d4ec5f9adf2698da8711bc9fa8bd44e5b5a4
[]
no_license
ohahlev/ahlev-django-vehicle
d087375e3b49cda9253a776f79e4531bbf0a686d
51895c200b40be7a298a4054ba2d8945df6a84d0
refs/heads/master
2020-11-30T07:00:12.441028
2020-01-21T01:25:48
2020-01-21T01:25:48
230,340,642
0
0
null
null
null
null
UTF-8
Python
false
false
1,253
py
from django.utils.html import format_html from django.contrib import admin from imagekit import ImageSpec from imagekit.admin import AdminThumbnail from imagekit.processors import ResizeToFill from imagekit.cachefiles import ImageCacheFile from ..models.vehicle_model import VehicleModel from .widgets import AdminSmalle...
[ "ohahlev@gmail.com" ]
ohahlev@gmail.com
7d19f4be3e65d55621b576d2306fd4eb58e60381
015ce35e6344d1726173594ae509dfc1ca6f856d
/2-basics/Study basics/loops.py
7ce93a431733e32e961c8476c4ae0d1bd2085bee
[]
no_license
ayman-elkassas/Python-Notebooks
4af80df75c15a6ac3049450b3920d500fef0e581
26a8265f458c40ac22965d55722f32a650851683
refs/heads/master
2023-04-03T19:12:17.707673
2021-04-10T21:32:37
2021-04-10T21:32:37
356,699,690
0
0
null
null
null
null
UTF-8
Python
false
false
120
py
count=5 while count>99: print("yes") count-=1 else: print("if") for letter in "python": print(letter)
[ "aymanelkassas88@gmail.com" ]
aymanelkassas88@gmail.com
19ef56453f855c29a72eaa6c8c52e2ca967e6a36
f8e8e365c9cf58b61d72655bc2340baeaed5baff
/Leetcode/Python Solutions/Binary Search/ValidPerfectSquare.py
c4e8a70a8beb4c70db11315cbe222321332ff181
[ "MIT" ]
permissive
Mostofa-Najmus-Sakib/Applied-Algorithm
39a69f6b9ed113efe4a420d19cad79e0aa317637
bc656fd655617407856e0ce45b68585fa81c5035
refs/heads/master
2023-08-31T19:54:34.242559
2021-11-05T03:43:35
2021-11-05T03:43:35
412,263,430
0
0
MIT
2021-09-30T23:45:29
2021-09-30T23:45:25
null
UTF-8
Python
false
false
898
py
""" LeetCode Problem 367. Valid Perfect Square Link: https://leetcode.com/problems/valid-perfect-square/ Written by: Mostofa Adib Shakib Language: Python Observation: 1) Number less than 2 will always form perfect squares so return True. 2) The number will always be in the first half of the array. Hence, we can disca...
[ "adibshakib@gmail.com" ]
adibshakib@gmail.com
ed0466956305c5f5e6955a737d43b2039c8f0fc5
2a54e8d6ed124c64abb9e075cc5524bb859ba0fa
/.history/4-functional-programming/7-list-comprehension_20200422222427.py
81d606e197ec10031073a3db9b3879a25cb59bc1
[]
no_license
CaptainStorm21/Python-Foundation
01b5fbaf7a913506518cf22e0339dd948e65cea1
a385adeda74f43dd7fb2d99d326b0be23db25024
refs/heads/master
2021-05-23T01:29:18.885239
2020-04-23T19:18:06
2020-04-23T19:18:06
253,171,611
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
#list, set, dicitonary my_list = [] for char in 'HELLO': my_list.append(char) print(my_list) dict_list = [char for char in 'good morning'] print(dict_list) num_list = [num for num in range (0, 100)] print(num_list) print("divide by 3 with no remainder") num_list3 = [num for num in range (0, 100) if(nu...
[ "tikana4@yahoo.com" ]
tikana4@yahoo.com
c2ee78250d0f3860d8ec164c11ab88e734704bed
8efd8bcd3945d88370f6203e92b0376ca6b41c87
/problems100_200/151_Reverse_Words_in_a_String.py
11b5357b6300152e2debfd6b3f1328822ffebdd4
[]
no_license
Provinm/leetcode_archive
732ad1ef5dcdfdde6dd5a33522e86f7e24ae2db5
3e72dcaa579f4ae6f587898dd316fce8189b3d6a
refs/heads/master
2021-09-21T08:03:31.427465
2018-08-22T15:58:30
2018-08-22T15:58:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
#coding=utf-8 ''' 151. Reverse Words in a String Given an input string, reverse the string word by word. Example: Input: "the sky is blue", Output: "blue is sky the". Note: A word is defined as a sequence of non-space characters. Input string may contain leading or trailing spaces. However, your reversed string...
[ "zhouxin@gmail.com" ]
zhouxin@gmail.com
6659b4d8145e55d900dcabb7398db42929c560f4
d75560d9acde4f1f6457898d8862b06ba5f8dd7b
/backend/msm_sgsjhsjh4803_de_13561/wsgi.py
3cd1976c5b367e8dc49ef8d3516ab2cc510980f7
[]
no_license
crowdbotics-apps/msm-sgsjhsjh4803-de-13561
af6563f775832664041dbd8abc5d05af9d8d4a4f
9364d828ffee0edfe68d263fce2b0a7cb2949039
refs/heads/master
2022-12-29T15:25:29.870944
2020-10-19T08:18:12
2020-10-19T08:18:12
305,263,685
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
""" WSGI config for msm_sgsjhsjh4803_de_13561 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdef...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
e348b3e0dfab26e0cc1f9c6a114ae59be50476c4
4c8755443320f0e8fde2718aec40c49ef27ab6fe
/{{cookiecutter.repo_name}}/cookiecutter_repo/utils/loaders.py
0d90448aa34fd2244e0f3ef816996b8e56608d99
[ "MIT" ]
permissive
ethman/cookiecutter-nussl
28266f2b714607493016aa554794617e1cb431aa
302df1bee74b13ff0e2c6725997f7b7fa26b32d5
refs/heads/master
2020-12-09T23:50:09.844838
2020-01-12T17:19:06
2020-01-12T17:19:06
233,449,725
0
0
null
2020-01-12T19:54:48
2020-01-12T19:54:47
null
UTF-8
Python
false
false
586
py
from .. import dataset, model def load_dataset(dataset_class, dataset_folder, dataset_config): DatasetClass = getattr(dataset, dataset_class) dataset_instance = DatasetClass(dataset_folder, dataset_config) return dataset_instance def load_model(model_config): model_class = model_config.pop('class', 'S...
[ "prem@u.northwestern.edu" ]
prem@u.northwestern.edu
837d8f52574c6bab972f540869f2bca52b2bf000
94c8dd4126da6e9fe9acb2d1769e1c24abe195d3
/qiskit/circuit/library/boolean_logic/quantum_or.py
0864affb7958edffe5050f3c8d54af82bdc515be
[ "Apache-2.0" ]
permissive
levbishop/qiskit-terra
a75c2f96586768c12b51a117f9ccb7398b52843d
98130dd6158d1f1474e44dd5aeacbc619174ad63
refs/heads/master
2023-07-19T19:00:53.483204
2021-04-20T16:30:16
2021-04-20T16:30:16
181,052,828
1
0
Apache-2.0
2019-06-05T15:32:13
2019-04-12T17:20:54
Python
UTF-8
Python
false
false
3,664
py
# This code is part of Qiskit. # # (C) Copyright IBM 2020. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
[ "noreply@github.com" ]
levbishop.noreply@github.com
a663a571c791506a5bbea2e874df529dbed68ebb
c75ec82316ed5322c5844912ce9c528c24360b9f
/nsd1907/py02/day01/cut_log.py
cceaf977d83d75e82696a61778603e0948c24313
[]
no_license
MrZhangzhg/nsd2019
a94cde22f2e4bd648bb9e56ca63827f558f3c083
54f6d2c7b348a69f13ad5f38f2fbdc8207528749
refs/heads/master
2021-08-22T17:38:27.697675
2020-02-22T08:36:21
2020-02-22T08:36:21
183,539,489
21
24
null
2020-05-17T12:07:55
2019-04-26T02:06:16
HTML
UTF-8
Python
false
false
525
py
import time t9 = time.strptime('2019-05-15 09:00:00', '%Y-%m-%d %H:%M:%S') t12 = time.strptime('2019-05-15 12:00:00', '%Y-%m-%d %H:%M:%S') with open('mylog.txt') as fobj: for line in fobj: t = time.strptime(line[:19], '%Y-%m-%d %H:%M:%S') if t > t12: break if t >= t9: ...
[ "zhangzg@tedu.cn" ]
zhangzg@tedu.cn
7394010400225008bcf0ebefdea0242ca3765d3e
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_96/1509.py
985390ba9c8945569ce4096912a9a40962d7ecaf
[]
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,095
py
from string import split f1=open('B-large.in','r') f2=open('out.txt','w') t=int(f1.readline()) for i in range (t): k=0 s=f1.readline() data=list(map(int,s.split(' '))) u=data[1]+0 for j in range(data[0]): if data[j+3]==0 or data[j+3]==1: if data[j+3]>=data[2]: ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
3a7a4e0fc74d98a3d4bb90e7220f2bca91eaa4d0
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/97/usersdata/239/54617/submittedfiles/lecker.py
e3ba12e1ff6dc558621a8f2f17a217e1787cc426
[]
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
813
py
# -*- coding: utf-8 -*- from __future__ import division def lecker (lista): cont=0 for i in range (0,len(lista),1 if i==0: if lista[i]>lista[i+1]: cont=cont+1 elif i==(len(lista)-1): if lista[i]>lista[i-1]: cont=cont+1 else: if lista[i]>lis...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
4ae9d4cd17ad18027fa1dffe901e6463804b40c4
5db0fab37c2b8a618d85d3b60fab9f806c416474
/src/python/pants/backend/python/typecheck/mypy/skip_field.py
672a681eeba2e506b35d3c2f51bbadb683934354
[ "Apache-2.0" ]
permissive
pantsbuild/pants
4988d1ac5474ec95f94ce2218aeb759401e4b011
98cbda8545f0d58c586ed2daa76fefd729d5e0d5
refs/heads/main
2023-09-05T03:44:17.646899
2023-09-01T19:52:09
2023-09-01T19:52:09
7,209,075
2,708
593
Apache-2.0
2023-09-14T19:33:33
2012-12-17T17:39:04
Python
UTF-8
Python
false
false
897
py
# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from pants.backend.python.target_types import ( PythonSourcesGeneratorTarget, PythonSourceTarget, PythonTestsGeneratorTarget, PythonTestTarget, PythonTestUtilsGenerator...
[ "noreply@github.com" ]
pantsbuild.noreply@github.com
66b654358f12a58b653f3dd74fb992717fe0bcc6
a6b46a37bb2fc9e27ed000cb5d2e1fcef6e7527c
/python/common/expressions.py
fac15ec0ea42f9bfa0e78d51628dfc525e99d9a9
[ "MIT" ]
permissive
data-man-34/ad_examples
3c4b522b64a8387aed922a6fd062114a3e96c26f
f0d5d95c443cf1cfaf293a2e76b9bff3cbfd85b7
refs/heads/master
2020-04-09T15:12:48.677931
2018-12-04T18:58:22
2018-12-04T18:58:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
41,371
py
import tokenize import re import os import numpy as np # from sklearn.metrics import f1_score from sklearn.metrics import precision_recall_fscore_support """ General Rule-parsing functions. We might use only a subset of the features available. For some rule illustrations/examples, see test_rule_apis() To test: p...
[ "smd.shubhomoydas@gmail.com" ]
smd.shubhomoydas@gmail.com
1586616caf1191874f3dfdf0a908af9d390cbd3e
54eeab2befaa4bf0d96a7bd18110900f8f32c766
/other/sql/sqlite.py
cc06497fe5586ae73d672cbedf67aa19174a1c04
[]
no_license
w8833531/mypython
40239ada90426db73444ee54e6e79decc6c9fc9b
45ed12a611efd33838766e7bd73840e6d8b73e28
refs/heads/master
2021-01-19T06:59:09.790525
2017-10-18T06:20:43
2017-10-18T06:20:43
87,513,649
0
0
null
null
null
null
UTF-8
Python
false
false
1,373
py
#!/usr/bin/env python #-*- coding: utf-8 -*- #由于SQLite的驱动内置在Python标准库中,所以我们可以直接来操作SQLite数据库。 #要操作关系数据库,首先需要连接到数据库,一个数据库连接称为Connection; #连接到数据库后,需要打开游标,称之为Cursor,通过Cursor执行SQL语句,然后,获得执行结果。 #导入SQLite 驱动 import sqlite3 try: # 连接到SQLite数据库 # 数据库文件是test.db # 如果文件不存在,会自动在当前目录创建: conn = sqlite3.connect('test.db') curs...
[ "w8833531@hotmail.com" ]
w8833531@hotmail.com
24f4ad0bc75271d08496072c0885072c734d3990
5b1ff6054c4f60e4ae7315db9f20a334bc0b7634
/Launchkey_MK2/Colors.py
6f5028d35ea48a5ef4fb11c613cb1206a59fc846
[]
no_license
maratbakirov/AbletonLive9_RemoteScripts
2869122174634c75405a965401aa97a2dae924a1
4a1517c206353409542e8276ebab7f36f9bbd4ef
refs/heads/master
2021-06-05T14:38:27.959025
2021-05-09T11:42:10
2021-05-09T11:42:10
13,348,327
3
4
null
2016-10-16T13:51:11
2013-10-05T16:27:04
Python
UTF-8
Python
false
false
4,566
py
#Embedded file name: /Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/Launchkey_MK2/Colors.py from _Framework.ButtonElement import Color from .consts import BLINK_LED_CHANNEL, PULSE_LED_CHANNEL class Blink(Color): def __init__(self, midi_value = 0, *a, **k): su...
[ "julien@julienbayle.net" ]
julien@julienbayle.net
ab14c4d4a9d8c432ae24647c18b9e98e4968ece0
90be755a741d6c93dd59d4acef8b27b4cf93ff54
/src/elsia/scripts/get_abs_ori.py
8decc0c43e2f8716f8f28629c4b7ed417de7cc24
[]
no_license
karry3775/Elsia_ws
05aa5786a6f3f64b70c7ceafead6d72d4ca18bab
031f8006e9a439d9947be5ed288a666f20fca3a7
refs/heads/master
2023-02-21T05:21:10.842475
2021-01-23T14:58:57
2021-01-23T15:21:46
326,032,434
0
0
null
null
null
null
UTF-8
Python
false
false
6,405
py
#!/usr/bin/env python import rospy from sensor_msgs.msg import Image from tf.transformations import quaternion_from_euler, euler_from_quaternion from cv_bridge import CvBridge, CvBridgeError from nav_msgs.msg import Odometry import cv2 import numpy as np import math as m # initialize the node rospy.init_node("get_abs_...
[ "kartikprakash3775@gmail.com" ]
kartikprakash3775@gmail.com
b1dde0477b45dffe82a9f680f72b5dc5f910eee9
3eb4d64a8bb0bc240a2ef189724f4d51b5275eac
/heltour/tournament/migrations/0106_auto_20161031_0546.py
059d9943ff0cb31240b7a8a561df84ba822d9f3b
[ "MIT" ]
permissive
brucemubayiwa/heltour
c01cc88be7f86dce8246f619d7aa2da37e0e0ac2
fa4e9b06343acaf6a8a99337860e1ad433e68f6b
refs/heads/master
2021-01-23T19:59:04.099215
2017-09-06T03:34:31
2017-09-06T03:34:31
102,840,526
1
0
null
2017-09-08T08:53:30
2017-09-08T08:53:30
null
UTF-8
Python
false
false
2,839
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-10-31 05:46 from __future__ import unicode_literals from django.db import migrations import django.db.models.deletion import select2.fields class Migration(migrations.Migration): dependencies = [ ('tournament', '0105_seasonplayer_final_rating')...
[ "ben.cyanfish@gmail.com" ]
ben.cyanfish@gmail.com
3ec6bfaea601759fd9ce090e2468cd49049e454d
88cfeb8f7076450e7a38d31ab2d11883c1818c8d
/net/dpn92.py
bee4297159590c50e4ca40b1570569426a17eb3b
[]
no_license
ZQPei/Alibaba_Cloud_German_AI_Challenge_for_Earth_Observation
4e5a127c12e0c02ed1914ab000a131e1a7f7d844
c2efb32763af0a56a3a7ecb9d83c0744f71d5c14
refs/heads/master
2020-04-26T04:31:57.731178
2019-02-17T01:10:55
2019-02-17T01:10:55
173,305,034
2
0
null
null
null
null
UTF-8
Python
false
false
3,563
py
'''Dual Path Networks in PyTorch.''' import torch import torch.nn as nn import torch.nn.functional as F class Bottleneck(nn.Module): def __init__(self, last_planes, in_planes, out_planes, dense_depth, stride, first_layer): super(Bottleneck, self).__init__() self.out_planes = out_planes sel...
[ "dfzspzq@163.com" ]
dfzspzq@163.com
9262d9b3881e896a97b190c2ea16eeea43d24d9c
958c19436632b41b43c9462337d13e836935a9da
/E01_python_for_data_analysis/04_NumPy/0403_numpy_cal.py
24af0cf6e7c79bf551a52bc51df3c822da19b676
[]
no_license
Vincent105/ML
4752b2a99c124e01e40e383a0177fb5d82115cb6
fa926caabf83628b3fb7d74cee02a3e923a917f7
refs/heads/master
2020-12-29T18:21:50.144711
2020-10-12T09:56:41
2020-10-12T09:56:41
238,697,320
0
0
null
null
null
null
UTF-8
Python
false
false
367
py
import numpy as np arr = np.array([[1., 2., 3.], [4., 5., 6.]]) print(arr) print(arr * arr) print(arr * arr - arr) # 数组与标量的算术运算会将标量值传播到各个元素: print(1 / arr) print(arr * 0.5) # 大小相同的数组之间的比较会生成布尔值数组: arr2 = np.array([[0., 4., 1.], [7., 2., 12.]]) print(arr2) print(arr2 > arr)
[ "vincent1050917@gmail.com" ]
vincent1050917@gmail.com
b352068896dbae835d20da90ab54de2d4f34fec9
d2eb7bd335175edd844a3e6c1c633ee0dc2dbb25
/contests_atcoder/arc017/arc017_c.py
80b806e3389e7dfd81e012229a4a9723cc08f1d5
[ "BSD-2-Clause" ]
permissive
stdiorion/competitive-programming
5020a12b85f1e691ceb0cacd021606a9dc58b72c
e7cf8ef923ccefad39a1727ca94c610d650fcb76
refs/heads/main
2023-03-27T01:13:42.691586
2021-03-08T08:05:53
2021-03-08T08:05:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
from bisect import bisect_left, bisect_right n, x = map(int, input().split()) w = [int(input()) for _ in range(n)] pt1 = w[:16] pt2 = w[16:] w1 = [] for bit in range(1 << len(pt1)): weight = 0 for i in range(len(pt1)): if (bit >> i) & 1: weight += pt1[i] w1.append(weight) if not len(...
[ "itkn1900@gmail.com" ]
itkn1900@gmail.com
23241518e94ae0d5c41c03ff56152a117f302c17
d7ec67a5ba315103fa6a6bae6dc045f1fecf7add
/docs_master_tensorflow/keras/tf_dqn_simple_master/dqn_agent.py
d0dc2cccfa0c1fbf14d21175a9b41c3605ff96e2
[]
no_license
munezou/PycharmProject
cc62f5e4278ced387233a50647e8197e009cc7b4
26126c02cfa0dc4c0db726f2f2cabb162511a5b5
refs/heads/master
2023-03-07T23:44:29.106624
2023-01-23T16:16:08
2023-01-23T16:16:08
218,804,126
2
1
null
2023-02-28T23:58:22
2019-10-31T15:57:22
Jupyter Notebook
UTF-8
Python
false
false
4,247
py
from collections import deque import os import numpy as np import tensorflow as tf class DQNAgent: """ Multi Layer Perceptron with Experience Replay """ def __init__(self, enable_actions, environment_name): # parameters self.name = os.path.splitext(os.path.basename(__file__))[0] ...
[ "kazumikm0119@pi5.fiberbit.net" ]
kazumikm0119@pi5.fiberbit.net
42bcc717daa52c76b623b77adb64ac1e50d8fe60
b57d337ddbe946c113b2228a0c167db787fd69a1
/scr/py00033SpiderDeath.py
6fd5b9134c2358a8544c5ef441100d8e4da50196
[]
no_license
aademchenko/ToEE
ebf6432a75538ae95803b61c6624e65b5cdc53a1
dcfd5d2de48b9d9031021d9e04819b309d71c59e
refs/heads/master
2020-04-06T13:56:27.443772
2018-11-14T09:35:57
2018-11-14T09:35:57
157,520,715
0
0
null
null
null
null
UTF-8
Python
false
false
1,258
py
from toee import * from utilities import * from combat_standard_routines import * def san_dying( attachee, triggerer ): if should_modify_CR( attachee ): modify_CR( attachee, get_av_level() ) if (attachee.map == 5069): game.global_vars[3] = game.global_vars[3] + 1 if (game.party_alignment == LAWFUL_NEUTRAL or ...
[ "demchenko.recruitment@gmail.com" ]
demchenko.recruitment@gmail.com
fa428df271c1a095589ea4dda94bbd27ca4f7705
06870667821f26b0c8c96b52321938df58fd91f6
/parking_scrapers/scrapers/new_haven.py
85e9236cddfb6c481a2d0bfc60ccfb3c43b84610
[]
no_license
jmcarp/open-parking-spaces
69244962a316fe6bd3273ba6837bfe8d0f1f4b8e
5f855a1b25c9109f15af26e1fb3b4ecbd3ef5845
refs/heads/master
2023-01-24T11:43:53.641262
2020-11-30T19:00:46
2020-11-30T19:00:46
312,906,075
0
0
null
null
null
null
UTF-8
Python
false
false
1,129
py
import re from typing import Iterator import lxml.html import requests from base import LotSpaces, Scraper class NewHavenScraper(Scraper): """Scrape New Haven html. https://parknewhaven.com """ HTML_URL = "https://parknewhaven.com" TIMEOUT = 5 SPACES_PATTERN = re.compile(r"(.*?):\s+(\d+)% \...
[ "jm.carp@gmail.com" ]
jm.carp@gmail.com
a31b322b32555a927b3a63f5092900042142b843
27398b2a8ed409354d6a36c5e1d2089dad45b4ac
/backend/common/decapod_common/models/properties.py
2a7dbbf75e03a2cf644b94bf0f4bf491dda45988
[ "Apache-2.0" ]
permissive
amar266/ceph-lcm
e0d6c1f825f5ac07d2926bfbe6871e760b904340
6b23ffd5b581d2a1743c0d430f135261b7459e38
refs/heads/master
2021-04-15T04:41:55.950583
2018-03-23T12:51:26
2018-03-23T12:51:26
126,484,605
0
0
null
2018-03-23T12:50:28
2018-03-23T12:50:27
null
UTF-8
Python
false
false
3,449
py
# -*- coding: utf-8 -*- # Copyright (c) 2016 Mirantis Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
[ "sarkhipov@mirantis.com" ]
sarkhipov@mirantis.com
215a011898e29aea78aa8531f6aadbd936358259
d68c9105c03bef9dce2e438b5b91c2bdd0d856e2
/[9095] 1, 2, 3 더하기.py
308b6ff62e407f5494c58d595b9839b3addcf2e6
[]
no_license
newfull5/Baekjoon-Online-Judge
2a2dd1080af234551ecab6277968fedeb170a1f4
00d04f6c21080e3ad7c0fb06ca311f2324a591c0
refs/heads/master
2023-06-29T21:05:07.539911
2021-07-16T09:23:46
2021-07-16T09:23:46
267,557,726
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
def Reculsive(n): global answer if n >=3: Reculsive(n-3) if n >=2: Reculsive(n-2) if n >=1: Reculsive(n-1) if n == 0: answer += 1 return for _ in range(int(input())): answer = 0 Reculsive(int(input())) print(answer)...
[ "noreply@github.com" ]
newfull5.noreply@github.com
fcf3fe369d825fc8f70166e86d6154d98a1eccfa
23bc3e2bc6b2b9e3fd19f738d4767d09bec590b5
/CourseWork/Labs/lab3/vivek_pygame_base_template.py
e880efac680ed5ff5a5856816fdf28423d8e2bb4
[]
no_license
vivekVells/GameDesignProgramming
4e683114bf487d2ea4c5c1c4a2b7a3375e8be8e7
bee0fbc4d0a8d0e4001d6c9c9b35fea6b74da1f9
refs/heads/master
2020-03-27T13:49:52.159394
2018-12-12T09:37:01
2018-12-12T09:37:01
146,630,596
0
0
null
2018-12-12T08:32:11
2018-08-29T16:49:28
Python
UTF-8
Python
false
false
2,516
py
""" Show how to use a sprite backed by a graphic. Sample Python/Pygame Programs Simpson College Computer Science http://programarcadegames.com/ http://simpson.edu/computer-science/ Explanation video: http://youtu.be/vRB_983kUMc """ import pygame # Define some colors BLACK = (0, 0, 0) WHITE = (255, 255, 255) G...
[ "techengineervivek@gmail.com" ]
techengineervivek@gmail.com
4bb3df61f7e8707d0f5b6dc0a372e300a836a1f0
d5e4d88e4124ab2387bac64e7d7b76ff37793bf6
/011/problem11.py
072127ab96c86257506ca23cee758a4aa9743be4
[]
no_license
grawinkel/ProjectEuler
1ae5572eec92e4307183e8b30222ffa39ef4bbce
b470dd4219c769587769c9a70ec3bae5d3ca1166
refs/heads/master
2021-05-26T20:01:03.410567
2012-10-05T16:58:48
2012-10-05T16:58:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,421
py
# To change this template, choose Tools | Templates # and open the template in the editor. __author__="meatz" __date__ ="$01.08.2010 14:10:38$" m = [] max = 0 maxa,maxb = 0,0 def nw(a,b): global max,maxa,maxb prod = int(m[a][b]) * int(m[a-1][b-1]) * int(m[a-2][b-2]) * int(m[a-3][b-3]) if (prod > max): ...
[ "matthias@grawinkel.com" ]
matthias@grawinkel.com
b290f6c4c523dba303d7efb6b9edbfc26d01ce6b
4d0bbeb8ab52f7e450aff20056f7509e12751258
/lists/migrations/0003_list.py
da0266eb470c2bba6c9bd9b11f8ba74b47076401
[]
no_license
chicocheco/tdd_book
f7c9246dcb4eb5327704c72f655bf6e187b28849
574b1082aa523c7434f50e0c4cbdf5777ddf50ef
refs/heads/master
2022-05-02T17:44:27.217329
2020-03-13T18:57:22
2020-03-13T18:57:22
197,633,503
0
0
null
2022-04-22T22:19:12
2019-07-18T17:56:43
JavaScript
UTF-8
Python
false
false
441
py
# Generated by Django 2.2.3 on 2019-08-08 07:03 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('lists', '0002_item_text'), ] operations = [ migrations.CreateModel( name='List', fields=[ ('id', mod...
[ "stanislav.matas@gmail.com" ]
stanislav.matas@gmail.com
74500f2dd0b8c53a83c336ef4540ba2e49d79f58
5ca1893df92150683d386ba61f849a8a20e80f0a
/RSRvenv/lib/python3.5/site-packages/polcart/__init__.py
e72aa4dbaf2557af7d2da9b78431fe7fe7b21272
[]
no_license
JaredJRoss/RSR
a5340a087b7e19f5c9c8a47d8b322e2384ae8152
6601afbab963f095f939ba4ca07cc07c7257e271
refs/heads/master
2021-07-10T18:26:28.128522
2018-01-08T20:24:20
2018-01-08T20:24:20
104,166,288
0
6
null
2017-11-27T23:35:25
2017-09-20T04:38:26
Python
UTF-8
Python
false
false
23
py
from .polcart import *
[ "jaredrossj@gmail.com" ]
jaredrossj@gmail.com
8e54379c9e0e2512323873740a307b5ac6552d0b
de79ece8981f0fd241bcea578e4a534a1213397e
/spirl/configs/few_shot_imitation_learning/kitchen/hierarchical_cl_gc_demo_slide_demo_trained_vae/conf.py
1f2fcbafcc3b7ab14bb8c70bf240ee9d69987572
[ "BSD-3-Clause" ]
permissive
ahmeda14960/fist
3ee684cd7da0bb531d791321f1af09adad386ab4
baf2b0bfed12a9bc0db9a099abeefad1ef618d1c
refs/heads/master
2023-08-02T01:35:29.983633
2021-09-13T20:07:28
2021-09-13T20:07:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,905
py
import os from spirl.models.closed_loop_spirl_mdl import GoalClSPiRLMdl from spirl.components.logger import Logger from spirl.utils.general_utils import AttrDict from spirl.configs.default_data_configs.kitchen import data_spec from spirl.components.evaluator import TopOfNSequenceEvaluator from spirl.data.kitchen.src....
[ "kourosh_hakhamaneshi@berkeley.edu" ]
kourosh_hakhamaneshi@berkeley.edu
00213373c71f2901f04b9c3f250dfd0d591ee90b
bfd41fc543f6dbfc821341522cf8e7a9d2e34ce8
/venv/lib/python2.7/site-packages/astroid/scoped_nodes.py
f9ec7b774f86c4821ff457b8eb19100ab3217d62
[]
no_license
MaraKovalcik/Flask
783243560ead637a381f76d3893da2b212eff898
1ff8413f3551b051f8e6c76db6cf402fc7428188
refs/heads/master
2021-01-22T09:09:16.165734
2015-02-24T16:57:14
2015-02-24T16:57:14
31,268,626
1
0
null
null
null
null
UTF-8
Python
false
false
47,465
py
# copyright 2003-2013 LOGILAB S.A. (Paris, FRANCE), all rights reserved. # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr # # This file is part of astroid. # # astroid is free software: you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by the #...
[ "mara.kovalcik@gmail.com" ]
mara.kovalcik@gmail.com
ae48ce85c8caa8b2632e5bbc58f086388955ab75
df7f13ec34591fe1ce2d9aeebd5fd183e012711a
/hata/discord/application_command/application_command/tests/test__validate_version.py
0311466ec90e46c18abaa78702c11bd7846f90a8
[ "LicenseRef-scancode-warranty-disclaimer" ]
permissive
HuyaneMatsu/hata
63e2f6a2d7a7539fd8f18498852d9d3fe5c41d2e
53f24fdb38459dc5a4fd04f11bdbfee8295b76a4
refs/heads/master
2023-08-20T15:58:09.343044
2023-08-20T13:09:03
2023-08-20T13:09:03
163,677,173
3
3
Apache-2.0
2019-12-18T03:46:12
2018-12-31T14:59:47
Python
UTF-8
Python
false
false
1,003
py
import vampytest from ..fields import validate_version def test__validate_version__0(): """ Tests whether `validate_version` works as intended. Case: passing. """ version = 202302260011 for input_value, expected_output in ( (version, version), (str(version), version)...
[ "re.ism.tm@gmail.com" ]
re.ism.tm@gmail.com
c65f10f40c7746b6a0f8b226efa07085cf5a26f6
3634703ad8685c9bc5d73edf148b7b8722356c0e
/Algorithm/programmers/pg_2016년.py
872b394b834701e55c74ca2098cf27d1a25d7d18
[]
no_license
chj3748/TIL
23d88f97ebc8b1e3a06bb93752dfd2d331d01fd8
40a4e524c28945c95f059b0dee598abb686abe04
refs/heads/master
2022-02-26T16:43:56.964719
2022-02-14T04:43:20
2022-02-14T04:43:20
235,233,054
1
0
null
null
null
null
UTF-8
Python
false
false
369
py
# math | programmers 2016년 # github.com/chj3748 import sys def input(): return sys.stdin.readline().rstrip() def solution(a, b): months = [0, 0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] for i in range(1, 14): months[i] += months[i - 1] weeks = [ 'THU', 'FRI', 'SAT', 'SUN', 'MON', 'TUE...
[ "redsmile123@naver.com" ]
redsmile123@naver.com
b27b059c477b45152d67c266b8bde14dfdbcfe93
e122ab31559f7551e4bc4dff6dfa7f7dbbd10168
/jaqs/__init__.py
0be750ea380b5ec64652ff6b426589ec22e928c8
[ "Apache-2.0" ]
permissive
WayneWan413/JAQS
ffb909d6d550451552697358735ec5dd74975b2d
e7362fc261f49dd7a4353c9a9a3f98d6ef9a78b4
refs/heads/master
2021-08-30T10:30:20.675837
2017-12-17T14:14:59
2017-12-17T14:14:59
113,726,696
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
# encoding: utf-8 """ JAQS ~~~~ Open source quantitative research&trading framework. copyright: (c) 2017 quantOS-org. license: Apache 2.0, see LICENSE for details. """ import os __version__ = '0.6.6' SOURCE_ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
[ "brillliantz@outlook.com" ]
brillliantz@outlook.com
d3e1cb323db751ac2050493151ddde48bb868a90
566638e179b0add891e1d5c8900d35ae531af6dc
/alembic_simplelis/versions/6487bfd4c8aa_renamed_columns.py
6cd0406fe6bfe944447113a2432ef47fb6ff8af3
[]
no_license
likit/querystud
9b023a45adfdbf6dc8a3a2f97fefb82b765c8690
1702c09ff6931b2cd94d0b55ef42f244c503a68a
refs/heads/master
2020-03-25T19:25:40.412824
2018-08-09T18:08:48
2018-08-09T18:08:48
144,082,461
0
0
null
null
null
null
UTF-8
Python
false
false
1,273
py
"""renamed columns Revision ID: 6487bfd4c8aa Revises: 8c08809abb09 Create Date: 2018-08-09 15:54:28.683879 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import postgresql # revision identifiers, used by Alembic. revision = '6487bfd4c8aa' down_revision = '8c08809abb09' branch_labels = No...
[ "likit.pre@mahidol.edu" ]
likit.pre@mahidol.edu
61c4329bc9311c20d6ca2fdca35994a57d850ee5
38fff7bdefd8d62a740d51329b50d0e1e49258bb
/projects/oscrypto/fuzz_keys.py
891da04cd3fd9abfb86f3c556edf67a2c729e495
[ "Apache-2.0" ]
permissive
google/oss-fuzz
026384c2ada61ef68b147548e830f60730c5e738
f0275421f84b8f80ee767fb9230134ac97cb687b
refs/heads/master
2023-08-31T23:30:28.157702
2023-08-31T21:49:30
2023-08-31T21:49:30
63,809,205
9,438
2,315
Apache-2.0
2023-09-14T20:32:19
2016-07-20T19:39:50
Shell
UTF-8
Python
false
false
938
py
#!/usr/bin/python3 # Copyright 2022 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 agr...
[ "noreply@github.com" ]
google.noreply@github.com
50bee84349089e1aa4828f68a88a6d8a89dfdf41
568d7d17d09adeeffe54a1864cd896b13988960c
/month01/day07/exercise05.py
3493424818067ec8a5a6e612d415a224bd930150
[ "Apache-2.0" ]
permissive
Amiao-miao/all-codes
e2d1971dfd4cecaaa291ddf710999f2fc4d8995f
ec50036d42d40086cac5fddf6baf4de18ac91e55
refs/heads/main
2023-02-24T10:36:27.414153
2021-02-01T10:51:55
2021-02-01T10:51:55
334,908,634
1
0
null
null
null
null
UTF-8
Python
false
false
723
py
dict_travel_info = { "北京": { "景区": ["长城", "故宫"], "美食": ["烤鸭", "豆汁焦圈", "炸酱面"] }, "四川": { "景区": ["九寨沟", "峨眉山"], "美食": ["火锅", "兔头"] } } #1.打印北京的第一个景区 print(dict_travel_info["北京"]["景区"][0]) # 打印四川的第二个美食 print(dict_travel_info["四川"]["美食"][1]) # 2. 所有城市 (一行一个) for key in dict_t...
[ "895854566@qq.com" ]
895854566@qq.com
f6d7fbdef5cdaedb0fe2f8536b75a1173aca58fe
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/containerservice/azure-mgmt-containerservice/generated_samples/maintenance_configurations_create_update.py
c0abfbc1bab5cf537fc774e2f3b60eed6869983b
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,900
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
d993401850d52d98db8b268955eeb445554951db
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_371/ch47_2020_10_04_13_40_50_371443.py
3cc3cadd86d947006768c00c032c11e851f56842
[]
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
354
py
def estritamente_crescente(lista): numero_atual = 0 numero_anterior =0 i=0 nova_lista=[] while len(lista)>i: numero_atual=lista[i] if numero_atual>numero_anterior: numero_anterior=numero_atual nova_lista.append(numero_atual) i+=1 else: ...
[ "you@example.com" ]
you@example.com
e73ea00412857d8bc51a1b6f7dd676d32b152336
1c6a29a7dcd62470d594d5e42dbea9ff79cc47f5
/shade/_heat/utils.py
24cb0b07115e1da1eb535444aa86612c446b7d0a
[ "Apache-2.0" ]
permissive
major/shade
a1691a3e3311f1b87f4a31c3a26929ddc2541b7a
0ced9b5a7568dd8e4a33b6627f636639bcbbd8a3
refs/heads/master
2023-06-07T17:15:47.089102
2020-06-01T22:59:14
2020-06-01T22:59:14
54,499,600
0
0
Apache-2.0
2023-06-01T21:26:36
2016-03-22T18:34:14
Python
UTF-8
Python
false
false
1,842
py
# Copyright 2012 OpenStack Foundation # 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 requ...
[ "mordred@inaugust.com" ]
mordred@inaugust.com
633f67db56b3fc27c70671b9cff7a90c51faa754
96538cc3eee3d73d429f3476d0e895be95d695e3
/worker/db/redisdb.py
e7b69ffd0713371d1380120d397a1485debac7fe
[]
no_license
FashtimeDotCom/distributed-spider
d9555670216e68d4ff031e466cbf3529d080a534
33292f098403fa73239e0c7353e4cc5918be981b
refs/heads/master
2020-03-22T11:43:14.796426
2018-07-06T10:51:48
2018-07-06T11:34:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,874
py
# -*- coding: utf-8 -*- ''' Created on 2016-11-16 16:25 --------- @summary: 操作redis数据库 --------- @author: Boris ''' import sys sys.path.append('../') import init import redis import utils.tools as tools from utils.log import log IP = tools.get_conf_value('config.conf', 'redis', 'ip') PORT =...
[ "boris_liu@foxmail.com" ]
boris_liu@foxmail.com
9792a5b3135bd29aa5e53b9ae8901a638fa9d8f1
c6759b857e55991fea3ef0b465dbcee53fa38714
/tools/nntool/nntool/quantization/multiplicative/quantizers/default_mult.py
0385ebd178ce814eee4883e29eda75e12c0747cf
[ "AGPL-3.0-or-later", "AGPL-3.0-only", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "Apache-2.0" ]
permissive
GreenWaves-Technologies/gap_sdk
1b343bba97b7a5ce62a24162bd72eef5cc67e269
3fea306d52ee33f923f2423c5a75d9eb1c07e904
refs/heads/master
2023-09-01T14:38:34.270427
2023-08-10T09:04:44
2023-08-10T09:04:44
133,324,605
145
96
Apache-2.0
2023-08-27T19:03:52
2018-05-14T07:50:29
C
UTF-8
Python
false
false
1,696
py
# Copyright (C) 2020 GreenWaves Technologies, SAS # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # This progr...
[ "yao.zhang@greenwaves-technologies.com" ]
yao.zhang@greenwaves-technologies.com
c64212fbcaa3ae1e49feb372c55e74cd6e4024a0
26bcead33b5ae529883f940d34c8ed6e1f1571af
/src/wordnet/__init__.py
4e32b07df0478eabe63805e0922d9d3093bec5ff
[]
no_license
julieweeds/WordNet
a6ef1c7c757f60108c73ad02cfd43e902c2094c1
69c353c2cc0b6e5527f016a317e59bd43b8ceb45
refs/heads/master
2020-12-25T19:26:01.102329
2015-06-09T15:02:27
2015-06-09T15:02:27
9,606,663
0
0
null
null
null
null
UTF-8
Python
false
false
21
py
__author__ = 'Julie'
[ "julie.weeds@gmail.com" ]
julie.weeds@gmail.com
488399fdb504ae50e47833dff927ee9e6ba0f590
ebd5c4632bb5f85c9e3311fd70f6f1bf92fae53f
/Sourcem8/pirates/effects/JRTeleportEffect.py
8882e9e00c07ab5214be47edb6f53d4ae176d94a
[]
no_license
BrandonAlex/Pirates-Online-Retribution
7f881a64ec74e595aaf62e78a39375d2d51f4d2e
980b7448f798e255eecfb6bd2ebb67b299b27dd7
refs/heads/master
2020-04-02T14:22:28.626453
2018-10-24T15:33:17
2018-10-24T15:33:17
154,521,816
2
1
null
null
null
null
UTF-8
Python
false
false
8,337
py
# File: J (Python 2.4) from pandac.PandaModules import * from direct.interval.IntervalGlobal import * from direct.particles import ParticleEffect from direct.particles import Particles from direct.particles import ForceGroup from EffectController import EffectController from PooledEffect import PooledEffect import ran...
[ "brandoncarden12345@gmail.com" ]
brandoncarden12345@gmail.com
8e28e993c80f61da18a42c1591380ee8d5027018
94d5ef47d3244950a0308c754e0aa55dca6f2a0e
/migrations/versions/e19ce0373a4f_made_degrees_and_personal_info_a_a_one_.py
1cdef1768726407a573115deba478c710260bcc0
[]
no_license
MUMT-IT/mis2018
9cbc7191cdc1bcd7e0c2de1e0586d8bd7b26002e
69fabc0b16abfeba44173caa93d4f63fa79033fd
refs/heads/master
2023-08-31T16:00:51.717449
2023-08-31T11:30:13
2023-08-31T11:30:13
115,810,883
5
5
null
2023-09-14T10:08:35
2017-12-30T17:06:00
HTML
UTF-8
Python
false
false
2,377
py
"""made degrees and personal info a a one-to-many relationship Revision ID: e19ce0373a4f Revises: 7d048ab06595 Create Date: 2021-03-04 09:41:21.032186 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'e19ce0373a4f' down_revision = '7d048ab06595' branch_labels = ...
[ "likit.pre@mahidol.edu" ]
likit.pre@mahidol.edu
d5de15191b5b65b8672942b474be1928172186e4
4806d5b15b45e30be16c857faaacaa278eba09d3
/parse/parse_gansu_worker.py
a675f10751af6f727dfa48302b11fee243b2bc58
[]
no_license
osenlin/gsxt_spider
9ebc90b778ca1fe31f3339ddeccdac66808a1d96
6e75fe9802620284e8c19c6f23a9a90911b39016
refs/heads/master
2020-03-20T01:10:50.348913
2018-06-12T12:34:53
2018-06-12T12:34:53
137,068,844
5
9
null
null
null
null
UTF-8
Python
false
false
28,729
py
#!/usr/bin/env python # encoding: utf-8 """ @author: youfeng @email: youfeng243@163.com @license: Apache Licence @file: parse_base_worker.py @time: 2017/2/3 17:32 """ import traceback from pyquery import PyQuery from base.parse_base_worker import ParseBaseWorker from common import util from common.annual_field impor...
[ "694982665@qq.com" ]
694982665@qq.com
3cce5f338f335566330177c42858bb6eb0baddd8
80e6e31054fe9105d2c26be7aac53c4cd6a4a33f
/scripts/spyder/amac_company.py
a1708762c46b6687a0c4ff41381e2b7ae1bca9d9
[]
no_license
alionishere/learn_python
8a7f6dc7d754a357d4cb720f4bc0d5c3e6e5e895
832b8e0579da0b7ab37e815be10204f8de1ad22d
refs/heads/master
2021-06-24T11:02:05.111027
2021-06-23T08:47:06
2021-06-23T08:47:06
223,834,194
0
0
null
null
null
null
UTF-8
Python
false
false
14,079
py
# -*- coding: utf-8 -*- import requests,io,sys,time from bs4 import BeautifulSoup import json,urllib import cx_Oracle from lxml import etree import threading from queue import Queuea def conndb(): username="kingstar" userpwd="kingstar" host="10.29.7.211" port=1521 dbname="siddc01" dsn=...
[ "wang_hongke@163.com" ]
wang_hongke@163.com
f5cb07d8502e20680654e1356fdb1f556e65edf0
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/ads/googleads/v6/googleads-py/google/ads/googleads/v6/services/services/ad_group_extension_setting_service/client.py
751f45c7d71aa3e7c322a037ec62396c7f357549
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,859
py
# -*- coding: utf-8 -*- # Copyright 2020 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 o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
0f97f6497d711f09d33f01461d992e7caa12c186
ed32eb1eb0a328a4ffe89e178fc4987470f333cd
/module/multi_process/multi_process_data_share_queue.py
5a0bf787d49a21a07716851ed7ecdbf5bd202769
[]
no_license
xiaoyaojjian/py_learn
c6f5bdf31bcebf29dd914e81e6be9305a61265cc
95e494ea823d2074a05c1c2a49595002a1576093
refs/heads/master
2020-12-05T23:22:11.017066
2016-09-08T01:13:08
2016-09-08T01:13:08
67,654,055
1
0
null
null
null
null
UTF-8
Python
false
false
350
py
""" 使用 multiprocessing 中的 Queue 队列, 实现进程间数据共享 """ from multiprocessing import Process, Queue def fun(q, n): q.put(['hi, ', n]) if __name__ == '__main__': q = Queue() q.put('Ao') for i in range(5): p = Process(target=fun, args=(q, i)) p.start() while True: print(q.get())
[ "q2868765@qq.com" ]
q2868765@qq.com
a811d153e337706d515599bbb07ff549b3e288e1
b0f45a16f34ff84e217ff20cc06f1e8280459504
/antgo/measures/matting_task.py
b4d89c343881b9e68b17ca02028d5a8540f7ccae
[]
no_license
zhaoqike/antgo
c41dd4b8bc3e969f6008a6c17f0b44d0fe4a8eae
c8a62b2567f62db15f26c75dcc2191cb69f392ab
refs/heads/master
2021-07-18T17:37:58.652112
2017-09-12T01:19:15
2017-09-12T01:19:15
102,823,416
0
0
null
2017-09-12T08:04:20
2017-09-08T05:57:28
Python
UTF-8
Python
false
false
3,153
py
# encoding=utf-8 # @Time : 17-7-25 # @File : matting_task.py # @Author : from __future__ import division from __future__ import unicode_literals from __future__ import print_function import numpy as np from antgo.task.task import * from antgo.measures.base import * from antgo.dataflow.common import * from antgo....
[ "jian.fbehind@gmail.com" ]
jian.fbehind@gmail.com
33f8e8c7bd58dedd1a60ff330d66f61e776030ca
17e1fef277dce4113f5d4f34107ba9f4b25d6646
/env/bin/s3multiput
f5e975662b4c63d861ea8958d11063454b5b4f2c
[]
no_license
morenopc/botoS3-storages-test-project
278a597d9c79b8b2c79b9e4b8bbe953e4c079270
4672fb00d0866e019d04ec6cd0a27bf3a049b0e1
refs/heads/master
2021-01-23T22:15:24.813838
2012-10-23T17:49:44
2012-10-23T17:49:44
6,357,058
0
1
null
2020-07-25T21:42:25
2012-10-23T17:46:06
Python
UTF-8
Python
false
false
12,970
#!/home/moreno/projects/django/botoS3-storages-test-project/env/bin/python # Copyright (c) 2006,2007,2008 Mitch Garnaat http://garnaat.org/ # # 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 w...
[ "moreno.pinheiro@gmail.com" ]
moreno.pinheiro@gmail.com
4b64ead8aaa5f3622333594515050ea8272d1336
c39e19e8fada4df5bf8999f93a470fc5db0b8ea7
/tensorflow/python/keras/distribute/keras_stateful_lstm_model_correctness_test.py
4802c8d07d7c1f2aa5807fb9066c48b3319404fb
[ "Apache-2.0" ]
permissive
ivomarb/tensorflow
6bb05bc6dbaa8e59b43d00a8216bb0b8cb766080
df2fbb89588065fca2c6e5fcfba7d8c2b4378591
refs/heads/master
2020-06-26T05:03:06.321649
2019-07-29T20:30:03
2019-07-29T21:40:30
199,530,704
1
0
Apache-2.0
2019-07-29T21:45:39
2019-07-29T21:45:38
null
UTF-8
Python
false
false
4,359
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
94e94f0a49146bdb6be636a8ec08afefab19692d
34652a47355a8dbe9200db229a1bbc62619de364
/Matlibplots/dataset/weighted_moving_average.py
ba1c72dd6c5721cf2c82d983bfe57dd402757fc0
[]
no_license
btrif/Python_dev_repo
df34ab7066eab662a5c11467d390e067ab5bf0f8
b4c81010a1476721cabc2621b17d92fead9314b4
refs/heads/master
2020-04-02T13:34:11.655162
2019-11-10T11:08:23
2019-11-10T11:08:23
154,487,015
0
1
null
null
null
null
UTF-8
Python
false
false
1,098
py
# Created by Bogdan Trif on 05-02-2018 , 11:25 AM. import numpy as np import matplotlib.pyplot as plt #first generate some datapoint for a randomly sampled noisy sinewave x = np.random.random(1000)*10 noise = np.random.normal(scale=0.3,size=len(x)) y = np.sin(x) + noise #plot the data plt.plot(x,y,'ro',alpha=0.3,ms=...
[ "bogdan.evanzo@gmail.com" ]
bogdan.evanzo@gmail.com
104faf0976a57398e08a2092df8011c01c40ff5a
2e5dbb3b851a3e96d715bc50c54b2dbe84b52a7d
/dl/lecture01/furniture/download_furniture.py
bf49967dc44eb0f6705f470a5f97d465ab403096
[]
no_license
devforfu/fastai_courses
b3116ec93cef2174e661c1d1884a33d8510f08a5
82ee6e299c805f10e224c6a3473ac75ffbfdada4
refs/heads/master
2020-04-02T07:04:23.766567
2018-12-21T16:49:04
2018-12-21T16:49:04
154,180,455
4
1
null
null
null
null
UTF-8
Python
false
false
5,327
py
import os import json import argparse from io import BytesIO from pathlib import Path from dataclasses import dataclass, asdict from functools import partial import configparser from multiprocessing import Pool, cpu_count import requests import numpy as np import pandas as pd from PIL import Image from fastai.core imp...
[ "developer.z@outlook.com" ]
developer.z@outlook.com
9a7ac17a45a71f1de7afea23e28e8af49840222c
645aa520f2eff7e6001574e57c986aba129e4dd3
/tests/test_visualize_pathways.py
608a46c9346eadcb1ae18f44d046049486192b9e
[ "Apache-2.0" ]
permissive
google/transitfeed
08c4ecfb6872b6c0dc409d9a35b32ef515e30253
104b5a5b339c62a94c1579d7209a41c7c0833e35
refs/heads/master
2023-09-05T03:08:17.640950
2022-05-23T16:23:53
2022-05-23T16:23:53
24,061,376
680
299
Apache-2.0
2022-09-28T09:02:50
2014-09-15T15:16:32
Python
UTF-8
Python
false
false
649
py
import os.path import unittest import visualize_pathways def get_file_contents(filename): with open(filename, 'rb') as f: return f.read() class TestVisualizePathways(unittest.TestCase): def test_gtfs_to_graphviz(self): testdata_dir = os.path.join(os.path.dirname(__file__), ...
[ "noreply@github.com" ]
google.noreply@github.com
24e60d5e6ab4bd5e2bb4c8fbc73fed26abb5cbe7
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part003815.py
5e5bdd4608ad234dd7dc490f41749f64838b0581
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
1,296
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
425ae4bad5ec2bf6ae6e55096f9b329ab59d9a73
022b22d343e2c3d89a865c2b5d684e82c692771e
/frontend_docker/project/main/views.py
753ec13fe01e0c17192f09af50c9bdade4d1cc2f
[ "MIT" ]
permissive
jessequinn/hbsis
f4050f5f0850001bc3284ce2c94266ccb00a4c70
149b8c41c75732dcbcc23e667831fdb42cab786e
refs/heads/master
2022-12-18T01:13:27.354613
2019-02-08T10:27:35
2019-02-08T10:27:35
169,249,120
0
0
MIT
2022-12-08T01:35:31
2019-02-05T13:54:21
JavaScript
UTF-8
Python
false
false
5,545
py
import datetime import json import pytz import urllib.request from flask import render_template, request, flash, Blueprint, redirect, url_for from flask_login import login_required, current_user from project import app, db from project.models import WeatherRegistration from .forms import WeatherRegistrationForm main_b...
[ "me@jessequinn.info" ]
me@jessequinn.info
bc27b8fa61132158c9004b0c3d96302cee57c123
c9fde4576216a22e8d5711bbe97adda1aafa2f08
/model-optimizer/mo/front/caffe/extractor.py
8f6115655b5973294584661bca6889d30733e4aa
[ "Apache-2.0" ]
permissive
dliang0406/dldt
c703d6a837de3f996528fc8a9543f9530b23342c
d9b10abcebafe8b10ba81e09e433de7a366c072c
refs/heads/2018
2020-04-03T08:24:47.723353
2018-10-29T07:58:05
2018-10-29T07:58:05
155,132,108
3
1
Apache-2.0
2019-10-10T08:39:46
2018-10-29T01:03:54
C++
UTF-8
Python
false
false
5,994
py
""" Copyright (c) 2018 Intel Corporation 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 wri...
[ "openvino_pushbot@intel.com" ]
openvino_pushbot@intel.com
a0364d6e371684383b61216b8d9e5677beb97814
b394bb6bd3e8848688b525f55e82962f152c1bb3
/demos/upload/linear_systems/Complexity of Mat-Mat multiplication and LU.py
f4e79703fc521e02f24bfee84b294558fbd90ad9
[]
no_license
lukeolson/cs450-f20-demos
02c2431d7696348cf9ca1ab67bdd5c44a97ac38b
040e7dfa15c68f7f426cf69655cb600926f9f626
refs/heads/master
2023-01-22T19:12:33.394521
2020-12-03T19:48:18
2020-12-03T19:48:18
288,542,898
5
10
null
2020-10-05T19:39:07
2020-08-18T19:13:52
null
UTF-8
Python
false
false
1,025
py
#!/usr/bin/env python # coding: utf-8 # # Relative cost of matrix operations # In[1]: import numpy as np import scipy.linalg as spla import scipy as sp import matplotlib.pyplot as pt from time import time np.alterdot() # In[2]: n_values = (10**np.linspace(1, 3.25, 15)).astype(np.int32) n_values # In[3]: ...
[ "luke.olson@gmail.com" ]
luke.olson@gmail.com
90afc3a58e3e9c99e3416d2d843ca5e084f3e87a
a2b6bc9bdd2bdbe5871edb613065dd2397175cb3
/medium/Rotate List.py
8ad51c14cc944ec9af60a8ec92c7c8d4a1311263
[]
no_license
Asunqingwen/LeetCode
ed8d2043a31f86e9e256123439388d7d223269be
b7c59c826bcd17cb1333571eb9f13f5c2b89b4ee
refs/heads/master
2022-09-26T01:46:59.790316
2022-09-01T08:20:37
2022-09-01T08:20:37
95,668,066
0
0
null
null
null
null
UTF-8
Python
false
false
1,931
py
# -*- coding: utf-8 -*- # @Time : 2019/10/29 0029 10:26 # @Author : 没有蜡笔的小新 # @E-mail : sqw123az@sina.com # @FileName: Rotate List.py # @Software: PyCharm # @Blog :https://blog.csdn.net/Asunqingwen # @GitHub :https://github.com/Asunqingwen """ Given a linked list, rotate the list to the right by k places, wher...
[ "sqw123az@sina.com" ]
sqw123az@sina.com
f3815f70c32f2896f4449435b1bacfddcf8375c9
39e647e9ec8524a1cee90ef15f37a3d3bbf8ac43
/poet/trunk/pythonLibs/Django-1.3/tests/modeltests/proxy_models/models.py
30f14bc931b97f11cff5cbcf7a99bf9d15829bc7
[ "BSD-3-Clause" ]
permissive
AgileAdaptiveTools/POETTools
85158f043e73b430c1d19a172b75e028a15c2018
60244865dd850a3e7346f9c6c3daf74ea1b02448
refs/heads/master
2021-01-18T14:46:08.025574
2013-01-28T19:18:11
2013-01-28T19:18:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,229
py
""" By specifying the 'proxy' Meta attribute, model subclasses can specify that they will take data directly from the table of their base class table rather than using a new table of their own. This allows them to act as simple proxies, providing a modified interface to the data from the base class. """ from dj...
[ "ssaltzman@mitre.org" ]
ssaltzman@mitre.org
fd8aa3ea52ca26a7bff1f7c7d6f9d22f8f4d59b7
c038d06c31de0919d70c04f517f7490146ff80df
/train_nn.py
b8a8c4cc52d03dcfcdb4e339de6e584971a4eca1
[]
no_license
KWAN-YWAN/gtd-analytics
235df79f9b95b1734928cd2a9b4d54c5bf3f88e8
10fd7fa2965bb0efcc2396d86d3998afbc0fe7c8
refs/heads/master
2020-03-28T18:13:39.976015
2018-07-11T21:56:29
2018-07-11T21:56:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,579
py
#!/usr/bin/env python import numpy as np import pandas as pd # Plotter library import seaborn as sns import matplotlib.pyplot as plt # Own libraries import data_preparation as prep from nn import Nn from sklearn import preprocessing def filter_data(df): # Filter for only kidnapping data (1st, 2nd or 3rd attac...
[ "vinh-ngu@hotmail.com" ]
vinh-ngu@hotmail.com