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
3ce218574fdef85fc097503d423a3aab88bbc7ad
8e25365117fdeb2e27a8d8207c6d150f839a57b0
/sample_function.py
2548d85a249f73d27f77b3891cc5cfccaa6739a9
[]
no_license
rajagennu/python_hackerrank
5feae3ee67f5f03613f365c788c1881b8ce6b691
863522cfa5365418019331e5042276cfbfaf4783
refs/heads/master
2022-11-18T13:23:20.165402
2020-07-18T16:08:20
2020-07-18T16:08:20
266,466,365
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
from random import randint def padding(modifier): random_numer = randint(1, 10) return random_numer + modifier print(padding(5))
[ "replituser@example.com" ]
replituser@example.com
8eec87f0ec970c1c4218ea275e77e39df6aaba19
50914176887f9f21a3489a9407195ba14831354c
/guess_number_higher_or_lower.py
526240182e29a6ff0eabd433fc3fab55af78b4ad
[]
no_license
nkukarl/leetcode
e8cfc2a31e64b68222ad7af631277f1f66d277bc
b1dbe37e8ca1c88714f91643085625ccced76e07
refs/heads/master
2021-01-10T05:42:04.022807
2018-02-24T03:55:24
2018-02-24T03:55:24
43,725,072
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
def guess(num): N = 2 if N == num: return 0 if num > N: return -1 return 1 class Solution(object): def guess_number(self, n): low, high = 1, n while low < high: mid = (low + high) // 2 resp = guess(mid) if 0 == resp: ...
[ "kai.wang.nankai@gmail.com" ]
kai.wang.nankai@gmail.com
9ed33d1e385c295eec8c16b6e9b9895bd7e82776
6b16ebc5eff0eca638959662319998e123bcea6e
/app/View/playing_interface/smallest_play_mode_interface.py
129385810821115111c2b9988f907cb492c6fe40
[]
no_license
wlmsoft/Groove
fa71964080343335beac0535e15dcc5d1ef76faa
da78c8bba159c67c7a25ba64dae060a577c816e8
refs/heads/master
2023-04-04T08:41:43.404671
2021-04-17T03:24:09
2021-04-17T03:24:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,098
py
# coding:utf-8 from PyQt5.QtCore import ( QAbstractAnimation, QEasingCurve, QEvent, QParallelAnimationGroup, QPropertyAnimation, QRect, Qt, ) from PyQt5.QtGui import QFont, QFontMetrics from PyQt5.QtWidgets import QGraphicsOpacityEffect, QLabel, QSlider, QWidget from .play_bar_buttons impo...
[ "1319158137@qq.com" ]
1319158137@qq.com
d232aebeb075ae5e26d1a59f961d2a76c9897602
57eff74aacf082ef132d6944c0e4cd78fe6d29d7
/tests/integration/templatetags/test_polls_tags.py
960743983daa31ab044bb72c9558b8b0d0d67a89
[ "BSD-3-Clause" ]
permissive
bitbike/django-machina
a3a850db5996907a38b48020b60e404b6f94ff59
0b772d5d3e107f41e901e4b488685ac179a10648
refs/heads/master
2020-04-03T04:17:30.900186
2018-10-24T02:47:33
2018-10-24T02:47:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,407
py
import pytest from django.contrib.auth.models import AnonymousUser from django.template import Context from django.template.base import Template from django.test.client import RequestFactory from machina.core.db.models import get_model from machina.core.loading import get_class from machina.test.factories import Group...
[ "morgan.aubert@zoho.com" ]
morgan.aubert@zoho.com
d7d0d39eadd20554ddc16e5bd2fc3b0ce398ec14
eea1c66c80784d4aefeb0d5fd2e186f9a3b1ac6e
/atcoder/aising2020/c.py
8197aed672f741ca2fbecff7d9be69c326c2c4ba
[]
no_license
reo11/AtCoder
4e99d6f40d8befe264761e3b8c33d3a6b7ba0fe9
69c6d67f05cb9190d8fb07204488cd7ce4d0bed2
refs/heads/master
2023-08-28T10:54:50.859288
2023-08-22T18:52:47
2023-08-22T18:52:47
162,085,118
4
0
null
2023-07-01T14:17:28
2018-12-17T06:31:10
Python
UTF-8
Python
false
false
340
py
n = int(input()) ans = [] f = [0 for _ in range(10 ** 4 + 1)] for x in range(1, 101): for y in range(1, 101): for z in range(1, 101): tmp = x ** 2 + y ** 2 + z ** 2 + x * y + y * z + z * x if tmp <= n: f[tmp] += 1 for i in range(1, n + 1): ans.append(str(f[i])) pr...
[ "reohirao116@gmail.com" ]
reohirao116@gmail.com
5d2768e0798d279f7587d06124782c383d8457ef
9c8abb2013189633914073a668495122db0f77c1
/settings.py
37b1cc3ceb02f7fd5e1719a71c33eb74aed298a6
[]
no_license
AshkenSC/Python-Space-Invaders
160a63e88a74f0b21ea8a234c556c72feab75a54
84d7447b04065dd13b048d4f3583b81a31fbe8ea
refs/heads/master
2020-04-15T10:17:16.399152
2019-01-30T15:27:20
2019-01-30T15:27:20
164,589,478
0
0
null
null
null
null
UTF-8
Python
false
false
1,643
py
class Settings(): '''the class to store all the settings of Space Invaders''' def __init__(self): '''initiate STATIC game settings''' # screen settings self.screen_width = 800 self.screen_height = 600 self.bg_color = (230, 230, 230) # player ship settings ...
[ "393940378@qq.com" ]
393940378@qq.com
593c706d70c4ae49d0bcd2ce03ea406919a56f68
5b221c2809d82cf13a2b24a56589943315cdb381
/2019/2019-9.py
254abf9fce3f220ac0c39571eac5cd1d09c3d711
[]
no_license
Bruce-V/CS-BM25
c2cd797e9be2fc55af9c8944882fd55109ebee61
2401f0ddb24c1712b13c0c96e13565f60d48705d
refs/heads/main
2023-01-04T23:29:20.906427
2020-11-09T08:44:22
2020-11-09T08:44:22
259,228,835
0
0
null
null
null
null
UTF-8
Python
false
false
12,622
py
# Copyright 2020 zicheng Zhang(18551701375@163.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "1714624946@qq.com" ]
1714624946@qq.com
7020eb68faae0860c627ff2294f7634b5de374a3
dfa8337a94c6cdc8347589a8daf75accf556dd49
/.local/bin/pylint
7e1094266bdd2ee60efac6f0cdfe474d15bf1839
[]
no_license
momentum-morehouse/django-uptact-GabeJunior-1196
2689fb43fd36ab676d78fbbbbd7dcb758ef6a98e
84964e3b9f98d3fe6642c5918ec9f506bb6dcf06
refs/heads/master
2022-11-14T18:26:57.941198
2020-07-12T22:09:20
2020-07-12T22:09:20
277,572,585
0
0
null
null
null
null
UTF-8
Python
false
false
236
#!/opt/virtualenvs/python3/bin/python # -*- coding: utf-8 -*- import re import sys from pylint import run_pylint if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(run_pylint())
[ "replituser@example.com" ]
replituser@example.com
682721200239fbac0506bf9be3b4a686c6b4db46
ed92b38fcb124629c67d93835425a33a717f7177
/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/canonicalize_unittest.py
d7179541e56298505cb90bd223c7a523a57895fc
[]
no_license
nikolaszimmermann/WebKitIgalia
725ef1f00f9c77bb8762e4b9b46e691419513ebe
8fc0a5537b76b55cf4f27a9892a6310cf28c7ade
refs/heads/main
2022-07-31T20:38:37.715991
2021-09-11T08:59:37
2021-10-18T21:55:59
420,998,021
2
0
null
null
null
null
UTF-8
Python
false
false
11,002
py
# Copyright (C) 2020-2021 Apple Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and ...
[ "jbedard@apple.com" ]
jbedard@apple.com
2a6375e0b917dbc1b0e991dbae5f952e1487d58f
50b2a866c65e925dde2802ec1541885a7b0edb64
/src/server_config.py
f43169e8ef471e0f0bc2428f2849a184726f1c90
[]
no_license
sandumjacob/Dynamic-NIDS-Evaluation-Utility
68aacc97f120bdc04abd37c3ea8c055923509cf1
a9f6b286c435a39eb8a452a1b360e36b822a0f7a
refs/heads/master
2021-03-12T06:47:46.154350
2020-03-12T19:59:55
2020-03-12T19:59:55
246,598,654
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
SERVER_IP = '127.0.0.1' # SERVER_IP = '10.0.0.8' SERVER_PORT = 5000 SERVER_BUFFER_SIZE = 1024 # How many clients to wait for connection from CLIENT_COUNT = 1
[ "root@localhost.localdomain" ]
root@localhost.localdomain
8cd208cef461d1bf7645a4c31f9e5b7b4541aa5a
250962c80383ecf9c2f94e2874c1e1f961f6a181
/escpos/constants.py
a239e30a932526ceba5155148dd630c29d55b29d
[ "Apache-2.0" ]
permissive
kmee/pyescpos
aa59d6f2d1a9c99d3d9a55da1e1c543c49105da3
b0a0040cd770c1658258a870caca1a33ff010460
refs/heads/master
2023-07-07T09:02:41.581454
2022-04-14T19:05:17
2022-04-14T19:05:17
106,326,996
0
1
Apache-2.0
2022-04-20T18:29:21
2017-10-09T19:34:38
Python
UTF-8
Python
false
false
1,339
py
# -*- coding: utf-8 -*- # # escpos/constants.py # # Copyright 2015 Base4 Sistemas Ltda ME # # 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 # ...
[ "daniel@base4.com.br" ]
daniel@base4.com.br
d67b04b1475e4e9ef6b21c70a5a033fc6675fea6
e1ba0eb26a14be38c1b2fdf0902417d2552be913
/REM/Tool/ghidra_9.1.2_PUBLIC/Ghidra/Features/Python/data/jython-2.7.1/Lib/BaseHTTPServer.py
4e7ef9338fe77f110316df75d309a49a73e0985f
[ "Apache-2.0", "LGPL-2.1-only", "MIT" ]
permissive
dodieboy/Np_class
db7fb9d4f4eb0fe4d5bb38dc05e69a9cbd485cf0
5c6e517599a20658ee23bdbdd76f197f2f4a1b63
refs/heads/master
2022-11-15T10:29:30.587639
2022-06-24T12:25:45
2022-06-24T12:25:45
181,395,891
0
2
MIT
2020-05-30T06:22:17
2019-04-15T02:07:40
C#
UTF-8
Python
false
false
22,905
py
"""HTTP server base class. Note: the class in this module doesn't implement any HTTP request; see SimpleHTTPServer for simple implementations of GET, HEAD and POST (including CGI scripts). It does, however, optionally implement HTTP/1.1 persistent connections, as of version 0.3. Contents: - BaseHTTPRequestHandler: ...
[ "dodieboy@users.noreply.github.com" ]
dodieboy@users.noreply.github.com
e1bfe9e9f183400da3f8fca486753fb5c5098df0
afe4f8281c1b80621c8b682d22aed6bfc8d15fc7
/blogaccountsite/wsgi.py
ec4aecfe41d47ac1b3b5ed242f544180a30a2e7d
[]
no_license
mahidul-islam/oj
9242f1cd2ce9a2520a2c63321be7728bb33d756c
fab39fa4bac6cb8ad6d72cb139a22afa75b1fd56
refs/heads/master
2022-12-12T07:16:03.097332
2018-07-04T13:57:36
2018-07-04T13:57:36
139,730,070
1
0
null
2021-09-07T23:56:02
2018-07-04T14:04:45
CSS
UTF-8
Python
false
false
499
py
""" WSGI config for blogaccountsite 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.0/howto/deployment/wsgi/ """ import os from whitenoise.django import DjangoWhiteNoise from django.core.wsgi import ge...
[ "mizihan84@gmail.com" ]
mizihan84@gmail.com
60e7b3178a56b624693b275db2e1fde0e14c68ce
692b907d07eee8ce3ee32a1fda74b6d92fd6c548
/tests/cli/v1_3_3/test_device_onboarding_pnp.py
0ac37f9bcc1140404f5e92da4fcad93eb834bc6b
[ "MIT" ]
permissive
AltusConsulting/dnacentercli
04c9c7d00b25753a26c643994388dd4e23bf4c54
26ea46fdbd40fc30649ea1d8803158655aa545aa
refs/heads/master
2022-12-16T04:50:30.076420
2020-07-17T22:12:39
2020-07-17T22:12:39
212,206,213
0
0
MIT
2022-12-08T06:39:49
2019-10-01T21:50:42
Python
UTF-8
Python
false
false
43,318
py
# -*- coding: utf-8 -*- """DNACenterAPI Device Onboarding (PnP) API fixtures and tests. Copyright (c) 2019 Cisco and/or its affiliates. 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 res...
[ "jbogarin@altus.cr" ]
jbogarin@altus.cr
6ac04cb5b96f0a40f16345db3711813dc5793109
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/slxos/v17s_1_02/isis_state/interface_detail/isis_intf/l2_circ_metrics/__init__.py
80633925b236960c4d49636892f40d3900cec3c5
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
38,594
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
9d4286f51f796ee07f9c9689d5e16a93c185dad9
2b398353f5b0529ac666ef180e9dc966474a70c0
/vspk/v5_0/nuvm.py
cf6e82657c84100dc2dc0640b6f91968bc58d512
[ "BSD-3-Clause" ]
permissive
nuagenetworks/vspk-python
e0c4570be81da2a4d8946299cb44eaf9559e0170
9a44d3015aa6424d0154c8c8a42297669cce11f9
refs/heads/master
2023-06-01T01:12:47.011489
2023-05-12T19:48:52
2023-05-12T19:48:52
53,171,411
21
18
BSD-3-Clause
2020-12-16T12:36:58
2016-03-04T23:10:58
Python
UTF-8
Python
false
false
27,147
py
# -*- coding: utf-8 -*- # # Copyright (c) 2015, Alcatel-Lucent Inc, 2017 Nokia # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrigh...
[ "corentin.henry@nokia.com" ]
corentin.henry@nokia.com
dc22848f4ebe315f336530a4cd8573b1d181df82
39b9ae78f0bfb17fbdc8bbfa604f856e753154d3
/src/aac_datasets/utils/collate.py
f7f3a8939d50e9fff207e1268e054f28361adb27
[ "MIT" ]
permissive
Labbeti/aac-datasets
9de00690dcf95fcdc39ec4c2f82b598576fa4bbb
52133540542c3b1b1fba9546e795a96622979056
refs/heads/main
2023-08-31T00:17:24.325928
2023-05-11T08:54:25
2023-05-11T08:54:25
493,979,158
46
0
null
null
null
null
UTF-8
Python
false
false
4,336
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from typing import Any, Dict, List, TypeVar, Union import torch from torch import Tensor from torch.nn import functional as F T = TypeVar("T") class BasicCollate: """Collate object for :class:`~torch.utils.data.dataloader.DataLoader`. Merge lists in dicts in...
[ "etienne.labbe31@gmail.com" ]
etienne.labbe31@gmail.com
bb5798af7f5b7ac852880514e51bfbacf911e296
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/v34oCTbkrceCZjgRE_10.py
c54979682cf50d42833333a04ece99accfcf5aa3
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,233
py
""" The **right shift** operation is similar to **floor division by powers of two** , thus, the process is _repetitive_ and can be done _recursively_. Sample calculation using the right shift operator ( `>>` ): 80 >> 3 = floor(80/2^3) = floor(80/8) = 10 -24 >> 2 = floor(-24/2^2) = floor(-24/4) = -6 -5 ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
6904c6701cd55c3d5a8ea4a4ab5985c5fede348c
ffe606c85de9009d2c15356f82daa524c343b925
/12.5.redux/data/mkInterRaw.py
44cdb9a989c9b57e6034b64602279c91e4946483
[]
no_license
jbinkleyj/story_writer
d88ff7e3360fb8afd12445d1cb237788636b3083
dc5106a35f5fbce72f8cf0801c0ad4cbc0c9f12f
refs/heads/master
2020-07-09T15:54:02.492373
2017-12-16T07:26:59
2017-12-16T07:26:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,943
py
import os import argparse from nltk.stem import WordNetLemmatizer as WNL wnl = WNL() with open("nouncount.raw") as f: nouns = [x.split("\t")[0] for x in f.readlines()] print(len(nouns)) nouns = [wnl.lemmatize(n,pos='n') for n in nouns] print(len(set(nouns))) exit() def parseParams(): parser = argparse.ArgumentPars...
[ "kedzior@uw.edu" ]
kedzior@uw.edu
b51dc9a0519f650354fb3bd983db8ea83f8bcada
04803c70bb97012b7d500a177ac0240fb2ddbe38
/blend3_pdep/pdep/network742_1.py
e379e6bbd30b94463fcbbfb7db73fc42e093f1cc
[]
no_license
shenghuiqin/chpd
735e0415f6688d88579fc935459c1b0f53596d1d
396ba54629036e3f2be0b3fabe09b78c90d56939
refs/heads/master
2023-03-01T23:29:02.118150
2019-10-05T04:02:23
2019-10-05T04:02:23
192,084,217
0
0
null
2019-06-18T18:33:13
2019-06-15T13:52:28
HTML
UTF-8
Python
false
false
111,220
py
species( label = '[CH2]CC([CH]C(C)=O)C=O(8130)', structure = SMILES('[CH2]CC(C=O)C=C(C)[O]'), E0 = (-61.31,'kJ/mol'), modes = [ HarmonicOscillator(frequencies=([3010,987.5,1337.5,450,1655,2750,2800,2850,1350,1500,750,1050,1375,1000,3000,3100,440,815,1455,1000,1380,1390,370,380,2900,435,2750,2850...
[ "qin.she@husky.neu.edu" ]
qin.she@husky.neu.edu
2686c10d717de9e0a0a843214f7f55cdae879bb8
937313d90f1cc8c0b4a6fa90f8ba33a9e31be71d
/events/contribution/doctype/contribution_item/contribution_item.py
93d16ff6ec5d539d02ea947fa828b57b78ed84ab
[ "MIT" ]
permissive
bobzz-zone/korecent_gias
a7dafe2eaeecbd53f4a060e72098c5bfbba67bd5
4d456c6a4455b247cd6710f55bd7ebd30a615093
refs/heads/master
2021-01-20T05:19:03.577088
2017-08-28T13:07:21
2017-08-28T13:07:21
101,425,747
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
# -*- coding: utf-8 -*- # Copyright (c) 2015, bobzz.zone@gmail.com and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document class ContributionItem(Document): pass
[ "bobzz.zone@gmail.com" ]
bobzz.zone@gmail.com
5ce633162ef77335b572b7931a14ef3f1d121526
45de3aa97525713e3a452c18dcabe61ac9cf0877
/src/primaires/scripting/actions/changer_stat.py
9be53ad6a93dcc43d22bf3b07946e41a7ff1d81f
[ "BSD-3-Clause" ]
permissive
stormi/tsunami
95a6da188eadea3620c70f7028f32806ee2ec0d1
bdc853229834b52b2ee8ed54a3161a1a3133d926
refs/heads/master
2020-12-26T04:27:13.578652
2015-11-17T21:32:38
2015-11-17T21:32:38
25,606,146
0
0
null
null
null
null
UTF-8
Python
false
false
3,194
py
# -*-coding:Utf-8 -* # Copyright (c) 2014 LE GOFF Vincent # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # lis...
[ "stormi@laposte.net" ]
stormi@laposte.net
5d1cfecb8fabf44a4d43ec619892469e0003e314
066e874cc6d72d82e098d81a220cbbb1d66948f7
/migrations/versions/c7cdcf7845d7_.py
d523e12da43e9723bcb82b19f484e9cd93d3a248
[]
no_license
webdeveloper001/flask-inboundlead
776792485a998a0eaa4b14016c3a2066e75ff2a2
d0a539d86342e9efc54d0c0a1adc02c609f0f762
refs/heads/master
2021-01-19T01:34:55.241144
2017-04-05T00:42:03
2017-04-05T00:42:03
87,248,885
1
0
null
null
null
null
UTF-8
Python
false
false
681
py
"""empty message Revision ID: c7cdcf7845d7 Revises: d2d6e1b48e4b Create Date: 2017-03-06 17:09:02.886878 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'c7cdcf7845d7' down_revision = 'd2d6e1b48e4b' branch_labels = None depends_on = None def upgrade(): # ...
[ "jamesbrown1018@outlook.com" ]
jamesbrown1018@outlook.com
9541bbb6b0bf90c84b9acd9ea52f6d18e8fd1ecf
317feb2f3982a4c6aeed9ef32be7cec2eafad0db
/webapp_project/webapp_project/wsgi.py
00cf53035533ee012b60803f3250f77a43bfb00c
[ "MIT" ]
permissive
r-singh/Test2
36be6dc13e97dc92b6f7f3bab6852bdb1755c2df
4ebdf533a974be99d7f85f27fe2b03c8214f4307
refs/heads/master
2020-06-04T01:02:53.945429
2014-04-15T22:10:57
2014-04-15T22:10:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,576
py
""" WSGI config for webapp_project project. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via the ``WSGI_APPLICA...
[ "vagrant@localhost.localdomain" ]
vagrant@localhost.localdomain
4993d2d4cbdccdb0a704ee094ee77a8004d43aea
460b4ec7a8e9332567bae637797c3cf29619d651
/tasks/__init__.py
932ca98768354ea6e883ea008dff684e65fa1e55
[]
no_license
agajews/tfbrain-v2
e1a79d805007913afb91dd60c73bdf64beba4122
86f595bf61d41f70af2bcc6ac3cd6abd6aa0615f
refs/heads/master
2021-01-13T09:10:02.249595
2016-09-26T13:04:02
2016-09-26T13:04:02
69,250,088
0
0
null
null
null
null
UTF-8
Python
false
false
109
py
from .conf import * from .helpers import * from .rl import * from .async_rl import * # from .baxter import *
[ "agajews@gmail.com" ]
agajews@gmail.com
699cf439264c0a513273c23ce5fd10abd352b4dc
de9b8b7192a0a81e9249823bb2b86f0b7e452863
/.history/classes/Season_20171106231139.py
014af206fdc7b7ef79d3e86456871c59ec64a42e
[ "MIT" ]
permissive
reecebenson/uwe-dadsa-tennis-a
f5eaeb1b96d4e61f29279514e68eeea8ad6533db
d0763f819b300fcd0ce27041f5bc4ef0519c00bf
refs/heads/master
2023-07-08T16:13:23.963348
2017-11-30T12:07:01
2017-11-30T12:07:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,359
py
# DADSA - Assignment 1 # Reece Benson from classes import Player as Player class Season(): _app = None _j_data = None _name = None _players = { } _rounds = { } _rounds_raw = { } _settings = { } def __init__(self, _app, name, j_data): # Set our application as a variable ...
[ "me@reecebenson.me" ]
me@reecebenson.me
9722073d175f94f7dab389b73191271fca8bf56a
c9dc1df17ecb9e279eb4403b83358363cdbe7fee
/project/cms/migrations/0042_robotsfile.py
6d6177838930114ae197e834346653b665c93c69
[]
no_license
m0nte-cr1st0/keyua
c3894a94c9bfe73409078be11cb1d3f64831054c
b964ebb7e260fbebdbc27e3a571fed6278196cac
refs/heads/master
2022-11-25T16:03:51.882386
2020-01-09T12:57:54
2020-01-09T12:57:54
232,809,529
0
0
null
2022-11-22T02:24:49
2020-01-09T12:58:10
Python
UTF-8
Python
false
false
524
py
# Generated by Django 2.0 on 2018-05-31 05:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cms', '0041_page_show_on_sitemap'), ] operations = [ migrations.CreateModel( name='RobotsFile', fields=[ ...
[ "dinamo.mutu111@gmail.com" ]
dinamo.mutu111@gmail.com
8d1cdff2c9acddbe3598defdb2d60850a9dcf1f5
747febe786dd6b7fd6c63cfe73dbe3023354daa8
/src/the_tale/the_tale/game/heroes/tests/test_position.py
f1979acb4fda6888d34a210e24e138b5f85f4429
[ "BSD-3-Clause" ]
permissive
the-tale/the-tale
4e4b8d91dc873a5fb935fe58e9721a877baa6d3f
e8450bd2332344da805b1851e728da5a3e5bf0ef
refs/heads/develop
2023-08-01T13:53:46.835667
2022-12-25T18:04:56
2022-12-25T18:04:56
1,949,167
98
52
BSD-3-Clause
2023-02-15T18:57:33
2011-06-24T18:49:48
Python
UTF-8
Python
false
false
2,558
py
import smart_imports smart_imports.all() class HeroPositionTest(utils_testcase.TestCase): def setUp(self): super().setUp() self.place_1, self.place_2, self.place_3 = game_logic.create_test_map() account = self.accounts_factory.create_account(is_fast=True) self.storage = game_...
[ "a.eletsky@gmail.com" ]
a.eletsky@gmail.com
9ba48e21a5bb920ffd38c0a2f663d53bb638c96b
658ab464e9c796f819ad85f569ad06ab6e66992e
/src/fun_advance/lambda_do.py
d3dc0c4582fc3a73521a52be349200ff33ca651a
[]
no_license
huowolf/python-demo
03e5731ba632caada819dd70d0f9dc07c98308a1
e3b80dcc0e0bc2437a0b2882e17563c8171460a2
refs/heads/master
2020-03-23T22:00:57.515258
2018-09-07T15:33:22
2018-09-07T15:33:22
142,147,622
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
#lambda x: x * x #关键字lambda表示匿名函数,冒号前面的x表示函数参数 def build(x,y): return lambda: x * x + y * y ret=build(3, 4) print(ret())
[ "274956285@qq.com" ]
274956285@qq.com
d2d4a2b1dfa9689dfae43aaf9826ae9ce6d9ec9e
14421a12c4e80395567e676394d369fd9619bd32
/Scripts/PythonMidLvl/18a.py
f086632f4babe33a1d49b02b67f075a425925d86
[]
no_license
jawor92/Python-Udemy-Mobilo
7b331e8197233c3116e43e0b3c1110b9b878762e
8098508835121a1536c2753bc4eedbf17163c93d
refs/heads/master
2020-12-09T21:39:09.366604
2020-01-12T19:31:09
2020-01-12T19:31:09
233,423,486
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
# -*- coding: utf-8 -*- """ Created on Sun Nov 10 12:59:09 2019 @author: Mateusz.Jaworski """ instruction = ['hello', 'borrow money', 'thanks',' bye'] instructionaproved = [] for x in instruction: instructionaproved.append(x) print("Instructions: ", x) if x == 'abort': print('Aborting!') ...
[ "jaworski92@gmail.com" ]
jaworski92@gmail.com
29c97db78034eada0c7a09ca9c148802244cb74a
5ee028ee2582a2d566c22a32097a1fcbed314fcc
/openwsn-sw/software/openvisualizer/openvisualizer/openUI/OpenFrameState.py
e9875efea59a982a991f6aeb7e4cae664ae400df
[]
permissive
ssciancalepore/BitTransfer
70c5b271743ebe683d7a3a37d595dbab132f903e
b9d343b0219259f4870e9362b99c27f544014b89
refs/heads/master
2022-06-20T18:38:03.271254
2019-09-15T04:56:32
2019-09-15T04:56:32
199,583,953
1
1
BSD-3-Clause
2022-06-03T22:45:01
2019-07-30T05:53:29
C
UTF-8
Python
false
false
3,641
py
import json import OpenFrame import OpenTable import OpenGuiLib class OpenFrameState(OpenFrame.OpenFrame): def __init__(self,guiParent,width=None,height=None,frameName="frame",row=0,column=0,columnspan=1): # store params self.guiParent = guiParent self.frameName =...
[ "savio.sciancalepore@gmail.com" ]
savio.sciancalepore@gmail.com
59d5b15c9732b600a0ca31557ae1b2819802a2ea
ef3a90b7c27ebf82d50deeb83a05342a812e6605
/example-config.py
deffa805d58c9c720fbce17c25de7aebec4a269c
[ "MIT" ]
permissive
lun-4/catcord
f50d36fbeab94baaf6549e4218499e67a998680a
44ea9a892ea169147a25a9c17280f8cc407304c0
refs/heads/master
2021-08-31T08:37:56.519112
2017-12-20T19:58:07
2017-12-20T19:58:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
20
py
token = 'asdasdasd'
[ "lkmnds@gmail.com" ]
lkmnds@gmail.com
326d4a7a256e8a3f83b1d53706bd8bf9f71ea751
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/django-1.5/tests/regressiontests/admin_scripts/simple_app/__init__.py
8c134fbadb64e49649a8c6240ec0e7f5b85826f8
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
124
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.5/tests/regressiontests/admin_scripts/simple_app/__init__.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
18cede7516bf74c3d0b77d1cd896e9f8359e1fe0
5e84763c16bd6e6ef06cf7a129bb4bd29dd61ec5
/blimgui/dist/OpenGL/raw/GL/WIN/specular_fog.py
804cb34e65bdca76ce90df49a444c08976a1bb30
[ "MIT" ]
permissive
juso40/bl2sdk_Mods
8422a37ca9c2c2bbf231a2399cbcb84379b7e848
29f79c41cfb49ea5b1dd1bec559795727e868558
refs/heads/master
2023-08-15T02:28:38.142874
2023-07-22T21:48:01
2023-07-22T21:48:01
188,486,371
42
110
MIT
2022-11-20T09:47:56
2019-05-24T20:55:10
Python
UTF-8
Python
false
false
563
py
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.GL import _types as _cs # End users want this... from OpenGL.raw.GL._types import * from OpenGL.raw.GL import _errors from OpenGL.constant import Constant as _C import ctypes _...
[ "justin.sostmann@googlemail.com" ]
justin.sostmann@googlemail.com
7a5b06736ee55b26c419191273ec7ee857c0319d
18aee5d93a63eab684fe69e3aa0abd1372dd5d08
/test/legacy_test/test_executor_feed_non_tensor.py
b7e1f02beb4b7512d45fb152d4ee8fe542d75cef
[ "Apache-2.0" ]
permissive
Shixiaowei02/Paddle
8d049f4f29e281de2fb1ffcd143997c88078eadb
3d4d995f26c48f7792b325806ec3d110fc59f6fc
refs/heads/develop
2023-06-26T06:25:48.074273
2023-06-14T06:40:21
2023-06-14T06:40:21
174,320,213
2
1
Apache-2.0
2022-12-28T05:14:30
2019-03-07T10:09:34
C++
UTF-8
Python
false
false
7,326
py
# Copyright (c) 2020 PaddlePaddle 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 app...
[ "noreply@github.com" ]
Shixiaowei02.noreply@github.com
fc72a72f740bdd02af58325a660fb79fa0e9702d
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/carbon/common/lib/cherrypy/lib/static.py
ac793bf377f74bccc26e8e52a83faa20b07527a9
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,792
py
#Embedded file name: carbon/common/lib/cherrypy/lib\static.py import logging import mimetypes mimetypes.init() mimetypes.types_map['.dwg'] = 'image/x-dwg' mimetypes.types_map['.ico'] = 'image/x-icon' mimetypes.types_map['.bz2'] = 'application/x-bzip2' mimetypes.types_map['.gz'] = 'application/x-gzip' import os import r...
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
23c8af7aea382e4d3cfe4b8efe1bb5266fce4e09
5edd00b7d8f21fbd1cbb4a36722aba83f7f18656
/test/12_dependency_versions/cibuildwheel_test.py
55248bf20fc79a810d77636df181320684b887e3
[ "MIT", "BSD-2-Clause" ]
permissive
daleathan/cibuildwheel
ab24c8f3e597ba0948517430bd31935220e7b263
3e335044c61aa8da34d6fa904cae566cd1ce0808
refs/heads/master
2020-07-27T21:12:05.181999
2020-04-10T16:23:42
2020-04-10T16:23:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,266
py
import os import re import pytest import textwrap import cibuildwheel.util import utils VERSION_REGEX = r'([\w-]+)==([^\s]+)' def get_versions_from_constraint_file(constraint_file): with open(constraint_file, encoding='utf8') as f: constraint_file_text = f.read() versions = {} for package, ver...
[ "joerick@mac.com" ]
joerick@mac.com
fae414b730695848b9b5b0e7e6095ee04e0a4ff6
e6e81d0cd02223ca27f2c3f544b3c116e7617270
/LeetCodePremium/1123.lowest-common-ancestor-of-deepest-leaves.py
5196cf0120d686be09c5e23c898b8fa6345ad720
[]
no_license
ashjambhulkar/objectoriented
86166640b0546713095dd5d8804fc78d31782662
6f07b50590ceef231be38d6d7b8c73a40c1152e9
refs/heads/master
2022-05-03T23:28:38.674275
2022-04-26T21:37:31
2022-04-26T21:37:31
249,091,045
0
0
null
null
null
null
UTF-8
Python
false
false
1,210
py
# # @lc app=leetcode id=1123 lang=python3 # # [1123] Lowest Common Ancestor of Deepest Leaves # # @lc code=start # 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...
[ "ashjambhulkar@hotmail.com" ]
ashjambhulkar@hotmail.com
f592e8dba7f277e3bda52fc030d724ef8cd02ce4
2fb7f13ec25781a49f0814d2010f9c090329e659
/tests/test_builtins/uk/test_ukraine_spec.py
4c946615b09bce648d28e031e487a321fa6d5292
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Shanmugapriya03/mimesis
a526769be2e35d297b7ec68c31f1072b6f51d64a
649253fef05c6b5c362805000c1d7a99898aa0fe
refs/heads/master
2020-08-06T03:58:49.276067
2019-10-04T06:42:57
2019-10-04T06:42:57
212,824,895
1
0
MIT
2019-10-04T13:46:56
2019-10-04T13:46:56
null
UTF-8
Python
false
false
540
py
import pytest from mimesis.builtins import UkraineSpecProvider from mimesis.enums import Gender from mimesis.exceptions import NonEnumerableError @pytest.fixture def ukraine(): return UkraineSpecProvider() @pytest.mark.parametrize( 'gender', [ Gender.FEMALE, Gender.MALE, ], ) def test_p...
[ "likid.geimfari@gmail.com" ]
likid.geimfari@gmail.com
78b6b35553aa4d72ed3306ef2898427322922902
c8b2cc8965283e2d940c2cd5432c3fa682e3638c
/examples/terminal.py
a7a3d6e85e53adb1af152c49103556500a56cb06
[ "MIT" ]
permissive
gitter-badger/DevAssist
1ae87fc3505f0feb7657921377f65b167a0b39ff
be0b4221b2d379cf9e8c65454f1329d6fb910f0c
refs/heads/master
2021-01-16T19:48:45.694776
2016-02-10T15:33:44
2016-02-10T15:33:44
51,457,297
0
0
null
2016-02-10T17:20:25
2016-02-10T17:20:25
null
UTF-8
Python
false
false
391
py
from DevAssist import DevAssist my_devassist = DevAssist() my_devassist.process("") while True: # @TODO: Normalize input from different versions of python user_input = raw_input("Human: ") # Leave if the user is done if user_input == "quit": exit(0) # Generate response response = my_...
[ "valetolpegin@gmail.com" ]
valetolpegin@gmail.com
a942bedde48b5e6541bc1f2dc7af4a10448cbf40
fc0eda8560a26c88b790d236070ed0559d0dc4a4
/leetcode/basicDS08_heap/b02_lc347_top_k_frequent_elements.py
21a0b6c42751ec427c3d9bec2556f59a52f81e92
[]
no_license
pankypan/DataStructureAndAlgo
b4bd417a16cdb594bbed2ca0220dbd63eb60f3c1
6c5d40d57d378994236549f8dea906c75121eadf
refs/heads/master
2021-08-03T01:22:08.442709
2021-07-19T14:56:44
2021-07-19T14:56:44
279,599,190
4
1
null
null
null
null
UTF-8
Python
false
false
1,078
py
# basicDS05_heap https://leetcode-cn.com/problems/top-k-frequent-elements/ import heapq from typing import List class Solution: @staticmethod def get_num_statics(nums) -> dict: hash_table = dict() for num in nums: if num in hash_table: hash_table[num] += 1 ...
[ "1356523334@qq.com" ]
1356523334@qq.com
a25af68831ed484b843fa0dcc34da703e3117143
adb280d422df64880debadd3b67a97f0c0869989
/src/utils/logger.py
bad9ce3934a54795b6f9d74f01af27c3ae13835a
[ "Apache-2.0" ]
permissive
biothings/biothings_explorer_web_old
d924ff888a7c7e5a01c2e93cd65f3c8a795648e8
ee7e60aa7a6eb5c9944921493063a76fdc1d3db2
refs/heads/master
2022-03-17T00:01:47.851518
2019-11-07T21:26:10
2019-11-07T21:26:10
82,010,818
1
0
null
null
null
null
UTF-8
Python
false
false
1,066
py
import os, time, datetime import logging import inspect def get_logger(logger_name, log_folder=None, timestamp="%Y%m%d", level=logging.DEBUG): """ Configure a logger object from logger_name and return (logger, logfile) """ from config import LOG_FILE_ROOT # if doesn't specify a log folder, use the...
[ "kevinxin@scripps.edu" ]
kevinxin@scripps.edu
d8854d358f9e5cdd59f0e50511c3f669895a8b8b
3a74764c3fc38f87cd2ed0ba9e96b23ad9a0677e
/bite_144/bite_144.py
df94d9a8f587deafa609f37f3a7497f89f2aafce
[]
no_license
nalwayv/bitesofpy
7dbc7cb55c9bc3c111f67243759cf56a2b785f51
56b0f7f85fd4b18d11a1b5df8da0a95e5ba2dcaa
refs/heads/master
2023-05-26T05:46:06.859108
2020-02-05T00:02:35
2020-02-05T00:02:35
216,651,358
2
0
null
2023-05-22T22:43:16
2019-10-21T19:41:25
HTML
UTF-8
Python
false
false
1,944
py
""" Bite 144. Calculate the Number of Months Passed """ from datetime import date from dateutil.relativedelta import relativedelta START_DATE = date(2018, 11, 1) MIN_DAYS_TO_COUNT_AS_MONTH = 10 MONTHS_PER_YEAR = 12 def calc_months_passed(year, month, day): """Construct a date object from the passed in argumen...
[ "nalwayv@googlemail.com" ]
nalwayv@googlemail.com
bed041cf24e432a76115526e3956a15fd8d80839
2f63688febd21dc3ae6b19abfa79ad313c820154
/For Irene/DFS/0938_Range_Sum_of_BST.py
8028386c36fd192c2ea01a1603763c2e0bd3c142
[]
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
618
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 rangeSumBST(self, root: Optional[TreeNode], low: int, high: int) -> int: ans = 0 ...
[ "f14051172@gs.ncku.edu.tw" ]
f14051172@gs.ncku.edu.tw
be17f52a78be4a863aa7b18e00af390d2d11966e
c43c88015f9498aed5f3b5a339d245c31781444e
/Free/l10n_by_doc/report/report_waybill.py
347ec855716e4142af55494c78208705ba538981
[]
no_license
mulaudzicalvin/perpul
65106d41d5197fea17628ac1a7fa7e581d29d75e
00e3a5ee1771d2e09a48460ca23c2e9c2ef507d6
refs/heads/master
2020-03-09T18:39:33.131420
2018-02-05T05:17:36
2018-02-05T05:17:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
969
py
# -*- coding: utf-8 -*- ############################################################################## # # Perpul # Copyright (C) 2016 CodUP (<http://codup.com>). # ############################################################################## from flectra import api, models from report_helper import QWebHelper ...
[ "daniel.podvesker@perpul.co" ]
daniel.podvesker@perpul.co
185d598106dfbf637a7c47faa42c6c4fe6450c31
24d8cf871b092b2d60fc85d5320e1bc761a7cbe2
/emesene/rev1286-1505/base-trunk-1286/desktop.py
aecfa820abe7f3244e3c947efdbbd7b4a8c296bb
[]
no_license
joliebig/featurehouse_fstmerge_examples
af1b963537839d13e834f829cf51f8ad5e6ffe76
1a99c1788f0eb9f1e5d8c2ced3892d00cd9449ad
refs/heads/master
2016-09-05T10:24:50.974902
2013-03-28T16:28:47
2013-03-28T16:28:47
9,080,611
3
2
null
null
null
null
UTF-8
Python
false
false
6,661
py
""" Simple desktop integration for Python. This module provides desktop environment detection and resource opening support for a selection of common and standardised desktop environments. Copyright (C) 2005, 2006 Paul Boddie <paul@boddie.org.uk> This library is free software; you can redistribute it and/or modify it un...
[ "joliebig@fim.uni-passau.de" ]
joliebig@fim.uni-passau.de
ac96d791fd218866f388d481fafeb181f964bfea
ac5c28044dcad1331aaf11ba2112e5d18ed53472
/experiment/models.py
873e6490b08737f900c4e4b79e6bbfdd642170fb
[ "MIT" ]
permissive
seakers/daphne_brain
2c4cd278591db7e21d639dbaa87235383d1ac5f5
4e3220d41552d224fee375d85f7cbc8106de7fc8
refs/heads/main
2023-08-21T14:21:00.795145
2022-10-20T20:26:05
2022-10-20T20:26:05
85,344,849
1
1
MIT
2023-02-16T06:37:34
2017-03-17T18:51:12
PLpgSQL
UTF-8
Python
false
false
2,230
py
from django.db import models # Experiment Context (to perform experiments with human subjects and Daphne) from daphne_context.models import UserInformation class ExperimentContext(models.Model): user_information = models.OneToOneField(UserInformation, on_delete=models.CASCADE) is_running = models.BooleanFie...
[ "ani300@gmail.com" ]
ani300@gmail.com
bf7013d24eab75836cdf292866fe2c6c680b154d
53f5f694a83800b4465bd0417820117832f0f97d
/ifcbdb/dashboard/migrations/0019_auto_20190528_0647.py
884b52bac1da41ff17061cc72bb96b746517d698
[ "MIT" ]
permissive
WHOIGit/ifcbdb
083da3dd223e6791b35ff952dc2e6b2970b8db50
36cac457b31b614b7eda2c15e28cbd2fbba7d388
refs/heads/master
2023-08-31T03:55:05.539434
2023-06-22T11:48:05
2023-06-22T11:48:05
178,424,730
5
6
MIT
2023-08-30T17:35:42
2019-03-29T14:53:50
Python
UTF-8
Python
false
false
1,183
py
# Generated by Django 2.1.7 on 2019-05-28 06:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dashboard', '0018_auto_20190508_1659'), ] operations = [ migrations.AlterField( model_name='bin', name='concentratio...
[ "joefutrelle@gmail.com" ]
joefutrelle@gmail.com
5f41b1f3ee4e8792dd6455938e861c3e1a67e80c
ef9ab6d3ebb22fea68901c0e681abc25e5379fa6
/FanFilmE2/fanfilm/resources/lib/sources/pl/serialeco.py
dc4170f3b9a78c322736bf81789d6b1624837c71
[]
no_license
OpenPE/eePlugins
b2098a082ee5a5d929a29683e2334dc3895cb4b5
8f4a2963d5489e760eb778a10f00c3b49356d517
refs/heads/master
2020-07-30T11:27:28.198034
2019-09-16T15:13:55
2019-09-16T15:13:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,135
py
# -*- coding: utf-8 -*- ''' Covenant Add-on Copyright (C) 2018 :) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any late...
[ "zdzislaw22@windowslive.com" ]
zdzislaw22@windowslive.com
dac5f9ee311610fe481bf4209faef487ff95852d
304033f60097c489cbc60aab639be45ccdbef1a5
/algorithms/boj/dijkstra/1162.py
f27956edaec3a3b91c338c4611930bbae2ba73f1
[]
no_license
pgw928/TIL
3d0c47c07bd1f5c73826daf8579a2b0e3f93cb95
765906f1e6eecad4ad8ec9bf704041433d7eb304
refs/heads/master
2023-06-29T05:46:30.039815
2021-08-10T17:38:11
2021-08-10T17:38:11
288,923,095
3
0
null
null
null
null
UTF-8
Python
false
false
1,024
py
import sys import heapq from math import inf from itertools import combinations input = sys.stdin.readline N, M, K = map(int, input().split()) pre = [tuple(map(int, input().split())) for _ in range(M)] combs = combinations(range(M),K) def dijkstra(start): hq = [] heapq.heappush(hq, (0, start)) distanc...
[ "pku928@naver.com" ]
pku928@naver.com
467289ab1680efe59ad7630bb59afa447224159b
49663ea34b41c8180d7484f778f5cad2e701d220
/tests/platform_tests/api/test_module.py
8310c0f31aff76975ad6a86a2a124cdbddc53e25
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
stepanblyschak/sonic-mgmt
ed08c98e7bff1615b057daa8711686aa5986073d
a1ae1e0b4e9927e6f52916f76121780d19ec3e54
refs/heads/master
2023-04-07T01:30:11.403900
2023-03-29T10:16:52
2023-03-29T10:16:52
135,678,178
0
0
NOASSERTION
2023-03-29T16:13:55
2018-06-01T06:41:49
Python
UTF-8
Python
false
false
25,044
py
import logging import re import pytest import yaml from time import sleep from tests.common.helpers.platform_api import chassis, module from tests.platform_tests.cli.util import get_skip_mod_list from platform_api_test_base import PlatformApiTestBase from tests.common.helpers.assertions import pytest_assert #########...
[ "noreply@github.com" ]
stepanblyschak.noreply@github.com
919f4cea47fb24fd61b0b8ef0e6c3b13d4cbcbb2
cced1f1ad18c6d9c3b96b2ae53cac8e86846f1f5
/Blog/comment/templatetags/comment.py
986e54415fdcb2915afba673ef52a43bd8aa4d30
[]
no_license
sug5806/portfolio
a3904be506a3746e16da57bba5926c38743783ad
b943955a52c622094a58fb9124323298261ae80a
refs/heads/master
2022-12-10T06:23:38.472893
2019-07-05T04:56:59
2019-07-05T04:56:59
190,156,107
0
0
null
null
null
null
UTF-8
Python
false
false
827
py
from django.contrib.contenttypes.models import ContentType from django.template import Library from django.template.loader import render_to_string register = Library() from comment.forms import CommentForm from comment.models import Comment @register.simple_tag(takes_context=True) def show_comment(context, content_...
[ "sug5806@gmail.com" ]
sug5806@gmail.com
07c38900b1136a95de01872886ab8a1d18c0f9fd
63598a5a625265f01d2ab68475db7277b4649da0
/minet/cli/facebook/utils.py
fc6f8f019e75ea8322d1e2c9ec4f95ef1e2b2f16
[]
no_license
metinefendie/minet
dcb83829ccd574c94301b65a9a1c071b85ceb7c2
072723d75ed7c60c370866c92da0f299fe12da21
refs/heads/master
2022-04-25T13:35:31.998650
2020-04-23T16:51:59
2020-04-23T16:51:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,479
py
# ============================================================================= # Minet Facebook CLI Action Utils # ============================================================================= # # Miscellaneous helpers used by `minet fb`. # from http.cookies import SimpleCookie from minet.utils import grab_cookies fr...
[ "guillaumeplique@gmail.com" ]
guillaumeplique@gmail.com
b653a43ed41620c6a44b82f778844b4d44bfd45b
536aa3e7833ead462ccb087e827f2a490e1b5216
/stripe/api_resources/payout.py
8227c4573a00b7fce53dc1804bcdc34647dbb857
[ "MIT" ]
permissive
condemane/stripe-python
83b6026fec6742535b352a396622453fb6fc8f84
1ca277051cf212c6ac8a22b49321cfe9e1ffd405
refs/heads/master
2021-07-23T16:39:05.896112
2017-11-03T02:47:45
2017-11-03T02:47:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
509
py
from __future__ import absolute_import, division, print_function from stripe.api_resources.abstract import CreateableAPIResource from stripe.api_resources.abstract import UpdateableAPIResource from stripe.api_resources.abstract import ListableAPIResource class Payout(CreateableAPIResource, UpdateableAPIResource, ...
[ "ob@stripe.com" ]
ob@stripe.com
060f65c40048132d59b778c41e50f1d54ffe6d33
0130c8b14927097663157846adc4b146d67d2fda
/tests/common/test_run/apply_rms_prop_run.py
7db08112a030e82d216c1e0b4300a05ddbe3e473
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "BSD-3-Clause", "NCSA", "LLVM-exception", "Zlib", "BSD-2-Clause", "MIT" ]
permissive
Shigangli/akg
e8be3e0ee1eafe3e42b4cc4d424c28f08ef4c0bc
3766c54e0b109541932d147a6b5643a334b82403
refs/heads/master
2023-09-06T05:13:40.571583
2021-11-23T03:44:54
2021-11-23T03:44:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,815
py
# Copyright 2019 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "1027252281@qq.com" ]
1027252281@qq.com
7eb6a5d9af4f57d491515c07e0c11b67f9e29645
e6c65e2e354336a4bea5b6a4ccbccd3682915fe2
/out-bin/py/google/fhir/models/model_test.runfiles/com_google_fhir/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/contrib/model_pruning/python/layers/layers.py
e255ebdd6e43d2e1813249df0d0bd09c09554c6d
[ "Apache-2.0" ]
permissive
rasalt/fhir-datalab
c30ab773d84983dd04a37e9d0ddec8bf2824b8a4
3e329fc8b4226d3e3a4a7c23c306a86e7a9ea0de
refs/heads/master
2021-10-09T05:51:04.593416
2018-12-21T18:11:03
2018-12-22T05:38:32
162,744,237
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
/home/rkharwar/.cache/bazel/_bazel_rkharwar/0ddaa3627472ad9d1367a008236ce2f5/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/contrib/model_pruning/python/layers/layers.py
[ "ruchika.kharwar@gmail.com" ]
ruchika.kharwar@gmail.com
5bee5290eb8c83bb54a8d79b006d8dfc6e35367b
019b885fb971359524943730af2d6b67e6d322d5
/build/lib/presalytics_story/models/permission_type.py
fdb4ad98c9cf89b36528b372f37176843c1dae6c
[ "MIT" ]
permissive
presalytics/story-python-client
ab9ce85e680dad2ceb70832935cc03318b6f0b3f
48ac7830b85d65b94a9f6bbfc0c7ee8344327084
refs/heads/master
2020-08-04T23:22:34.877485
2019-12-27T22:54:30
2019-12-27T22:54:30
212,312,466
0
0
null
null
null
null
UTF-8
Python
false
false
9,297
py
# coding: utf-8 """ Communcations No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: 0.1 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six cl...
[ "kevin@chart-a-lot.com" ]
kevin@chart-a-lot.com
fd1edb275f814cbcec1af4f8623c8ba04dfae2a3
ccc81e5a1e6d2be66423e376919deec4b30875ce
/bot_led.py
c32a509bfbc5dc115091008e9e714a3b17fd4151
[]
no_license
BitcoinOfThings/bot-pi
04135b43d03430a2fcfe71e71330bd9b6ac2ba87
36556fef5f3a4e2916bb8464818ddb6f3c56c1b6
refs/heads/master
2020-09-26T08:05:17.102902
2019-12-26T22:44:37
2019-12-26T22:44:37
226,211,976
1
0
null
null
null
null
UTF-8
Python
false
false
1,010
py
# listens for mqtt messages and controls led connected to rpi import paho.mqtt.client as mqtt import RPi.GPIO as GPIO import json # LED = 32 def on_message(client, userdata, message) : try: #print(message.payload) msg = json.loads(message.payload.decode('utf8')) #print(msg["message"]) ...
[ "dfoderick@gmail.com" ]
dfoderick@gmail.com
59a353c86bbd81769180b33bf609a5936e95282c
daf28ed3f20340a136f19d582019fbd2554b6ea6
/python/Ds_phikkpi_cfg.py
bc75d02bbc626a93145b58b803555864b749fd35
[]
no_license
NiharSaha/Ds_MC_Gen_fragment
ccb4d48a80e46c260da0c7c7e821ad4da12f6a43
b9bf94cb4f0cf4ffa2619e4671a8c70ca37aaf5d
refs/heads/master
2022-01-08T10:31:43.544326
2018-04-12T19:45:30
2018-04-12T19:45:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,729
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import * from GeneratorInterface.EvtGenInterface.EvtGenSetting_cff import * generator = cms.EDFilter("Pythia8GeneratorFilter", pythiaPylistVerbosity = cms...
[ "peng43@purdue.edu" ]
peng43@purdue.edu
b1d5d7cd5f9f1fb3404761cf7c3fd4aae7a133e5
a3fddbf8d953bce9b84173c1ba48780e849f86ef
/dave/to_nxspe.py
63548c2bb5691e8e29ada6a7bd7e8c15082e47b9
[]
no_license
rosswhitfield/wand
79f99bef519ed9c334fddcb5396ab66d56f2903e
562b1f89acb46749e220081117e2cbda2014df36
refs/heads/master
2021-06-02T05:38:00.741277
2021-04-14T13:19:18
2021-04-14T13:19:18
97,755,927
0
0
null
null
null
null
UTF-8
Python
false
false
851
py
from mantid.simpleapi import * import numpy as np import sys E=36.9384 w = np.array([1.487,1.489]) van=LoadNexus('/SNS/users/rwp/wand/HB2C_2933_Van_processed_grouped.nxs') for run in range(2952,4754): ws = LoadEventNexus(Filename='/HFIR/HB2C/IPTS-7776/nexus/HB2C_{}.nxs.h5'.format(run)) ws = Integration(ws) ...
[ "whitfieldre@ornl.gov" ]
whitfieldre@ornl.gov
486d98111acd3519a084b097828552d3cef1702d
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r10p1/Gen/DecFiles/options/12197021.py
af80b709441910822e79a0e64731bb6622b81026
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,821
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r10p1/Gen/DecFiles/options/12197021.py generated: Wed, 25 Jan 2017 15:25:28 # # Event Type: 12197021 # # ASCII decay Descriptor: [B+ -> D*(2010)+ anti-D0 K*0]cc with D* forced to (D0->Kpi) pi+ and K* into Kpi # from Configurables import Generation Generation().EventType = 12197...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
c84343b041f36369f7566eeaad96750410cb5505
e5f5b70dc5ef5ee52d897845e68a3d6feef2d17b
/chart/bar.py
204f6ab486c0cc317318bb2bb047d9ff9ffb7a34
[ "MIT" ]
permissive
maxhumber/chart
e5b16bffac63b29f814d7778253da3e721bc013e
8f19609c14dedc09b07e4682c703107d53cd9714
refs/heads/master
2020-07-01T21:29:18.914053
2020-04-29T18:00:36
2020-04-29T18:00:36
201,306,637
63
8
null
null
null
null
UTF-8
Python
false
false
2,233
py
# HACK: to enable interactive development in Atom/Hydrogen try: from .preprocessing import RangeScaler except ModuleNotFoundError: from chart.preprocessing import RangeScaler def create_label(label, label_width): '''Add right padding to a text label''' label = label[:label_width] label = label.rjus...
[ "max.humber@gmail.com" ]
max.humber@gmail.com
ce1e831f63a122a4a600268f2c8e2738f7e4329c
589363013048ea3962bdc1e8d7b0cb74481e4dbd
/2022/boj11723.py
02631accea1f0fd66cded1a0f3b65c1dcd0b4509
[]
no_license
zjvlzld/algoritm
53b97698a6b4385a0636bb076514a9dd458c8adf
4339aee51e46ee2fbf3d40bc97fb7fdb51447f50
refs/heads/master
2022-08-31T04:48:51.537065
2022-08-18T23:59:45
2022-08-18T23:59:45
178,524,683
2
0
null
null
null
null
UTF-8
Python
false
false
610
py
import sys T=int(input()) S=[-1 for _ in range(21)] for _ in range(T): get=sys.stdin.readline().rstrip().split(" ") if(get[0]=='add'): S[int(get[1])]=1 continue elif(get[0]=='remove'): S[int(get[1])]=-1 continue elif(get[0]=='check'): if S[int(get[1])]==1: ...
[ "jongsik1995@naver.com" ]
jongsik1995@naver.com
fb5177041f67fbb172219a9d83558812f3e4e953
d91f28f9b8882af0f4d36a43775e6ac35a8716f0
/payroll/urls.py
667371a3d2f962125bf46ef77fe054877239163f
[]
no_license
shaddysparks/web_system
9ea74159ee74435a44d5c560b8a3cb0594cb22bf
1c854a9a2566c51fbfcef2d7f1f9fbbb778c7711
refs/heads/master
2020-05-02T11:46:35.998041
2019-03-20T10:03:33
2019-03-20T10:03:33
177,938,855
1
0
null
2019-03-27T07:15:52
2019-03-27T07:15:52
null
UTF-8
Python
false
false
131
py
from django.urls import path from . import views app_name = 'payroll' urlpatterns = [ path('', views.index, name='index'), ]
[ "kyezaarnold63@gmail.com" ]
kyezaarnold63@gmail.com
32c73283b5ac44a971e562d676c636b5d8f59a2b
99b84337ae66ad2877544fd158f20e7f4cd96520
/day11-20/day17/TCP(老师版)/TCPServer.py
be0ecc868dd22962f21507fc15cd062ce46e03e6
[]
no_license
jiajiabin/python_study
cf145d54cabce2cb98914b3448ed7d0e5c1c146c
b4faaff26ee9728af2e80942ba6a7c7f6a8b0f86
refs/heads/master
2020-06-21T21:31:26.034978
2019-08-26T11:39:34
2019-08-26T11:39:34
197,556,254
2
0
null
null
null
null
UTF-8
Python
false
false
1,101
py
import socket # 服务端 # 1.配置套接字 首先设置数据传输方式为TCP,然后绑定IP和端口 # AF_INET 表示我们使用的IP地址是IPv4 # AF_INET6 表示使用的IP地址是IPv6 # SOCK_STREAM 表示使用的是TCP协议 # SOCK_DGRAM 表示使用UDP协议 server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) server_socket.bind(("192.168.53.133", 8923)) # 服务器上有很多的程序,很多的进程。通过端口找到指定的进程 # 2.监听客户端的链接请求,参数是最...
[ "2592668397@qq.com" ]
2592668397@qq.com
c7c165068d12252bd5b6e7058d0ef6e1db1d6bff
06f7ffdae684ac3cc258c45c3daabce98243f64f
/vsts/vsts/licensing/v4_0/models/account_license_usage.py
4fa792ae3d93eb20672766f3fe8c850211691444
[ "MIT", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown" ]
permissive
kenkuo/azure-devops-python-api
7dbfb35f1c9637c9db10207824dd535c4d6861e8
9ac38a97a06ee9e0ee56530de170154f6ed39c98
refs/heads/master
2020-04-03T17:47:29.526104
2018-10-25T17:46:09
2018-10-25T17:46:09
155,459,045
0
0
MIT
2018-10-30T21:32:43
2018-10-30T21:32:42
null
UTF-8
Python
false
false
1,370
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "tedchamb@microsoft.com" ]
tedchamb@microsoft.com
1ed1155b1470647513721c29c89919c8d698fef0
dbec98678f62786fabf0dd32f7e1a464b67cca7f
/basic/migrations/0020_auto_20171024_1407.py
eb0ed79bd18802528ff3972927d104fced4861fa
[ "BSD-2-Clause" ]
permissive
kgdunn/django-peer-review-system
afc30052f37584e6db90a361d8d2c7613c7e500e
8d013961e00d189fbbade5283128e956a27954f8
refs/heads/master
2023-07-07T06:39:00.357200
2020-03-20T11:49:25
2020-03-20T11:49:25
244,141,048
0
0
BSD-2-Clause
2023-08-28T17:25:13
2020-03-01T12:00:19
Python
UTF-8
Python
false
false
505
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-10-24 12:07 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('basic', '0019_email_task'), ] operations = [ migrations.AlterField( ...
[ "kgdunn@gmail.com" ]
kgdunn@gmail.com
f4447eb60eec73954e51b7efa70ffa9f18869a7a
24a291e5eb298b7c2b4f1105d789ac488457b59c
/Python_Basics/python06_16_DataTypeEx0_김민교.py
539d13510fc578ff955549ac1e7e68e6f860fb61
[]
no_license
gmrdns03/Python-Introductory-Course_Minkyo
da3afff502ed44f178d5b3885fbb1b01249ad1de
ef0d4e16aee3dba6a4a10c422ef68b1465745833
refs/heads/main
2023-05-29T16:08:31.814542
2021-06-23T13:32:14
2021-06-23T13:32:14
379,300,979
1
0
null
null
null
null
UTF-8
Python
false
false
463
py
vl01 = 10 vl02 = 20 print(id(vl01)) print(id(vl02)) ''' 1530162480 == vl01이라는 변수에 10이 저장되어 있는 주소값 1530162800 == vl02이라는 변수에 20이 저장되어 있는 주소값 id 함수는 변수가 가리키고 있는 객체의 주소 값을 돌려주는 파이썬 내장 함수이다. 즉 여기에서 필자가 만든 변수 vl01이 가리키는 리스트의 주소 값은 1530162480 임을 알 수 있다. '''
[ "noreply@github.com" ]
gmrdns03.noreply@github.com
47c2d6a4851473c5dd8779a58f3fbb002659da78
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/inspur/sm/plugins/modules/self_test_info.py
a5b0be963a3356086489952a29788583ec4b1504
[ "MIT", "GPL-3.0-only", "GPL-3.0-or-later" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
2,215
py
#!/usr/bin/python # -*- coding:utf-8 -*- # Copyright (C) 2020 Inspur Inc. All Rights Reserved. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' --- module: self_tes...
[ "sifang@cisco.com" ]
sifang@cisco.com
a9b71fb35cb9b4697e21386b2dfe9d822a2ea36d
29e4d393351c87741f069092eb8d0ab6f1221d6f
/venv/lib/python3.6/site-packages/Crypto/SelfTest/Cipher/common.py
1e0bd39b12a294f29a22d8089d838bce068bfaf9
[ "MIT" ]
permissive
masora1030/eigoyurusan
f0eb7d9761aa150379b558c13fc2477daf504417
fa82044a2dc2f0f1f7454f5394e6d68fa923c289
refs/heads/master
2022-12-01T09:31:17.330620
2020-07-22T14:51:59
2020-07-22T14:51:59
279,682,018
11
2
MIT
2020-07-22T22:02:57
2020-07-14T20:03:45
Python
UTF-8
Python
false
false
16,996
py
# -*- coding: utf-8 -*- # # SelfTest/Hash/common.py: Common code for Crypto.SelfTest.Hash # # Written in 2008 by Dwayne C. Litzenberger <dlitz@dlitz.net> # # =================================================================== # The contents of this file are dedicated to the public domain. To # the extent that dedicat...
[ "soraemonpockt@icloud.com" ]
soraemonpockt@icloud.com
4bec9cee9ab3ceccad438dbfcd99bb203b1eb59c
6b8c3974d3ce5f7841e51dcb406666c0c5d92155
/heat/heat/tests/neutron/test_neutron_network_gateway.py
66ae2180b7545a572fcff56648dd482313effa70
[ "Apache-2.0" ]
permissive
swjang/cloudexchange
bbbf78a2e7444c1070a55378092c17e8ecb27059
c06ed54f38daeff23166fb0940b27df74c70fc3e
refs/heads/master
2020-12-29T03:18:43.076887
2015-09-21T07:13:22
2015-09-21T07:13:22
42,845,532
1
1
null
2015-09-21T07:13:22
2015-09-21T05:19:35
C++
UTF-8
Python
false
false
22,563
py
# # Copyright 2013 NTT Corp. # 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 ap...
[ "kiku4@kinx.net" ]
kiku4@kinx.net
50e4e33a9e057ace2c4b3719982e0faa15bf0597
863a1cda00ab2eda30a9463d69e471740ae7c515
/models/SSD_DetNet.py
b458d2bf238bfabb08290b34efd92b1166b4bf1f
[]
no_license
sclzsx/Improved_SSD
ab9571c09c22589da61f00ecd42896ac194b3444
bd6229a134188ab08115fa4105ec0c96f4824b0f
refs/heads/master
2023-03-28T08:26:27.583019
2021-04-02T13:38:30
2021-04-02T13:38:30
354,029,229
0
0
null
null
null
null
UTF-8
Python
false
false
6,365
py
import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable import torchvision.transforms as transforms import torchvision.models as models import torch.backends.cudnn as cudnn import os import torch.nn.init as init from models.modules import * from models.FPN import DetNet_FP...
[ "1044068981@qq.com" ]
1044068981@qq.com
948c0c259fac695a9fbfea3b1168e90cb825530f
c0d9354f89ae9a337572318b5524856a412e1d02
/graph/127.word-ladder.py
0f21841b5c4f2b86cc708d9426433e7f133a6970
[]
no_license
caitaozhan/LeetCode
5bab0ce09e8d484712247c01fcd0186997940000
abb19fa2859634f5260d439812525bb14399ae55
refs/heads/master
2023-02-07T18:35:34.769990
2023-01-30T18:01:20
2023-01-30T18:01:20
139,379,363
6
0
null
null
null
null
UTF-8
Python
false
false
29,748
py
# # @lc app=leetcode id=127 lang=python3 # # [127] Word Ladder # # @lc code=start # import line_profiler import time from typing import List from collections import defaultdict class SolutionTLE: '''This O(n^2) solution will TLE, building the graph is too time costly ''' # @profile def ladderLength(se...
[ "caitaozhan@gmail.com" ]
caitaozhan@gmail.com
43b21f98599d04e5232fe8734a9a9ac30960cbdc
671ec3242f1d83846560ccf34ea9a924c6e37354
/pandastabletooltip/main.py
4a87276cf93fc0409da350ba10dbec02bdf9b0aa
[ "MIT" ]
permissive
simon-ritchie/pandas-table-tooltip
a4590731d57d73ac954cf221d9a2af9fe3ed6aef
cf85501f0502c4d7c7b67dfdbe592c69f5be59c8
refs/heads/master
2020-06-24T15:30:20.024367
2019-07-27T03:48:16
2019-07-27T03:48:16
199,001,497
0
0
null
null
null
null
UTF-8
Python
false
false
1,866
py
"""A module that handles tooltip display. """ import pandas as pd from IPython.display import HTML, display def make_table_html_with_tooltip(df, limit=3000): """ Make a table with tooltips. Parameters ---------- df : DataFrame DataFrame to be displayed. limit : int, default 3000 ...
[ "antisocial.sid2@gmail.com" ]
antisocial.sid2@gmail.com
a9aa83125c49314aac7eec6297fd67dfd86331f6
4c7914bf0eb52f2fe5dab70fa630a322a9449e05
/learnOpencv/venv/Scripts/easy_install-3.6-script.py
a1f29dc75bf1e2af2366ebf9c88f94bdff507b63
[]
no_license
xhongc/pythonCrawl
f334d737326a47782d2533c4db23734729f13099
a38e59496dd78b6e070ea6882043b1744190103e
refs/heads/master
2022-12-10T01:22:01.608193
2020-01-12T09:43:19
2020-01-12T09:43:22
93,115,695
4
5
null
2022-11-22T02:36:28
2017-06-02T01:47:22
Python
UTF-8
Python
false
false
464
py
#!C:\Users\xhongc\work\pythonCrawl\learnOpencv\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.6' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-scrip...
[ "408737515@qq.com" ]
408737515@qq.com
b42555da9cd6e0002fc0b67b79a21e51526bd952
f1cdcfe600aa10c871486c2cf5a91f23a00b5e81
/ch5/dorm.py
9db7ace7cf0d6f604f3e16dec60cb2c322507726
[]
no_license
mccarvik/collective_intelligence
58268c4f5bcf38466951e3ddf96aba1ad05aaa7e
9bf448eea62fa59e2ec97fdca0cafeb1d4ce5c50
refs/heads/master
2021-09-04T22:38:13.581625
2018-01-22T20:00:04
2018-01-22T20:00:04
106,424,553
0
0
null
null
null
null
UTF-8
Python
false
false
1,933
py
import random, math, pdb, time import optimization # The dorms, each of which has two available spaces dorms=['Zeus','Athena','Hercules','Bacchus','Pluto'] # People, along with their first and second choices prefs=[('Toby', ('Bacchus', 'Hercules')), ('Steve', ('Zeus', 'Pluto')), ('Karen', ('Athena', 'Ze...
[ "mccarviks@gmail.com" ]
mccarviks@gmail.com
d3dea0d179f7790f5f123aabbfaac8f1eac7b1f8
0a1f8957a798006deaa53d10d09f733fab1e6b05
/src/CADAssembler/PostProcessing/Calculix_PostProcess.py
53efc40f6ca44a42b92ac38869812a268b66624d
[ "LicenseRef-scancode-other-permissive" ]
permissive
metamorph-inc/meta-core
a89504ccb1ed2f97cc6e792ba52e3a6df349efef
bc7a05e04c7901f477fe553c59e478a837116d92
refs/heads/master
2023-03-07T02:52:57.262506
2023-03-01T18:49:49
2023-03-01T18:49:49
40,361,476
25
15
NOASSERTION
2023-01-13T16:54:30
2015-08-07T13:21:24
Python
UTF-8
Python
false
false
5,229
py
#title :Calculix_PostProcess.py #description :This script performs post processing on Calculix output files (.frd). #author :Di Yao #date :2012-6-19 #version :1.0.0.0 #usage :python pyscript.py #notes : #python_version :2.7 #========================...
[ "kevin.m.smyth@gmail.com" ]
kevin.m.smyth@gmail.com
5e24f92dbeb200f2d413edb16c62470ebe24c5dd
fb5d9f9b4ae3d7059d582ebb390916c2f9528852
/models/pix2pix_model.py
e60d32a75ef9b52d29453b688af008de8946200f
[]
no_license
tianxiaguixin002/Code-Implementation-of-Super-Resolution-ZOO
32d4168f4d8d031968b7a601cf68b50730b15b06
f6ccf309c7653a27173de5184d17bb5933baab14
refs/heads/master
2022-11-13T17:09:11.484532
2020-07-06T01:51:25
2020-07-06T01:51:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,404
py
import torch from .base_model import BaseModel from . import base_networks class Pix2PixModel(BaseModel): """ This class implements the pix2pix model, for learning a mapping from input images to output images given paired data. The model training requires '--dataset_mode aligned' dataset. By default, it ...
[ "chenyx.cs@gmail.com" ]
chenyx.cs@gmail.com
8e32439681edbd47329d1474f20b17008dc11dd4
ff8ec937d9e5bef6d527f91ec4c8a2248063e9f8
/Flask_Projects/HuntingBallApp/config/config.py
dcbf3f6a8a86d1b4f003e229f2c60d94f9750b65
[]
no_license
zyxyuanxiao/Python-Framework-Study-Resources
3c7743946b828dbd4c0a5b530363d36e54319e9c
cff0f9cefa36afa9fb43f0af5478b7428795d718
refs/heads/master
2020-09-04T15:00:06.987122
2019-08-19T10:07:29
2019-08-19T10:07:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,080
py
# -*- coding: utf-8 -*- # @Time : 2018/10/20 下午4:02 # @Author : ShaHeTop-Almighty-ares # @Email : yang6333yyx@126.com # @File : config.py # @Software: PyCharm from datetime import timedelta import redis import os def app_conf(): """ # 设置环境 export FLASK_ENV=development export FLASK_ENV=produc...
[ "yang6333yyx@126.com" ]
yang6333yyx@126.com
d163d193ab625d2cae6dc04b0724d037904fd11f
8487cb41afd00c9cc30402fd3f06e7f52650669e
/python/Run2016G-Nano14Dec2018-v1/MET_cff.py
6daabedbe6cf3b8f2b2d7082e12dc2e3ef26cd34
[]
no_license
TreeMaker/ecalBadCalibFilterLists
bf7fd35aee6bccc90b214542e163a94c3f3749f3
1e43aff994dff79d768b7b9d284aab6cb951e864
refs/heads/master
2020-04-24T05:58:37.174381
2019-03-13T20:58:15
2019-03-13T20:58:15
171,749,544
0
2
null
2019-03-13T20:58:16
2019-02-20T21:08:38
C
UTF-8
Python
false
false
1,911
py
import FWCore.ParameterSet.Config as cms maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) readFiles = cms.untracked.vstring() secFiles = cms.untracked.vstring() source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles) readFiles.extend( [ '/store/data/Run2016G/MET/...
[ "Alexx.Perloff@Colorado.edu" ]
Alexx.Perloff@Colorado.edu
580a57ae46929c6900e795d79b5db84f2c334313
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/158/48878/submittedfiles/testes.py
8ce6c6878e8f49b7c1aa558cb328afafad3ddb5b
[]
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
161
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO cf=float(input('custo de fábrica:')) cc=cf+((28/100)*cf)+((45/100)*cf) print('o valor final do carro é: %.2f' %cc)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
f9f48d29e03e63e50b03d5d8890ec5867a25678f
29fba3f7c37c05ed466e610c8e95570e78456a3e
/ops.py
073febf4bfc8f91c1502b0d52456f9d84d567e4e
[ "MIT" ]
permissive
fendaq/CartoonGAN-Tensorflow
079dc00773fee5159e3f8a5b06d6371c2d014f2a
4130160671c9690f2e7079709ed897a9678259bf
refs/heads/master
2020-03-24T02:37:18.440485
2018-07-26T02:19:01
2018-07-26T02:19:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,251
py
import tensorflow as tf import tensorflow.contrib as tf_contrib from vgg19 import Vgg19 # Xavier : tf_contrib.layers.xavier_initializer() # He : tf_contrib.layers.variance_scaling_initializer() # Normal : tf.random_normal_initializer(mean=0.0, stddev=0.02) # l2_decay : tf_contrib.layers.l2_regularizer(0.0001) weight...
[ "takis0112@gmail.com" ]
takis0112@gmail.com
3d34d9f074f5342a1d3e3ab80a45924e4c7a2f2a
71711bd2c11a3c0cbbc99bcfa78384d005e07828
/base_mcts/two_voice_uct_mcts.py
f692c0814c9e78247b25884fe720f897b93d450a
[ "BSD-3-Clause" ]
permissive
kastnerkyle/exploring_species_counterpoint
9365b2485cd227e375521f769ba1bfbd62c7b629
dda762463e64036adeba7efd46c51daaaf906019
refs/heads/master
2021-09-13T10:55:03.096300
2018-04-28T19:00:21
2018-04-28T19:00:21
103,225,538
0
0
null
null
null
null
UTF-8
Python
false
false
10,087
py
# Author: Kyle Kastner # License: BSD 3-Clause # http://mcts.ai/pubs/mcts-survey-master.pdf # See similar implementation here # https://github.com/junxiaosong/AlphaZero_Gomoku # changes from high level pseudo-code in survey # expand all children, but only rollout one # section biases to unexplored nodes, so the childr...
[ "kastnerkyle@gmail.com" ]
kastnerkyle@gmail.com
346d53ab383825b68c08ad5965f9c6b063709893
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_dampers.py
3dcd5ff2c852940976e53da2f7db1e902d48cf0b
[ "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
222
py
#calss header class _DAMPERS(): def __init__(self,): self.name = "DAMPERS" self.definitions = damper self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['damper']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
ed089dd7e4ef4bb26dae77576405c261a91ab7f2
f8f2536fa873afa43dafe0217faa9134e57c8a1e
/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListDatabaseUserPermssionsRequest.py
1f27eb7699a8380d923ac31a72e1792a68f5f12e
[ "Apache-2.0" ]
permissive
Sunnywillow/aliyun-openapi-python-sdk
40b1b17ca39467e9f8405cb2ca08a85b9befd533
6855864a1d46f818d73f5870da0efec2b820baf5
refs/heads/master
2022-12-04T02:22:27.550198
2020-08-20T04:11:34
2020-08-20T04:11:34
288,944,896
1
0
NOASSERTION
2020-08-20T08:04:01
2020-08-20T08:04:01
null
UTF-8
Python
false
false
2,355
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 u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
f6f93bec6a9ed313c15f650bd437670efc3c85ce
44ba7f2c3e396ab2c58ce42763da5c18f5d0db4b
/ethicml/implementations/svm.py
85c8de88e2b577e559d2c95422816287de183b90
[]
no_license
anonymous-iclr-3518/code-for-submission
99e45110d2377c08433b619afb9c14cf645be5b0
3aecb7642d9611ae0a61cd47948931f8f47b6f76
refs/heads/main
2023-01-13T18:27:03.728542
2020-11-25T15:21:49
2020-11-25T15:21:49
315,338,150
0
0
null
null
null
null
UTF-8
Python
false
false
1,008
py
"""Implementation of SVM (actually just a wrapper around sklearn).""" from pathlib import Path import numpy as np from sklearn.svm import SVC, LinearSVC from .utils import InAlgoArgs class SvmArgs(InAlgoArgs): """Commandline arguments for SVM.""" c: float kernel: str def main(): """This function ...
[ "anon@ymo.us" ]
anon@ymo.us
e367812cc0beb8b25b485671395f92b4d26a3224
9aaa5eccdb29909c48de9f03732d598fa66920e5
/binheap.py
1c50eeecfb93a62782851c8d25b5c828fd75b419
[ "MIT" ]
permissive
vector8188/AlgorithmAnalysisPython
76e09126be0654c9eca0a53b6153129bf8beff46
026ca8bf846a504c5eae1677680306b0462b49b9
refs/heads/master
2021-01-22T13:23:39.617256
2018-09-14T13:54:21
2018-09-14T13:54:21
100,664,673
1
0
null
null
null
null
UTF-8
Python
false
false
4,269
py
class BinHeap: """Class for implementing BinHeap.""" def __init__(self): """Bin heap constructor.""" self.heapList = [0] self.currentSize = 0 def percUp(self, i): """Checks if the newly entered item is greater/lesser than parent.""" while i > 0: if self.h...
[ "vaibhav.rbs@gmail.com" ]
vaibhav.rbs@gmail.com
36ca3c04dd363c14bcc23be5a628b5e7e6829b54
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/226/users/4131/codes/1593_1801.py
68aa91038cf015d360afa193c96d8336c1eea4bb
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
74
py
x1= input("nome") x2= int(input(" nrf ")) print(("Abra " + x1 + " ") * x2)
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
d25711699363e9206514c4e7ad370e6cdfa6d6cc
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_049/ch10_2019_02_25_13_33_57_478412.py
82ad6cf6556fc264702c4e9a127a1e2a0506b9ad
[]
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
52
py
def libras_para_kg(x): y=x*0.453592 return y
[ "you@example.com" ]
you@example.com
584d4619db06c8d1462cb07e7215ad04c548557e
31681488e69da3c7e00b0eda28e5cb720ef2299c
/liteiclink/serwb/packet.py
e8fc035b1b096ded56e1cea8560fc1819ccb2679
[ "BSD-2-Clause" ]
permissive
zsipos/liteiclink
4e9bdf6a819f490461cb33d0837247041203071d
864cd831f3475dffd1c92d6d4a1b86608680bcf2
refs/heads/master
2021-07-08T07:43:10.897604
2020-01-28T09:40:17
2020-01-28T09:40:17
245,119,569
0
0
NOASSERTION
2020-03-05T09:25:16
2020-03-05T09:25:15
null
UTF-8
Python
false
false
4,839
py
# This file is Copyright (c) 2017-2019 Florent Kermarrec <florent@enjoy-digital.fr> # License: BSD from math import ceil from migen import * from migen.genlib.misc import WaitTimer from litex.gen import * from litex.soc.interconnect import stream class HeaderField: def __init__(self, byte, offset, width): ...
[ "florent@enjoy-digital.fr" ]
florent@enjoy-digital.fr
9d848e49927a607219c022094d9a79b41a25384e
ad38b9a924911b3249b9ffec01d78a2b1048fa0d
/动态调试/Immunity Debugger v1.73/Lib/subprocess.py
975c43390b417f3aeb6e2350ef8d73efb7627874
[]
no_license
h3len/HackerToolBox
77c5a45553784d20104db21ac5fe8f840ca519a6
4397b0c25cfd0eb3f92484f396745cc664af2531
refs/heads/master
2020-04-04T22:57:47.376773
2018-10-10T15:43:06
2018-10-10T15:50:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
43,570
py
# subprocess - Subprocesses with accessible I/O streams # # For more information about this module, see PEP 324. # # This module should remain compatible with Python 2.2, see PEP 291. # # Copyright (c) 2003-2005 by Peter Astrand <astrand@lysator.liu.se> # # Licensed to PSF under a Contributor Agreement. # See ...
[ "redleavessun@gmail.com" ]
redleavessun@gmail.com
d2d2f55bf58acf2c7b0638ee9c3f974eddcc7f15
1f41b828fb652795482cdeaac1a877e2f19c252a
/maya_tools_backup/chRig/python/chModules/jointBasePsd/ui/part1_driverInfo.py
f84898d94a6be94c7c1a4dcd28d3858e67aa209f
[]
no_license
jonntd/mayadev-1
e315efe582ea433dcf18d7f1e900920f5590b293
f76aeecb592df766d05a4e10fa2c2496f0310ca4
refs/heads/master
2021-05-02T07:16:17.941007
2018-02-05T03:55:12
2018-02-05T03:55:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,678
py
import maya.cmds as cmds import uifunctions as uifnc import globalInfo import math from functools import partial class MovedDriverList: def __init__(self, width, targetUI, minValue=0.1 ): self._width = width-25 self._minValue = minValue self._updateTargetUi = targetUI ...
[ "kimsung9k@naver.com" ]
kimsung9k@naver.com
532ef36c34decb44e73a5e1b81beb7a67c57cc0a
f3b233e5053e28fa95c549017bd75a30456eb50c
/ptp1b_input/L83/83-79_MD_NVT_rerun/set_1.py
e52dbdc3dbc2b5c4afd43f06c240d855b04ecbb2
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
741
py
import os dir = '/mnt/scratch/songlin3/run/ptp1b/L83/MD_NVT_rerun/ti_one-step/83_79/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_1.in' temp_pbs = filesdir + 'temp_1.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in la...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
29fe4042cd2cbd2f2ca9d31a58cf53afd5ba5298
4368c51ce45504e2cc17ea8772eeb94c13e1c34a
/utils/meta_utils.py
2c8068279495081ff5d67c14a8d980c40f3f982b
[]
no_license
Shuai-Xie/metaASM
1eddc02846ee3fc05198883277357f9735dbaeb0
c6a7b8fe3ecbca2bdc874e3b0dad6dd8f8c1c4cd
refs/heads/master
2021-03-18T17:57:12.952618
2020-04-03T14:20:12
2020-04-03T14:20:12
247,087,294
0
0
null
null
null
null
UTF-8
Python
false
false
3,664
py
import torch import numpy as np import random from datasets import CIFAR from datasets.dataset_utils import get_cls_img_idxs_dict from datasets.transforms import transform_train from utils.asm_utils import detect_unlabel_imgs, get_select_fn """ sort each cls samples by criterion """ @torch.no_grad() def sort_cls_sa...
[ "shuaixie@zju.edu.cn" ]
shuaixie@zju.edu.cn
9c39907cb189fd01a905f1183f03c509c54c9867
c89e4099f801cb4e71b732f74ba2237883de0b16
/spider/concurrent/concur_threads_insts.py
0dbe75f7f91c002521ecda1898366e1fa47d83e3
[ "BSD-2-Clause" ]
permissive
JiyangZhang/PSpider
3abc14792875e306d4a0207f1cd872834c35335c
2151bbdd028acfa5794acab6c87988dc4bf485d3
refs/heads/master
2021-08-19T01:31:22.975247
2017-11-24T10:03:10
2017-11-24T10:38:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,792
py
# _*_ coding: utf-8 _*_ """ concur_threads_insts.py by xianhu """ import time import logging from .concur_abase import TPEnum, BaseThread # =============================================================================================================================== def work_fetch(self): """ procedure of f...
[ "qixianhu@qq.com" ]
qixianhu@qq.com
f3ad2d30d023ac96ee324cece587c787ec28b6ad
93652e0f73558ffa24059647324f79ba043ba241
/topi/tests/python/test_topi_clip.py
041565433bccd162ef55c48cb1e6cd6f106a8200
[ "Apache-2.0" ]
permissive
souptc/tvm
830b1444435b6bda267df305538a783eb687d473
a8574e7bb814997cb3920a72035071899635b753
refs/heads/master
2020-03-25T12:42:20.686770
2018-08-06T21:07:38
2018-08-06T21:07:38
143,789,191
1
0
Apache-2.0
2018-08-06T22:18:20
2018-08-06T22:18:19
null
UTF-8
Python
false
false
1,458
py
"""Test code for clip operator""" import numpy as np import tvm import topi from topi.util import get_const_tuple from tvm.contrib.pickle_memoize import memoize def verify_clip(N, a_min, a_max, dtype): A = tvm.placeholder((N, N), dtype=dtype, name='A') B = topi.clip(A, a_min, a_max) s = tvm.create_schedul...
[ "tqchen@users.noreply.github.com" ]
tqchen@users.noreply.github.com
2d38dcb91332ff3a7c9d232d62866608fb719f06
ec0b8bfe19b03e9c3bb13d9cfa9bd328fb9ca3f1
/res/packages/scripts/scripts/client/bwobsolete_helpers/PyGUI/PyGUIBase.py
834a250a485148a54b8d4bd40344fe93be77ec21
[]
no_license
webiumsk/WOT-0.9.20.0
de3d7441c5d442f085c47a89fa58a83f1cd783f2
811cb4e1bca271372a1d837a268b6e0e915368bc
refs/heads/master
2021-01-20T22:11:45.505844
2017-08-29T20:11:38
2017-08-29T20:11:38
101,803,045
0
1
null
null
null
null
WINDOWS-1250
Python
false
false
5,952
py
# 2017.08.29 21:44:03 Střední Evropa (letní čas) # Embedded file name: scripts/client/bwobsolete_helpers/PyGUI/PyGUIBase.py import BigWorld, GUI import weakref from bwdebug import * from functools import partial from Listener import Listenable class PyGUIBase(object, Listenable): def __init__(self, component = No...
[ "info@webium.sk" ]
info@webium.sk
b3a177cdd830bf2a2b57fc5cb16d754555abd759
9f7a9f268abfc168e408e36b513132402fdd353c
/micro_detect/out1.2.py
0f6038c2781d0daf80f281d60b7d92ce7d906c17
[]
no_license
863752027z/lab_server
fe602bf0a588989b0a7ae171454eba67fa6907ca
65eeaf94712afd96363d449376a291918156354f
refs/heads/master
2020-08-10T12:40:30.803168
2019-10-11T04:51:14
2019-10-11T04:51:14
214,344,734
0
0
null
null
null
null
UTF-8
Python
false
false
11,556
py
import cv2 import os import numpy as np import pandas as pd import datetime import matplotlib.pyplot as plt import torch import torchvision import torch.nn as nn import torch.utils.data as Data from torchvision import transforms, datasets from collections import OrderedDict os.environ["CUDA_VISIBLE_DEVICES"] = "6" de...
[ "863752027@qq.com" ]
863752027@qq.com
24e24c1bb50cbbd0c3f4af14a06c6dcf353f6fe4
425db5a849281d333e68c26a26678e7c8ce11b66
/LeetCodeSolutions/LeetCode_0252.py
ccf1daf59fe8c44bc1f9575209b20c8851cafb90
[ "MIT" ]
permissive
lih627/python-algorithm-templates
e8092b327a02506086414df41bbfb2af5d6b06dc
a61fd583e33a769b44ab758990625d3381793768
refs/heads/master
2021-07-23T17:10:43.814639
2021-01-21T17:14:55
2021-01-21T17:14:55
238,456,498
29
8
null
null
null
null
UTF-8
Python
false
false
361
py
from typing import List class Solution: def canAttendMeetings(self, intervals: List[List[int]]) -> bool: if not intervals: return True intervals.sort() end = -1 for interval in intervals: if interval[0] < end: return False end = m...
[ "lih627@outlook.com" ]
lih627@outlook.com
213840862cac4a5e0577be766248cd201e560514
be6b4181de09a50ccbd7caea58dbdbcbf90602be
/numba/servicelib/threadlocal.py
2ad13112109b26cdbb93c40202dffb8edc1a6bf4
[ "BSD-2-Clause" ]
permissive
pombreda/numba
6490c73fcc0ec5d93afac298da2f1068c0b5ce73
25326b024881f45650d45bea54fb39a7dad65a7b
refs/heads/master
2021-01-15T10:37:08.119031
2014-11-06T22:32:48
2014-11-06T22:32:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
910
py
""" Implements: - Threadlocal stack """ from __future__ import print_function, absolute_import, division import threading class TLStack(object): def __init__(self): self.local = threading.local() @property def stack(self): try: # Retrieve thread local stack return ...
[ "michael.lam.sk@gmail.com" ]
michael.lam.sk@gmail.com