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
d02edfa3c34f2b0e8cdf7fcee43f0673d659cfa9
72d6b3ab3fc2c7014967a156de082d1c617cbf0f
/网优日常/制作手机型号数据库/制作用户手机型号数据库.py
716e6b00a29239dcec0f36eca0ff7a9880dc6903
[]
no_license
fengmingshan/python
19a1732591ad061a8291c7c84e6f00200c106f38
b35dbad091c9feb47d1f0edd82e568c066f3c6e9
refs/heads/master
2021-06-03T08:35:50.019745
2021-01-19T15:12:01
2021-01-19T15:12:01
117,310,092
4
1
null
null
null
null
UTF-8
Python
false
false
1,125
py
# -*- coding: utf-8 -*- # @Author: Administrator # @Date: 2019-09-07 11:17:31 # @Last Modified by: Administrator # @Last Modified time: 2019-09-07 16:10:16 import pandas as pd import os data_path = 'D:/2019年工作/2019年8月4G网络扩频方案/诺基亚大数据平台/' user_files = ['qujing_rmk1_temp_20190903.csv','qujing_rmk1_temp_20190808.csv'...
[ "fms_python@163.com" ]
fms_python@163.com
10a0372584f4d22c91b7131dc54958785772dded
df7b40e95718ac0f6071a0ba571b42efc81cf6de
/configs/dmnet/dmnet_r50-d8_512x512_80k_ade20k.py
74f6d6a85a06e96580a3c8d5843f660c85bca5ad
[ "Apache-2.0" ]
permissive
shinianzhihou/ChangeDetection
87fa2c498248e6124aeefb8f0ee8154bda36deee
354e71234bef38b6e142b6ba02f23db958582844
refs/heads/master
2023-01-23T20:42:31.017006
2023-01-09T11:37:24
2023-01-09T11:37:24
218,001,748
162
29
Apache-2.0
2022-11-03T04:11:00
2019-10-28T08:41:54
Python
UTF-8
Python
false
false
250
py
_base_ = [ '../_base_/models/dmnet_r50-d8.py', '../_base_/datasets/ade20k.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_80k.py' ] model = dict( decode_head=dict(num_classes=150), auxiliary_head=dict(num_classes=150))
[ "1178396201@qq.com" ]
1178396201@qq.com
326899684aa667bc3ef82d30a16914eb4ded3f0d
89b3f158659080efab8854b9f086ee62f06abc7d
/example.py
f95f9fc4b847a9429432bcbc8a1aaba5dd1d3706
[]
no_license
rgerkin/pystan-sklearn
8ff3d7ee8450fe58b2d6a2e5ae3076daa8d16477
5c5cffe5389abb58fa85d0a47bd4760128b19d8a
refs/heads/master
2020-04-05T23:40:37.547640
2017-08-06T22:27:25
2017-08-06T22:27:25
29,157,427
37
4
null
null
null
null
UTF-8
Python
false
false
3,655
py
import numpy as np from scipy.stats import norm from sklearn.model_selection import ShuffleSplit,GridSearchCV from pystan_sklearn import StanEstimator ############################################################# # All of this from the eight schools example. schools_code = """ data { int<lower=0> J; // n...
[ "rgerkin@asu.edu" ]
rgerkin@asu.edu
a0cbf85988f3c5372ea17c52a6e4c13dae5c4882
c0af53ffc1a030ffe228f5ab8e2833fdcf2fadee
/Decompiler/p/Cassius/Cassius.py
41198748999469e4ab291d4dc13966fa1391e041
[ "MIT" ]
permissive
GeofrontTeam/EDDecompiler
ab7f2f35e36c5197cee70bb38b0ab6afa7dd297b
5017ec026ff7f96d1b22094e5fcd69821f176f04
refs/heads/master
2023-05-11T04:43:56.682639
2021-05-31T23:27:48
2021-05-31T23:27:48
306,936,019
6
1
MIT
2021-05-24T22:12:34
2020-10-24T17:29:04
Python
UTF-8
Python
false
false
70
py
from ActionHelper import * from Voice import * from ChrFile import *
[ "Hiromi.Kaede@gmail.com" ]
Hiromi.Kaede@gmail.com
f16542003c0cf3db0d3dbe1c97a817a5d5a4ab12
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/anagram/4cea4799f8d04747920f4fa0133e14c2.py
3ac7214609467216359f63db380f0fee5c7bb09c
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
256
py
def is_anagram_of(word, cwrd, swrd): caps = word.upper() return cwrd != caps and swrd == sorted(caps) def detect_anagrams(word, words): cwrd = word.upper() swrd = sorted(cwrd) return list(filter(lambda s: is_anagram_of(s, cwrd, swrd), words))
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
1dcb23d7909b6dd031ad32006240c79be5c1aff9
d66aa4c77f65bb837e07626c696b6dc886c7b1c1
/base/Chapter-1/Chapter-1-31.py
db95b375d7349f4744a25dd67cc200ccb1f9bb5d
[]
no_license
silianpan/Excel_to_Python
2a789aec0eb38d3178be6dd44205792624d0d4c4
1c5890988c99b2939c4d98bb6a881e15d6c3ad7d
refs/heads/master
2021-07-09T00:25:54.665343
2021-05-04T11:25:18
2021-05-04T11:25:18
242,090,461
1
0
null
null
null
null
UTF-8
Python
false
false
261
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2021/5/2 上午9:30 # @Author : silianpan # @Site : # @File : py # @Software: PyCharm print('{:.2f}'.format(3.1415926)) #返回3.14。 print('{:.2%}'.format(0.1415926)) #返回14.16%。
[ "liu.pan@silianpan.cn" ]
liu.pan@silianpan.cn
03f6b2457e35e2c95cd510820a75fb3a05ad86a4
0c1d6b8dff8bedfffa8703015949b6ca6cc83f86
/lib/worklists/operator/CT/v4.0/business/VDSL_4+2/SIP_Enable/script.py
fbbdc60c98a8c24ab613f572d5dbb73c2483dd5e
[]
no_license
samwei8/TR069
6b87252bd53f23c37186c9433ce4d79507b8c7dd
7f6b8d598359c6049a4e6cb1eb1db0899bce7f5c
refs/heads/master
2021-06-21T11:07:47.345271
2017-08-08T07:14:55
2017-08-08T07:14:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,583
py
#coding:utf-8 # -----------------------------rpc -------------------------- import os import sys #debug DEBUG_UNIT = False if (DEBUG_UNIT): g_prj_dir = os.path.dirname(__file__) parent1 = os.path.dirname(g_prj_dir) parent2 = os.path.dirname(parent1) parent3 = os.path.dirname(parent2) parent4 = os...
[ "zhaojunhhu@gmail.com" ]
zhaojunhhu@gmail.com
3f7e43c1e6b0b4badb465fe876338ee60accd0a7
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/detective_write_1/invitation_reject.py
ce13843a11cb17b879320e1411eaf61fd08d6b0a
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,174
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_one_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/detective/reject-invitation.html if __name__ == ...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
fa38e08a52ba666bef919145d71861e1e85a3d49
aaf64078ce90bb552651602ee09690b7da94d368
/valeria_crowdbotics_31/urls.py
7a022b0cde20aca314541b13432bc1e4711999ef
[]
no_license
crowdbotics-users/valeria-crowdbotics-31
b625fa9ff0e451ed7ed99ed59d69b4ac8054a92f
4db0c8c0b0feef7f084d1bcbc16585b1e6a03786
refs/heads/master
2021-04-15T03:47:17.140916
2018-03-22T20:55:00
2018-03-22T20:55:00
126,393,968
0
0
null
null
null
null
UTF-8
Python
false
false
867
py
"""valeria_crowdbotics_31 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='...
[ "sp.gharti@gmail.com" ]
sp.gharti@gmail.com
75720c382037205156ee15f807fa63fac4eddf1f
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/baiduads/keyword/model/delete_word_response_wrapper.py
8ff0fce2fe3e1fece7f14185ec5036e07d8ec9bf
[ "Apache-2.0" ]
permissive
baidu/baiduads-sdk
24c36b5cf3da9362ec5c8ecd417ff280421198ff
176363de5e8a4e98aaca039e4300703c3964c1c7
refs/heads/main
2023-06-08T15:40:24.787863
2023-05-20T03:40:51
2023-05-20T03:40:51
446,718,177
16
11
Apache-2.0
2023-06-02T05:19:40
2022-01-11T07:23:17
Python
UTF-8
Python
false
false
11,623
py
""" dev2 api schema 'dev2.baidu.com' api schema # noqa: E501 Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from baiduads.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, ch...
[ "jiangyuan04@baidu.com" ]
jiangyuan04@baidu.com
7ad240c7bf533482774d94f1fb2d74b20b186759
543286f4fdefe79bd149ff6e103a2ea5049f2cf4
/Exercicios&cursos/Minhas_coisas/ex09.py
9639c0ea8b41077893e4d94489c1272c84db99b9
[]
no_license
antonioleitebr1968/Estudos-e-Projetos-Python
fdb0d332cc4f12634b75984bf019ecb314193cc6
9c9b20f1c6eabb086b60e3ba1b58132552a84ea6
refs/heads/master
2022-04-01T20:03:12.906373
2020-02-13T16:20:51
2020-02-13T16:20:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
from time import sleep a = [] def lista(a = []): for c in range(0, 5): a.append(int(input(f'{c + 1}º Digite um número: '))) print(f'lista de números digitados: ', end=' ') for n in a: print(f'{n}', end='|') lista() sleep(2) print('\nProximo...') sleep(2) lista()
[ "progmatheusmorais@gmail.com" ]
progmatheusmorais@gmail.com
9c796ae92d466001acc3155f24e74c72685703fe
3cfd135a00bbe03a354ec1e516bca9e224655f46
/sdk/python/test/test_v1beta1_when_expression.py
28d7521035c39c7023c8a43f8155bb0ad73c848e
[ "Apache-2.0" ]
permissive
FogDong/experimental
c7fc3a38aeaf9e2dbc9b06390a1c2e764ddda291
971004ba2ccfbceec4b677ee745fed7fd9ac6635
refs/heads/main
2023-04-23T01:49:20.602679
2021-05-05T12:36:52
2021-05-05T14:11:43
367,241,487
1
0
Apache-2.0
2021-05-14T03:44:34
2021-05-14T03:44:34
null
UTF-8
Python
false
false
2,226
py
# Copyright 2020 The Tekton 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 applicable law or agreed to in wr...
[ "48335577+tekton-robot@users.noreply.github.com" ]
48335577+tekton-robot@users.noreply.github.com
e6660d23b39c1d5d5b9e794617440f216d3f4f34
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_regretted.py
89fb7fbc999a393637811f0bbe73809c6f184826
[ "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
226
py
#calss header class _REGRETTED(): def __init__(self,): self.name = "REGRETTED" self.definitions = regret self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['regret']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
3a7a2810d740f825a10f529564b84a662467cf35
ba1776805c3e4305bb868e1ee6929e4b07751090
/backend/task/migrations/0001_initial.py
c0b2e884d2b1049f30e47ffb276505a3382fc690
[]
no_license
crowdbotics-apps/seton-20675
c30edcfae478317a598955d5963c776b28e108b9
1318ffdd08cad0bd83b7699e6c6ee73b2737af1d
refs/heads/master
2022-12-26T11:54:47.261026
2020-09-25T15:40:15
2020-09-25T15:40:15
298,612,394
0
0
null
null
null
null
UTF-8
Python
false
false
4,121
py
# Generated by Django 2.2.16 on 2020-09-25 15:39 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('task_profile', '0001_initial'), ('location', '0001_initial'), ('task_category', '0001_i...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
20d321261341e05d7ce4783500097fb8094b3994
905f8aa9c460615e2360b3406bdae1f5f6e10632
/Python-Study-Week3/96.py
73766925d9b8a08f73fa2d43f38c873bba99c4f9
[]
no_license
puze8681/2020-Python-Study
a7c9f89310ae29d5b2aa1a1da6dd4524ca78b8fc
a79bf1802a2fdbfc0c797979cef7e5530515ac55
refs/heads/master
2022-11-23T09:53:15.017457
2020-08-02T07:49:31
2020-08-02T07:49:31
278,815,225
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
def checkPassword(password): isLength = False isUpper = False isLower = False isNumber = False if len(password) > 7: isLength = True for c in password: if c.isupper(): isUpper = True elif c.islower(): isLower = True elif c.isdigit(): ...
[ "puze8681@gmail.com" ]
puze8681@gmail.com
8c5b17c8fb9f1d518e1dfa9747ce3fc857e3fe86
14f4d045750f7cf45252838d625b2a761d5dee38
/argo/argo/models/io_k8s_api_core_v1_limit_range_spec.py
a18f58d2bf450455420374445993aff438273f94
[]
no_license
nfillot/argo_client
cf8d7413d728edb4623de403e03d119fe3699ee9
c8cf80842f9eebbf4569f3d67b9d8eff4ba405fa
refs/heads/master
2020-07-11T13:06:35.518331
2019-08-26T20:54:07
2019-08-26T20:54:07
204,546,868
1
0
null
null
null
null
UTF-8
Python
false
false
3,644
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1.14.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six...
[ "nfillot@weborama.com" ]
nfillot@weborama.com
b8c96de649bce16d8648e375b09f40d49f46c951
7889f7f0532db6a7f81e6f8630e399c90438b2b9
/1.2.1/mpl_examples/api/watermark_image.py
3d437193a05aab48891107cebb75a25db44afd54
[]
no_license
matplotlib/matplotlib.github.com
ef5d23a5bf77cb5af675f1a8273d641e410b2560
2a60d39490941a524e5385670d488c86083a032c
refs/heads/main
2023-08-16T18:46:58.934777
2023-08-10T05:07:57
2023-08-10T05:08:30
1,385,150
25
59
null
2023-08-30T15:59:50
2011-02-19T03:27:35
null
UTF-8
Python
false
false
543
py
""" Use a PNG file as a watermark """ from __future__ import print_function import numpy as np import matplotlib import matplotlib.cbook as cbook import matplotlib.image as image import matplotlib.pyplot as plt datafile = cbook.get_sample_data('logo2.png', asfileobj=False) print ('loading %s' % datafile) im = image.im...
[ "mdboom@gmail.com" ]
mdboom@gmail.com
dc3265b6110502d07abce19e2e5c99cb1a0e6024
d700b9ad1e0b7225871b65ce0dafb27fb408c4bc
/students/k3343/laboratory_works/Shupak_Valentina/laboratory_work_1/hotels_app/apps.py
f3c0bc898a2bee6a8b35f38f5da1c2ccedcbc72b
[ "MIT" ]
permissive
TonikX/ITMO_ICT_WebProgramming_2020
a8c573ed467fdf99327777fb3f3bfeee5714667b
ba566c1b3ab04585665c69860b713741906935a0
refs/heads/master
2023-01-11T22:10:17.003838
2020-10-22T11:22:03
2020-10-22T11:22:03
248,549,610
10
71
MIT
2023-01-28T14:04:21
2020-03-19T16:18:55
Python
UTF-8
Python
false
false
99
py
from django.apps import AppConfig class HotelsAppConfig(AppConfig): name = 'hotels_app'
[ "noreply@github.com" ]
TonikX.noreply@github.com
f54560be25ee1a1316421a7fb7246bcae0c7b928
c46754b9600a12df4f9d7a6320dfc19aa96b1e1d
/src/transformers/models/funnel/convert_funnel_original_tf_checkpoint_to_pytorch.py
848101f083582bafa26e58c87aaa612502f3f79c
[ "Apache-2.0" ]
permissive
huggingface/transformers
ccd52a0d7c59e5f13205f32fd96f55743ebc8814
4fa0aff21ee083d0197a898cdf17ff476fae2ac3
refs/heads/main
2023-09-05T19:47:38.981127
2023-09-05T19:21:33
2023-09-05T19:21:33
155,220,641
102,193
22,284
Apache-2.0
2023-09-14T20:44:49
2018-10-29T13:56:00
Python
UTF-8
Python
false
false
2,335
py
# coding=utf-8 # Copyright 2020 The HuggingFace Inc. team. # # 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...
[ "noreply@github.com" ]
huggingface.noreply@github.com
56b19f05304bab70188096e3ac2eb03470123e18
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/159/61693/submittedfiles/testes.py
5cfde5c4eb116f499ea4d22d2e9e042e3654972b
[]
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
899
py
# -*- coding: utf-8 -*- def cortel1(a): for i in range (0,a.shape[0],1): for j in range (0,a.shape[1],1): if a[i,j]==1: return i def cortel2(a): for i in range (0,a.shape[0],1): for j in range (0,a.shape[1],1): if a[i,j]==1: l2=i retur...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
3b98c1f8f6ac6c56e19c3aa095b0d314a653e4ae
5ac61540ee978a088457257c81d1a297ebc8002f
/app/conf/development/settings.py
2fce1d09fa31723900fe386680a2b2fde32d26a6
[]
no_license
yuis-ice/django-qa
4a18732bcad8af04b442a134856b26f0b4bdd833
c680c647d788a0bf55b535c8a89ada16e6edba4d
refs/heads/main
2023-03-24T19:18:23.777044
2021-03-22T12:00:23
2021-03-22T12:00:23
350,327,049
0
0
null
null
null
null
UTF-8
Python
false
false
4,284
py
import os import warnings from django.utils.translation import ugettext_lazy as _ from os.path import dirname warnings.simplefilter('error', DeprecationWarning) BASE_DIR = dirname(dirname(dirname(dirname(os.path.abspath(__file__))))) CONTENT_DIR = os.path.join(BASE_DIR, 'content') SECRET_KEY = 'NhfTvayqggTBPswCXXhWa...
[ "you@example.com" ]
you@example.com
11b7a83487e395526625f14abb6b3b0ae324ccfb
6a856fd7e8714de86d96bba85bc48cd8828fa319
/calendar_caldav/__openerp__.py
1092f60de3c2ad086942fa3ddb56c930e05a3e0a
[]
no_license
gfcapalbo/odoo-calendar
5ad35bfaa649e094c7159fa6fbce36ab5d6a4105
dd7d1972f62db60f8d8ed620e2137838dd746720
refs/heads/master
2022-04-23T01:59:48.000726
2019-09-30T13:48:49
2019-09-30T13:48:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,693
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution, third party addon # Copyright (C) 2004-2016 Vertel AB (<http://vertel.se>). # # This program is free software: you can redistribute it and/or modify # it under...
[ "anders.wallenquist@vertel.se" ]
anders.wallenquist@vertel.se
87dc142a9d447e24e68ae05514e8a4185a6b313f
596c229c82d6c4a3edab0bc6f95175767019e431
/xtk.py
50d4b1305e2b000e1a0baf04247b51165893e2f0
[]
no_license
Carl4/xtk-ipython
412209f14b370cb8a56aea39b86706d022a3cfc9
9d00c018c6de1a50899d178f272a877406801a86
refs/heads/master
2020-12-24T14:18:25.062025
2012-08-09T20:21:13
2012-08-09T20:21:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,973
py
"""Display classes for the XTK JavaScript library. The XTK JavaScript library uses WebGL to render 3D visualizations. It can generate those visualizations based a range of standard 3D data files types, including .vtk and .stl. This module makes it possible to render these visualizations in the IPython Notebook. A si...
[ "Fernando.Perez@berkeley.edu" ]
Fernando.Perez@berkeley.edu
30a86403610010e51fb0891fbfe913a8af4df42f
1a166165ab8287d01cbb377a13efdb5eff5dfef0
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_ddos_custom_policies_operations.py
ffd282337030804cb9773e5f5645b3c7d4ff09fd
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
manoj0806/azure-sdk-for-python
7a14b202ff80f528abd068bf50334e91001a9686
aab999792db1132232b2f297c76800590a901142
refs/heads/master
2023-04-19T16:11:31.984930
2021-04-29T23:19:49
2021-04-29T23:19:49
363,025,016
1
0
MIT
2021-04-30T04:23:35
2021-04-30T04:23:35
null
UTF-8
Python
false
false
20,334
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
manoj0806.noreply@github.com
7ec4d7758529a0aba4601c41c3d5cac1f7fa8ea6
ae8e083cc3f7cf50449633c1d18cd3ffd184ba78
/peloton/lib/pelotonApi.py
31ffe58ca6dc6166b9aa843ace930e1de2a9c751
[]
no_license
jrodens/Halogen_Reporting
8577e0817555b4c48d9cf27bdd080599def37275
48ce2891c96cb6aacb50b3f28a4f63834a0147ac
refs/heads/master
2021-06-19T07:33:50.376807
2021-06-17T18:30:27
2021-06-17T18:30:27
221,496,157
1
0
null
null
null
null
UTF-8
Python
false
false
3,383
py
import requests, json import logging import sys from . import util class PelotonApi: """Main Peloton Api Class""" def __init__(self, user_email, user_password): self.logger = logging.getLogger('peloton-to-garmin.PelotonApi') assert user_email is not None and user_email != "", "Please...
[ "noreply@github.com" ]
jrodens.noreply@github.com
d06273f05e1c19cf6ad1276aeab10b4dfc6df013
51ff94526b5f96211ff2480fd9516facbf9ba48f
/decoupled_dj/settings/production.py
09a7f53228673cf937a78e0273f259f68bfd7276
[ "MIT" ]
permissive
leohakim/decoupled_django
59eecec59b1ac050748d3c0cd994d63ee50359b2
1271ab5ab796211b9dea4bad21e6ad0bf026ff07
refs/heads/main
2023-07-25T04:04:49.821417
2021-09-12T17:53:39
2021-09-12T17:53:39
392,573,892
0
0
MIT
2021-09-12T17:53:40
2021-08-04T06:21:17
JavaScript
UTF-8
Python
false
false
482
py
from .base import * # noqa import os SECURE_SSL_REDIRECT = True ALLOWED_HOSTS = env.list("ALLOWED_HOSTS") STATIC_ROOT = env("STATIC_ROOT") CSRF_COOKIE_SECURE = True SESSION_COOKIE_SECURE = True CORS_ALLOWED_ORIGINS = env.list( "CORS_ALLOWED_ORIGINS", default=[] ) # Disable Browsable DRF API REST_FRAMEWORK =...
[ "leohakim@gmail.com" ]
leohakim@gmail.com
a8a8a56438186a798ca35121e14dbbdb0e69eee3
3bcc247a2bc1e0720f0344c96f17aa50d4bcdf2d
/第二阶段笔记/pythonweb/项目/day02/client.py
dc47accf85daea800f2b3a1201207ff8f61e0d79
[]
no_license
qianpeng-shen/Study_notes
6f77f21a53266476c3c81c9cf4762b2efbf821fa
28fb9a1434899efc2d817ae47e94c31e40723d9c
refs/heads/master
2021-08-16T19:12:57.926127
2021-07-06T03:22:05
2021-07-06T03:22:05
181,856,924
0
0
null
null
null
null
UTF-8
Python
false
false
1,969
py
from socket import * import sys #客户端:图形界面打印 提出请求 接受反馈 反馈展示 class Thtpclient(object): def __init__(self,s): self.s=s def do_loging(self,data): self.s.send(data.encode()) while True: a=input("请输入用户名") self.s.send(a.encode()) b=input("请输入密码") ...
[ "shenqianpeng@chengfayun.com" ]
shenqianpeng@chengfayun.com
9d4c3e38e13d47bacccd79351bcb1bc247d1ca48
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_185/ch27_2019_04_03_19_33_50_998384.py
6646db477c839919b1968fb60cf16c03efa53827
[]
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
185
py
número_cigarros = int(input("Quantos cigarros você fuma por dia? ")) anos_fumando = int(input("Quantos anos você fuma? ")) tempo_perdido = número_cigarros * 10 print(tempo_perdido)
[ "you@example.com" ]
you@example.com
826877b4ba4da3d0add67615d4aebf46c9a6e11b
2ad52a65c45051f26fe26631a31f80279522ddb7
/src/PointCloudOps/src/scripts/pc_subs.py
598cb5d99c493c75f85d9be61667544260470e12
[]
no_license
aryamansriram/Movel_Nav
a64c32528b7ce0a5a19127ba3a9379dca0201356
0e5e64232a01771999d34694f3bf6840f0c1e3ee
refs/heads/master
2023-01-03T20:35:22.041816
2020-10-21T13:37:11
2020-10-21T13:37:11
305,279,271
0
0
null
null
null
null
UTF-8
Python
false
false
2,721
py
#!/usr/bin/env python import rospy from sensor_msgs.msg import PointCloud2 from sensor_msgs import point_cloud2 from visualization_msgs.msg import Marker from geometry_msgs.msg import Point from std_msgs.msg import ColorRGBA,String import numpy as np import random def cluster(arr,iterations,n_clusters=2): """ ...
[ "aryaman.sriram@gmail.com" ]
aryaman.sriram@gmail.com
3cb10ad3a6af182a5ff9913827a1e36d8dd95b2c
ac879dd916f2d5282e4cf092325791b90b4d32d4
/recipes/forms.py
fe825561b043b263a3d8ce77ce6e1aee671d77d8
[]
no_license
GBrachetta/recipes
2d04ff223663983d2e30ffb8300cc0e0d9a7955e
018cc34292f5f4c3441c99cc9d8ab4de0ce8cae7
refs/heads/master
2023-01-21T13:14:54.572067
2020-12-01T23:06:26
2020-12-01T23:06:26
314,708,946
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
from django import forms # from .widgets import CustomClearableFileInput from .models import Recipe, Category from .widgets import CustomClearableFileInput class RecipeForm(forms.ModelForm): """Recipe form""" class Meta: model = Recipe fields = ( "category", "name", ...
[ "brachetta@me.com" ]
brachetta@me.com
4e9493f5fb751d5f49549eadfda4c732a0177b21
043baf7f2cd8e40150bbd4c178879a5dd340348d
/children/forms.py
be8a8841d2651142291d5cacaeba886565a02057
[]
no_license
tjguk/ironcage
1d6d70445b1da9642e1c70c72832c2738f9a942e
914b8e60819be7b449ecc77933df13f8b100adb0
refs/heads/master
2021-05-06T10:20:35.486184
2017-11-20T16:34:17
2017-11-20T16:34:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
from django import forms from .models import Order class OrderForm(forms.ModelForm): class Meta: model = Order fields = [ 'adult_name', 'adult_email_addr', 'adult_phone_number', 'accessibility_reqs', 'dietary_reqs', ] class Tic...
[ "peter.inglesby@gmail.com" ]
peter.inglesby@gmail.com
025c1ab960687bd69b7672012af72be3bb1037f3
75f2841320a9528e8e5a7e9e196bd101c85dcbf3
/backend/__init__.py
f5b54a0315f64d168ac296853dba8af06ce299d3
[]
no_license
therealrahulsahu/com_scrap
d422a540bc370df8e5f0f6c216d1fbaa00c556fd
a31e0a821e46c3ab7429eec62d7777dab84c2f48
refs/heads/master
2020-07-16T02:03:02.790758
2019-09-01T15:44:29
2019-09-01T15:44:29
205,696,955
0
0
null
null
null
null
UTF-8
Python
false
false
35
py
from .my_code import run as my_code
[ "43601158+therealrahulsahu@users.noreply.github.com" ]
43601158+therealrahulsahu@users.noreply.github.com
cba5da974162d165da60ce37bf03defd5dc4ac89
1b95c01768f769522b7b7f855a0399fa20a11912
/yatpd/train/simple_train.py
5def073456d8e3ee625ac3fe74c6bc4dac970688
[ "MIT" ]
permissive
eriche2016/yatpd
36b350abcae0900063370aed13cd82d16236be22
d5e103b61a745484872c0168ddd9c7c9e9cea391
refs/heads/master
2021-01-17T12:06:43.152458
2015-06-13T08:16:26
2015-06-13T08:16:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,083
py
# -*- coding: utf-8 -*- import cv2 import numpy as np from ..utils import timer from ..utils import img_trans from ..utils import hog2hognmf from sklearn import svm from sklearn.ensemble import AdaBoostClassifier @timer def simple_train(img_data_list, channel_type, feature_type, classifier): ''' Use HOG/HOG-NMF ...
[ "brickgao@gmail.com" ]
brickgao@gmail.com
93c03d96e326c2691b8bb363e4d89b20b4c7e926
5442daf4ce09928d6bdd728064ed94be28af96b8
/tests/test_crispy_utils.py
7e09f38bd0269ad22bd134a29dde05c3e812654c
[ "MIT" ]
permissive
moshthepitt/django-vega-admin
dc00ffd070207aaed400d3deb9bb503b611f6ac6
865774e51b3a2c2df81fec1f212acc3bdcea9eaa
refs/heads/master
2021-07-10T10:49:48.413006
2020-06-26T11:29:01
2020-06-26T11:29:01
157,973,263
4
0
MIT
2020-06-26T11:27:00
2018-11-17T10:20:04
Python
UTF-8
Python
false
false
1,626
py
"""module for crispy_utils tests.""" from django.conf import settings from django.template import Context, Template from django.test import TestCase, override_settings from vega_admin.crispy_utils import get_form_actions, get_form_helper_class, get_layout from tests.artist_app.forms import PlainArtistForm @override...
[ "kjayanoris@gmail.com" ]
kjayanoris@gmail.com
6402bd53a3fdf59432d1860e917426ed25cc5995
773b22ef1658bbc165d910a65a40327eb4c52c4a
/api/repository/clean.py
29a10a979a2c562880d1d6223f7bccb9d368057c
[]
no_license
AneresArsenal/feedback-main
e6d4cd98150366f353f42aa09b8f5d4751def6cb
88bd2ba62d1c1fd6bff659832d216fca5db50740
refs/heads/master
2022-12-24T08:13:43.544028
2020-09-24T20:37:44
2020-09-24T20:37:44
300,140,625
0
0
null
2020-10-01T04:21:27
2020-10-01T04:21:26
null
UTF-8
Python
false
false
372
py
from sqlalchemy_api_handler import logger from utils.db import db def clean(): logger.info('clean all the database...') for table in reversed(db.metadata.sorted_tables): print("Clearing table {table_name}...".format(table_name=table)) db.session.execute(table.delete()) db.session.commit(...
[ "lawanledoux@gmail.com" ]
lawanledoux@gmail.com
a91fb57384638740d71ac032b7f29a78e739f4cf
8d02b867eaa5d7aedb80ae31cec5dfe7b0201d1f
/Ch_03 - Computing with Numbers/slope_finder.py
a46f0535cd980bd113bc1558a5c79d5585028c4a
[]
no_license
capncrockett/beedle_book
df17f632990edf4dfae82ccedb5f8d2d07385c00
d65315ddff20fb0ef666c610dbe4634dff0a621a
refs/heads/main
2023-07-23T08:33:17.275029
2021-09-01T02:47:08
2021-09-01T02:47:08
401,894,762
0
0
null
null
null
null
UTF-8
Python
false
false
914
py
# slope_finder # A program to find the slope of two points on a graph. # # def main(): # print("This program calculates the slope of a line.") # # x1, y1 = float(input("Please enter the 1st set of coordinates " # "separated by a comma: ")) # x2, y2 = float(input("Please ent...
[ "root@YOGA-720.localdomain" ]
root@YOGA-720.localdomain
994f5184627dab5f3fb69e3131a94a718cb9e007
eda28f8b12170fd1feabfa619bf3abfb5ac925ab
/app/account/views.py
8e38e06573228a4c46ac5e6a1915fe150da6454b
[ "MIT" ]
permissive
h1-the-swan/science_history_institute_chp_app
eb00afdbb3ecfc746afed2e9116a64571919bb41
0e99dec17403dfcaa2e7fbcd0374c39a773445b1
refs/heads/master
2022-12-14T11:34:36.354560
2019-04-24T15:26:03
2019-04-24T15:26:03
204,818,577
0
0
MIT
2022-12-08T02:48:55
2019-08-28T01:04:40
Python
UTF-8
Python
false
false
13,494
py
import os from flask import ( Blueprint, flash, redirect, render_template, request, url_for, current_app, abort, ) from flask_login import ( current_user, login_required, login_user, logout_user, ) from flask_rq import get_queue from app import db from app.account.forms ...
[ "jason.portenoy@gmail.com" ]
jason.portenoy@gmail.com
88fdcdea81eeb89cf861cd9e458a1b569a781c33
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_205/ch10_2020_02_29_12_38_51_302898.py
bc49ee2926284436bdc7d9ea050112036b7c8e26
[]
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
85
py
def volume_da_pizza (z,a): y = z*z*a*3 return y print (volume_da_pizza (3,2))
[ "you@example.com" ]
you@example.com
f158728483dad3598e7d227f6daed5a12266b1c5
494a0ba52d3204cb0082f01ae58cfdfc74895ba2
/thisIsCodingTest/Greedy/4.don'tMakeMoney.py
cfd68e9c3d4b5509207a1dfd383cc5ae7aa7e36f
[]
no_license
mhee4321/python_algorithm
52331721c49399af35ffc863dd1d9b8e39cea26a
96dd78390ba735dd754930affb3b72bebbbe5104
refs/heads/master
2023-04-26T09:27:40.760958
2021-05-16T12:12:39
2021-05-16T12:12:39
327,462,537
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
n = int(input()) data = list(map(int, input().split())) data.sort() answer = 1 for x in data: if answer < x: break answer += x print(answer) # 1 1 2 3 9
[ "nannanru@gmail.com" ]
nannanru@gmail.com
520dd38b8e9b3ae3f346b6acbaa3d29266973d10
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/3e15831531564bb59d8c8e12ee82db64.py
295e31e58c33b9db852cf9e133b741699b77845e
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
254
py
def hey(what): what = what.strip() if what.isupper() == True: return "Whoa, chill out!" elif len(what) == 0: return "Fine. Be that way!" elif what.endswith('?'): return "Sure." else: return "Whatever."
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
827745662ba46429c9ffe39f0fc6c46e5945dd07
050e3bfbbc7aba577f3120588233ee908668e37d
/settings.py
398abb5e23fe7d3dc9a2bc83d9e46033ee1925f4
[ "MIT" ]
permissive
datamade/represent-boundaries
9457411d29751e0f373bd62e88cb1d4d09932375
13a789b6d1f4f3a3b076f90c33a12254b8e21433
refs/heads/master
2020-04-08T20:59:24.970558
2015-09-21T20:08:14
2015-09-21T20:08:14
42,890,604
1
0
null
2015-09-21T20:02:31
2015-09-21T20:02:30
null
UTF-8
Python
false
false
419
py
""" To run `django-admin.py syncdb --settings settings --noinput` before testing. """ SECRET_KEY = 'x' DATABASES = { 'default': { 'ENGINE': 'django.contrib.gis.db.backends.postgis', 'NAME': 'travis_ci_test', } } INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'dj...
[ "james@slashpoundbang.com" ]
james@slashpoundbang.com
311c3d454e7edc077485e30a033d615ed1fcdb37
b5f05426d811303c0bc2d37a7ebff67cc369f536
/python/ltp/data/dataset/mixed.py
215a149e9e17a5be8c1b01ea716abf05b3e02d37
[]
no_license
chenwangwww/paddlehub
54a310c2b627868aa22e6172497d60ddd2291d24
8583a705af6f82512ea5473f3d8961a798852913
refs/heads/master
2023-03-13T10:17:55.589558
2021-03-01T02:35:43
2021-03-01T02:35:43
293,667,091
1
0
null
null
null
null
UTF-8
Python
false
false
876
py
from typing import List, Dict from . import Dataset class MixedDataset(Dataset, alias='mixed'): def __init__(self, path: List[Dict], file, fields, text='text'): datasets = {} if isinstance(file, str): file = [file] * len(path) for dataset, file in zip(path, file): i...
[ "chenwangwww@sina.com" ]
chenwangwww@sina.com
06e79651a9a40c27557771921e288b416f12f990
72d8b5139f0ed9ce273e44004032457e367d4336
/capchat_solver/venv/local/lib/python2.7/site-packages/ipywidgets/widgets/widget_box.py
8814201e077182ddae3d115a4a98dee9d84bd4f1
[ "MIT" ]
permissive
bngabonziza/CaptchaGAN
98d7bc8c555f18c8ad13bd8eb340ad0b3c5fb900
228e93a5f6a7cee240f82c60950de121d64451c2
refs/heads/main
2023-02-02T18:49:14.299220
2020-12-22T07:07:56
2020-12-22T07:07:56
369,036,980
1
0
MIT
2021-05-20T00:39:38
2021-05-20T00:39:38
null
UTF-8
Python
false
false
1,984
py
# Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. """Box class. Represents a container that can be used to group other widgets. """ from .widget import register, widget_serialization from .domwidget import DOMWidget from .widget_core import CoreWidget from .widget_l...
[ "huajing_zhao@berkeley.edu" ]
huajing_zhao@berkeley.edu
1b4e022dff8eea45419057adda0defc9e6f6d3cc
792588db469538c1f93efd2c26f0819d6e96aff5
/comma-delimited-handlers/handlers_new/belgium.py
e423b3eca75d9ab4f34984e1bc300a20be4cde1b
[]
no_license
fillingthemoon/go-cart-misc
855696a3895ba5754a11ed0407069b6e35ee27e0
714513acfe2f5ad08442603443213c97f6bdae22
refs/heads/main
2023-08-21T23:08:48.686377
2021-10-05T11:08:42
2021-10-05T11:08:42
373,039,326
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
import settings import handlers.base_handler import csv class CartogramHandler(handlers.base_handler.BaseCartogramHandler): def get_name(self): return "Belgium" def get_gen_file(self): return "{}/bel_processedmap.json".format(settings.CARTOGRAM_DATA_DIR) def validate_values(self, val...
[ "phil.hsy@outlook.com" ]
phil.hsy@outlook.com
57cf999e0573e95f9f9800365682268c35ba82f4
89c4a43a505df8fdf1f0d7386988c4896c2e631b
/google/ads/googleads/v6/services/services/mobile_device_constant_service/transports/__init__.py
8e1632f7594fa991dfbe9b8918509dc8f2cceec9
[ "Apache-2.0" ]
permissive
hurricanelennane/google-ads-python
a0a1fed690776a8bb2e81f637eb7eae10fb4992f
310a488b6fdad9d5beea8fa4b166edce779a2511
refs/heads/master
2023-07-04T03:07:53.344466
2021-07-16T19:06:36
2021-07-16T19:06:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,107
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "noreply@github.com" ]
hurricanelennane.noreply@github.com
cb421fd6828fa29ddee8d01e8968e522c0f4ba44
95040d09957e612ed0701c93aec91988aa901ef3
/mail/migrations/0008_partnerschool.py
8ef59d173fdd351b06f88a26abd1cf042c1ee9d4
[]
permissive
mitodl/micromasters
12160b1bd3654e58c4b35df11688cec486166a71
d6564caca0b7bbfd31e67a751564107fd17d6eb0
refs/heads/master
2023-06-27T22:31:29.388574
2023-06-12T18:37:46
2023-06-12T18:37:46
52,919,185
35
21
BSD-3-Clause
2023-09-13T18:17:10
2016-03-01T23:53:17
Python
UTF-8
Python
false
false
572
py
# Generated by Django 2.1.2 on 2019-03-13 20:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mail', '0007_sentautomaticemail_status'), ] operations = [ migrations.CreateModel( name='PartnerSchool', fields=[ ...
[ "noreply@github.com" ]
mitodl.noreply@github.com
f0e5e410b33f8dbb4607a62866bf9bcd9a8bf356
4809471274d6e136ac66d1998de5acb185d1164e
/pypureclient/flasharray/FA_2_4/models/pod.py
4791431224b817961e737fe308abc1524a73957d
[ "BSD-2-Clause" ]
permissive
astrojuanlu/py-pure-client
053fef697ad03b37ba7ae21a0bbb466abf978827
6fa605079950765c316eb21c3924e8329d5e3e8a
refs/heads/master
2023-06-05T20:23:36.946023
2021-06-28T23:44:24
2021-06-28T23:44:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,133
py
# coding: utf-8 """ FlashArray REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.4 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typing from ....
[ "hubert.chan@purestorage.com" ]
hubert.chan@purestorage.com
047c8570dbd7a9979adb3f4a999019c4595d2716
bd6a48ed22f777272459a62fe596c95be23c45ea
/actions/general_conversations.py
ffe5616d009354a866a431e6a7744f704f7dbaf1
[ "MIT" ]
permissive
bhaveshAn/Lucy
75527c7c5a3202737e2b9aad2cc41de2ac3b2c01
9ea97184c725a10a041af64cad0ef4b533be42ad
refs/heads/nextgen
2022-12-15T01:40:05.980712
2018-10-09T10:36:38
2018-10-09T10:50:39
105,390,713
3
0
MIT
2022-12-08T02:56:54
2017-09-30T18:17:46
JavaScript
UTF-8
Python
false
false
1,254
py
import random def who_are_you(text): messages = ['I am Lucy , your own personal assistant.', 'Lucy, didnt I tell you before?', 'You asked that so many times! I am Lucy'] return (random.choice(messages)) def toss_coin(text): outcomes = ['heads', 'tails'] return ('I jus...
[ "bhaveshanand7@gmail.com" ]
bhaveshanand7@gmail.com
511b75d2a573ad687481453bb4f2e78747a62ab4
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-koomessage/huaweicloudsdkkoomessage/v1/model/show_template_video_thumbnail_request.py
b60ed229081c6590c57c4bb23205bdd2219792c3
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
3,295
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ShowTemplateVideoThumbnailRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The k...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
f808c2dec7038684227a969c77ec85da2d810821
cb6461bfae8b0935b7885697dad0df60670da457
/pychron/core/ui/stage_component_editor.py
a0a0cf8b879ef9140e2e2faa9f9fd8a2ec920165
[ "Apache-2.0" ]
permissive
USGSMenloPychron/pychron
00e11910511ca053e8b18a13314da334c362695a
172993793f25a82ad986e20e53e979324936876d
refs/heads/develop
2021-01-12T14:09:18.983658
2018-02-06T14:25:05
2018-02-06T14:25:05
69,751,244
0
0
null
2016-10-01T16:59:46
2016-10-01T16:59:46
null
UTF-8
Python
false
false
1,231
py
# =============================================================================== # Copyright 2013 Jake Ross # # 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/licens...
[ "jirhiker@gmail.com" ]
jirhiker@gmail.com
d8efbfaa14a1bf5828f27bf5e561c462979192ae
fdec477002fb0c5f013faf369d2a1e782172a1d6
/COVID19/venv/bin/chardetect
525781e65b86d8847e9998f1a63f6ab58ca7061d
[]
no_license
aimiranarzhigitova/API_projects
19fb416479e5a76dab760f38621e643e2db609cb
8256cc1bc8dc939453c61a39215e89dbd96fecb1
refs/heads/master
2023-05-16T08:52:51.209458
2021-06-06T09:44:53
2021-06-06T09:44:53
374,322,074
1
0
null
null
null
null
UTF-8
Python
false
false
253
#!/home/azat/djangoProject/COVID19/venv/bin/python # -*- coding: utf-8 -*- import re import sys from chardet.cli.chardetect import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "aymira.narzhigitova@gmail.com" ]
aymira.narzhigitova@gmail.com
acfc0da063ac7021901b3a177fe6594803dca92a
9a9e739dcc559476ba796510182374ad460f2f8b
/PA2/PA2 ANSWERS 2015/10/Asitha/pa2-10-2015.py
0ca5112ad2669202668f7987b7e00f616fa5b28a
[]
no_license
Divisekara/Python-Codes-First-sem
542e8c0d4a62b0f66c598ff68a5c1c37c20e484d
e4ca28f07ecf96181af3c528d74377ab02d83353
refs/heads/master
2022-11-28T01:12:51.283260
2020-08-01T08:55:53
2020-08-01T08:55:53
284,220,850
0
0
null
null
null
null
UTF-8
Python
false
false
991
py
def getText(): try: fo=open("FileIn.txt","r") L=fo.read().split() fo.close() except IOError: print "File not found" pass else: if len(L)<1000: for i in L: if len(i)<20 and i.isalpha()==True: continue ...
[ "9asitha7@gmail.com" ]
9asitha7@gmail.com
0c668919b3e9661f7ddb288bd2e56acec04ce962
d6168650746aca20909e7b5452a768151271eb52
/cmdb/utils.py
5c4d6abd5c1ef0965b28e111b0518942ec2c718e
[]
no_license
xiaozhiqi2016/cmdb_project
296f2346aa97c89be2e0344fe6f4fc265b62f6a4
0b960908a21b9f4f1f5b53c8d05fc4694fea229c
refs/heads/master
2021-01-12T16:15:59.068570
2016-10-26T04:10:30
2016-10-26T04:10:30
71,965,372
0
0
null
null
null
null
UTF-8
Python
false
false
2,182
py
#_*_coding:utf-8_*_ import time,hashlib,json from cmdb import models from django.shortcuts import render,HttpResponse from cmdb_project import settings from django.core.exceptions import ObjectDoesNotExist def json_date_handler(obj): if hasattr(obj, 'isoformat'): return obj.strftime("%Y-%m-%d") def jso...
[ "xiaozhiqi2015@live.com" ]
xiaozhiqi2015@live.com
60385688c1813b80672e133d1f7208c42b0af423
3aab36e615166507e8970aaeac223a4526abdef1
/crawl_cazipcode/db.py
64efb2bb4cfcedbf0f5f44bcea36819ed8e745ea
[]
no_license
MacHu-GWU/crawl_cazipcode-project
b783f5e2f5e72d0feb3c98e07951d3bbd38ef772
5417a3fba147249d26dd1891845742198797e162
refs/heads/master
2020-12-02T06:24:20.216975
2017-07-13T19:14:48
2017-07-13T19:14:48
96,827,670
0
0
null
null
null
null
UTF-8
Python
false
false
257
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import pymongo client = pymongo.MongoClient() db = client.get_database("cazipcode") c_province = db.get_collection("province") c_city = db.get_collection("city") c_postalcode = db.get_collection("postalcode")
[ "husanhe@gmail.com" ]
husanhe@gmail.com
b4c06335dc66816ec8e9a7a7159927f1d0f7588c
bed77414283c5b51b0263103ec5055fa70e7ee3a
/scripts/ldifdiff
a047b48af9eb030e16c7521a2d43b6813fb32531
[ "Apache-2.0" ]
permissive
UniversitaDellaCalabria/IdM
a24535156d8ee1f416aec0c0844fbc3e39e08280
0c80bc1a192e8f3075c941ca2d89773bca25e892
refs/heads/master
2020-12-20T09:09:12.320470
2020-07-23T03:43:48
2020-07-23T03:43:48
236,024,963
2
0
null
null
null
null
UTF-8
Python
false
false
3,889
#! /bin/env python3 import base64 flag_binary=0 class EOFException(Exception): pass def read_line(file): while True: line = file.readline() if not line: raise EOFException if line[0]!='#': return line.rstrip('\n') def parse_line(line): if line[0]==' ': ...
[ "giuseppe.demarco@unical.it" ]
giuseppe.demarco@unical.it
6e55c2b9d8515500c7c6d10587cb588cbc524b0a
e23a4f57ce5474d468258e5e63b9e23fb6011188
/120_design_patterns/019_observer/examples/3-Observer Pattern/Observer/Observer/observer/__init__.py
2aeb77cfe3a025472706654c9e1ec39a168df7a2
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
89
py
from observer.observer_abc import AbsObserver from observer.subject_abc import AbsSubject
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
f1d469dcacbfece7c0cd49d613c40d0e35f4714c
06bc4f76ba6099277d408ddc16edd95fabcd95d0
/ext/sam/ext/call_py_fort/src/callpy.py
7135234d212f60abffac2534e8544dc702db0f6c
[ "Apache-2.0", "MIT" ]
permissive
kbren/uwnet
31d4267b23012cda61646b94aa8a9e283017f83b
aac01e243c19686b10c214b1c56b0bb7b7e06a07
refs/heads/master
2020-04-06T20:31:25.849132
2018-11-14T22:02:52
2018-11-14T22:05:01
157,771,236
0
0
MIT
2018-11-15T20:52:46
2018-11-15T20:52:45
null
UTF-8
Python
false
false
2,176
py
import importlib import numpy as np import logging logging.basicConfig(level=logging.INFO) # Global state array STATE = {} # Create the dictionary mapping ctypes to np dtypes. ctype2dtype = {} # Integer types for prefix in ('int', 'uint'): for log_bytes in range(4): ctype = '%s%d_t' % (prefix, 8 * (2**...
[ "nbren12@gmail.com" ]
nbren12@gmail.com
4bee1decea943573516cb9ba3b0b3128f26467f2
a8d86cad3f3cc6a977012d007d724bbaf02542f7
/catalog/dump_test_cases_failed.py
2d81f9721782f9ea6edef284a93314991bc81f52
[]
no_license
bopopescu/bigrobot
f8d971183119a1d59f21eb2fc08bbec9ee1d522b
24dad9fb0044df5a473ce4244932431b03b75695
refs/heads/master
2022-11-20T04:55:58.470402
2015-03-31T18:14:39
2015-03-31T18:14:39
282,015,194
0
0
null
2020-07-23T17:29:53
2020-07-23T17:29:52
null
UTF-8
Python
false
false
3,262
py
#!/usr/bin/env python import os import sys import argparse import pymongo # Determine BigRobot path(s) based on this executable (which resides in # the bin/ directory. bigrobot_path = os.path.dirname(__file__) + '/..' exscript_path = bigrobot_path + '/vendors/exscript/src' sys.path.insert(0, bigrobot_path) sys.path....
[ "vui.le@bigswitch.com" ]
vui.le@bigswitch.com
e3cb86cd88d107fdef1fb913bb5bc101bdb38507
e880e70effc786f6fa1c473b90639763c3aa8a7e
/app/__init__.py
ed98052a39997df195431f740706490608770c4e
[ "MIT" ]
permissive
pborne/DCPU-16
7595492d7ceafb941e62b16cc5efe4de1d49d8ce
db6f7aa15cdee8f3e285c11ee5dd7d286fe46551
refs/heads/master
2022-03-23T13:49:32.144944
2013-04-20T18:34:46
2013-04-20T18:34:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
72
py
from emulator import ( Emulator, ) from view import ( Frame, )
[ "fogleman@gmail.com" ]
fogleman@gmail.com
777e70d291140c0a3f72e34ff3cc9fd482780f3b
68cbd4ff1eb57f531809ccc2c0ac63e090cb8e17
/workspaceclient/tests/common/test_resource.py
397682fc72354f4fd2ca24b012d2c6dea4bb0598
[ "Apache-2.0" ]
permissive
I201821180/osc_workspace
f89c0665be22cca89dac70bb537f0e3cdd636334
ced0c58f724aa04137132da0116e866f320978ec
refs/heads/master
2020-06-07T05:28:41.035721
2017-04-17T09:51:14
2017-04-17T09:51:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,705
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # 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...
[ "iampurse@vip.qq.com" ]
iampurse@vip.qq.com
52013e904db26d2c534e570b6278d0e7b32e6bae
09301c71638abf45230192e62503f79a52e0bd80
/addons_ned/ned_kcs/stock_contract_allocation.py
36c3b6ec942a17b17e7881af16d5ccce438e5ed3
[]
no_license
westlyou/NEDCOFFEE
24ef8c46f74a129059622f126401366497ba72a6
4079ab7312428c0eb12015e543605eac0bd3976f
refs/heads/master
2020-05-27T06:01:15.188827
2017-11-14T15:35:22
2017-11-14T15:35:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,042
py
from openerp import api, fields, models, _ import openerp.addons.decimal_precision as dp from openerp.osv import expression from datetime import datetime, timedelta from openerp.tools import float_is_zero, float_compare, DEFAULT_SERVER_DATETIME_FORMAT from openerp.tools import float_compare, float_round from openerp.t...
[ "son.huynh@nedcoffee.vn" ]
son.huynh@nedcoffee.vn
dc82df34593b15296aec83294aabc1d96ea8634e
2e9e994e17456ed06970dccb55c18dc0cad34756
/atcoder/abc/114/A.py
58af0ab22a112562c6977959978003572bb5a9ea
[]
no_license
ksomemo/Competitive-programming
a74e86b5e790c6e68e9642ea9e5332440cb264fc
2a12f7de520d9010aea1cd9d61b56df4a3555435
refs/heads/master
2020-12-02T06:46:13.666936
2019-05-27T04:08:01
2019-05-27T04:08:01
96,894,691
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
def main(): X = int(input()) if X in (3, 5, 7): print("YES") else: print("NO") if __name__ == '__main__': main()
[ "kntsmy@hotmail.co.jp" ]
kntsmy@hotmail.co.jp
6d9ee7671285af8a0f8f4f60aba636a3f9d844d7
8d589a41f7bf2ad7a0445bb0405970bb15bb29c4
/testing/tests/001-main/001-empty/003-criticctl/001-adduser-deluser.py
4133b77269381bfc38b90d6d1ee39aa3f4604e58
[ "MIT", "Apache-2.0" ]
permissive
ryfow/critic
19d86a8033bdb92bca4787f1fc3396c85300913c
1803667f73ff736a606a27bb0eb3e527ae1367e9
refs/heads/master
2021-01-17T11:40:37.224389
2013-06-28T11:11:07
2013-07-02T21:01:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,730
py
# Scenario: Try to add a user 'alice' (already exists). try: instance.execute( ["sudo", "criticctl", "adduser", "--name", "alice", "--email", "alice@example.org", "--fullname", "'Alice von Testing'", "--password", "testing"]) except testing.virtualbox.GuestCommandError as...
[ "jl@opera.com" ]
jl@opera.com
2a75d352afc15ce79df646ef5a6f22801eb2e8d7
51cd18da63555c7dc6086cf33c70318443920826
/authentication/models.py
54c10dc0a492bcd9d33dd5a2e83db4c68211da13
[]
no_license
PHONGLEX/todosite
613861305cc586a568d909e1a56e8b3788c7e0e2
d0ab48e0efc4fd67b45b779d2ea9a70537b80def
refs/heads/main
2023-04-30T10:13:36.674114
2021-05-23T01:43:01
2021-05-23T01:43:01
369,522,681
0
0
null
2021-05-23T01:47:46
2021-05-21T12:07:16
Python
UTF-8
Python
false
false
219
py
from django.db import models from django.contrib.auth.models import AbstractUser class User(AbstractUser): is_email_verified = models.BooleanField(default=False) def __str__(self): return self.email
[ "fonglex@gmail.com" ]
fonglex@gmail.com
986ae51a0ebd37cde47abb1c78ce6cd3c11d6e02
95efc2300bd2936eb9b4ca8f9cda55764047f094
/django1/src/bookmark/views.py
d67cd83360a7837595c2524384a53e3602e4f67f
[]
no_license
gittaek/jeong
d207d6e41398803475aff82a49bea01e21a86901
20808cbb97daff79a4c0b4a017106519f99d919f
refs/heads/master
2020-04-21T23:11:17.202531
2019-02-10T03:20:57
2019-02-10T03:20:57
169,938,169
0
0
null
null
null
null
UTF-8
Python
false
false
1,272
py
from django.shortcuts import render from .models import Bookmark def index(request): return render(request, 'bookmark/index.html', {'a':"hello", 'b':[1,2,3,4,5]}) def booklist(request): #모델클래스.objects.get(): 데이터베이스에 해당 모델클래스로 저장된 객체중 특정조건을 만족하는 객체 한개를 추출하는 함수 #모델클래스.objects.all(): 데이터베이스에 해당 모델클래스로 ...
[ "user@DESKTOP-37GULAI" ]
user@DESKTOP-37GULAI
d01340261c9c5db96d89a3616408a441baab8061
929a816fc299959d0f8eb0dd51d064be2abd6b78
/LintCode/ladder 12 BFS/1179 · Friend Circles/solution.py
43ac183b2ae8a89b8fcf334d3270182119a84b20
[ "MIT" ]
permissive
vincent507cpu/Comprehensive-Algorithm-Solution
27940da7bc0343921930a2eafbd649da93a5395d
04e01e49622457f09af2e1133954f043c0c92cb9
refs/heads/master
2023-07-20T07:12:15.590313
2021-08-23T23:42:17
2021-08-23T23:42:17
258,644,691
4
0
null
null
null
null
UTF-8
Python
false
false
1,040
py
class Solution: """ @param M: a matrix @return: the total number of friend circles among all the students """ def findCircleNum(self, M): # Write your code here n = len(M) # 人数 res = 0 # 答案 visited = [False for _ in range(n)] # 标记是否访问过 for i in range(...
[ "vincent507cpu@gmail.com" ]
vincent507cpu@gmail.com
da30a2b76a19fba4fa60611e04a3e380945acad6
0ddd01f6ae2d6ee489cd0f6e6a39c32b6e605b26
/tests/little_test.py
91d9d6d977964830220c3f176f75fa2d7d54afe5
[]
no_license
dhernandd/supervind
ecc965495904c79cee9c19b58265a7642b7c457b
30f9fad846fe30a8c8bb69b813ad824fa214aad7
refs/heads/master
2021-05-03T09:11:24.430166
2018-10-04T06:37:26
2018-10-04T06:37:26
120,571,177
2
5
null
2018-03-17T20:29:16
2018-02-07T06:08:39
Python
UTF-8
Python
false
false
3,179
py
import tensorflow as tf import numpy as np import sys sys.path.append('../code') from LatEvModels import * # import seaborn as sns # import matplotlib.pyplot as plt # # data = np.random.randn(20,20) # sns.heatmap(data) # plt.show() # import os # os.system('say "There is a beer in your fridge."') # x = tf.placeho...
[ "dh2832@columbia.edu" ]
dh2832@columbia.edu
0e57403d465768ce696293f6d04c4118ca31f2dd
4135192648199d87a6b38c116db651594e64fa35
/tests/test_configuration.py
d990a1e6609ebef2a65863d6a36fc1a9599898d4
[ "Apache-2.0" ]
permissive
yuzhougit/taurus
307458e97ef7ae9707ee02117545d721c419e720
50a3fa5043141d96cc63408a42f3cf0e37cbe0a3
refs/heads/master
2020-12-11T05:24:07.241315
2015-06-24T01:59:25
2015-06-24T01:59:25
37,914,679
0
0
null
2015-06-23T11:21:18
2015-06-23T11:21:18
null
UTF-8
Python
false
false
2,753
py
import logging import six import tempfile from bzt.engine import Configuration from bzt.utils import BetterDict from tests import BZTestCase, __dir__ class TestConfiguration(BZTestCase): def test_load(self): obj = Configuration() configs = [ __dir__() + "/../bzt/10-base.json", ...
[ "apc4@ya.ru" ]
apc4@ya.ru
fc00b8b49d92cf6ab6245bb4265635dd83e1aaa6
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_gateways_operations.py
b7e1f861fd13d9648803caaeff3b4f8b4e1f01b5
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
130,315
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
scbedd.noreply@github.com
70b88d4e504d3f8be48e6ad99df74771f43ee3c9
0e99d2efff685a66869d5a7cd4a68de8955f498c
/leetcode3_tree/tree/test.py
a88e4c84a18be34bef545cd3ce70d81c97cabaf1
[]
no_license
supercp3/code_leetcode
f303109c70ccdd0baa711cf606d402158b212525
1dc6260e229a012111ec4d5e60071c2458ce5002
refs/heads/master
2020-03-26T11:33:28.741405
2018-10-15T02:18:24
2018-10-15T02:18:24
144,848,743
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
list1=[2,4,3,5,1] res=sorted(list1) print(res)
[ "13281099@bjtu.edu.cn" ]
13281099@bjtu.edu.cn
a7c5f24fa36d7e83692dcda87fd00da4ff1ddd23
23f4584630c4b13fa54ebca8b1345a020605db10
/test/dataset/test_query.py
23d2fe8fc6109dd8c89e84054a96f503c2523d66
[ "MIT" ]
permissive
chenxofhit/singlet
2aebe1d2a3700d498b1772301611dcebd0ddb966
c9264cf3451f816f9a256d4aa0b32c8b674638ae
refs/heads/master
2020-06-04T08:45:47.050305
2019-05-01T20:46:02
2019-05-01T20:46:02
191,950,542
2
0
null
2019-06-14T13:45:50
2019-06-14T13:45:50
null
UTF-8
Python
false
false
2,198
py
#!/usr/bin/env python # vim: fdm=indent ''' author: Fabio Zanini date: 07/08/17 content: Test Dataset class. ''' import pytest @pytest.fixture(scope="module") def ds(): from singlet.dataset import Dataset return Dataset( samplesheet='example_sheet_tsv', counts_table='examp...
[ "fabio.zanini@fastmail.fm" ]
fabio.zanini@fastmail.fm
bdad55440d4677d72cd568533e733a8f3f5ef0ab
bb983b38f9be7b6fd4ab1a651484db37c1aeff39
/1030/python_complex.py
a40445ad017c432fa77d44b282863851697f01cc
[]
no_license
nakanishi-akitaka/python2018_backup
c214df78372cca993d69f8001010ec2f6dcaf1be
45766d3c3777de2a91b3e2cf50c6bfedca8627da
refs/heads/master
2023-02-18T08:04:28.625532
2022-06-07T01:02:53
2022-06-07T01:02:53
201,399,236
5
30
null
2023-02-10T21:06:51
2019-08-09T05:48:22
Jupyter Notebook
UTF-8
Python
false
false
2,085
py
# -*- coding: utf-8 -*- """ https://note.nkmk.me/python-complex/ Created on Tue Oct 30 12:04:10 2018 @author: Akitaka """ c = 3 + 4j print(c) print(type(c)) # (3+4j) # <class 'complex'> # c = 3 + j # NameError: name 'j' is not defined c = 3 + 1j print(c) # (3+1j) c = 3j print(c) # 3j ...
[ "noreply@github.com" ]
nakanishi-akitaka.noreply@github.com
c3875ec4422c869b5e828ce009f3eed671c34811
30d360f965253167c99f9b4cd41001491aed08af
/Platinum_code/iolib.py
d0c23dd5894713465efb8d4bdd4e61b483d6f033
[]
no_license
petervanya/PhDcode
d2d9f7170f201d6175fec9c3d4094617a5427fb5
891e6812a2699025d26b901c95d0c46a706b0c96
refs/heads/master
2020-05-22T06:43:47.293134
2018-01-29T12:59:42
2018-01-29T12:59:42
64,495,043
1
0
null
null
null
null
UTF-8
Python
false
false
3,162
py
#!/usr/bin/env python """ Collection of often used functions for * input/output * rotating, translating and printing data NOW MOSTLY OBSOLETE, ONLY *_table FUNCTIONS USED pv278@cam.ac.uk, 11/05/15 """ import numpy as np from numpy.matlib import repmat from math import sin, cos def save_xyz(coords, atom_names, filena...
[ "peter.vanya@gmail.com" ]
peter.vanya@gmail.com
25c2f3965b71a6ccabf29b6c92ccc8fe9e114206
19c3c6f7570662c4fc49ea6b2479f0ba9b5219a2
/10818_최소최대.py
d2f7996e44334595a2ba4cb9ffe913fca172dc57
[]
no_license
3974kjh/baekjoon
138b08149a84e1d85f51ff49e70d6e040c6de530
ba79929af69984ec0674fb37ce76018cceadcee8
refs/heads/master
2023-08-05T11:36:27.838122
2021-09-15T14:37:14
2021-09-15T14:37:14
359,791,691
0
0
null
null
null
null
UTF-8
Python
false
false
74
py
T = int(input()) N = list(map(int, input().split())) print(min(N), max(N))
[ "3974kjh@naver.com" ]
3974kjh@naver.com
b113d75eb834a1baa075683489fe5ee46e7566d0
83df6e768cb3ba0dfab44d6ea8f766d9ace6191a
/git-pull-request
d0da808b388a2e3f7dca9df7332bb85cd7bfdf16
[]
no_license
sumansai14/git-pull-request
8bf77a813d038f54d938aa9d80fce6be311debbf
2c79827f4976f131a6b67d846be01bdb79f1835e
refs/heads/master
2021-01-22T11:10:51.149158
2013-09-21T08:03:26
2013-09-21T08:03:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,485
#! /usr/bin/python import sys import os import getpass import pycurl from io import BytesIO import simplejson from pygit2 import Repository if __name__ == '__main__': try: repository = Repository(os.getcwd()) except KeyError: raise SystemExit("This is not a valid git repository") response_...
[ "suman.sai14@gmail.com" ]
suman.sai14@gmail.com
0004d9a94c55fb8335acb6a83e0924a5285ca505
04b1803adb6653ecb7cb827c4f4aa616afacf629
/third_party/blink/renderer/build/scripts/minimize_css.py
b5d6630df41e958b062a04c414d5ec6f4ebd35d0
[ "BSD-3-Clause", "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "MIT", "Apache-2.0" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
Python
false
false
4,038
py
#!/usr/bin/env python # Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import functools import os.path import re import sys import in_generator class CSSMinimizer(object): INITIAL = 0 MAYBE_COMM...
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
6744e02941dfc0a8d3491dcfdaaacea6d1a6dd78
f72d2949814a1d1aa179897f0b0bc824d28f3b83
/utils/pairwise_data_helpers.py
900c177339f1bcad18f42b3b49c8cebe7ad653a2
[ "Apache-2.0" ]
permissive
bikong2/Question-Difficulty-Prediction
fe05627a30d9f021dced561ebd83bd1f679b99ac
a5544ea45a82b340a4b9fa867c05dbaa2b233b47
refs/heads/master
2020-12-09T09:06:28.540804
2019-12-04T11:45:42
2019-12-04T11:45:42
233,259,520
0
1
Apache-2.0
2020-01-11T16:14:31
2020-01-11T16:14:30
null
UTF-8
Python
false
false
11,317
py
# -*- coding:utf-8 -*- __author__ = 'Randolph' import os import gensim import logging import json import numpy as np from collections import OrderedDict from gensim.models import KeyedVectors from tflearn.data_utils import pad_sequences TEXT_DIR = '../data/content.txt' METADATA_DIR = '../data/metadata.tsv' def log...
[ "chinawolfman@hotmail.com" ]
chinawolfman@hotmail.com
8054f04fd59a5abb4779b2111f0044990155023e
a9c3db07c29a46baf4f88afe555564ed0d8dbf2e
/src/2562-count-ways-to-build-good-strings/count-ways-to-build-good-strings.py
8e882ad478562e9e000a22806859060bf2a03c5d
[]
no_license
HLNN/leetcode
86d2f5b390be9edfceadd55f68d94c78bc8b7644
35010d67341e6038ae4ddffb4beba4a9dba05d2a
refs/heads/master
2023-03-13T16:44:58.901326
2023-03-03T00:01:05
2023-03-03T00:01:05
165,402,662
6
6
null
null
null
null
UTF-8
Python
false
false
1,513
py
# Given the integers zero, one, low, and high, we can construct a string by starting with an empty string, and then at each step perform either of the following: # # # Append the character '0' zero times. # Append the character '1' one times. # # # This can be performed any number of times. # # A good string is a str...
[ "Huangln555@gmail.com" ]
Huangln555@gmail.com
d560fc0d2b8f3321a9e68037057fb55f921903a1
25e989e986522cf91365a6cc51e3c68b3d29351b
/app/http/middleware/AuthenticationMiddleware.py
99adcdc091431d1a5b3a5bbb41bf42513de34bbd
[ "MIT" ]
permissive
josephmancuso/gbaleague-masonite2
ff7a3865927705649deea07f68d89829b2132d31
b3dd5ec3f20c07eaabcc3129b0c50379a946a82b
refs/heads/master
2022-05-06T10:47:21.809432
2019-03-31T22:01:04
2019-03-31T22:01:04
136,680,885
0
1
MIT
2022-03-21T22:16:43
2018-06-09T01:33:01
Python
UTF-8
Python
false
false
575
py
""" Authentication Middleware """ from masonite.request import Request class AuthenticationMiddleware(object): """ Middleware To Check If The User Is Logged In """ def __init__(self, request: Request): """ Inject Any Dependencies From The Service Container """ self.request = request def...
[ "idmann509@gmail.com" ]
idmann509@gmail.com
db0f8afef8d68e3ed565154f785157d870834be8
1342deb03620f60f0e91c9d5b579667c11cb2d6d
/debug/mydict.py
7c7d4035b416fe6a111668ac611d61938b76421f
[]
no_license
ahuer2435/python_study
678501ff90a9fc403105bff7ba96bcf53c8f53e2
8a7cc568efefdc993c5738ffa2100c2e051acdb7
refs/heads/master
2021-01-15T18:00:43.851039
2018-04-04T05:37:50
2018-04-04T05:37:50
99,775,158
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
# -*- coding: utf-8 -*- class Dict(dict): def __init__(self, **kw): super(Dict,self).__init__(**kw) # 返回的是基类 def __getattr__(self,key): try: return self[key] except KeyError: raise AttributeError(r"'Dict' object has no attribute '%s'" % key) def __setattr__(self,key,value): self[key] = va...
[ "18221079843@139.com" ]
18221079843@139.com
a251069222a43562b476d29d369c468287564ab7
60df913818933b6aabd8007405b675d958f5078b
/subscription_join/forms.py
c3a84f41095cb16420dc19aba818ae5447946c9f
[]
no_license
ProsenjitKumar/prosenjit-das
b8d0e9081790d07673753b774550975bca9ad423
b08eb8e91939c234563f1f6a9d7870de2c519599
refs/heads/master
2022-11-28T07:04:01.615997
2019-06-02T20:23:21
2019-06-02T20:23:21
189,855,835
1
0
null
2022-11-22T03:14:52
2019-06-02T14:22:48
HTML
UTF-8
Python
false
false
1,687
py
from crispy_forms.helper import FormHelper from django import forms from django.core.mail import send_mail from crispy_forms.layout import Layout, Div, Submit, Row, Column, Field import re from crispy_forms.layout import Submit from .models import NewsLetterUser, NewsLetter class ContactForm(forms.Form): subject ...
[ "prosenjitearnkumar@gmail.com" ]
prosenjitearnkumar@gmail.com
f8b3f9e6faf40855265dccb71005eeb78d457cd6
f4434c85e3814b6347f8f8099c081ed4af5678a5
/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/aio/operations_async/_path_operations_async.py
28f0999cd2f5575cc949a5590874ef32b4e7724d
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
yunhaoling/azure-sdk-for-python
5da12a174a37672ac6ed8e3c1f863cb77010a506
c4eb0ca1aadb76ad892114230473034830116362
refs/heads/master
2022-06-11T01:17:39.636461
2020-12-08T17:42:08
2020-12-08T17:42:08
177,675,796
1
0
MIT
2020-03-31T20:35:17
2019-03-25T22:43:40
Python
UTF-8
Python
false
false
101,848
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 ...
[ "noreply@github.com" ]
yunhaoling.noreply@github.com
637146eef705dd3cb02c2aeedb792999448a633e
ea44a1681e276b3cc85226b53de217f6096a05d4
/fhir/resources/tests/test_observation.py
4b0c7d927a468561637492c493ad061673445858
[ "BSD-3-Clause" ]
permissive
stephanie-howson/fhir.resources
69d2a5a6b0fe4387b82e984255b24027b37985c4
126e9dc6e14541f74e69ef7c1a0b8a74aa981905
refs/heads/master
2020-05-04T22:24:49.826585
2019-06-27T15:51:26
2019-06-27T15:51:26
179,511,579
0
0
null
2019-04-04T14:14:53
2019-04-04T14:14:52
null
UTF-8
Python
false
false
34,573
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 4.0.0-a53ec6ee1b on 2019-01-17. # 2019, SMART Health IT. import os import pytest import io import unittest import json from .fixtures import force_bytes from .. import observation from ..fhirdate import FHIRDate @pytest.mark.usefixtures("base_s...
[ "connect2nazrul@gmail.com" ]
connect2nazrul@gmail.com
b448d0f8bc5967e987a3b64d13f17fcca3feb1bd
b8e9dd6fd8f8b691cba5a3af2388467bcf6c90bb
/samples/openapi3/client/3_0_3_unit_test/python-experimental/unit_test_api/model/maxlength_validation.pyi
783b51cc9870e0680e3a4fa5efa97a10f27c64c3
[ "Apache-2.0" ]
permissive
FallenRiteMonk/openapi-generator
f8b98940219eecf14dc76dced4b0fbd394522aa3
b6576d11733ecad6fa4a0a616e1a06d502a771b7
refs/heads/master
2023-03-16T05:23:36.501909
2022-09-02T01:46:56
2022-09-02T01:46:56
164,609,299
0
0
Apache-2.0
2019-01-08T09:08:56
2019-01-08T09:08:56
null
UTF-8
Python
false
false
1,846
pyi
# coding: utf-8 """ openapi 3.0.3 sample spec sample spec for testing openapi functionality, built from json schema tests for draft6 # noqa: E501 The version of the OpenAPI document: 0.0.1 Generated by: https://openapi-generator.tech """ from datetime import date, datetime # noqa: F401 import deci...
[ "noreply@github.com" ]
FallenRiteMonk.noreply@github.com
73061d115f4cab440666da9fd0537873a719f7b1
eed51de6f1f27979187d4be62a989f74d77a54aa
/py_flask2/run.py
da759db885d22dc60dd35b854fca129a036030cb
[]
no_license
yjw0216/Samsung-MultiCampus-python-edu
2635c0074de6a94975482b57b88f38d98b487784
d8178606305fd9aec54e1b0f9df63a0f012c728c
refs/heads/master
2020-03-22T05:12:23.215529
2018-08-17T02:48:07
2018-08-17T02:48:07
139,549,482
0
0
null
null
null
null
UTF-8
Python
false
false
1,904
py
from flask import Flask , request , url_for , render_template , redirect , jsonify from model.d1_8 import searchSql , selectTeamName , updateTeamInfo ## 내가만든 모듈(DB처리부분) import !! app = Flask(__name__) # 페이지 구성 # 홈페이지의 주소(URL)를 ~/ 로 정의하자 @app.route('/') def home(): return render_template('index.html',title='홈페이지'...
[ "ysw01044@naver.com" ]
ysw01044@naver.com
6e11396cffb0e94913e3102fbb95ce31d9f0fe01
bc60fea66d910fd7ff88e6c0476be0eeaccffe7e
/init_db.py
7cf4902323126ede1ef112539d37a8ab4ce4f13b
[]
no_license
pahaz/django-2016-steps
cd2c0321660f8ae52778e7eaaa2fb3942d535f1c
3daa9404dcbc8a2430d8d139ea8f5a0b763b8e3b
refs/heads/master
2023-08-26T19:47:36.918975
2016-05-27T11:17:42
2016-05-27T11:17:42
58,202,366
0
2
null
2016-05-27T10:01:28
2016-05-06T11:21:49
Python
UTF-8
Python
false
false
255
py
import os import django os.environ.setdefault("DJANGO_SETTINGS_MODULE", "_project_.settings") django.setup() # ----------------------------------- from django.contrib.auth.models import User User.objects.create_superuser('qwer', 'qwe@qwe.qq', 'qwer')
[ "pahaz.blinov@gmail.com" ]
pahaz.blinov@gmail.com
3dcbae388d9f29fb43bb3ae85c4db82dc2cac795
f2befaae3840bafd181cc712108e3b64caf2696f
/app/portal/horizon/openstack_dashboard/test/integration_tests/tests/test_floatingips.py
e13a5caeadcc5089f2265ba1b68db6ff925ac46c
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
F5Networks/f5-adcaas-openstack
17d5c408d421dcfe542002e1f850b2d9f29f1663
02bd8a606215c0fa08b926bac1b092b5e8b278df
refs/heads/master
2023-08-28T12:09:54.972191
2022-08-12T02:03:43
2022-08-12T02:03:43
164,592,273
4
23
Apache-2.0
2022-08-12T02:03:44
2019-01-08T07:40:35
Python
UTF-8
Python
false
false
4,543
py
# Copyright 2015 Hewlett-Packard Development Company, L.P # 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....
[ "a.zong@f5.com" ]
a.zong@f5.com
2561ca0bc23319ecfde72cc5deb53b2ef46300fd
242e68a7c15e6ced652734d1d0e3e88e1074bb39
/climetlab/sphinxext/command_output.py
37361004bc1756958119ea83b8845b710aaaf1bb
[ "Apache-2.0" ]
permissive
mchantry/climetlab
e6edf596882560ad0b23572b24ac9e5cd9325891
8d655b4ac121a69e7244efe109c04d5e110cdf9e
refs/heads/main
2023-07-22T01:16:52.859802
2021-07-22T09:24:00
2021-07-22T09:24:00
379,984,648
0
0
Apache-2.0
2021-06-24T16:16:38
2021-06-24T16:16:38
null
UTF-8
Python
false
false
1,667
py
# (C) Copyright 2020 ECMWF. # # This software is licensed under the terms of the Apache Licence Version 2.0 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. # In applying this licence, ECMWF does not waive the privileges and immunities # granted to it by virtue of its status as an intergovernmenta...
[ "baudouin.raoult@ecmwf.int" ]
baudouin.raoult@ecmwf.int
336afe5cc9ce742780553565f8b39a033fad439e
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/rna-transcription/d4b259d6199f474994ab158d3f6b6d29.py
ec2b433100cc6ed26f816b7f9b0dcb97506c5e4a
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
179
py
#!/usr/bin/env python # -*- coding: utf-8 -*- def to_rna(dna): rna = '' table = {'G':'C','C':'G','T':'A','A':'U'} for i in range(len(dna)): rna += table[dna[i]] return rna
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
1d28d5489d4aeaaa822a1ab68c4f19421aaeb767
9bf522a1716339fe928e83c9b416eeebaa1421af
/aiida_lammps/calculations/lammps/__init__.py
e2f59c730f40dc1d2f760165016020424d44ef6b
[ "MIT" ]
permissive
zaidurrehman/aiida-lammps
132ccf6f6bc2b8e2a81fa3f852a76c8bd3bdcedd
e00d5501778c918b4333747398d4ae4df46fd3eb
refs/heads/master
2020-03-22T16:07:52.265272
2018-05-15T08:26:39
2018-05-15T08:26:39
140,304,946
0
0
MIT
2018-07-09T15:31:32
2018-07-09T15:25:24
Python
UTF-8
Python
false
false
10,755
py
from aiida.orm.calculation.job import JobCalculation from aiida.common.exceptions import InputValidationError from aiida.common.datastructures import CalcInfo, CodeInfo from aiida.common.utils import classproperty from aiida.orm import DataFactory StructureData = DataFactory('structure') ParameterData = DataFactory('p...
[ "abelcarreras83@gmail.com" ]
abelcarreras83@gmail.com
7b81eea3972f0d10ecfade6f13ea7d131e0a1565
2602266d33073790ac3f3b1ad3c3038922f6d279
/RL/QL/lx_01.py
94fa0e4000401eec9b2d6e45f3996b2c00b105f1
[]
no_license
cy-2224/AI_first_contact
7f6582a8f4c24acb270858e6cd08874580632bf8
d536b5faa283e7e5f093716a6006fabae943f2e0
refs/heads/master
2022-03-19T20:29:31.487710
2019-11-18T06:00:05
2019-11-18T06:00:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,993
py
import numpy as np import pandas as pd import time np.random.seed(2) # reproducible N_STATES = 10 # the length of the 1 dimensional world ACTIONS = ['left', 'right'] # available actions EPSILON = 0.9 # greedy police ALPHA = 0.1 # learning rate GAMMA = 0.9 # discount factor MAX_EPISODES = 24 # maxim...
[ "116010062@link.cuhk.edu.cn" ]
116010062@link.cuhk.edu.cn
25b15ed23eab61a3811e0a0702bc8a0d35e62589
ca299cec2cd84d8b7c2571fa2fdf7161e66b8fe7
/private_server/guard/CELL-29/Q-42/29-42.py
35f00c836668156e969549d904a2e36a1661dd6e
[]
no_license
benmechen/CodeSet
ca57d4a065ac4fc737749f65cb5aa1011d446a88
f5a4bf627a9a8efc76a65ae58db63a973fedffb7
refs/heads/master
2021-07-16T14:23:36.355491
2019-12-02T13:58:27
2019-12-02T13:58:27
225,385,245
1
0
null
2021-06-22T15:37:57
2019-12-02T13:47:09
JavaScript
UTF-8
Python
false
false
250
py
animals = ["aardvark", "badger", "duck", "emu", "fennec fox"] # Use index() to find "duck" duck_index = animals.index("duck") # Your code here! cobra_index = animals.insert(2, "cobra") # Observe what prints after the insert operation print(animals)
[ "psybm7@nottingham.ac.uk" ]
psybm7@nottingham.ac.uk
f3a2ac6e803fc07512c8936659276e8b2ddcc899
d973df1e60d17b2c4ac6430ec29cce7fd139c3ec
/99-Miscel/AnatomyOfMatplotlib-master/examples/vector_example.py
05c3d530e5b59c169f0954224e4c1c10dbc082fd
[ "MIT", "CC-BY-3.0" ]
permissive
dushyantkhosla/viz4ds
49153414f10bfa0b577fa5e076ef6c697298146a
05a004a390d180d87be2d09873c3f7283c2a2e27
refs/heads/master
2022-06-28T14:21:47.116921
2019-10-22T10:34:16
2019-10-22T10:34:16
133,490,301
0
0
MIT
2022-06-21T21:30:16
2018-05-15T09:08:30
Jupyter Notebook
UTF-8
Python
false
false
1,294
py
import matplotlib.pyplot as plt import numpy as np import example_utils # Generate data n = 256 x = np.linspace(-3, 3, n) y = np.linspace(-3, 3, n) xi, yi = np.meshgrid(x, y) z = (1 - xi / 2 + xi**5 + yi**3) * np.exp(-xi**2 - yi**2) dy, dx = np.gradient(z) mag = np.hypot(dx, dy) fig, axes = example_utils.setup_axes(...
[ "dushyant.khosla@pmi.com" ]
dushyant.khosla@pmi.com
51f411fbfe7199fd08bd422157fa4731afd3e426
54db01a385495a4cd0c4ce1cf5ff5d7ba82d8cc5
/course/migrations/0006_subject_credit_hours.py
ac6f580286364aacf611e11c0ddc01d5ed060c59
[]
no_license
danish703/csapp
eb653988df31570fb3747bb7a0b48df0e16e089e
c268017189f6a05fd77663444fb33eca94e77d6d
refs/heads/master
2022-10-09T09:21:03.225250
2020-06-05T14:16:06
2020-06-05T14:16:06
256,696,530
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
# Generated by Django 3.0.2 on 2020-04-17 04:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('course', '0005_auto_20200417_1014'), ] operations = [ migrations.AddField( model_name='subject', name='credit_hours'...
[ "dipu.danish@outlook.com" ]
dipu.danish@outlook.com
7d2acc3aa2f7970438fcc584fb553426c3b2505e
1ad4b4f46e9e3cafdf8ccb17eb7703905847fda2
/collections/list/assignment1.py
256616778869842786dbaa83b078910d29bf50c2
[]
no_license
febacc103/febacc103
09711cd1d9e4c06bdb1631a72d86fe34e3edd13d
d5ebf3534a9ec2f3634f89c894816b22a7fbaa80
refs/heads/master
2023-03-29T22:25:48.073291
2021-04-20T08:31:44
2021-04-20T08:31:44
359,677,300
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
lst=[3,4,8] lst1=[] for i in lst: sum1=sum(lst) lst1.extend([sum1-i]) #sum+=i print(lst1) lst2=[5,10,20] lst3=[] for i in lst2: sum2=sum(lst2) lst3.extend([sum2-i]) print(lst3)
[ "febajohnjoicyblesson@gmail.com" ]
febajohnjoicyblesson@gmail.com
d906992ff23a0051e0875019d50eb5c2e2a23b94
c1582da0f3c1d762f6c78e613dfced5176bbfc83
/Algorithms/p217_Contains_Duplicate/p217_Contains_Duplicate.py
7759f53d150c0a5f9e369cd6eb03d4e79ab0f625
[]
no_license
lbingbing/leetcode
08a90a4c018210a1f0182b5ef2ab55942d57da48
f6019c6a04f6923e4ec3bb156c9ad80e6545c127
refs/heads/master
2020-05-21T16:30:06.582401
2016-12-15T06:44:49
2016-12-15T06:44:49
65,279,977
0
0
null
2016-08-27T04:19:27
2016-08-09T09:02:55
Python
UTF-8
Python
false
false
178
py
class Solution(object): def containsDuplicate(self, nums): """ :type nums: List[int] :rtype: bool """ return len(set(nums))<len(nums)
[ "lbingbing@users.noreply.github.com" ]
lbingbing@users.noreply.github.com
9f2bb5b89c2bf4b4fc694b91d1551cbe40a13be6
db80edb9be895c4ebcb9acac96eff92b7fda2bd3
/src/scripts/dataset_experiment_2019_1_3_(LNL)_train_script.py
fdf61ca86044647bec3707c7457949e6de9f1db1
[]
no_license
YhHoo/AE-signal-model
9950182425377364d83a8a86b72ed181b789a599
8ba384397a88ea8316deee3173503fccb9e485af
refs/heads/master
2021-06-26T03:43:21.482586
2019-05-16T10:53:25
2019-05-16T10:53:25
131,477,937
0
1
null
null
null
null
UTF-8
Python
false
false
7,510
py
# this is for bash to know the path of the src # Iterative task import sys sys.path.append('C:/Users/YH/PycharmProjects/AE-signal-model') import time import tensorflow as tf import argparse from src.experiment_dataset.dataset_experiment_2019_1_3 import AcousticEmissionDataSet from src.model_bank.dataset_2018_7_13_lcp_...
[ "hooyuheng@gmail.com" ]
hooyuheng@gmail.com
b7feb3b10a95e4d1b47da7d8a58e5a880d93255f
9e73fe186ec08859ded85d692cffac1945424410
/tests/test_spline.py
d262b0d67ee2b0cf63f9e17c095bd2b1eb1da140
[]
no_license
TheTripleV/robotpy-wpimath
f2071c8922d609c36caec4484d9ed3ccffe942b2
a35d92505a4af85be560866e985320f28768ddc8
refs/heads/main
2023-02-19T23:59:21.955481
2021-01-19T07:12:35
2021-01-19T11:25:19
331,135,028
0
0
null
2021-01-19T23:14:55
2021-01-19T23:14:55
null
UTF-8
Python
false
false
50
py
import wpimath.spline def test_todo(): pass
[ "dustin@virtualroadside.com" ]
dustin@virtualroadside.com
8699e2d9f2857916e726b82f33a9737a08f29c55
da9c4a9a92d49d2fb2983a54e0f64c2a1ce8aa19
/symphony/cli/pyinventory/graphql/fragment/service_type.py
721c139d30f17b42911093ca706dd702b1e3e012
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
rohan-prasad/magma
347c370347724488215a0783504788eac41d8ec7
2c1f36d2fd04eae90366cc8b314eaab656d7f8ad
refs/heads/master
2022-10-14T14:08:14.067593
2020-06-11T23:52:03
2020-06-11T23:54:27
271,671,835
0
0
NOASSERTION
2020-06-12T00:20:23
2020-06-12T00:17:39
null
UTF-8
Python
false
false
1,427
py
#!/usr/bin/env python3 # @generated AUTOGENERATED file. Do not Change! from dataclasses import dataclass from datetime import datetime from gql.gql.datetime_utils import DATETIME_FIELD from gql.gql.graphql_client import GraphqlClient from gql.gql.client import OperationException from gql.gql.reporter import FailedOper...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
024f42d62675e06d3eb3019186c76208aeeb1a10
13ce655f82b93fb4089b29e62a8e33dd7ff05493
/src/wai/json/object/property/proxies/__init__.py
02e3fe800f49bb03e939e66e0758c8f5b174e04d
[ "MIT" ]
permissive
waikato-datamining/wai-json
603b90b13155114bbfb60b40f45100248c03d710
cb013fb16e7c1b8d91e040a387a143d29d4ced96
refs/heads/master
2021-01-07T15:06:22.957223
2020-03-17T23:59:14
2020-03-17T23:59:14
241,736,670
0
1
null
null
null
null
UTF-8
Python
false
false
283
py
""" Package for proxy objects. Proxies are objects which act like other objects, but can be converted to and from JSON, and subscribe to a schema which is enforced during programmatic use as well as conversion. """ from ._ArrayProxy import ArrayProxy from ._MapProxy import MapProxy
[ "coreytsterling@gmail.com" ]
coreytsterling@gmail.com