blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
fa0969ec326cfb3e1f13c24ab9b1f289f1196e41
ccb73097804b2bf6070dba519658ab77bd9a044e
/leetcode/4_二叉树专题/08_二叉树中的最大路径和.py
38691afc21fef7b84f5b8f4dbaadddf093fe627c
[]
no_license
ryanatgz/data_structure_and_algorithm
4c43d426534381739891819c4c1e25b500f017ae
967b0fbb40ae491b552bc3365a481e66324cb6f2
refs/heads/master
2022-03-13T01:17:58.015457
2019-09-23T06:49:20
2019-09-23T06:49:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,681
py
# encoding: utf-8 """ @project:data_structure_and_algorithm @author: Jiang Hui @language:Python 3.7.2 [GCC 7.3.0] :: Anaconda, Inc. on linux @time: 2019/8/21 16:01 @desc: 第124题 """ """ 本题思路和上一题有相通之处,每一个节点有一个权重,以该节点为根结点的路径最大值有三种情况: (1) 从根结点往左子树走,不一定到达左子树的根结点,此时 max_path = root.val + L (2) 从根结点往右子树走,不一定到达右...
[ "942642428@qq.com" ]
942642428@qq.com
8f6f439a66a4f9dd1e2b7499a465f033c7001ddb
db8a9a6d2dd4abb762727b2f4570e553ed349c70
/opengever/task/response_syncer/comment.py
a75a331a2b66d20d65e2b28abc203ae559e24916
[]
no_license
braegelno5/opengever.core
75e8e31a6f15385c9f7551b9c671fdc75ba358be
88d9bec614544de8ca51bf9fcc8cfc0c05449bb5
refs/heads/master
2020-05-30T11:53:44.003641
2017-06-28T15:32:11
2017-06-28T15:32:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
832
py
from opengever.task.response_syncer import BaseResponseSyncerReceiver from opengever.task.response_syncer import BaseResponseSyncerSender from opengever.task.response_syncer import ResponseSyncerSenderException class CommentResponseSyncerSender(BaseResponseSyncerSender): TARGET_SYNC_VIEW_NAME = '@@sync-task-comm...
[ "e.schmutz@4teamwork.ch" ]
e.schmutz@4teamwork.ch
356abdb44404654a8daade1fdfc7d21c7b2833a7
9835b6949fe4c8018de57aee531dedf1509337cc
/October_2020/oct_09_Serialize_and_Deserialize_BST.py
a0bd3b0f3ad419ec369340ef77c919f66fd8aec5
[]
no_license
jcai0o0/My_Leetcode_Solutions
f6edea0693d252a99e6507a1724a89763113f8a0
3fc909c01c6a345f625c9ab9e0f1584ea5fa8ab4
refs/heads/master
2023-01-01T04:08:33.929184
2020-10-17T02:01:56
2020-10-17T02:01:56
289,094,613
0
0
null
null
null
null
UTF-8
Python
false
false
795
py
class Codec: def serialize(self, root): """ Encodes a tree to a single string. """ def postorder(root): return postorder(root.left) + postorder(root.right) + [root.val] if root else [] return ' '.join(map(str, postorder(root))) def deserialize(self, data):...
[ "44845593+jcai0o0@users.noreply.github.com" ]
44845593+jcai0o0@users.noreply.github.com
db09ee14b15a7db7c6252da33646d85dda887742
f0af28c525a6eac5dbdaf8ffba23dad1138e5b7e
/src/yaml/yaml_prefab.py
f8a39bc82164004356c0e20af7862cdf14451b93
[ "MIT" ]
permissive
adrianogil/SemanticCode
740886756d83e569dcfe1aa30d9f4e5db3f394cb
b826b99965f80fc42e654e33ebbebc3aad10f0cd
refs/heads/main
2021-01-22T18:02:25.065879
2020-10-22T20:51:19
2020-10-22T20:51:19
85,055,494
1
1
null
null
null
null
UTF-8
Python
false
false
2,416
py
import os, sys __file__ = os.path.normpath(os.path.abspath(__file__)) __path__ = os.path.dirname(__file__) # print(__path__) if __path__ not in sys.path: sys.path.insert(0, __path__) from yaml_element import YamlElement class YamlPrefab(YamlElement): guid = '' target_id = '' game_object = None ...
[ "adrianogil.san@gmail.com" ]
adrianogil.san@gmail.com
a66e50dea2e018898bfbd892032ea056afcd0c30
f0b741f24ccf8bfe9bd1950425d83b6291d21b10
/backend/api/v1beta1/python_http_client/kfp_server_api/models/api_run_storage_state.py
1175a3a1e85da38aa0bcbec22b383fc7873b53ff
[ "Apache-2.0" ]
permissive
kubeflow/pipelines
e678342b8a325559dec0a6e1e484c525fdcc8ce8
3fb199658f68e7debf4906d9ce32a9a307e39243
refs/heads/master
2023-09-04T11:54:56.449867
2023-09-01T19:07:33
2023-09-01T19:12:27
133,100,880
3,434
1,675
Apache-2.0
2023-09-14T20:19:06
2018-05-12T00:31:47
Python
UTF-8
Python
false
false
2,894
py
# coding: utf-8 """ Kubeflow Pipelines API This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. Contact: kubeflow-pipelines@google.com Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import s...
[ "noreply@github.com" ]
kubeflow.noreply@github.com
0b6ce0e2925acd8b5d04ee7bf7b8649418802315
ca23b411c8a046e98f64b81f6cba9e47783d2584
/es_maml/task.py
d84fcbc1384da4dc3099407c9c88cf633642152d
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
pdybczak/google-research
1fb370a6aa4820a42a5d417a1915687a00613f9c
0714e9a5a3934d922c0b9dd017943a8e511eb5bc
refs/heads/master
2023-03-05T23:16:11.246574
2021-01-04T11:30:28
2021-01-04T11:30:28
326,629,357
1
0
Apache-2.0
2021-02-01T12:39:09
2021-01-04T09:17:36
Jupyter Notebook
UTF-8
Python
false
false
7,023
py
# coding=utf-8 # Copyright 2020 The Google Research Authors. # # 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
7ad079b58c3e966fe6c64ed4a5fb161abf1e06f0
07ec5a0b3ba5e70a9e0fb65172ea6b13ef4115b8
/lib/python3.6/site-packages/matplotlib/tests/test_backend_qt5.py
5c472c488c0e5f50c53b7fb31b265f732c5bc4ca
[]
no_license
cronos91/ML-exercise
39c5cd7f94bb90c57450f9a85d40c2f014900ea4
3b7afeeb6a7c87384049a9b87cac1fe4c294e415
refs/heads/master
2021-05-09T22:02:55.131977
2017-12-14T13:50:44
2017-12-14T13:50:44
118,736,043
0
0
null
2018-01-24T08:30:23
2018-01-24T08:30:22
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:3a3557f8e3099b0a26d5723cd3f215b246a4b65b74b89afe5e5b2c08ef15cb85 size 5103
[ "seokinj@jangseog-in-ui-MacBook-Pro.local" ]
seokinj@jangseog-in-ui-MacBook-Pro.local
8fff01e105f0aa6711b1988eac61df3ec5a04400
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_142/418.py
e273a5f2ab13e3c6917814dd6401043855e717f1
[]
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,693
py
import math #YOLOSWAG def getRepeats(string): last = "" repeats = [] cur = -1 for c in string: if c == last: repeats[cur][1] += 1 else: repeats.append([c,1]) cur += 1 last = c return repeats def getMoves(checkLengths, repeats)...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
d8564359bfe77459d7cad265911cb5ead91e4c39
c61c9bedba1968bfaf571ac3996b696fc35890a6
/Chapter3/3-4.py
11467a4eb3c9f06b6bdd059979b31d2f5dca20e8
[]
no_license
ArunRamachandran/ThinkPython-Solutions
497b3dbdeba1c64924fe1d9aa24204a9ca552c5b
1a0872efd169e5d39b25134960168e3f09ffdc99
refs/heads/master
2020-04-01T10:23:20.255132
2014-11-07T17:04:52
2014-11-07T17:04:52
25,806,318
1
0
null
null
null
null
UTF-8
Python
false
false
1,360
py
# A fn. object is a value you can assign to a variable or pass as an argument # 'do_twice' is a fn that take a fn objct as an argument and calls it twice # def print_spam(): print "spam" def do_twice(f): f() f() do_twice(print_spam) # 2.Modify do_twice so that it takes two arguments, a fn objct and a value, # and...
[ "arunkramachandran92@gmail.com" ]
arunkramachandran92@gmail.com
1405f80452859a40af6dcef9d1d18726e19f09e1
300eb733976a31d73a68ddf20d986ba6aceb6ef5
/ewoexit2708/routes.py
1f90724f91805ba14797141cffb48edcf96512fa
[ "MIT" ]
permissive
ajthummar/jesse_strategies
f168ae455970bd91845807dd7b0346e77471db09
5d23b44f97006e6cecf8519a3951accbfde09fc7
refs/heads/master
2023-08-12T21:35:22.458840
2021-10-18T13:26:12
2021-10-18T13:26:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,595
py
# Some pairs have been disabled due to a lack of candle data. # You can restore them to test within recent months. routes = [ ('FTX Futures', 'ETC-USD', '15m', 'ewoexit2708', '86lZ6^AX3'), # ('FTX Futures', 'LUNA-USD', '15m', 'ewoexit2708', '86lZ6^AX3'), ('FTX Futures', 'FIL-USD', '15m', 'ewoexit2708', '86...
[ "yunusseyhandede@gmail.com" ]
yunusseyhandede@gmail.com
4805be7815446bf43c70387ee55ae67dd9eb421b
cffe83637b3965ad27f5a679e187bfaf46afa690
/.stversions/cookbook/magic_browser/cookbook/cookbook/.stversions/blender/menus/utilities/DeleteDefaults~20201019-122406~20210212-114808.py
0e6df3d29eb9c86b1351c57ea11ff99386143025
[]
no_license
gmolinart/LC_MASTER
da768a592821fe4dc55bdf693291df3409c3f035
2f17eaf5c4c7f70be0c0b5976b479002da4e7d52
refs/heads/master
2023-04-29T07:38:24.653457
2021-05-17T18:42:34
2021-05-17T18:42:34
368,287,070
0
0
null
null
null
null
UTF-8
Python
false
false
749
py
import bpy # from cgl.plugins.blender import lumbermill as lm class DeleteDefaults(bpy.types.Operator): """ This class is required to register a button in blender. """ bl_idname = 'object.delete_defaults' bl_label = 'Delete Defaults' def execute(self, context): run() return {...
[ "gmolinart@gmail.com" ]
gmolinart@gmail.com
8a41096df1f6fffbe6e574d02dcbbe0cb1336a33
71acb7214efd91c0d327f6d8958e1798eadb4401
/locations/spiders/fast_stop_us.py
52aba2f44fcbdd93fc49d2c9ccbf9017896e264b
[ "CC0-1.0", "MIT" ]
permissive
alltheplaces/alltheplaces
21b9f8b4ace1352e52ae7b8f8825a930d2cb033e
1bcbb55cfcf06f2c714465570711f6e83f205c22
refs/heads/master
2023-08-30T19:45:35.098658
2023-08-30T17:51:54
2023-08-30T17:51:54
61,166,935
453
176
NOASSERTION
2023-09-14T17:16:40
2016-06-15T01:09:18
Python
UTF-8
Python
false
false
1,286
py
import re from urllib.parse import urljoin import chompjs from scrapy import Spider from locations.linked_data_parser import LinkedDataParser from locations.microdata_parser import convert_item, get_object class FastStopUSSpider(Spider): name = "fast_stop_us" item_attributes = {"brand": "FAST STOP", "brand_...
[ "noreply@github.com" ]
alltheplaces.noreply@github.com
2ba1d13a4758708ce06af4763c6bd9aad52b1632
39bcdb8ab7262e9a09556540d677cac162757f74
/items/models.py
e027feb7741490262fde716b9d8de4661da2957b
[]
no_license
NiiColeman/mywarehouse
c08c1aee3a4d8a5dd17642358a14e2b122d9cb14
d9b2fae9ab5d164a13b208042d8e3366e3b81b79
refs/heads/master
2023-04-06T22:29:52.771226
2021-04-16T23:19:10
2021-04-16T23:19:10
224,866,298
0
0
null
null
null
null
UTF-8
Python
false
false
7,424
py
from django.db import models # from django.contrib.auth.models import AbstractUser from django.contrib.auth.models import ( AbstractBaseUser, BaseUserManager, PermissionsMixin) # Create your models here. from departments.models import Department from django.shortcuts import reverse from django.utils import timezone...
[ "nii.cole@outlook.com" ]
nii.cole@outlook.com
2a193ad76eebcee16956107da08f264bb2ddbdf3
78d17c3a7332be85078b513eee02f7ae4f18b3db
/lintcode/unique_binary_search_treesII.py
5d39703efaeeda53c679c19120045959b595db4a
[]
no_license
yuhanlyu/coding-challenge
c28f6e26acedf41cef85519aea93e554b43c7e8e
9ff860c38751f5f80dfb177aa0d1f250692c0500
refs/heads/master
2021-01-22T21:59:27.278815
2017-11-26T07:34:04
2017-11-26T07:34:04
85,498,747
2
0
null
null
null
null
UTF-8
Python
false
false
807
py
""" Definition of TreeNode: class TreeNode: def __init__(self, val): self.val = val self.left, self.right = None, None """ class Solution: # @paramn n: An integer # @return: A list of root def generateTrees(self, n): if n == 0: return [None] DP = [[[None] for _ in xrange(...
[ "yuhanlyu@gmail.com" ]
yuhanlyu@gmail.com
1139ed09672ed55f980751bb9577805830e7ef9e
a9ef3be91fe746b44b8a4e2fcbd92b79ddc50305
/04day/4-文件备份.py
b9e012de78ed01c6cdd0a87069d210d7ad85e780
[]
no_license
ittoyou/2-1807
a7718791bbc4095b6ef07003e6a2ef0b07fcd6de
82bf09f57ccb86b88abfd4a60bca51c5cf757065
refs/heads/master
2020-03-25T10:29:53.324428
2018-09-06T01:14:43
2018-09-06T01:14:43
143,694,904
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
class Tool(): def beifen(self): name = input('请输入要备份的文件名字(加上后缀名)') f = open(name,'r') position = name.rfind('.') newname = name[:position]+'备份'+name[position:] f1 = open(newname,'w') while True: content = f.read(1024) if len(content) == 0: break f1.write(content) f.close() f1.close() t = T...
[ "429013601@qq.com" ]
429013601@qq.com
ae7367178e0e60131384ac607edca90ef9c8223b
3a01d6f6e9f7db7428ae5dc286d6bc267c4ca13e
/unittests/pytests/meshio/TestDataWriterVTK.py
c334c27a8c2de840f1b352498638889d757e5a00
[ "MIT" ]
permissive
youngsolar/pylith
1ee9f03c2b01560706b44b4ccae99c3fb6b9fdf4
62c07b91fa7581641c7b2a0f658bde288fa003de
refs/heads/master
2020-12-26T04:04:21.884785
2014-10-06T21:42:42
2014-10-06T21:42:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,454
py
#!/usr/bin/env python # # ====================================================================== # # Brad T. Aagaard, U.S. Geological Survey # Charles A. Williams, GNS Science # Matthew G. Knepley, University of Chicago # # This code was developed as part of the Computational Infrastructure # for Geodynamics (http://ge...
[ "baagaard@usgs.gov" ]
baagaard@usgs.gov
f66d8b1db0ed02a43f7fd494ec762de4b5aa8153
4f4f2b808729b4820a4cf11d0dff23951e2c9b71
/plugins/m/__init__.py
035a9c98dd10a81960ac8d14852bcfa8ef3efcd3
[ "MIT" ]
permissive
MikePopoloski/m.css
b3c32b1c4bf40881462933966b987d4147c63b49
a93186270f4707e61b77e54361111e126aa54187
refs/heads/master
2023-06-29T10:56:29.764245
2023-06-11T14:51:55
2023-06-11T14:51:55
235,468,011
0
0
MIT
2020-01-22T00:23:06
2020-01-22T00:23:06
null
UTF-8
Python
false
false
1,313
py
# # This file is part of m.css. # # Copyright © 2017, 2018, 2019, 2020, 2021, 2022 # Vladimír Vondruš <mosra@centrum.cz> # # 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 Softwar...
[ "mosra@centrum.cz" ]
mosra@centrum.cz
b360d090334b535299fa0d74c81c35df3d4ae0ed
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2583/60643/284273.py
485f61abe4ae07954935acfa01760795366b68b6
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
1,791
py
#最大公因数 def GCD(a,b): while b>0: temp=a%b a=b b=temp return a#是a啊不是b #最小公倍数 def MCM(a,b): return a*b/GCD(a,b) #二分搜索 def binSearch(low,high,n,a,b,c): if low>=high: return low else: middle=(low+high)>>1#相当于模200. #独立的丑数个数为,当前数分别除以a、b、c,相加求和,减去当前数除以a、b、c两...
[ "1069583789@qq.com" ]
1069583789@qq.com
d93b9fba81f15e2d48d1303a7d79ec25511d27a7
1e76baee819a897eb45a50d907575723c2329fda
/math/0x00-linear_algebra/10-ill_use_my_scale.py
43774c9ccc049db8379fb0921fa8d846b6703d57
[]
no_license
paisap/holbertonschool-machine_learning
ce1942d3c5e8753104a40cfc4b9fc0953628a3dc
bdb84f37f44e52a073887a8fee306092165c3329
refs/heads/main
2023-08-31T17:32:46.337737
2021-10-04T03:30:53
2021-10-04T03:30:53
317,323,784
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
#!/usr/bin/env python3 """ hat calculates the shape of a numpy.ndarray """ def np_shape(matrix): """ hat calculates the shape of a numpy.ndarray""" return matrix.shape
[ "santiagoaldana58@gmail.com" ]
santiagoaldana58@gmail.com
3f1ae58368ea03f06b92ab49cd208c15071bf614
db415f2470905729ff6301ed9dfd4a21b916f616
/setup.py
3b91f8ba50005fb166b43c935a1a7ecea9b1c8e0
[]
no_license
biobakery/anpan-legacy
9786aae0cf114909882508c21193fe28bd0fbf37
e9171321bd34dc43820ebce729399098368418f3
refs/heads/master
2022-08-11T08:35:29.323448
2015-03-03T15:49:26
2015-03-03T15:49:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
from setuptools import setup, find_packages setup( name='anpan', version='0.0.1', description='AnADAMA Put on A Network', packages=find_packages(exclude=['ez_setup', 'tests', 'tests.*']), zip_safe=False, install_requires=[ 'nose>=1.3.0', 'python-dateutil>=2.2', 'bottle>...
[ "vagrant@localhost.localdomain" ]
vagrant@localhost.localdomain
e7a1d1ac8906987075dbea0b976e57dd7b9d6898
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2714/60705/295697.py
72590979ac543842bbbb9cc5637ef64f4f8e8d60
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
1,083
py
def judge(word1, word2): if len(word2) != len(word1) + 1: return False dic1 = {} dic2 = {} for char in word1: dic1.setdefault(char, 0) dic1[char] += 1 for char in word2: dic2.setdefault(char, 0) dic2[char] += 1 key1 = list(dic1.keys()) key2 = list(dic2...
[ "1069583789@qq.com" ]
1069583789@qq.com
f5cc3606a67a533e7c20254c5a9b9fe5cc417556
408099135939ccdb7fc52f110792ce651fb6b00a
/test/unit/tools/test_yacc.py
2f91ecacf66b15203e3b2c0950bf6f4db372f818
[ "BSD-3-Clause" ]
permissive
thomasrockhu/bfg9000
757271db484ddcd06e8b391c3b8818882857f66e
1cd1226eab9bed2fc2ec6acccf7864fdcf2ed31a
refs/heads/master
2022-11-29T00:07:15.914649
2020-07-24T21:12:38
2020-07-24T21:12:38
282,257,111
0
0
BSD-3-Clause
2020-07-24T15:37:41
2020-07-24T15:37:40
null
UTF-8
Python
false
false
3,616
py
from .. import * from bfg9000 import options as opts from bfg9000.file_types import * from bfg9000.languages import Languages from bfg9000.path import Path, Root from bfg9000.tools.yacc import YaccBuilder known_langs = Languages() with known_langs.make('yacc') as x: x.vars(compiler='YACC', flags='YFLAGS') class...
[ "itsjimporter@gmail.com" ]
itsjimporter@gmail.com
3ae926ab8843eec0a48e5311cb84ca5ea56307a6
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa2/sample/class_def_methods-90.py
3dcbb59597615ba1a047cbb30d4e3c1e003f222d
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
class A(object): x:int = 1 def get_A(self: "A") -> int: return self.x class B(A): def __init__(self: "B"): pass class C(B): z:bool = True def set_A(self: "C", val: int) -> object: $Statement a:A = None b:B = None c:C = None a = A() b = B() c = C() b.x = a.get_A() a.x =...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
fbdbec2ed50db76f9752144a6a1158b6cdf6b24d
9184e230f8b212e8f686a466c84ecc89abe375d1
/histogrammode/tests/reduction/histCompat/generateTestInstrument.py
653265a59f8187ce84e4fb2669cbee2008cb6252
[]
no_license
danse-inelastic/DrChops
75b793d806e6351dde847f1d92ab6eebb1ef24d2
7ba4ce07a5a4645942192b4b81f7afcae505db90
refs/heads/master
2022-04-26T17:37:41.666851
2015-05-02T23:21:13
2015-05-02T23:21:13
34,094,584
0
1
null
2020-09-10T01:50:10
2015-04-17T03:30:52
Python
UTF-8
Python
false
false
2,597
py
#!/usr/bin/env python # Timothy M. Kelley Copyright (c) 2005 All rights reserved # Jiao Lin Copyright (c) 2007 All rights reserved def generate(): """generate an instrument graph appropriate for testing""" from instrument.elements import instrument, detectorArray, detectorPack, \ detector, moderator, ...
[ "linjiao@caltech.edu" ]
linjiao@caltech.edu
48ff8544d059e0a034a3c07fe27cb062dff8c1a8
c10ef416832b3e99e58fb93c85f414d94bbdbc2e
/py3canvas/tests/result.py
3aeaf5a7cd1dfa532943ac1a6d246a344ffa8b73
[ "MIT" ]
permissive
tylerclair/py3canvas
83bab26d1624a11acffaeb0392c6a9a38f995f16
7485d458606b65200f0ffa5bbe597a9d0bee189f
refs/heads/master
2021-10-26T03:27:48.418437
2021-10-23T15:07:26
2021-10-23T15:07:26
92,841,638
0
0
null
null
null
null
UTF-8
Python
false
false
991
py
"""Result API Tests for Version 1.0. This is a testing template for the generated ResultAPI Class. """ import unittest import requests import secrets from py3canvas.apis.result import ResultAPI from py3canvas.apis.result import Result class TestResultAPI(unittest.TestCase): """Tests for the ResultAPI.""" de...
[ "tyler.clair@gmail.com" ]
tyler.clair@gmail.com
8ad089f44de9540d84c38dda8d42ea64d4a44194
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Flask/Book_evaluator/venv/Lib/site-packages/cryptography/hazmat/primitives/keywrap.py
a3220495a10c5372ad9237bae667cf23b76a957c
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:2f23dbacdbaddb11439413b821d3b9344d7857d70b3ee31b511de764f4cdc224 size 5453
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
ade99175de46f946bb72da1575a7f965f4589768
c6d0bc814c3c7b621f2a07e293d3c4e36521b1f0
/validators.py
262fe543b2902a2506348f07794667f5dc811474
[]
no_license
captain204/Quiz-app
9ead59d74df6ad35fa25eb209762f57e3b64e780
72136fc27dc18254c5de8149ff631deb6f6eaccc
refs/heads/master
2020-08-25T04:43:39.415027
2019-10-28T01:18:10
2019-10-28T01:18:10
216,962,636
1
0
null
null
null
null
UTF-8
Python
false
false
1,651
py
from config import * class Post(Form): title = StringField(u'Title',validators=[validators.input_required(), validators.Length(min=10,max=250)]) body = TextAreaField(u'Body',validators=[validators.input_required(), validators.Length(min=10,max=2500)]) class User(Form): username = StringField(u'Us...
[ "nurudeenakindele8@gmail.com" ]
nurudeenakindele8@gmail.com
4655d48747e83026599fd27c8933c9c4f593b3b4
2a24dba82767419cf7d2269875bf0a297f41580c
/vispy/scene/widgets/widget.py
bfe4e89710bddb6814a7c0ec13ffb1df9c71637c
[ "BSD-3-Clause", "LicenseRef-scancode-public-domain" ]
permissive
shjoshi/vispy
58b300d23486b7478b786977b3548dd7225de847
2f3d169aa60c738467e766c59096f51570483d6f
refs/heads/master
2020-12-25T12:40:36.545768
2014-08-06T22:59:35
2014-08-06T22:59:35
22,704,584
0
0
null
null
null
null
UTF-8
Python
false
false
5,178
py
# -*- coding: utf-8 -*- # Copyright (c) 2014, Vispy Development Team. # Distributed under the (new) BSD License. See LICENSE.txt for more info. from __future__ import division import numpy as np from ..visuals.visual import Visual from ..visuals.line import Line from ..transforms import STTransform from ...util.even...
[ "luke.campagnola@gmail.com" ]
luke.campagnola@gmail.com
2d8099c9724448fa929eb0d7a1a81d01928c712e
969f28be98f607767d5564a6bbbc08fdfb778633
/pypenrose/net_tests.py
cb25db1cb6d83cf7c21b683d3aa35454be138c07
[]
no_license
meawoppl/penrose-play
66dde0e2ec1c6997bc06f53852af2c4240dff79c
c44d40893a70176efb1ee29b395db973e27f730f
refs/heads/master
2020-01-23T21:56:22.765852
2017-01-16T06:36:23
2017-01-16T06:36:23
74,727,801
0
0
null
null
null
null
UTF-8
Python
false
false
4,736
py
import math from mock import MagicMock import nose.tools from pypenrose.line import Line import pypenrose.net import pypenrose.net_testlib from pypenrose.net_testlib import assert_graph_props import pypenrose.space def test_net_graphgen_degenerate(): # No lines to intersect g = pypenrose.net.gridlines_to_gr...
[ "meawoppl@gmail.com" ]
meawoppl@gmail.com
395ca378d374ed81267bce67ad399409aefe0bd2
c1350fbcb269cdab0f36a12a27f694697e08ce7f
/libs/db/db_handler.py
53add1030fb2b880c28b40c507df2732190f2892
[]
no_license
deepmicrosystems/object-detection-server
86dd4178c9dbfe8e1e802062a1a44c4f758ed758
97893dfcef89219a11a87bb34a663912b273fce3
refs/heads/master
2022-12-18T00:44:58.906967
2019-07-29T18:50:25
2019-07-29T18:50:25
147,842,577
0
0
null
2022-11-22T01:57:57
2018-09-07T15:33:49
Python
UTF-8
Python
false
false
2,323
py
import sqlite3 import time import datetime class DataBaseManager: def __init__(self, db_name = None): self.conn = None self.cursor = None if db_name: self.open(db_name) def open(self, db_name): try: self.conn = sqlite3.connect(db_name) ...
[ "stanlee321@gmail.com" ]
stanlee321@gmail.com
9e2292ed6aad43b70783af1b63396c473b5483e2
2e08552e1eb86ffa4870d9208d83b903f0f847d0
/paperswithcode/models/method.py
68db3851e56de877c738be0007eb111575f3a402
[ "Apache-2.0", "CC-BY-SA-4.0" ]
permissive
paperswithcode/paperswithcode-client
c1fffc0a17066f0eb7128ea726bf4f0485f47c5d
70bd7ee5157fcaeff39145d2e03cc9ed5bb7421b
refs/heads/develop
2022-12-12T21:20:17.493109
2021-12-01T17:44:04
2021-12-01T17:44:04
283,026,422
113
17
Apache-2.0
2022-12-01T22:24:42
2020-07-27T21:58:46
Python
UTF-8
Python
false
false
909
py
from typing import List, Optional from tea_client.models import TeaClientModel from paperswithcode.models.page import Page class Method(TeaClientModel): """Method object. Attributes: id (str): Method ID. name (str): Method short name. full_name (str): Method full name. descr...
[ "alefnula@gmail.com" ]
alefnula@gmail.com
59139ee9c6c59c9e6407b92820cac368678556b0
79df1e2fde419883fba5f3a79eddfd6c3b7875cc
/udacity/cs253/Lesson02a_Templates/Page.py
4ce93600c8582ba5e8b020de17473b34e04ae73b
[]
no_license
jJayyyyyyy/network
284a2845c4431e802a48ea331135a3e2035663cd
86794dd9d828fe66b7ada28233fbbd5c66ecc50d
refs/heads/master
2022-03-01T23:51:10.619772
2019-08-11T12:27:35
2019-08-11T12:27:35
116,240,231
1
0
null
null
null
null
UTF-8
Python
false
false
1,050
py
from html import escape from flask import render_template # flask will help us auto escape html import os import ROT13, FizzBuzz def fill_template(name='index', **kw): filename = '%s.html' % name return render_template(filename, **kw) def get_default_signup_args(): return {'username': '', 'username_error': '', ...
[ "ljjdbd123@hotmail.com" ]
ljjdbd123@hotmail.com
4571754551752803df00023b5b17c08759238d50
e0980f704a573894350e285f66f4cf390837238e
/.history/streams/blocks_20201022115527.py
3674f140da693d1c6dea4759795d6a2e1dd4f2fe
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
1,747
py
from wagtail.core import blocks from wagtail.images.blocks import ImageChooserBlock class TitleBlock(blocks.StructBlock): text = blocks.CharBlock( required = True, elp_text='Tekst do wyświetlenia', ) class Meta: template = 'streams/title_block.html' icon = 'edycja' ...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
ca7a71cd0e1dece862f0b5ed7066061699c5661c
c7ec556bfdc2ec5eaf234c679ffb1fbcc58d651a
/cftda/wsgi.py
061f4071370b887c2c842852ef9259770162346a
[]
no_license
dmitryduev/cftda
ba2a7c4b7295b42c36e3ad4cd89d2b2bbfa9a76c
4cc1456f2794f52529ba354d94bfff2bb8405434
refs/heads/master
2020-03-10T03:40:25.090449
2018-04-17T08:36:02
2018-04-17T08:36:02
129,171,296
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
""" WSGI config for cftda 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 django.core.wsgi import get_wsgi_application # os.environ.setdefault("DJANGO_SETTI...
[ "dmitry.duev@gmail.com" ]
dmitry.duev@gmail.com
e9537acd041786dc77ea7aa000b3f43627ecdea4
d97e90a0ff598249a3b28fe7a4bb8e4c5b39d210
/tests/test_service_tax_category.py
2d165f52cfa2f155fabc08e56b9591eeeb7f6b46
[ "MIT" ]
permissive
jeroenubbink/commercetools-python-sdk
024ef08d04d8d8e8609bd265d1eaac5a067a47b0
ee27768d6fdde3e12618059891d1d4f75dd61390
refs/heads/master
2022-12-01T11:24:26.953904
2020-08-05T09:12:50
2020-08-05T15:22:06
287,386,564
0
0
MIT
2020-08-13T21:50:57
2020-08-13T21:50:57
null
UTF-8
Python
false
false
1,025
py
from commercetools import types def test_tax_category_create(client): tax_category = client.tax_categories.create(types.TaxCategoryDraft(name="Hoog")) assert tax_category.id assert tax_category.name == "Hoog" def test_tax_category_get_by_id(client): tax_category = client.tax_categories.create(types...
[ "michael@mvantellingen.nl" ]
michael@mvantellingen.nl
2b6e279d904c9d7ac089522c567cdbe2a1cc707d
2eb7cac33991ecf95e6ed0af0b7a440c319d0913
/viz/migrations/0003_auto_20170924_0138.py
fb66dfa6c948e109b23860f4e9adcf7e612b13a1
[]
no_license
felipinbombin/osirisWebPlatform
f1fb4cda7be2776dc6dfa21029fd1b8d68b48efd
20005616be153015d71a9853f789db427b9e753b
refs/heads/master
2021-03-27T13:24:29.141698
2018-07-30T04:53:21
2018-07-30T04:53:21
87,222,468
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-09-24 04:38 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('viz', '0002_auto_20170924_0014'), ] operations = [ migrations.AlterField( ...
[ "cephei.1313@gmail.com" ]
cephei.1313@gmail.com
9b8cfc58c987bce1af4a5e147b49af7f7b096e33
2c872fedcdc12c89742d10c2f1c821eed0470726
/pbase/day04/code/while_qiantao1.py
c12a856d18d1b1539bf2ad72d88c61dbf3017ff7
[]
no_license
zuigehulu/AID1811
581c3c7a37df9fa928bc632e4891fc9bafe69201
10cab0869875290646a9e5d815ff159d0116990e
refs/heads/master
2020-04-19T16:33:04.174841
2019-01-30T07:58:24
2019-01-30T07:58:24
168,307,918
1
0
null
null
null
null
UTF-8
Python
false
false
179
py
num = int(input("请输入正方形的宽度:")) i = 1 while i <= num: j = 1 while j <= num: print(j,end = " ") j += 1 else: print() i += 1
[ "442315617@qq.com" ]
442315617@qq.com
e4247d34a3e43a9024946c14f468f1b5215719b4
8263e388d00e1beaaac587df6d2e5b20c0ba2981
/4.py
ae5fc1397d85132af7f4db047819d498c4e41a0e
[]
no_license
shivamdattapurkayastha99/natrural-language-processing
3064c0a2fb2b830579565f8157d7d3208cf1a884
b47ab27eb468469cc9e5ec07c6580d2c8a959124
refs/heads/master
2023-07-04T12:50:00.282883
2021-08-13T18:04:10
2021-08-13T18:04:10
395,746,985
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
import nltk from nltk.corpus import wordnet # syn=wordnet.synsets('computer') # print(syn[0].definition()) synonyms=[] for syn in wordnet.synsets('computer'): for lemma in syn.lemmas(): synonyms.append(lemma.name()) print(synonyms)
[ "shivamdatta465@gmail.com" ]
shivamdatta465@gmail.com
2e9e94d73080d69d4190c219e5d655c8823d94d1
935b9efca392b124d571319568c08ba45446d2a0
/lino_book/projects/lydia/tests/dumps/18.8.0/cal_guestrole.py
1b937b29d05f60388ba0afed921493063edf56be
[ "BSD-2-Clause" ]
permissive
wallento/book
6efba2baa1e42bb99514a937342000271dfe798b
8c5a68f30f9ab65479a988608bda66ea6209afd8
refs/heads/master
2020-04-06T10:58:01.629671
2018-11-07T09:41:54
2018-11-07T09:41:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
# -*- coding: UTF-8 -*- logger.info("Loading 2 objects to table cal_guestrole...") # fields: id, ref, name loader.save(create_cal_guestrole(1,None,['Attendee', 'Teilnehmer', 'Attendee'])) loader.save(create_cal_guestrole(2,None,['Colleague', 'Colleague', 'Colleague'])) loader.flush_deferred_objects()
[ "luc.saffre@gmail.com" ]
luc.saffre@gmail.com
54f1a14fc79a4ff7d2e664ba0f98eb3bdba4474f
af717d07cb2bb9c6d9fcc7ba4290cf02a0890815
/homework-05-09/homework_07_import.py
b2d4827ccdbdf606454ddeed0ed0b45b9b0b560f
[]
no_license
liuluyang/homework
0070d39640de8777f0656f0346adc1a5a6cfa1ab
e65db68e96bbfe1d987b2809321e59e303ab5ee8
refs/heads/master
2020-09-25T18:44:45.368491
2019-12-05T09:38:17
2019-12-05T09:38:17
226,066,124
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
from homework_07 import * def func_08(): """ 将上述函数放在一个模块中,再写一个源程序文件,并在该源程序中实现对模块中函数的调用 :return: """ print(func_01()) print(func_02(100, 80)) print(func_03()) print(func_04('hello', 'e')) print(func_05(100)) print(func_06(5)) print(func_07([1, 2, 3, 4, 5], 2)) if __name_...
[ "1120773382@qq.com" ]
1120773382@qq.com
f660b301415bf623ca90a9372bf5662b4783352b
8a497f9e412eb74d9eca41488fae3f1947bdc87c
/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/middleware.py
56cdd1fe1420c4de35e14e90fe745cd8bb7f9138
[]
no_license
bwarren2/cookiecutter-simple-django
012a788512d969f1a5f34cc0e51d26d65ad9ff18
08ca73e55e133ad097e3551b0af258b29cbb3ab9
refs/heads/master
2020-05-29T12:19:34.691916
2015-07-25T17:32:59
2015-07-25T17:32:59
39,597,383
0
0
null
2015-07-23T22:39:45
2015-07-23T22:39:45
Python
UTF-8
Python
false
false
510
py
from django.http import HttpResponseRedirect class ForceHttps(object): def process_request(self, request): secure_request = ( # settings.DEBUG, request.is_secure(), request.META.get("HTTP_X_FORWARDED_PROTO", "").lower() == "https", ) if not any(secure_re...
[ "bwarren2@gmail.com" ]
bwarren2@gmail.com
b72b5b0739c393c93728b3588b7836d89dfab62a
bc6f0f731f7ad72fd11c6a332f47b972d1d14cb3
/codewars-challenges/6 kyu/does-points-form-square.py
c2b92005bc0eb951e130b19fa6bdcd1d7d5d29a0
[]
no_license
greatertomi/problem-solving
ee8d35f5f8bf76d9942adec79479c36585f7b90b
a2507fa8fa649ba70f8994d8bc36b07d28512861
refs/heads/master
2023-09-03T20:49:22.759696
2021-11-11T22:41:39
2021-11-11T22:41:39
283,445,532
0
0
null
null
null
null
UTF-8
Python
false
false
1,142
py
# Problem Link: https://www.codewars.com/kata/618688793385370019f494ae import math def distanceBetweenTwoPoints(pointA, pointB): valueA = (pointB[1] - pointA[1]) ** 2 valueB = (pointB[0] - pointA[0]) ** 2 return math.sqrt(valueA + valueB) def isSquare(points): if len(points) < 4: return Fals...
[ "oshalusijohn@gmail.com" ]
oshalusijohn@gmail.com
95f8d3d0b927460d31612a2870b9c41833aee495
dd3b8bd6c9f6f1d9f207678b101eff93b032b0f0
/basis/AbletonLive10.1_MIDIRemoteScripts/AxiomPro/TransportViewModeSelector.py
cac299bfde53b7b762969e7cce8ddb19dea81a2c
[]
no_license
jhlax/les
62955f57c33299ebfc4fca8d0482b30ee97adfe7
d865478bf02778e509e61370174a450104d20a28
refs/heads/master
2023-08-17T17:24:44.297302
2019-12-15T08:13:29
2019-12-15T08:13:29
228,120,861
3
0
null
2023-08-03T16:40:44
2019-12-15T03:02:27
Python
UTF-8
Python
false
false
2,827
py
# uncompyle6 version 3.4.1 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.16 (v2.7.16:413a49145e, Mar 2 2019, 14:32:10) # [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] # Embedded file name: /Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/AxiomPro/Tra...
[ "jharrington@transcendbg.com" ]
jharrington@transcendbg.com
2132f8724d3ff2cfd875cfaad4696b09f7eea6dd
a04c9e34c8abb6eb5857cb6e35fbbed0743ea8d4
/Week3/BackspaceStringCompare.py
edeac380910ae744782c39a51d5bbe99f7102a5a
[]
no_license
SrikanthAmudala/PythonWorkShopConcordia
a2fd0a3103524733913c00767907bafecd1c6ad6
d2e383a89bc995d96313fd0723c064a0a45db6f9
refs/heads/master
2021-05-19T13:02:42.173832
2020-05-27T21:48:34
2020-05-27T21:48:34
251,713,287
0
0
null
null
null
null
UTF-8
Python
false
false
200
py
S = "###c#ab###fs#j" T = "ad#c" def stringComp(S): temp = [] for i in S: if i=="#" and len(temp)!=0: temp.pop(-1) elif i!="#": temp.append(i) return "".join(temp) print(stringComp(S))
[ "srikanthamudala95@gmail.com" ]
srikanthamudala95@gmail.com
ab98f101089e6c3bcd638d092b91b731d7669ba7
2da6b95fe4237cc00014f80c45d268ab62fc90cd
/backbones/cifar/lenet2.py
bafe3e227b2332d56de8d4a8c6585b7880269478
[]
no_license
lvzongyao/Open-Set-Recognition-1
7e26cd1d97f67b6c075f4e64296ce7a82d479168
26a8a1cca199f4e23df98abca6893e3eef3307da
refs/heads/master
2023-08-19T09:15:16.119377
2021-09-13T04:21:18
2021-09-13T04:21:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,673
py
'''LeNetPlus in PyTorch. Specifically, designed for MNIST dataset. Reference: [1] Wen, Yandong, et al. "A discriminative feature learning approach for deep face recognition." European conference on computer vision. Springer, Cham, 2016. ''' import torch import torch.nn as nn import torch.nn.functional as F __all__ = ...
[ "xuma@my.unt.edu" ]
xuma@my.unt.edu
c24f833353ca7bf80df320a57b2d8f201a33bb6a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02900/s596241684.py
d8b236ea95aa163221e6926aa26888658463f2cb
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
from math import* def factrization_prime(number): factor = {} div = 2 s = sqrt(number) while div < s: div_cnt = 0 while number % div == 0: div_cnt += 1 number //= div if div_cnt != 0: factor[div] = div_cnt div += 1 if number > 1: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
560839c298d5303d6e8119983b822f06ccf876e7
13b46582bb6bbfe08a2e24127198ded24e6c0ad3
/server/lighthouse/admin.py
83201ba793fb89885f899a2319619cbac73b3426
[]
no_license
dmetrosoft/seo-audits-toolkit
9b12735d8345ef5075e87e6ea09440e01e32746f
c3e95fc4bf51d72e61c0507c14bd384d2368f475
refs/heads/master
2023-08-25T06:11:54.055464
2021-04-08T15:51:23
2021-04-08T15:51:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
from django.contrib import admin from .models import Lighthouse, Lighthouse_Result # Register your models here. admin.site.register(Lighthouse) admin.site.register(Lighthouse_Result) # Allows the Model to be administered via the /admin interface # Highly recommendeded for easier debug
[ "stan@primates.dev" ]
stan@primates.dev
af66740e6d1849e019c0ffdd525e58709a401252
50dd2a43daa8316fc11e0c176b5872738fcc5dde
/Learning/130_Fluent_Python/fp2-utf8/blocinteractive/example 16-9.py
3234ee9c3d215d29019fad27ad046ceb874110fa
[]
no_license
FrenchBear/Python
58204d368e3e72071eef298ff00d06ff51bd7914
b41ab4b6a59ee9e145ef2cd887a5fe306973962b
refs/heads/master
2023-08-31T18:43:37.792427
2023-08-26T15:53:20
2023-08-26T15:53:20
124,466,047
0
0
null
null
null
null
UTF-8
Python
false
false
506
py
# Example 16-9. Vector.__add__ method needs an iterable with numeric items >>> v1 + 'ABC' Traceback (most recent call last): File "<stdin>", line 1, in <module> File "vector_v6.py", line 329, in __add__ return Vector(a + b for a, b in pairs) File "vector_v6.py", line 243, in __init__ self._components = a...
[ "FrenchBear38@outlook.com" ]
FrenchBear38@outlook.com
54154c6ac7f3eb42bb9745b4c24314cd78ab21af
da85d4caf3e5e1c9df8839fafd51f960f02daadd
/develop/io/async.py
28958d34db443cb715939f72ced88e07280fcfd0
[ "Apache-2.0" ]
permissive
shuaih7/FabricUI
6efe58f3dbefebbd49607094a28bf2d7bc9314ca
6501e8e6370d1f90174002f5768b5ef63e8412bc
refs/heads/main
2023-04-13T10:07:42.090043
2021-04-13T02:55:12
2021-04-13T02:55:12
314,152,777
1
0
null
null
null
null
UTF-8
Python
false
false
525
py
import asyncio import time from threading import Thread def start_loop(loop): asyncio.set_event_loop(loop) print("start loop", time.time()) loop.run_forever() async def do_some_work(x): print('start {}'.format(x)) await asyncio.sleep(x) print('Done after {}s'.format(x)) new_loop =...
[ "shuaih7@gmail.com" ]
shuaih7@gmail.com
230c7c268af9b219156f9bd55fbfdead55bdde13
a5698f82064aade6af0f1da21f504a9ef8c9ac6e
/huaweicloud-sdk-projectman/huaweicloudsdkprojectman/v4/model/list_projects_v4_response.py
5b0873986a953ab7fb205e092a7cdb760a8bd5b4
[ "Apache-2.0" ]
permissive
qizhidong/huaweicloud-sdk-python-v3
82a2046fbb7d62810984399abb2ca72b3b47fac6
6cdcf1da8b098427e58fc3335a387c14df7776d0
refs/heads/master
2023-04-06T02:58:15.175373
2021-03-30T10:47:29
2021-03-30T10:47:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,634
py
# coding: utf-8 import pprint import re import six from huaweicloudsdkcore.sdk_response import SdkResponse class ListProjectsV4Response(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (di...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
229153641d7110152bf260eee9651fafce2aa55c
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_2/209.py
ed64df919f88a28c7ad0f8764bf7151e0b04cfe0
[]
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
2,054
py
import time input = open("B-large.in", "r") output = open("B-large.out", "w") i = int(input.readline().strip()) for case in range(i): turnaroundTime = int(input.readline().strip()) (AtoBNumber, BtoANumber) = map(int, input.readline().strip().split(" ")) timeList = [] for j in range...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
69cf7fe229d5d1e49c81cb3e5ff63cc464e78512
ff7c392e46baa2774b305a4999d7dbbcf8a3c0b3
/ask-sdk-model/ask_sdk_model/interfaces/alexa/presentation/apl/rotate_transform_property.py
7723824c757f66b7e1818dc1f7fa549b10be7f77
[ "Apache-2.0" ]
permissive
rivamarco/alexa-apis-for-python
83d035ba5beb5838ae977777191fa41cbe4ea112
62e3a9057a26003e836fa09aa12a2e1c8b62d6e0
refs/heads/master
2021-01-03T20:44:12.977804
2020-02-13T10:27:27
2020-02-13T10:29:24
240,229,385
2
0
Apache-2.0
2020-02-13T10:05:45
2020-02-13T10:05:45
null
UTF-8
Python
false
false
3,428
py
# coding: utf-8 # # Copyright 2019 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "lice...
[ "ask-pyth@dev-dsk-ask-sdk-python-2b-85d79f62.us-west-2.amazon.com" ]
ask-pyth@dev-dsk-ask-sdk-python-2b-85d79f62.us-west-2.amazon.com
cf6792f25eabe0aa2d1f7706d4894f2eb5107393
21aff79a45a410c69a17f6b6aa6623b0001559f3
/apps/mapserver/apps.py
611581e596df8ffa82e1ca00fb9b561109d3e675
[]
no_license
jqchang/TamagotchiServer
1e7c721894c0e38da9583f8887b032cec192e6a1
31667e7997f71f3aec38b25ced1359bab67f780a
refs/heads/master
2021-01-23T01:07:01.638012
2017-03-23T02:58:07
2017-03-23T02:58:07
85,871,192
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
from __future__ import unicode_literals from django.apps import AppConfig class MapserverConfig(AppConfig): name = 'mapserver'
[ "jqchang@gmail.com" ]
jqchang@gmail.com
15a31b23ac174a1fa304a180f2caa0648df99bf6
3dab01e032134fd5cde6d29a127a8e8d93d48796
/accounts/migrations/0003_auto_20210205_1107.py
b9490de61d22c0e9ea5dc7f6764010c42648a609
[]
no_license
mariachacko93/FoacloidBankProject
41baa9433814087f2e45d458bcfccc3c3bc44d6e
fbbb424ef4534c549ea74bfbe0d7d367a70802a1
refs/heads/master
2023-03-01T18:58:50.768867
2021-02-08T08:50:34
2021-02-08T08:50:34
337,012,353
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
# Generated by Django 3.1.6 on 2021-02-05 07:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0002_auto_20210205_1107'), ] operations = [ migrations.AlterField( model_name='createaccount', name='acc...
[ "mariachacko93@gmail.com" ]
mariachacko93@gmail.com
cc2c5970cfe0af932efe8fe15b1f9437d823c6b5
d2845579ea6aa51a2e150f0ffe6ccfda85d035ce
/kernel/examples/handler/component/horz_pearson.py
88694a0dc34a7576b3327fff3c49a1214411c858
[ "Apache-2.0" ]
permissive
as23187/WeFe
d8de9ff626f9f3e5d98e0850b0b717a80fd73e72
ba92871d4b1d2eef6c606c34795f4575e84703bd
refs/heads/main
2023-08-22T12:01:06.718246
2021-10-28T01:54:05
2021-10-28T01:54:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,052
py
# Copyright 2021 Tianmian Tech. 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 applicable la...
[ "winter.zou@welab-inc.com" ]
winter.zou@welab-inc.com
5c59092aef917fb302c3a4ee9334f5b75ac50252
dbf81359567f718f43e513891a4e761a2d8c7c5a
/users/forms.py
2e13681d309d10c36e01e3bdd25217cd480c0bcd
[]
no_license
peterbe/w91011
675e5cbed1847010ab5ddb27c1fe56b935b1a26f
b816c8dacb246db730db3e678248c32cf021fc36
refs/heads/master
2021-01-01T17:31:27.595419
2011-05-20T22:10:51
2011-05-20T22:10:51
1,371,606
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
# python import re # django from django import forms from django.contrib.auth.models import User from models import UserProfile # app
[ "peter@fry-it.com" ]
peter@fry-it.com
8661a95e0c4ade5cddd4f3acd778ce88a3e17a6d
9d6218ca6c75a0e1ec1674fe410100d93d6852cb
/app/notifier/virtualenvs/notifier/bin/dynamodb_load
f7ed5a0cb31e695fab50e6b5e6b33df3a0797d40
[]
no_license
bopopescu/uceo-2015
164694268969dd884904f51b00bd3dc034695be8
5abcbfc4ff32bca6ca237d71cbb68fab4b9f9f91
refs/heads/master
2021-05-28T21:12:05.120484
2015-08-05T06:46:36
2015-08-05T06:46:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,503
#!/edx/app/notifier/virtualenvs/notifier/bin/python import argparse import os import boto from boto.compat import json from boto.dynamodb.schema import Schema DESCRIPTION = """Load data into one or more DynamoDB tables. For each table, data is read from two files: - {table_name}.metadata for the table's name, sc...
[ "root@uceociputra.com" ]
root@uceociputra.com
39ecf8a6bf6320ef772e70a2165129e85befec7b
26d6c34df00a229dc85ad7326de6cb5672be7acc
/msgraph-cli-extensions/v1_0/devicescorpmgt_v1_0/azext_devicescorpmgt_v1_0/vendored_sdks/devicescorpmgt/operations/_device_app_management_device_app_management_operations.py
a2163d104f46288f513f0a9b6c9009c40e5b4402
[ "MIT" ]
permissive
BrianTJackett/msgraph-cli
87f92471f68f85e44872939d876b9ff5f0ae6b2c
78a4b1c73a23b85c070fed2fbca93758733f620e
refs/heads/main
2023-06-23T21:31:53.306655
2021-07-09T07:58:56
2021-07-09T07:58:56
386,993,555
0
0
NOASSERTION
2021-07-17T16:56:05
2021-07-17T16:56:05
null
UTF-8
Python
false
false
7,111
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 ...
[ "japhethobalak@gmail.com" ]
japhethobalak@gmail.com
a2cc0d8b9ee7768ddb30a445139a75e96b07c107
7a42d40a351824464a3c78dc0c3e78bbd8e0a92f
/RestProject/API/models.py
d5633eab44e77e7fc0bc778eae43c34180e41df2
[]
no_license
AhMay/DerekBlogLearn
6595063eafbc237b932e187b5cb3ad8ff32637fc
fdd5ea2fc5732cdc82ad006f7be0a2a1f30d0ba9
refs/heads/master
2020-07-09T05:20:33.283672
2019-09-29T10:10:23
2019-09-29T10:10:23
203,891,215
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
from django.db import models # Create your models here. class UserInfo(models.Model): USER_TYPE = ( (1,'普通用户'), (2,'VIP'), (3,'SVIP') ) user_type = models.IntegerField(choices=USER_TYPE) username = models.CharField(max_length=32) password = models.CharField(max_length=64) ...
[ "meizi111082@hotmail.com" ]
meizi111082@hotmail.com
dfbba17d8c8e485a34a89c32f8fe71b59d124f0a
0f504dab15e85d95695999eb7ad6fb5d0fedf627
/backend/course/api/v1/urls.py
ac318e9affa6f0ceb6d946ccd239fb5f8e476bdb
[]
no_license
crowdbotics-apps/quiz2-21690
e4ac495291069051c2750b4d520a7e783c422525
b9839d7cc02f631877ae7625f7ec32355d0bc90e
refs/heads/master
2022-12-30T18:40:06.017656
2020-10-18T23:49:48
2020-10-18T23:49:48
305,218,317
0
0
null
null
null
null
UTF-8
Python
false
false
944
py
from django.urls import path, include from rest_framework.routers import DefaultRouter from .viewsets import ( RecordingViewSet, EventViewSet, SubscriptionViewSet, CourseViewSet, GroupViewSet, ModuleViewSet, PaymentMethodViewSet, SubscriptionTypeViewSet, EnrollmentViewSet, Lesson...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
67dbc7b5ac7b949db359a0aecf1cf5b6cae00c61
2df82b931c89ac70d49b0716d642d8e355926d50
/product/migrations/0001_initial.py
3716702e72959b27f723bc7d805418f6cdc9c2ad
[]
no_license
khanansha/producthunt
1a638104e83803b9afc4a51ff3ead438ae47cab6
03b8d45091c88a2ff142f0a3082910ac1fa0ba41
refs/heads/master
2021-05-26T03:21:35.246011
2020-04-08T08:41:17
2020-04-08T08:41:17
254,031,608
0
0
null
null
null
null
UTF-8
Python
false
false
1,086
py
# Generated by Django 2.2.10 on 2020-04-02 15:30 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] op...
[ "anjumkhan88987@gmail.com" ]
anjumkhan88987@gmail.com
649ccaa41cf34423f7cb4ea871756bc46167d0e9
34b7e1ec50f0ebf3c0389baebd0940801cb49016
/get_update_gaps.py
4491613af1df28cd30e2e76e230ea6f17586d52b
[]
no_license
chenc10/TensorFlow-RRSP-INFOCOM19
c5827378dfd3fe4cbe6b85c4f1d6aee4615b6e4e
131eb664f91111646bccf5b7490f5d1e9562ebeb
refs/heads/master
2020-04-29T22:18:40.729132
2019-03-19T06:52:51
2019-03-19T06:52:51
176,443,203
8
3
null
null
null
null
UTF-8
Python
false
false
413
py
import sys num = 16 update_times = [] for i in range(num): f = open(sys.argv[1] + '/slave'+str(i)+'.log', 'r') d = f.readlines() f.close() for i in range(len(d)): if 'loss =' in d[i]: tmp = d[i].split('time:')[1].split(';')[0] update_times.append(float(tmp)) update_times.sort() gaps = [] for i in range(len...
[ "chenc10@126.com" ]
chenc10@126.com
35948d5e5ca5054abf5106ee59c00b4eefdda3da
c404b4da78b1ceed2f8dfa50425a04ad68f8d34e
/2_route/request.py
7b9aca4b9c7a386fe85c96c83cd46b3bc3b43f34
[]
no_license
ydPro-G/Flask
9bca2db3d19193f07c86cd628cbebaade65451dd
d34a9577901dabf4018ba1050263709f2d69e6a8
refs/heads/master
2022-12-15T22:11:39.391134
2020-09-17T07:43:55
2020-09-17T07:43:55
285,768,905
0
0
null
null
null
null
UTF-8
Python
false
false
1,317
py
# HTTP请求方法设置,Get,Post,Put,Delete from flask import request from flask import Flask # 创建Web应用实例 app = Flask(__name__) # 指定路由与HTTP请求方法,不同的请求方法可以返回不同的数据 @app.route('/login',methods=['GET','POST']) # 路由函数 def login(): # 请求路由为什么就反什么数据 if request.method == 'POST': return 'This is a POST request' else: ...
[ "46178109+ydPro-G@users.noreply.github.com" ]
46178109+ydPro-G@users.noreply.github.com
51d687d3a65ca402d94f83473d89873f6bc053ea
c4f01eec090833762b884c2078161df087d09b0d
/Calculation methods/CalcMethods_Lab_3_V15_Task_5_3_1/venv/Scripts/pip-script.py
2a4c7ff61e1d675d875a14a4d4569cdd48595e73
[]
no_license
areyykarthik/Zhukouski_Pavel_BSU_Projects
47a30144c5614b10af521a78fba538a0e9184efa
3540979e680732d38e25a6b39f09338985de6743
refs/heads/master
2023-08-07T02:49:34.736155
2021-10-05T21:57:03
2021-10-05T21:57:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
#!C:\Users\user\PycharmProjects\CalcMethods_Lab_3_V15_Task_5_3_1\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\...
[ "shist.pupust@mail.ru" ]
shist.pupust@mail.ru
696900b90a3dc9d880cb3d1bb40e987430548ae4
8d2a124753905fb0455f624b7c76792c32fac070
/pytnon-month01/month01-class notes/day17-fb/demo02.py
f3a3aa8c1778164bc8a83ee97e32c7c518ca0ef4
[]
no_license
Jeremy277/exercise
f38e4f19aae074c804d265f6a1c49709fd2cae15
a72dd82eb2424e4ae18e2f3e9cc66fc4762ec8fa
refs/heads/master
2020-07-27T09:14:00.286145
2019-09-17T11:31:44
2019-09-17T11:31:44
209,041,629
0
0
null
null
null
null
UTF-8
Python
false
false
2,193
py
""" 迭代器 --> yield 练习: exercise04-装饰器.py 目标:让自定义类所创建的对象,可以参与for. iter价值:可以被for next价值:返回数据/抛出异常 class 自定义类的迭代器: def __next__(self): pass class 自定义类: def __iter__(self): pass for item in 自定义类(): pass """ # class SkillIterator: # def...
[ "13572093824@163.com" ]
13572093824@163.com
6dd671548eb54a66d884c51832342a6f633a2883
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/9cuQrhEMwiESfKznk_22.py
4beda351a6e7e00fbc28e2b58d5e33dbf762429c
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
635
py
def eng2nums(s): ans='' nums=[('zero'),('one'),('two','twenty'),('three','thirty'),('four','forty'),\ ('five','fifty'),('six','sixty'),('seven','seventy'),('eight','eighty'),\ ('nine','ninety'),('ten'),('eleven'),('twelve'),('thirteen'),('fourteen'),\ ('fifteen'),('sixteen'),('sev...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
bb54248f5b5ab49021f8e14e557a7e1a0f7253cb
d190750d6cb34e9d86ae96724cf4b56a2f57a74a
/tests/r/test_wine.py
fde49d1570f4c69b88eb7454a338809439bfce4b
[ "Apache-2.0" ]
permissive
ROAD2018/observations
a119f61a48213d791de0620804adb8d21c2ad9fb
2c8b1ac31025938cb17762e540f2f592e302d5de
refs/heads/master
2021-09-24T04:28:02.725245
2018-09-16T23:06:30
2018-09-16T23:06:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
496
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import shutil import sys import tempfile from observations.r.wine import wine def test_wine(): """Test module wine.py by downloading wine.csv and testing shape of extracted data has 21 rows and 5 col...
[ "dustinviettran@gmail.com" ]
dustinviettran@gmail.com
8a78ad47f05a803e2d09a235e1e6dd69439e958c
8787b2fbb5017b61dcf6075a5261071b403847bf
/Programmers/피보나치 수.py
fa2b3172cfb8dd924d6d630734bc34a370b3b1fd
[]
no_license
khw5123/Algorithm
a6fe0009e33289813959553c2366d77c93d7b4b9
323a829f17a10276ab6f1aec719c496a3e76b974
refs/heads/master
2023-01-02T00:12:21.848924
2020-10-23T06:37:41
2020-10-23T06:37:41
282,162,235
0
0
null
null
null
null
UTF-8
Python
false
false
584
py
def matmul(a, b, mod): result = [[0, 0], [0, 0]] for i in range(2): for j in range(2): for k in range(2): result[i][j] = (result[i][j] + a[i][k] * b[k][j]) % mod return result def fibonacci_matrix(n, mod): arr, constant = [[1, 0], [0, 1]], [[1, 1], [1, 0]] ...
[ "5123khw@hknu.ac.kr" ]
5123khw@hknu.ac.kr
27422c5a1f0ff024ae1c6f90a890aee82bc4fcdb
c56ddcc2807151a5c44d3a1d65a1984bc8fd9b84
/6 кю/Multiples of 3 or 5.py
d64d9b66c2b54376f88bf68fe0a418f6c91a6640
[]
no_license
kelpasa/Code_Wars_Python
2cd18dd404603a6535887e8e6ed2d08da19562ba
939ec1dd08ffc7939bb9a139bf42901d6f24fbdd
refs/heads/master
2022-12-17T02:00:28.319351
2020-09-23T09:11:20
2020-09-23T09:11:20
246,642,898
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
def solution(number): lst = [] for i in range(number): if i % 3 == 0 or i % 5 == 0: lst.append(i) return sum(lst)
[ "noreply@github.com" ]
kelpasa.noreply@github.com
820f6939597b6231ca028aa4cfb0446606990eae
511b7b19ec49be34bec240ee7c7cf4178cd36ca3
/gasolinestation/migrations/0005_auto_20200228_0841.py
24b1e028159d61f88186ceefaefa79403001fad9
[]
no_license
francisguchie/360POS
58de516fe52e83d6b99bd195d22c8aa902daee18
68f9e20ac263c75ec0c9b0fe75d7f648b8744ea8
refs/heads/master
2023-02-08T16:38:42.667538
2020-03-12T16:05:00
2020-03-12T16:05:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
# Generated by Django 3.0.3 on 2020-02-28 08:41 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('gasolinestation', '0004_auto_20200228_0832'), ] ...
[ "monde.lacanlalay@gmail.com" ]
monde.lacanlalay@gmail.com
2d59e32a6dcbc39603ae17ab49edec7087cf3ec4
f68cd225b050d11616ad9542dda60288f6eeccff
/testscripts/RDKB/component/CosaCM/TS_COSACM_GetLoopDiagnosticsStart_WithInvalidBuffer.py
237d4cfa6fdc2e7d9e44c6fc5e9438d8bc5e5679
[ "Apache-2.0" ]
permissive
cablelabs/tools-tdkb
18fb98fadcd169fa9000db8865285fbf6ff8dc9d
1fd5af0f6b23ce6614a4cfcbbaec4dde430fad69
refs/heads/master
2020-03-28T03:06:50.595160
2018-09-04T11:11:00
2018-09-05T00:24:38
147,621,410
0
0
null
null
null
null
UTF-8
Python
false
false
6,628
py
########################################################################## # If not stated otherwise in this file or this component's Licenses.txt # file the following copyright and licenses apply: # # Copyright 2016 RDK Management # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use th...
[ "jim.lawton@accenture.com" ]
jim.lawton@accenture.com
7cc65b6f39eee379bed59fe9296f6f4f7706dab0
a1615563bb9b124e16f4163f660d677f3224553c
/LI/lib/python3.8/site-packages/numpy/typing/tests/data/pass/array_constructors.py
63208f139c39667febc30a53fb13a4109a74d410
[ "BSD-3-Clause", "GPL-3.0-or-later", "BSD-3-Clause-Open-MPI", "GPL-3.0-only", "GCC-exception-3.1", "MIT" ]
permissive
honeybhardwaj/Language_Identification
2a247d98095bd56c1194a34a556ddfadf6f001e5
1b74f898be5402b0c1a13debf595736a3f57d7e7
refs/heads/main
2023-04-19T16:22:05.231818
2021-05-15T18:59:45
2021-05-15T18:59:45
351,470,447
5
4
MIT
2021-05-15T18:59:46
2021-03-25T14:42:26
Python
UTF-8
Python
false
false
2,362
py
from typing import List, Any import numpy as np class Index: def __index__(self) -> int: return 0 class SubClass(np.ndarray): ... i8 = np.int64(1) A = np.array([1]) B = A.view(SubClass).copy() B_stack = np.array([[1], [1]]).view(SubClass) C = [1] def func(i: int, j: int, **kwargs: Any) -> SubClass: ...
[ "honey.bhardwaj.18cse@bmu.edu.in" ]
honey.bhardwaj.18cse@bmu.edu.in
5e736de360ea4a465167243925e0eb88349d59c9
7f7dd8b279a19b623c57723ffe8d788423bd359e
/Summary/WC2TPCEff/FlatEff/G4XSPiMinus_60A.py
5621c4610be96a1b387608af292c1e508dfaf8df
[]
no_license
ElenaGramellini/LArIATPionXSAna
35925398b8f7d8ada14bf78664ca243a74b8e946
0fb26e915b987084f553d64560e5a4e6adcb65fa
refs/heads/master
2020-11-28T10:13:57.769651
2019-12-23T15:37:38
2019-12-23T15:37:38
229,779,168
0
0
null
null
null
null
UTF-8
Python
false
false
2,899
py
from ROOT import * import os import math import argparse from ROOT import TEfficiency from ROOT import gStyle , TCanvas , TGraphErrors from array import array def is_number(s): try: int(s) return True except ValueError: return False def graphTruth(): fname = "PionMinusG4.txt" ...
[ "elena.gramellini@yale.edu" ]
elena.gramellini@yale.edu
42aa2414994823c9aeed0028a4e7d2eed4a9863d
a01aec3906af00d3d40caf933b63d059043cd21d
/数据分析/数组快速挑选/布尔矩阵.py
51223ed4cc4d7e6c0b54921200b51f553ecf3247
[]
no_license
liuaichao/python-work
d23dfcbffff95a50204ead88a809570304ba7995
a5dcd1d74f1a7c1728faaa60d26a3ddb9369f939
refs/heads/master
2021-07-04T16:03:16.443540
2020-09-27T06:51:09
2020-09-27T06:51:09
182,085,446
6
0
null
null
null
null
UTF-8
Python
false
false
721
py
# -*- coding:utf-8 -*- import numpy as np from functools import reduce a1 = ['我','你','他','她','他们','我们'] a2 = ['喜欢','想','拥有','练习','讨厌','学习'] a3 = ['豪车','别墅','python','数据分析','金钱','美酒'] arr_1 = np.column_stack(((np.column_stack((np.array(a1),np.array(a2)))),np.array(a3))) arr_2 = np.column_stack(((np.column_stack((np.arra...
[ "1395900558@qq.com" ]
1395900558@qq.com
c7eb8d5964b35c8f24b6b4fd95646ca4e6d7ea49
e36c5a91306f8d8cf487368d3a1dfae4c03da3c0
/build/kobuki/kobuki_bumper2pc/catkin_generated/pkg.installspace.context.pc.py
3ffee9fd146d172cc2c7437ea17aeec32e5fdf02
[]
no_license
DocDouze/RobMob
84ae5b96a16028586c9da2008f7c7772bdaa1334
6a2e7505eb2207d61b1c354cfd255075b1efbc73
refs/heads/master
2020-04-11T07:24:28.958201
2018-12-17T11:56:54
2018-12-17T11:56:54
161,607,677
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/aubailly/Bureau/RobMob/install/include".split(';') if "/home/aubailly/Bureau/RobMob/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "roscpp;nodelet;pluginlib;sensor_msgs;kobuki_msgs".repl...
[ "quentin.aubailly@gmail.com" ]
quentin.aubailly@gmail.com
dac3ebec146fc48e57be2d5e229e98045b9607a5
c0ad282ab743a315e2f252a627933cb168434c1d
/shapeworld/captioners/conjunction.py
5c6d9150477133f12ca4c36847ac38928275c407
[ "MIT" ]
permissive
AlexKuhnle/ShapeWorld
6d1e16adc94e860abae99ade869f72575f573bc4
e720bf46e57fc01326d04d639fa6133d9c12158f
refs/heads/master
2021-07-09T00:02:33.808969
2021-04-19T11:10:52
2021-04-19T11:10:52
80,815,972
58
28
MIT
2021-04-19T11:10:53
2017-02-03T09:40:19
Python
UTF-8
Python
false
false
5,552
py
from copy import deepcopy from shapeworld import util from shapeworld.captions import Proposition from shapeworld.captioners import WorldCaptioner class ConjunctionCaptioner(WorldCaptioner): # incorrect modes # 0: first incorrect # 1: second incorrect # 2: both incorrect def __init__( se...
[ "aok25@cl.cam.ac.uk" ]
aok25@cl.cam.ac.uk
3cf5de725a5578d429689fda8de9500589456d15
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03436/s889620274.py
7e3633505d9278af94081bda9da29bfc113148f5
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
H,W = map(int,input().split()) S = [input() for i in range(H)] blk = sum(row.count('#') for row in S) from collections import deque dxy = [(0,1),(1,0),(0,-1),(-1,0)] dist = [[0]*W for i in range(H)] visited = [[0]*W for i in range(H)] visited[0][0] = 1 q = deque([(0,0)]) while q: x,y = q.popleft() for dx,dy in...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
baec99e59f1be0ebe09c25bc8f1b105e189f52f4
e3c8f786d09e311d6ea1cab50edde040bf1ea988
/Incident-Response/Tools/grr/grr/server/grr_response_server/flows/general/checks_test.py
0be3d9152c25d7959746892d62bdb237f98c8a51
[ "Apache-2.0", "MIT" ]
permissive
foss2cyber/Incident-Playbook
d1add8aec6e28a19e515754c6ce2e524d67f368e
a379a134c0c5af14df4ed2afa066c1626506b754
refs/heads/main
2023-06-07T09:16:27.876561
2021-07-07T03:48:54
2021-07-07T03:48:54
384,988,036
1
0
MIT
2021-07-11T15:45:31
2021-07-11T15:45:31
null
UTF-8
Python
false
false
4,368
py
#!/usr/bin/env python """Test the collector flows.""" from __future__ import absolute_import from __future__ import division from __future__ import unicode_literals import os from absl import app from grr_response_core import config from grr_response_core.lib.parsers import config_file from grr_response_core.lib.par...
[ "a.songer@protonmail.com" ]
a.songer@protonmail.com
beb376cb4b79225dad11e14942e96e80e8dffa48
21f81fce20e657c175de388d5f6b8b8a78ac3ee9
/examples/bend-flux.py
f3fe0a3dd83abcba8e09c5d2080eb1d63e51f0b1
[]
no_license
tnakaicode/pymeep-example
c23a9be827a37477a3328668a62b0486413a31d7
40c9c77d5e26cf43771b57af95c324a5225515ef
refs/heads/master
2021-01-08T02:01:47.641017
2020-02-20T14:22:07
2020-02-20T14:22:07
241,879,598
0
0
null
null
null
null
UTF-8
Python
false
false
3,518
py
# -*- coding: utf-8 -*- # transmission around a 90-degree waveguide bend in 2d from __future__ import division import meep as mp import numpy as np import matplotlib.pyplot as plt resolution = 10 # pixels/um sx = 16 # size of cell in X direction sy = 32 # size of cell in Y direction cell = mp.Vector3(sx, sy, 0) ...
[ "tnakaicode@gmail.com" ]
tnakaicode@gmail.com
78ab9aaea1b7def48a3918b228987989375f6fda
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/10/usersdata/137/10363/submittedfiles/testes.py
3f1eddb1bbd0d48889e66c57f0feb844589958e4
[]
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
457
py
# -*- coding: utf-8 -*- from __future__ import division import math a=input('a:') b=input('b:') c=input('c:') d=input('d:') if a>b and a>c and a>d: maior=a elif b>a and b>c and b>d: maior=a elif c>a and c>b and c>d: maior=c elif d>a and d>b and d>c: maior=d elif a<b and a<c and a<d: menor=a elif b<a...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
3678749b295aba294063b492e55f9765d25c127f
80f244addbd16914b3391f549670e7164b60e0cb
/Realestate4/Tagent4/migrations/0001_initial.py
7d6f31c659a77640ff373ae56d72c6f5532871f4
[]
no_license
Jagadishbommareddy/agentrest
df3817bb08b63e95f985935ebe7853492594619e
4b5e7a2dcfc8a0f39e4a6a94fe3cde8232aece97
refs/heads/master
2021-06-27T05:03:30.703762
2017-09-14T15:37:57
2017-09-14T15:37:57
103,550,487
0
0
null
null
null
null
UTF-8
Python
false
false
4,807
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-09-14 13:43 from __future__ import unicode_literals import Tagent4.validations from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] ...
[ "noreply@github.com" ]
Jagadishbommareddy.noreply@github.com
62c80f119ab5024fb4c6c1e5c2d0e6081efe14b8
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/A/alokmaheshwari/follow-url.py
149494399874ca6fa3215219ddc76469be641698
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,246
py
import mechanize import lxml.html import scraperwiki surl = "http://main.exoclick.com/click.php?data=eGhhbXN0ZXJ8MjQxMjQ3fDB8aHR0cCUzQSUyRiUyRnRyay5rbGlja3RyZWsuY29tJTJGYmFzZS5waHAlM0ZjJTNEODMlMjZrZXklM0Q4NzNkNTA5YWZiNTRjM2RiZjNiMjFiYTFjOGQyMzAxZiUyNnNvdXJjZSUzRHhoYW1zdGVyLmNvbXwzNDk1NHx8MHwxMDB8MTM1MDA3MDUxM3x4aGF...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
bf90aef5300e024c4e7977593d9d595e0838b6e1
c24212464eb84588edc7903a8905f2a881d578c4
/migrations/versions/9db4f46dd61b_private_messages.py
3f2b1c16b6007c7b1b7217c12ff58710f815a2b8
[]
no_license
the-akira/Flask-Library
c533dc2fd1ac2d3d9e2732e7c7bed5b8cc7ca4bd
833e77660053b1e95975ccdf8bf41a035722975c
refs/heads/master
2023-05-25T12:08:15.898134
2023-02-07T23:36:50
2023-02-07T23:36:50
205,951,022
5
2
null
2023-02-15T22:08:36
2019-09-02T23:26:50
HTML
UTF-8
Python
false
false
1,724
py
"""private messages Revision ID: 9db4f46dd61b Revises: 46e80c86a0fb Create Date: 2022-05-16 01:53:35.196659 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '9db4f46dd61b' down_revision = '46e80c86a0fb' branch_labels = None depends_on = None def upgrade(): ...
[ "gabrielfelippe90@gmail.com" ]
gabrielfelippe90@gmail.com
15fbb58d1ab6e4d3ad5e71efc5289fb5538ba0c4
3ea99519e25ec1bb605947a94b7a5ceb79b2870a
/modern_python/modernpython/lib/python3.6/site-packages/mypy/erasetype.py
48cd31487038c3a7b492617d7348a7241574e77e
[]
no_license
tech-cow/spazzatura
437c7502a0654a3d3db2fd1e96ce2e3e506243c0
45fc0932186d2ef0c5044745a23507a692cfcc26
refs/heads/master
2022-09-01T12:01:11.309768
2018-11-15T04:32:03
2018-11-15T04:32:03
130,414,653
1
0
null
null
null
null
UTF-8
Python
false
false
3,635
py
from typing import Optional, Container, Callable from mypy.types import ( Type, TypeVisitor, UnboundType, AnyType, NoneTyp, TypeVarId, Instance, TypeVarType, CallableType, TupleType, TypedDictType, UnionType, Overloaded, ErasedType, PartialType, DeletedType, TypeTranslator, TypeList, UninhabitedType, ...
[ "yuzhoujr@yuzhou-7480.internal.synopsys.com" ]
yuzhoujr@yuzhou-7480.internal.synopsys.com
3bbe155023b3a97c5e91f1df5960570a3fcf09b0
154fd16fe7828cb6925ca8f90e049b754ce06413
/lino_book/projects/lydia/tests/dumps/18.12.0/finan_journalentryitem.py
d520f010ff31a28ccbf9549667aba2fb3c9447b9
[ "BSD-2-Clause" ]
permissive
lino-framework/book
68de2f8d130266bd9d9de7576d30597b3cde1c91
4eab916832cd8f48ff1b9fc8c2789f0b437da0f8
refs/heads/master
2021-03-27T16:16:55.403940
2021-03-15T02:53:50
2021-03-15T02:53:50
58,830,342
3
9
BSD-2-Clause
2021-03-09T13:11:27
2016-05-14T21:02:17
Python
UTF-8
Python
false
false
205
py
# -*- coding: UTF-8 -*- logger.info("Loading 0 objects to table finan_journalentryitem...") # fields: id, seqno, match, amount, dc, remark, account, partner, date, voucher loader.flush_deferred_objects()
[ "luc.saffre@gmail.com" ]
luc.saffre@gmail.com
e4f283777aca8b53ab305f01ade13de7a4711d27
c7f4b7c79d8fc3491c01b46bb5c78192d3e0c5ae
/tests/test_UnweightedSearchTree___call__.py
29dbcb6640eb211d089579d2046068bc20a37184
[ "MIT" ]
permissive
Abjad/abjad-ext-nauert
37d4ea2121b839d2c9388e925b241795cd5a0ae7
ad6c649c79d096ce905a7a8e80cf9d7154727424
refs/heads/main
2023-08-24T15:32:15.519856
2023-08-02T15:05:08
2023-08-02T15:05:08
132,930,780
4
2
MIT
2023-04-15T14:18:20
2018-05-10T17:05:23
Python
UTF-8
Python
false
false
1,648
py
import abjadext.nauert def test_UnweightedSearchTree___call___01(): definition = {2: {2: {2: None}, 3: None}, 5: None} search_tree = abjadext.nauert.UnweightedSearchTree(definition) q_grid = abjadext.nauert.QGrid() a = abjadext.nauert.QEventProxy( abjadext.nauert.SilentQEvent(0, ["A"], index=1...
[ "josiah.oberholtzer@gmail.com" ]
josiah.oberholtzer@gmail.com
62753c6572ceae98064f37c7803fd7fad44def88
fa99ad8197e9accce25ae31a197e11c84683daaf
/kakao/phone.py
42ffdb298d160f0792868d7216980fb6aed6bad9
[]
no_license
vxda7/HomeAlgorithm
933c3afae5fb81dce2707790544c0f4c3cdc44f9
9a8437913ba579b9a584f16048be81ae1d17d3e6
refs/heads/master
2020-09-08T16:37:02.089305
2020-07-10T06:58:58
2020-07-10T06:58:58
221,185,705
0
0
null
null
null
null
UTF-8
Python
false
false
1,273
py
def solution(numbers, hand): answer = '' rctonum = {"*":[0, 0], "#": [2, 0], 1:[0, 3], 2:[1, 3], 3: [2, 3], 4: [0, 2], 5: [1, 2], 6: [2, 2], 7:[0, 1], 8: [1, 1], 9:[2, 1], 0:[1, 0]} nowleft = [0, 0] nowright = [2, 0] leftdis, rightdis = 0, 0 for one in numbers: if one == 1 or one == 4 or...
[ "vxda77@gmail.com" ]
vxda77@gmail.com
7fbc51dbe061ef625e5af45342ec77179b3f8c3f
e5e2b7da41fda915cb849f031a0223e2ac354066
/sdk/python/pulumi_azure_native/sql/v20190601preview/_enums.py
25bbca7a57d4b073a45cbd5b58f250f0b0307a61
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
johnbirdau/pulumi-azure-native
b7d3bdddeb7c4b319a7e43a892ddc6e25e3bfb25
d676cc331caa0694d8be99cb90b93fa231e3c705
refs/heads/master
2023-05-06T06:48:05.040357
2021-06-01T20:42:38
2021-06-01T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,026
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** from enum import Enum __all__ = [ 'AdministratorType', 'CatalogCollationType', 'CreateMode', 'DatabaseLicenseType', 'DatabaseReadS...
[ "noreply@github.com" ]
johnbirdau.noreply@github.com
2bc19d1d207111ed43b63e5866fcca751932a569
f0bbca88acab9f75a534c8b228f04abac33735f3
/python/272.ClosestBinarySearchTreeValueII.py
bade89981c709daef2f4fb2d7f428729fef5917c
[]
no_license
MaxPoon/Leetcode
e4327a60d581f715a7c818b8e8e8aa472ed776c1
15f012927dc34b5d751af6633caa5e8882d26ff7
refs/heads/master
2020-09-17T05:33:13.877346
2019-05-09T04:34:54
2019-05-09T04:34:54
67,481,937
15
8
null
null
null
null
UTF-8
Python
false
false
954
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None from heapq import heappush, heappop class Solution(object): def closestKValues(self, root, target, k): """ :type root: TreeNode :type target: f...
[ "maxpanziyuan@gmail.com" ]
maxpanziyuan@gmail.com
fc24a39a70270e955fe523e8fc7e16760c7f5e10
9009ad47bc1d6adf8ee6d0f2f2b3125dea44c0aa
/cf-999-a.py
4a0a9b2c17abfd11d87b3733bfd2c74232bfddd1
[]
no_license
luctivud/Coding-Trash
42e880624f39a826bcaab9b6194add2c9b3d71fc
35422253f6169cc98e099bf83c650b1fb3acdb75
refs/heads/master
2022-12-12T00:20:49.630749
2020-09-12T17:38:30
2020-09-12T17:38:30
241,000,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,366
py
#~~~~~~~~~~~~~~~ JAI SHREE RAM ~~~~~~~~~~~~~~~~~~# import math; from collections import * import sys; from functools import reduce # sys.setrecursionlimit(10**6) def get_ints(): return map(int, input().strip().split()) def get_list(): return list(get_ints()) def get_string(): return list(input().strip().split(...
[ "luctivud@gmail.com" ]
luctivud@gmail.com
9ee3580b09c058e905d7716ebd7d3428447c0fa9
9680ba23fd13b4bc0fc3ce0c9f02bb88c6da73e4
/Brian Heinold (243) ile Python/p32406.py
48335db560c70401219a91d1793655a29c1366cb
[]
no_license
mnihatyavas/Python-uygulamalar
694091545a24f50a40a2ef63a3d96354a57c8859
688e0dbde24b5605e045c8ec2a9c772ab5f0f244
refs/heads/master
2020-08-23T19:12:42.897039
2020-04-24T22:45:22
2020-04-24T22:45:22
216,670,169
0
0
null
null
null
null
ISO-8859-9
Python
false
false
1,030
py
# coding:iso-8859-9 Türkçe from collections import Counter import re metin = open ("p32406x2.txt").read() # İsterseniz "p32406x1.txt" Türkçe metin dosyasını da kullanabilirsiniz... print ("Dosyadan okunan metin:\n", metin) sayar1 = Counter (metin) print ("\nMetnin karakterlerinin tekrarlanma sıklığı:\n", l...
[ "noreply@github.com" ]
mnihatyavas.noreply@github.com
c40a0d341aa647b4cc049e828e4eb7a914438513
d6e6ff3026b41f07c8c157420c988d3381fcd945
/src/justForReal/InsertionSortList.py
dd3ac3005e9c33d7a447f771133cc4585f7dab33
[]
no_license
tongbc/algorithm
dbaeb354f167c7a7a10509ada9458eaaa5e7676e
cf0a007552caa121a656a3f42257de8fa8cc5b38
refs/heads/master
2022-05-17T15:25:32.915075
2022-04-02T06:23:31
2022-04-02T06:23:31
142,536,105
1
0
null
null
null
null
UTF-8
Python
false
false
701
py
# Definition for singly-linked list. class ListNode(object): def __init__(self, x): self.val = x self.next = None class Solution(object): def insertionSortList(self, head): """ :type head: ListNode :rtype: ListNode """ if not head: return head...
[ "624360737@qq.com" ]
624360737@qq.com
353ce03802c6f618b014782c3d1c547b23a61161
3cdb4faf34d8375d6aee08bcc523adadcb0c46e2
/web/env/lib/python3.6/site-packages/botocore/vendored/requests/api.py
85608b79d7979f08365897c0b8a17abc198f9cc9
[ "MIT", "GPL-3.0-only" ]
permissive
rizwansoaib/face-attendence
bc185d4de627ce5adab1cda7da466cb7a5fddcbe
59300441b52d32f3ecb5095085ef9d448aef63af
refs/heads/master
2020-04-25T23:47:47.303642
2019-09-12T14:26:17
2019-09-12T14:26:17
173,157,284
45
12
MIT
2020-02-11T23:47:55
2019-02-28T17:33:14
Python
UTF-8
Python
false
false
5,903
py
# -*- coding: utf-8 -*- """ requests.api ~~~~~~~~~~~~ This module implements the Requests API. :copyright: (c) 2012 by Kenneth Reitz. :license: Apache2, see LICENSE for more details. """ import warnings from . import sessions _WARNING_MSG = ( "You are using the {name}() function from 'botocore.vendored.reque...
[ "rizwansoaib@gmail.com" ]
rizwansoaib@gmail.com
8fff6bb03b004eade3f864943dfe58a1c0d4969b
4b9e30286d292a9702e5cca61ce1004f31d68529
/tests/weblogs/test_management_commands.py
69c120f9c198c9c8217407a623256276bd94cea6
[]
no_license
philgyford/django-hines
2c69f18c39a19dc1488950e4948bde98427dcefc
af5ab91deae688ba67d1561cee31359b67b0d582
refs/heads/main
2023-08-11T15:30:34.796955
2023-08-07T10:09:04
2023-08-07T10:09:04
930,164
14
1
null
2023-09-11T14:44:43
2010-09-22T09:25:28
HTML
UTF-8
Python
false
false
2,113
py
from io import StringIO from django.core.management import call_command from django.test import TestCase from freezegun import freeze_time from hines.core.utils import make_datetime from hines.weblogs.factories import DraftPostFactory, ScheduledPostFactory from hines.weblogs.models import Post class PublishSchedule...
[ "phil@gyford.com" ]
phil@gyford.com
a16d263e0faed78d988cfcfe933d8d3375f77618
fa1aa08d57dc45e5095593b78d0f2b75243bc936
/wonderment/wsgi.py
f3dfbbd5aae7a55e8489dee92018ef819738d980
[]
no_license
carljm/Wonderment
8c8d7e3fa6dd853aa150ae3f5addc430ee2070ee
7418864b7beaf73a9e1c0557b50904cf9a29d667
refs/heads/master
2021-04-24T15:32:21.634279
2019-01-14T04:33:19
2019-01-14T04:33:19
23,745,985
1
1
null
null
null
null
UTF-8
Python
false
false
346
py
""" WSGI config for wonderment project. It exposes the WSGI callable as a module-level variable named ``application``. """ # flake8: noqa import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "wonderment.settings") from django.core.wsgi import get_wsgi_application from dj_static import Cling application = Clin...
[ "carl@oddbird.net" ]
carl@oddbird.net
a88eb74aa375c7325e1c53caba26ecc15624f3cf
8c5a083a67858df0632ca5bb7804d1876255381b
/trustpay/admin.py
69ffdc341aec2c236e85b633429a41c304fd2649
[ "BSD-3-Clause" ]
permissive
PragmaticMates/django-trustpay
5ef9a771fb1686b517211bd83181591b9e90e7b3
fdf1273081bf228ed9f2fbbe9507174c80a709af
refs/heads/master
2021-06-22T21:36:28.789306
2018-08-07T11:07:55
2018-08-07T11:07:55
16,167,006
1
1
BSD-3-Clause
2021-06-10T19:10:49
2014-01-23T08:39:51
Python
UTF-8
Python
false
false
903
py
from django.contrib import admin from django.utils.translation import ugettext_lazy as _ from models import Notification class NotificationAdmin(admin.ModelAdmin): date_hierarchy = 'created' list_display = ['id', 'transaction_id', 'result', 'amount_and_currency', 'reference', 'signature', ...
[ "erik.telepovsky@gmail.com" ]
erik.telepovsky@gmail.com
27930989c4f710c63ba8fdbe07e1fe62f4767919
b6ee71c540af500c2938e78f928bfd2d88585eea
/threestrandcode/apps/api/tests/assignments.py
b02c4b86cdd02ef374a26b38a4bd90e174f9b095
[]
no_license
3-strand-code/3sc-api
114e1c633cbb026a200fc74a065db39072b63763
1e4c051758aab85f0f6b6efa6c3aa713f05eb75e
refs/heads/master
2016-09-01T16:11:18.668787
2016-02-15T01:29:04
2016-02-15T01:29:04
48,534,175
0
0
null
2016-02-23T20:52:47
2015-12-24T08:41:32
Python
UTF-8
Python
false
false
1,284
py
import random from django.conf import settings from django.contrib.auth.models import User from django.core.urlresolvers import reverse from django.test import TestCase from faker import Factory from loremipsum import generate_paragraph from model_mommy import mommy from applicants.models import Applicant from homewo...
[ "eric@ckcollab.com" ]
eric@ckcollab.com
4e2de6d4cb15b3eb73b16ff6453fac402218a793
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/dp_regression/experiment_test.py
a2e9967b9ad34b3318655ce57a3d11f4ad93f12c
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
1,307
py
# coding=utf-8 # Copyright 2023 The Google Research Authors. # # 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
98a8aff95c45a2477fb0daa2102191e16e591101
de4c5ecaf541d67e7cbf02837d93cf303d23b5da
/src/app/model/flash_msg.py
11cca6b9e7356ac435f6b39c82155b57a7ea7b71
[ "Apache-2.0" ]
permissive
shadowmint/py-test-watcher
d140064cafeb0b2efce8a403a3abd63322f812d0
36d33206b104c81e2d6acebdbed2dddee71fe2a7
refs/heads/master
2021-01-19T14:07:13.441335
2013-07-01T06:07:56
2013-07-01T06:07:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,083
py
# Copyright 2013 Douglas Linder # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
[ "linderd@iinet.net.au" ]
linderd@iinet.net.au
d7d6b4cd87007c2c1eba4c550c67c0c1c1bddee4
cb062c48280311134fe22573a41f9c4d6631b795
/src/xm/core/TransactionInfo.py
00f218c97fc571e7a710ca83d842ded158650ac2
[ "MIT" ]
permissive
xm-blockchain/xm-core
da1e6bb4ceb8ab642e5d507796e2cc630ed23e0f
2282b435a02f061424d656155756d8f50238bcfd
refs/heads/main
2023-01-15T19:08:31.399219
2020-11-19T03:54:19
2020-11-19T03:54:19
314,127,428
0
0
null
null
null
null
UTF-8
Python
false
false
2,257
py
# coding=utf-8 # Distributed under the MIT software license, see the accompanying # file LICENSE or http://www.opensource.org/licenses/mit-license.php. from xm.core import config from xm.core.misc import ntp from xm.core.txs.Transaction import Transaction class TransactionInfo: def __init__(self, tx: Transactio...
[ "74695206+xm-blockchain@users.noreply.github.com" ]
74695206+xm-blockchain@users.noreply.github.com