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
127f9d0d666b903632767e6efe9190b78b0bc5e1
060c559cdfe39e3ff37bcc4f5113f30901a605d7
/tf2onnx/tflite/ReducerOptions.py
83e129b15df08fe52a7ec26ab2d785c0d86135a2
[ "Apache-2.0" ]
permissive
onnx/tensorflow-onnx
4402bc3416b1e191b122120aafcce5a5f396b160
d5b7f39de66f3b4ff8731fd23b3f379ae731e601
refs/heads/main
2023-09-01T08:47:00.417130
2023-08-29T03:57:16
2023-08-29T03:57:16
125,098,252
2,068
454
Apache-2.0
2023-08-29T03:57:18
2018-03-13T18:39:56
Jupyter Notebook
UTF-8
Python
false
false
1,801
py
# SPDX-License-Identifier: Apache-2.0 # automatically generated by the FlatBuffers compiler, do not modify # namespace: tflite import flatbuffers from flatbuffers.compat import import_numpy np = import_numpy() class ReducerOptions(object): __slots__ = ['_tab'] @classmethod def GetRootAs(cls, buf, offse...
[ "noreply@github.com" ]
onnx.noreply@github.com
692918ec61d8e9f225834c09997c0e7675993dbc
49ab501632b0a8336058406e7daa3afce6be6e93
/python_server/Final_Memes/analysis/analysis_functions.py
9da1cda7d07fb252399b727dc4ad9d8976662017
[]
no_license
CharlesFauman/meme_server
3ab73e9788b9fea26f6ea270563381515d4b0d47
75b0d6fc041c1e2b04e260e9eecbff160225a0f6
refs/heads/master
2020-03-25T08:58:32.780593
2018-08-05T19:24:58
2018-08-05T19:24:58
143,640,946
0
0
null
null
null
null
UTF-8
Python
false
false
3,732
py
import numpy as np from keras.utils.np_utils import to_categorical from gensim.models import Word2Vec from keras.models import Sequential from keras.layers import Dense, Dropout, BatchNormalization, Conv1D, Flatten from keras.models import load_model def categorical_dict_from_list(unique_classes): ca...
[ "you@example.com" ]
you@example.com
8c94b5b1eb6ff56f57495ad79dec8180ceece244
d76c1a8648658317e616a0c60ae803f8239e1661
/src/__init__.py
04ba27ec49832eee741dbc0d7ed244a19345a370
[]
no_license
MaxKusnadi/overwatch-tracker
2483113e27fc989054fbeffe22067773655173ed
a82ff440ce353b2ea4f2fd9d6c00889bd51a2229
refs/heads/master
2020-05-21T17:17:20.018822
2017-06-24T07:38:32
2017-06-24T07:38:32
84,638,550
0
1
null
null
null
null
UTF-8
Python
false
false
229
py
import logging from flask import Flask logging.basicConfig(level=logging.DEBUG, format=' %(asctime)s - %(levelname)s - %(message)s') app = Flask(__name__) app.config.from_object('config') import src.views
[ "max.kusnadi@gmail.com" ]
max.kusnadi@gmail.com
5861ada561f257ef6c735fe0fe1db9e9e3c1d232
e23a4f57ce5474d468258e5e63b9e23fb6011188
/140_gui/pyqt_pyside/examples/Advanced_Python_Scripting/019_Processes and flows/thread_example/thread.py
1c332e16f623022f02a406e54ca65d4e4a694f9f
[]
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
1,712
py
from PySide2.QtCore import * from PySide2.QtGui import * from PySide2.QtWidgets import * import os, time class folderSizeCompute(QWidget): def __init__(self): super(folderSizeCompute, self).__init__() self.ly = QVBoxLayout(self) self.start_btn = QPushButton('Compute') self.ly.addWid...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
ebfcdd281702e7794840ac944254f13a3fbe7dba
48523e13b15451542aa51ece14d2b3c6c4bb1b99
/Django_apps/students/migrations/0013_auto_20181017_0629.py
b3ca99d45b36df86e2eb1a86a6004ecf503943d3
[]
no_license
ss-8y0/SchoolSystem
c7c64695b5ed7979e2d530941f4fbd178d95ca64
63298fa495a98c45175904da2820bcfce4a582a4
refs/heads/master
2023-03-15T11:07:38.665758
2019-05-27T02:52:56
2019-05-27T02:52:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
538
py
# Generated by Django 2.1.1 on 2018-10-17 06:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('students', '0012_auto_20181016_0545'), ] operations = [ migrations.AlterField( model_name='studentparents', name='ed...
[ "414804000@qq.com" ]
414804000@qq.com
b984bc2a89a7f80749ded697e722a422fed01ef3
448d5b412422229f9089873c0c1606f10f43f889
/douban_spider/settings.py
a825783eb8d951fd728b331b762ea8c57e854e32
[]
no_license
zhujingxiu/spider1
d70dea4e41cdf5390c17ec584901b8d71cdd12dd
a5b6a44242ec6f01894ef585c3c2970cb2cd1283
refs/heads/master
2020-04-16T01:58:07.613332
2019-01-23T03:21:39
2019-01-23T03:21:39
165,192,724
0
0
null
null
null
null
UTF-8
Python
false
false
2,718
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # _AUTHOR_ : zhujingxiu # _DATE_ : 2019/1/9 USER_AGENT = [ "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; AcooBrowser; .NET CLR 1.1.4322; .NET CLR 2.0.50727)", "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Acoo Browser; SLCC1; .NET CLR 2.0.50727...
[ "zhujingxiu@gmail.com" ]
zhujingxiu@gmail.com
5577469e5628b59aa8881f2a1c27395863a64312
5bfa59ab0ec9cd874ef053998ecd398c4f17aa30
/tfx/tools/cli/cli_main_test.py
133b51a3dd893b92f495c1cf4a8abeac2884eeea
[ "Apache-2.0" ]
permissive
yongsheng268/tfx
37df71d8dee5f8c21bd0a81bd8daca2767ccbda1
6283fffb3ac81e2f213b4895fbe19623dfa9c4f5
refs/heads/master
2020-07-01T09:43:09.066981
2019-08-07T19:03:09
2019-08-07T19:03:32
201,131,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,691
py
# Copyright 2019 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "tensorflow-extended-team@google.com" ]
tensorflow-extended-team@google.com
bf4f8a83c10dc4f570845d1bdab113a2237a3841
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_201/2610.py
72fe58234a9946e6e2947b3abd888a916e8d87e8
[]
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
631
py
def get_ans(ln): # print ln ln = ln.split(" ") num = int(ln[0]) tc = int(ln[1]) l = [num] cnt = 0 while l != []: num = max(l) l.remove(num) if num % 2 == 0: n1 = num / 2 n2 = num / 2 - 1 else: n1 = n2 = num/2 cnt += 1 if cnt == tc: return "%d %d" % ( n1,n2) if n1 != 0: l.append...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
cbd7e2e90600809073e092451126ec445a50b058
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/394/usersdata/338/74741/submittedfiles/ex11.py
7efc80eab2c8f1fe2008aa7cde309b87f8609c77
[]
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
295
py
# -*- coding: utf-8 -*- Dia1 = input('Digite dia1: ') Mes1 = input('Digite mês1: ') Ano1 = input('Digite ano1: ') Dia2 = input('Digite dia2: ') Mes2 = input('Digite mês2: ') Ano2 = input('Digite ano2: ') if Ano1 > Ano2: print('ano1 maior que ano2') else print('ano1 menor que ano2')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
1d55a755929a623f7ad1096af9d3ccba9c0ddd98
a1a43879a2da109d9fe8d9a75f4fda73f0d7166b
/api/tests/conv2d.py
a94fdc13dbac41fd28fe747bfa76325a5f34ffe8
[]
no_license
PaddlePaddle/benchmark
a3ed62841598d079529c7440367385fc883835aa
f0e0a303e9af29abb2e86e8918c102b152a37883
refs/heads/master
2023-09-01T13:11:09.892877
2023-08-21T09:32:49
2023-08-21T09:32:49
173,032,424
78
352
null
2023-09-14T05:13:08
2019-02-28T03:14:16
Python
UTF-8
Python
false
false
3,711
py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
35a7a2c5bce33030c8719213f57b6d42c545b609
35dbd536a17d7127a1dd1c70a2903ea0a94a84c2
/tests/sentry/api/endpoints/test_doc_integration_avatar.py
f3d6b8132e608f5e871fc6d78999da3a16789732
[ "Apache-2.0", "BUSL-1.1" ]
permissive
nagyist/sentry
efb3ef642bd0431990ca08c8296217dabf86a3bf
d9dd4f382f96b5c4576b64cbf015db651556c18b
refs/heads/master
2023-09-04T02:55:37.223029
2023-01-09T15:09:44
2023-01-09T15:09:44
48,165,782
0
0
BSD-3-Clause
2022-12-16T19:13:54
2015-12-17T09:42:42
Python
UTF-8
Python
false
false
4,410
py
from base64 import b64encode from rest_framework import status from sentry.api.serializers.base import serialize from sentry.testutils import APITestCase from sentry.testutils.silo import control_silo_test @control_silo_test(stable=True) class DocIntegrationAvatarTest(APITestCase): endpoint = "sentry-api-0-doc-...
[ "noreply@github.com" ]
nagyist.noreply@github.com
e78e2cbec6d86d11b73977ed858529aa296e2a91
79e1275f0d4a8534ee49807e7e066552ec979e2b
/sort/bubble.py
5250de75e3c966d179e1b1f0c1bb83dc7694b97b
[]
no_license
supercp3/DataStructure_Argorithms
de461f77f07125e64c254ed112a321d1a2abffd2
285eb3594998e399cd2b988c24b7fdf46885f55f
refs/heads/master
2020-03-26T19:26:51.636019
2018-08-21T08:55:22
2018-08-21T08:55:22
145,265,479
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
''' 冒泡排序 ''' def bubble_sort(nums): length=len(nums) for i in range(length-1): for j in range(length-1-i): if nums[j]>nums[j+1]: nums[j],nums[j+1]=nums[j+1],nums[j] return nums
[ "13281099@bjtu.edu.cn" ]
13281099@bjtu.edu.cn
d8d7e7c937debacef10c5e6e69a37f42999a6700
9c81c170f03ba925bf3d0682526245c202e384a7
/superset/security/guest_token.py
a8dc2e3393bf6fc48eb664f8f952dc427952cac5
[ "Apache-2.0", "OFL-1.1" ]
permissive
zcong1993/incubator-superset
2a08177641eff178dee9db852887ad2d19d70d54
269c99293f42089958dc98b5d6e5899509fc3111
refs/heads/master
2023-08-17T12:24:59.438120
2023-08-17T10:50:24
2023-08-17T10:50:24
209,522,299
0
0
Apache-2.0
2023-03-06T08:10:31
2019-09-19T10:09:21
TypeScript
UTF-8
Python
false
false
2,631
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
zcong1993.noreply@github.com
4188fea18c3e77f2ea0e02923b8872b96d2640f4
010d80802b7078ae8946e6e70c624e5a432995c8
/Python/gan/encoder_decoder_converter.py
f091b09e8f55b10b197683d48b05c57a9853f84e
[ "BSD-3-Clause" ]
permissive
SakshamPathak/NonIntNLP
f826124218be83797f975c6906c0dfa0e2f268b4
be4596db82f27ebe33f5de8a7103f534f1900900
refs/heads/master
2022-04-13T11:03:34.496792
2020-04-10T06:33:45
2020-04-10T06:33:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,949
py
import transformers import torch # Transformers encoder and decoder layers do not share the same embedding space. Fortunately, you can (generally?) train # a linear function that maps from one space to another. This class uses that function to allow you to convert from # the encoder space to the decoder space and vic...
[ "jbetker@gmail.com" ]
jbetker@gmail.com
da1c6b2774fa63e6fd2b22305174bc2a79481da9
e42e9d1005a273c31fd702f6c3acc3fa506c2625
/questions/migrations/0001_initial.py
de5f57647b17ab6aad8e3e885ee97a5f486b51ae
[]
no_license
haruyasu/question_time
192fc1dccb25d3fb14b23933ed4b558bc1e0c168
d8b5ad020310d225bbe381f74f800eaf676dfb3e
refs/heads/master
2023-01-19T05:28:50.298601
2020-02-09T11:42:18
2020-02-09T11:42:18
236,132,223
1
0
null
2023-01-05T06:49:18
2020-01-25T05:59:52
Python
UTF-8
Python
false
false
1,760
py
# Generated by Django 2.2 on 2020-01-25 09:20 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), ] opera...
[ "harukun2002@gmail.com" ]
harukun2002@gmail.com
5151e616b92cd7bc7d7dee6d144c39a0a179f463
a59d20b9918df7cc17cfaf4bd1abaa73a086eb2a
/tfiris.py
21016e40b29528c79b191754f1050f90c37736fe
[]
no_license
yanqinghao/TFdeeplearning
5da5e7f4462c539ae25f29a42f2c5bc3b4abd171
8ec4f99b6e73b9d0866bc3706e2807cfa3229c58
refs/heads/master
2018-12-10T13:45:35.552852
2018-09-13T09:52:49
2018-09-13T09:52:49
118,085,046
0
0
null
null
null
null
UTF-8
Python
false
false
2,195
py
import matplotlib.pyplot as plt import numpy as np from sklearn import datasets import tensorflow as tf sess = tf.Session() iris = datasets.load_iris() binary_target = np.array([1. if x==0 else 0. for x in iris.target]) iris_2d = np.array([[x[2], x[3]] for x in iris.data]) batch_size = 20 x1_data = tf.placeholder(shap...
[ "187280967@qq.com" ]
187280967@qq.com
c51a291e6dc8a17549a070844c1dc5ee71d81fd1
a248ea8d5633f28b65bf2b111b18c35d54bd253b
/necrobot/match/matchmgr.py
c03eee42de8d8e41ebcb18427afcbd6eb897f296
[ "MIT" ]
permissive
incnone/necrobot
d4e35f99883e02bf92850566de35b096c4842346
0f68ba5158e1d62d5b9bceb74407d7355ccfe07e
refs/heads/master
2023-06-24T08:18:41.975533
2023-06-16T07:14:44
2023-06-16T07:14:44
49,573,710
9
18
MIT
2021-07-07T17:31:26
2016-01-13T12:54:56
Python
UTF-8
Python
false
false
2,769
py
import asyncio from necrobot.botbase.necroevent import NEDispatch, NecroEvent from necrobot.botbase.manager import Manager from necrobot.botbase.necrobot import Necrobot from necrobot.match import matchdb, matchutil from necrobot.match.matchroom import MatchRoom from necrobot.match.matchglobals import MatchGlobals from...
[ "incohatus.none+git@gmail.com" ]
incohatus.none+git@gmail.com
6ae8e9bc01ab3233cdd377f9e6fca55882f102a8
15726e507b10d6407a3103d426cd08fbf2903559
/bootstrap/build.py
ae1e6c501588efdb2531c25bbb9d4e4ee93a4fc0
[ "Apache-2.0" ]
permissive
comet-ml/kubeflow
fd974f596d03a7a305fcc01197a7528e5cf5fbae
d5782561dd32b5180876da35fef74fc457144365
refs/heads/master
2020-03-19T08:11:04.292400
2018-06-05T03:28:54
2018-06-05T03:28:54
136,182,652
0
1
Apache-2.0
2018-06-05T15:18:05
2018-06-05T13:36:46
Python
UTF-8
Python
false
false
2,220
py
# Script to build bootstrapper image import argparse import os import shutil import yaml FILE_PATH = os.path.dirname(os.path.abspath(__file__)) REG_FOLDER = "reg_tmp" # Clone repos to tmp folder and build docker images def main(unparsed_args=None): parser = argparse.ArgumentParser( description="Build bootstrapp...
[ "k8s-ci-robot@users.noreply.github.com" ]
k8s-ci-robot@users.noreply.github.com
47e975b7a685d82076b0a1f33a8021d50e6b0548
11299d9e1d3825dfdb4ef3c9d6d1994b683cdc65
/tests/commands/update/conftest.py
02fff0256dc0765712f2be096a6d1a5ee2cb9946
[ "BSD-3-Clause" ]
permissive
pombredanne/briefcase
904ef0df4266a8fd6bd3f160a9204f748d592b47
8cedd42a235ff3365c486c3c014c16476f9932e2
refs/heads/master
2022-05-25T00:01:24.025098
2022-03-10T03:04:47
2022-03-10T03:04:47
312,582,865
0
0
BSD-3-Clause
2020-11-13T13:26:31
2020-11-13T13:26:30
null
UTF-8
Python
false
false
2,923
py
import pytest from briefcase.commands import UpdateCommand from briefcase.config import AppConfig class DummyUpdateCommand(UpdateCommand): """ A dummy update command that doesn't actually do anything. It only serves to track which actions would be performend. """ platform = 'tester' output_fo...
[ "russell@keith-magee.com" ]
russell@keith-magee.com
a3af1fb8167b776020fd8e1c934d866aa1897546
b5ef3b9da130f604f111bd469128b73e78d6ba9d
/bt5/erp5_crm_knowledge_pad/SkinTemplateItem/portal_skins/erp5_crm_knowledge_pad/Person_email.py
32b24cc3b77f7633411eadec5fd073cf9bf44654
[]
no_license
soediro/erp5
154bb2057c4cd12c14018c1ab2a09a78b2d2386a
3d1a8811007a363b7a43df4b295b5e0965c2d125
refs/heads/master
2021-01-11T00:31:05.445267
2016-10-05T09:28:05
2016-10-07T02:59:00
70,526,968
1
0
null
2016-10-10T20:40:41
2016-10-10T20:40:40
null
UTF-8
Python
false
false
373
py
""" Create a CRM "Mail Message" to communication between context person and currrent logged in user. """ portal = context.getPortalObject() new_event = portal.event_module.newContent(portal_type = "Mail Message") new_event.setDestinationValue(context) new_event.setSourceValue(portal.ERP5Site_getAuthenticatedMemberPe...
[ "georgios.dagkakis@nexedi.com" ]
georgios.dagkakis@nexedi.com
fd2835aefe76f55850bf59112a6b4755887c826f
ef9715856c0cd8a45135cce1c25d927d64b02156
/gym/gym/settings.py
d06a96b14223eb688e36d758499532af8e95435a
[]
no_license
vaibhav742/black-beard
b42ebe52b20c8e921a46bdba4ad6500bc37e6f94
6a5676aa12293af4472619ffc73224fc372d98dc
refs/heads/master
2020-07-23T15:56:42.303283
2019-09-10T17:28:28
2019-09-10T17:28:28
207,619,702
0
0
null
null
null
null
UTF-8
Python
false
false
3,279
py
""" Django settings for gym project. Generated by 'django-admin startproject' using Django 2.2.5. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # Bui...
[ "you@example.com" ]
you@example.com
33e52a39cbcba3df16127b4ab1d33442f1e02efb
d0152c277ef38adadea1b2ff8b1075758cc04991
/tests/utilities/mocks/__init__.py
cc35043ada478a9b7f46a2e7b07fb172c00b1bbc
[ "MIT" ]
permissive
fossabot/unleash-client-python
ccc2f6cb9ed3182322497161382770c80c9eb1ab
c7fdf65fad35cece7125d68892c9d61266bdd250
refs/heads/master
2020-04-01T02:22:48.262001
2018-10-12T16:09:12
2018-10-12T16:09:12
152,776,582
0
0
MIT
2018-10-12T16:09:07
2018-10-12T16:09:07
null
UTF-8
Python
false
false
145
py
from .mock_metrics import MOCK_METRICS_REQUEST from .mock_all_features import MOCK_ALL_FEATURES from .mock_features import MOCK_FEATURE_RESPONSE
[ "noreply@github.com" ]
fossabot.noreply@github.com
05a69891fea5c76e673c93bb9aaa97ffc12078c9
6764f5c7ffa16536510c327c9570507abd963699
/fixture_magic/management/commands/custom_dump.py
bf34a07cd2491332b29547d7d62a60acb8a81e74
[ "BSD-2-Clause" ]
permissive
carljm/django-fixture-magic
a5c587e58985d65703431726ef4d498c15fd2060
b9e47edad1745aecdc3c9003551bbbf1d72b5368
refs/heads/master
2021-01-16T22:43:32.375517
2010-05-18T19:45:14
2010-05-18T19:45:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,425
py
import json from optparse import make_option from django.core.exceptions import FieldError, ObjectDoesNotExist from django.core.management.base import BaseCommand from django.db.models import loading from django.core.serializers import serialize from django.db import models from django.conf import settings from django...
[ "dd+github@davedash.com" ]
dd+github@davedash.com
f5015b794c7b501b2a6c816d3b0b28e37002bfb3
24be0a437a46e4910b400f0e90bed9363e777145
/Week2/Assignment2/assignment2_sampledata.py
2589f74dd6b00525ec125c6a5a0b6fbc4d42e0b6
[]
no_license
madhav06/Python_to_Access_WebData
ce40b175b65ebeb0db4043bfd4f2a49d27dbfbcc
d79d00c7c69d0e63ab56288e4c058392c60c5da9
refs/heads/master
2022-11-19T14:31:46.975474
2020-07-16T11:47:46
2020-07-16T11:47:46
278,130,618
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
#python 3 import re handle = open('regex_sum_42.txt') l = [] for line in handle: line = line.rstrip() x = re.findall('[0-9]+', line) l.extend(x) j = [int(i) for i in l] add = sum(j) print(add)
[ "mnandan06@gmail.com" ]
mnandan06@gmail.com
36b41474b2295b028d001586e15c2075428d126a
84c4474a88a59da1e72d86b33b5326003f578271
/saleor/graphql/payment/tests/queries/test_payment_refund.py
5fcc12a171042feaa8c1f5286f50c3a6140a3763
[ "BSD-3-Clause" ]
permissive
vineetb/saleor
052bd416d067699db774f06453d942cb36c5a4b7
b0d5ec1a55f2ceeba6f62cf15f53faea0adf93f9
refs/heads/main
2023-07-20T02:01:28.338748
2023-07-17T06:05:36
2023-07-17T06:05:36
309,911,573
0
0
NOASSERTION
2020-11-04T06:32:55
2020-11-04T06:32:55
null
UTF-8
Python
false
false
1,387
py
import graphene from ....tests.utils import get_graphql_content QUERY_PAYMENT_REFUND_AMOUNT = """ query payment($id: ID!) { payment(id: $id) { id, availableRefundAmount{ amount } availableCaptureAmount{ amount } ...
[ "noreply@github.com" ]
vineetb.noreply@github.com
89f3153190e39c63fdf1afd393939cf17f8c875f
6bc7062b2f99d0c54fd1bb74c1c312a2e3370e24
/crowdfunding/projects/migrations/0008_auto_20200823_1416.py
398e3f8e5622304d9e320fa3a7144c77c6f4c3eb
[]
no_license
marinkoellen/drf-proj
f2d1f539efb877df69d285bd2fe6d5e789709933
874549d68ab80a774988c83706bb7934e035de42
refs/heads/master
2022-12-25T16:53:52.187704
2020-10-03T03:54:06
2020-10-03T03:54:06
289,620,536
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
# Generated by Django 3.0.8 on 2020-08-23 06:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('projects', '0007_auto_20200823_1409'), ] operations = [ migrations.AlterField( model_name='project', name='date_crea...
[ "ellen.marinko1@gmail.com" ]
ellen.marinko1@gmail.com
fe7e76190760fbab6ca0c8d127b2affe3ad1ea2c
4c672231bd8b7c23bd5773ef990404cc3146712a
/tests/integration/test_builder.py
628d5ba6ff2c1da2fdbbd875e55a054b28733a93
[ "BSD-3-Clause" ]
permissive
AzureCloudMonk/shipmaster
b0e82f93308ecc829e6f6b3cb3156f11dcfbadd4
cf596be7ea689c26c4bf47acb67dfd15169d3c46
refs/heads/master
2020-11-30T01:51:32.010852
2018-03-03T21:47:17
2018-03-03T21:47:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,629
py
from .testcases import DockerClientTestCase from shipmaster.core.builder import Builder from shipmaster.core.config import BuildConfig class ImageBuildTests(DockerClientTestCase): def test_simple_build(self): build_config = BuildConfig.from_kwargs( '', name='test-project', images={ ...
[ "lex@damoti.com" ]
lex@damoti.com
bfd966250cc32863e76bafbfefcfb58ab568ee72
b911843074e06707c4404588e78c78dfe11d6742
/Labs/Lab_01/homework/exercise_2.py
2ff31bb623d8f671af01e7a0d81d6f6dda2b369e
[]
no_license
AnhQuann/nguyenanhquan-fundameltal-c4e14
afc4ea5d108729231357057a62ae3be81b183b6c
2f0edb00a2b79f28d4f85786ee008845489b7b0f
refs/heads/master
2021-09-03T16:46:41.976317
2018-01-10T14:54:14
2018-01-10T14:54:14
111,936,679
0
1
null
null
null
null
UTF-8
Python
false
false
722
py
from pymongo import MongoClient client = MongoClient('mongodb://admin:admin@ds021182.mlab.com:21182/c4e') db = client.get_default_database() posts = db['posts'] new_post = { 'title': 'Mùa đông không lạnh', 'author': 'Nguyễn Anh Quân', 'content': ''' Đông này vẫn giống Đông xưa Vẫn đi...
[ "anhquan19051905@gmail.com" ]
anhquan19051905@gmail.com
72cde7e1a1a36dba0e91b73aca69ca1b6df37207
15e85b4d9527e7a87aded5b3c99ad9c785bca915
/datcore-sdk/python/datcore_sdk/models/file_object_type.py
5f1890acdfca7b633ec7645d3f0cf6284e6ea4a4
[ "MIT" ]
permissive
mguidon/aiohttp-dsm
4161f9977d3dffbb727aa26cce4e9fb347aa4e21
612e4c7f6f73df7d6752269965c428fda0276191
refs/heads/master
2020-03-30T09:03:49.791406
2018-10-02T07:05:35
2018-10-02T07:05:35
151,058,427
0
0
null
null
null
null
UTF-8
Python
false
false
2,273
py
# coding: utf-8 """ Blackfynn Swagger Swagger documentation for the Blackfynn api # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six class FileObjectType(object): """NOTE: This class is auto generated by...
[ "guidon@itis.ethz.ch" ]
guidon@itis.ethz.ch
664e364e44f3c8af50ba2bd22710a58c412910f6
a1e299c0d4d41943c306876814160c271d34c633
/snuggle/api/database/users.py
673de08780674b59e7bed5d438c1ec7338805966
[ "MIT" ]
permissive
wikimedia/analytics-snuggle
1db8f99c4f18f77161cae4fc3c0ef15d05ca8e17
7abbb639abb07067e08087a6e7d30bb17ab4537c
refs/heads/master
2023-06-30T07:58:44.156649
2013-04-25T19:59:05
2013-04-25T19:59:05
9,247,450
0
0
null
null
null
null
UTF-8
Python
false
false
1,353
py
import time CATEGORIES = ("bad-faith", "good-faith", "ambiguous") USER_FIELDS = [ '_id', 'name', 'registration', 'counts', 'reverted', 'revisions', 'talk', 'category', 'views' ] class Users: def __init__(self, db): self.db = db def get(self, query): return list(self.db.mongo.users.find( { ...
[ "aaron.halfaker@gmail.com" ]
aaron.halfaker@gmail.com
baaca5bf974b5bfe33b2f2775540a9bd3df30fbd
6d1a72370c09f9346fa28d53b88b18f6602fd707
/httoop/header/security.py
8f4b61e3811f70904da53862ae87c4f4d1f2c909
[ "MIT" ]
permissive
vermuz/httoop
4dee0f3988faca647305132f8f1007ba5bec255b
bfca4765604a8ccf6c2d998341041d535ff87851
refs/heads/master
2021-01-01T17:08:06.111884
2017-01-27T19:50:17
2017-01-27T19:50:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,152
py
# -*- coding: utf-8 -*- """Security related header""" import re from httoop.header.element import HeaderElement class ContentSecurityPolicy(HeaderElement): """Content security policy (CSP). Prevent content injection vulnerabilities e.g. Cross Site Scripting. ..seealso:: http://www.w3.org/TR/CSP2/ """ __na...
[ "space@wechall.net" ]
space@wechall.net
8b75489312a6090279e7a0ac5b6749c88ba8e9a0
6ceeb3adb08da8754f59a117f39d401948988f0a
/gunicorn/datadog_checks/gunicorn/config_models/instance.py
6f351c37b3abbeced5929dbc5b8403491fc53183
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause-Modification", "MIT", "Apache-2.0", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "LGPL-2.1-only", "LGPL-3.0-only", "CC0-1.0", "Unlicense" ]
permissive
Smartling/integrations-core
794c3822f05c772c7e36fdde8b68c8c3284e71e3
79088364600aa8f06ec38500800f3803db77feed
refs/heads/master
2023-04-15T14:21:50.017308
2023-04-11T20:13:26
2023-04-11T20:13:26
159,552,127
0
1
BSD-3-Clause
2023-04-07T16:38:06
2018-11-28T19:14:55
Python
UTF-8
Python
false
false
1,939
py
# (C) Datadog, Inc. 2021-present # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) # This file is autogenerated. # To change this file you should edit assets/configuration/spec.yaml and then run the following commands: # ddev -x validate config -s <INTEGRATION_NAME> # ddev -x va...
[ "noreply@github.com" ]
Smartling.noreply@github.com
31665e08fd0f9484b96246cb2a71453468ed1740
ff4d26332da8b4d31689a68c97c06eca19cc4260
/projectEuler/webScraping/problemTemplates/410.py
ece453c3dc017a849740aed6e107c17a7ec5aaa9
[]
no_license
nickfang/classes
cf1b64686fb34909f6ffface0f669fa88256d20c
6869deaa5a24782c5a69c7aa41875faf2553e013
refs/heads/master
2023-01-04T00:43:31.351247
2019-12-30T21:04:12
2019-12-30T21:04:12
100,035,808
0
0
null
2023-01-03T20:59:30
2017-08-11T13:41:17
HTML
UTF-8
Python
false
false
612
py
# Circle and tangent line # #Let C be the circle with radius r, x^2 + y2 = r2. We choose two points P(a, b) and Q(-a, c) so that the line passing through P and Q is tangent to C. #For example, the quadruplet (r, a, b, c) = (2, 6, 2, -7) satisfies this property. #Let F(R, X) be the number of the integer quadruplets (r,...
[ "fang.nicholas@gmail.com" ]
fang.nicholas@gmail.com
42bb4079eb1a874760bc99ea63751842cb876821
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/LSpPdiycJ75MiwvgQ_3.py
1051d7649baa8208aeff2bacae5ccb4a4f0ffbee
[]
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
157
py
def fact(num, total=1): return fact(num - 1, num * total) if num else total ​ def grid_pos(lst): return fact(sum(lst)) / fact(lst[0]) / fact(lst[1])
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
74651ce28a336a7da06622d12580f33d13722fd9
9946c6fb2c1aa99eba9384eba58f90d2f131363e
/load_pickle_data.py
b001d98d95ad2948614f804ee44ca73ef5862bbe
[]
no_license
candlewill/texts_sentiment_analysis
a915d56c7077bb99de93278f08035ce14995ba27
bf895fff14deef70a5599ad34dc2f499012cf37a
refs/heads/master
2016-09-02T03:14:17.131305
2015-06-30T07:10:13
2015-06-30T07:10:13
34,979,743
4
1
null
null
null
null
UTF-8
Python
false
false
400
py
__author__ = 'NLP-PC' import pickle from scipy.sparse import dia_matrix as dm feature_names = pickle.load(open("./acc_tmp/clustering_texts_with_trainingset.p", "rb")) print(feature_names) exit() label = pickle.load(open("debug/trian_vec.p", "rb")) for i in range(0,10): a=label[i,:] print(a,type(a)) feature...
[ "yunchaohe@gmail.com" ]
yunchaohe@gmail.com
f2b18106a011ef6d1f948a291f91d3cf53cfd861
de5eafa17b8c1e3a8aedb2848e03282eae775334
/PS_GET_TOOLS/make_panstarrs_individual.py
cc2473bf694a5bafaa7b33ba534b1f20ad0cbb83
[]
no_license
ekourkchi/HI
cba6601fbbb96231d457cc6a0a379c2fdb7a3e4d
796ff5b9826d9d64e2a761e3ef587411df8edd80
refs/heads/master
2020-05-25T19:21:05.663026
2020-03-14T04:08:47
2020-03-14T04:08:47
187,949,260
1
0
null
null
null
null
UTF-8
Python
false
false
3,691
py
#!/usr/bin/python import sys import os import os.path import subprocess import math import matplotlib.pyplot as plt import numpy as np import pylab as py from astropy.table import Table, Column import pyfits ################################# def xcmd(cmd,verbose): if verbose: print '\n'+cmd tmp=os.popen(cmd) ...
[ "ekourkchi@gmail.com" ]
ekourkchi@gmail.com
3503b9fccb216bd83f38170002e223deae0aad55
40804cfe754f4a0c99055e81966367f5a8641fac
/gray_code.py
d3276e7ca361214e44ae4172dc01a794b51534ce
[]
no_license
raochuan/LintCodeInPython
a3731b9a14c623278c8170fedd7be85fd7acfbfb
e57869437287bcc7619411f9d3d965a83e2bfacb
refs/heads/master
2021-01-17T23:57:47.709879
2016-08-02T07:21:36
2016-08-02T07:21:36
64,736,138
1
0
null
2016-08-02T07:48:56
2016-08-02T07:48:54
Python
UTF-8
Python
false
false
266
py
# -*- coding: utf-8 -*- class Solution: # @param {int} n a number # @return {int[]} Gray code def grayCode(self, n): # Write your code here ret = [] for i in xrange(1 << n): ret.append((i >> 1) ^ i) return ret
[ "linying_43151@163.com" ]
linying_43151@163.com
3d863f5a7fc92a9df39a63e43087e432bef7d2b5
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02747/s439437481.py
781ad3693ece86be9b35dbdd58ca6253e513f917
[]
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
223
py
S = input() ans = 'Yes' if len(S)%2 != 0: print('No') exit() for i in range(0,len(S),2): if S[i] != 'h': print('No') exit() if S[i+1] != 'i': print('No') exit() print('Yes')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
4d48e2066bbe44343912c768064c022b64a6d7da
d094ba0c8a9b1217fbf014aa79a283a49aabe88c
/env/lib/python3.6/site-packages/seaborn/algorithms.py
8a7a590ab93c008a102d3c7dd71b3d9a4bdad070
[ "Apache-2.0" ]
permissive
Raniac/NEURO-LEARN
d9274e0baadd97bb02da54bdfcf6ca091fc1c703
3c3acc55de8ba741e673063378e6cbaf10b64c7a
refs/heads/master
2022-12-25T23:46:54.922237
2020-09-06T03:15:14
2020-09-06T03:15:14
182,013,100
9
2
Apache-2.0
2022-12-09T21:01:00
2019-04-18T03:57:00
CSS
UTF-8
Python
false
false
4,233
py
"""Algorithms to support fitting routines in seaborn plotting functions.""" from __future__ import division import numpy as np from scipy import stats import warnings from .external.six import string_types from .external.six.moves import range def bootstrap(*args, **kwargs): """Resample one or more arrays with re...
[ "leibingye@outlook.com" ]
leibingye@outlook.com
8f2b43b5ea22ccca14d197df7bf342a68ff75511
115ac4a7d3c86234b67917a8a66d1e1372f714eb
/page/goods_detail_page.py
6626ff37ffd59b5c88c228f7cd88150458001fa7
[]
no_license
wangming123456/demo02
e8eb09d7ba929f4ccabc2fef1d89087fee9401cc
89a86645b25a5678a7b67c9d7b8b3e4234ae8800
refs/heads/master
2020-08-31T14:29:31.058387
2019-10-31T07:43:10
2019-10-31T07:43:10
218,710,561
0
0
null
null
null
null
UTF-8
Python
false
false
1,435
py
""" 商品详情界面 """ from selenium.webdriver.common.by import By from utils import DriverUtil from base.base_page import BasePage, BaseHandle class GoodsDeatilPage(BasePage): """商品详情-对象库层""" def __init__(self): super(GoodsDeatilPage, self).__init__() self.join_cart_btn = (By.ID, 'join_cart') ...
[ "email@example.com" ]
email@example.com
2bce43e15627307a73c489ad8a547d3eca26fbe6
37cc54635904c8291b4254ca965867955b913fe7
/py/day05/27-demo/01.py
6da00c29703efa548ac6a2be21c61c719654892c
[]
no_license
permCoding/elective-course-21
e10c8564f971ff844f1fd68071fb6e3ad5f60b07
5d74c4382460681d16db8f2fbc9d723b6b52a04a
refs/heads/main
2023-06-11T18:14:22.739953
2021-06-30T15:31:11
2021-06-30T15:31:11
306,400,258
0
1
null
null
null
null
UTF-8
Python
false
false
312
py
f = open('27-A.txt') n = int(f.readline()) result = 0; dif = 10001 for _ in range(n): line = f.readline() a, b = map(int, line.split()) result += max(a, b) if abs(a - b) < dif and abs(a - b) % 3 != 0: dif = abs(a - b) if result % 3 != 0: print(result) else: print(result - dif)
[ "ttxiom@gmail.com" ]
ttxiom@gmail.com
cc533b3b3b87fa76c6275ce46b4d87cc150d898e
1a9ec1308a2ade079e95782906e5f8af4ecb403e
/MyPyQt/__init__.py
d1ef9fc38072b73d2ca04214cc2813cb630e5d53
[]
no_license
HeywoodKing/mytest
f0174f40bb60a7557ac361f566be36ac1b642366
ac19822dd28e3db60c56b57ba3dd50cb52736c6b
refs/heads/master
2022-12-12T15:47:28.141969
2020-07-24T00:46:01
2020-07-24T00:46:01
228,036,752
0
0
null
2022-12-08T06:18:26
2019-12-14T14:30:54
Python
UTF-8
Python
false
false
251
py
# -*- encoding: utf-8 -*- """ @File : __init__.py.py @Time : 2019/11/20 16:37 @Author : Flack @Email : opencoding@hotmail.com @ide : PyCharm @project : MyTest @description : 描述 """
[ "opencoding@hotmail.com" ]
opencoding@hotmail.com
34348a609464849b9b594578d9b53e78d452ae0d
6e7d027fdf55546e44ecd8f45facd56d44c69e4c
/malaya/_models/__init__.py
0e1f44626d3fb20fb43c8dedf90656ec4bd573df
[ "MIT" ]
permissive
fossabot/Malaya
4d3ca259f2558eab1f443f6c248eeae26867f13b
c645b0eb8b826224c0fa8f8d339631ce465a80f4
refs/heads/master
2020-04-16T07:18:33.977078
2019-01-12T11:42:26
2019-01-12T11:42:26
165,381,330
0
0
MIT
2019-01-12T11:42:21
2019-01-12T11:42:20
null
UTF-8
Python
false
false
256
py
# Malaya Natural Language Toolkit: models # # Copyright (C) 2018 Malaya Project # Author: huseinzol05 <husein.zol05@gmail.com> # URL: <https://malaya.readthedocs.io/> # For license information, see https://github.com/huseinzol05/Malaya/blob/master/LICENSE
[ "husein.zol05@gmail.com" ]
husein.zol05@gmail.com
d714c03e48e58d0917ac340fa84ec34552716da4
608c401fa6f2b9725862225aa3d1016840b9aab2
/setup.py
eece9868a38ac01a2c89b042d1b4b85ba868e0d3
[ "BSD-3-Clause" ]
permissive
shubham0901/Flask-Excel
a9f4a32b51a3e8d1a052704c25a6fc7f242732fb
b00568773e945b3888f7004e0de5fb6017f24163
refs/heads/master
2021-07-16T03:26:31.788157
2017-10-23T20:52:33
2017-10-23T20:52:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,431
py
# Template by setupmobans import os import sys import codecs from shutil import rmtree from setuptools import setup, find_packages, Command NAME = 'Flask-Excel' AUTHOR = 'C.W.' VERSION = '0.0.7' EMAIL = 'wangc_2011@hotmail.com' LICENSE = 'New BSD' DESCRIPTION = ( 'A flask extension that provides one application pr...
[ "wangc_2011@hotmail.com" ]
wangc_2011@hotmail.com
9e92faaf672e1e45150f211197b5c992dec0fdbd
7d44745a63b5f470e718be3b02b08a2e4c90ff45
/190ReverseBits.py
69fee5e370f0b6ec2ed7bd9e41d6e15e4e40e3a3
[]
no_license
SixingYan/algorithm
20895471baca1b77d3dbe4a3310cc3789dc10c78
25b20d03b5613b731ac07baad1073daa3955113b
refs/heads/master
2020-03-25T01:00:42.908903
2019-12-14T02:04:51
2019-12-14T02:04:51
143,217,676
0
0
null
null
null
null
UTF-8
Python
false
false
924
py
""" Reverse bits of a given 32 bits unsigned integer. Example: Input: 43261596 Output: 964176192 Explanation: 43261596 represented in binary as 00000010100101000001111010011100, return 964176192 represented in binary as 00111001011110000010100101000000. Follow up: If this function is called many times, ...
[ "plutoyem@outlook.com" ]
plutoyem@outlook.com
5dec588720ac90fedb3fd49f50ea9e606a365f77
924763dfaa833a898a120c411a5ed3b2d9b2f8c7
/compiled/python/switch_manual_str.py
89908ddba654e7925e1cf0a857f1d4844ed8b8ff
[ "MIT" ]
permissive
kaitai-io/ci_targets
31257dfdf77044d32a659ab7b8ec7da083f12d25
2f06d144c5789ae909225583df32e2ceb41483a3
refs/heads/master
2023-08-25T02:27:30.233334
2023-08-04T18:54:45
2023-08-04T18:54:45
87,530,818
4
6
MIT
2023-07-28T22:12:01
2017-04-07T09:44:44
C++
UTF-8
Python
false
false
2,097
py
# This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild # type: ignore import kaitaistruct from kaitaistruct import KaitaiStruct, KaitaiStream, BytesIO if getattr(kaitaistruct, 'API_VERSION', (0, 9)) < (0, 9): raise Exception("Incompatible Kaitai Struct Python API: 0.9 ...
[ "kaitai-bot@kaitai.io" ]
kaitai-bot@kaitai.io
551b347197ccc44a2249b4c77c27d24fd8065510
da7237606910a1a690ea365731ba2f35a9876d24
/incantation/__init__.py
04d26b1c08d467d6029255054ea32261e0221ede
[ "MIT" ]
permissive
dayuser/Incantation
5f37e43d48c6ef44f7550a770db568b40f8ff0ef
ca291758e844f194603d0f89bba1c94b54e80717
refs/heads/master
2021-09-08T12:50:48.545812
2017-11-06T05:17:14
2017-11-06T05:17:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
from .fp import foreach, groupby, andThen, compose, flow_map, flatten, fastmap __version__ = 0.1 __author__ = "thautwarm" __license__ = "MIT"
[ "twshere@outlook.com" ]
twshere@outlook.com
43e425347344902efbd4b938e6863cb6c1422f0f
8fcc27160f8700be46296568260fa0017a0b3004
/client/eve/client/script/ui/shared/systemMenu/betaOptions.py
816d0ba7a771f4cdd6c78ccfbc0df1804639f975
[]
no_license
connoryang/dec-eve-serenity
5d867f4eedfa896a4ef60f92556356cafd632c96
b670aec7c8b4514fc47cd52e186d7ccf3aabb69e
refs/heads/master
2021-01-22T06:33:16.303760
2016-03-16T15:15:32
2016-03-16T15:15:32
56,389,750
1
0
null
2016-04-16T15:05:24
2016-04-16T15:05:24
null
UTF-8
Python
false
false
3,766
py
#Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\eve\client\script\ui\shared\systemMenu\betaOptions.py from carbonui.util.bunch import Bunch import evecamera import localization import service BETA_MAP_SETTING_KEY = 'experimental_map_default' BETA_SCANNERS_SETTING_KEY = 'experim...
[ "masaho.shiro@gmail.com" ]
masaho.shiro@gmail.com
99f45e3c1806724392c2878d3d24ab4d40f7f856
111251c4b13409bd2006c3af9f0534329d81ca07
/docs/cookbook/advanced-messaging/sending_data_b.py
c6613d026a55a23914c72990cd33efff08bda44f
[ "MIT" ]
permissive
tjguk/networkzero
6a7c026d2a6dd15b76d2424080a703306b19d02a
d22faf619d2fbd349d9b091fc832f8be4896eec6
refs/heads/master
2023-06-21T23:03:25.362408
2023-06-15T19:52:16
2023-06-15T19:52:16
54,775,787
48
16
null
2017-10-30T20:54:13
2016-03-26T11:19:32
Python
UTF-8
Python
false
false
325
py
import os, sys import networkzero as nw0 try: input = raw_input except NameError: pass gallery = nw0.discover("gallery") filepath = input("Filename: ") filename = os.path.basename(filepath) with open(filepath, "rb") as f: data = f.read() nw0.send_message_to(gallery, (filename, nw0.bytes_to_string(dat...
[ "mail@timgolden.me.uk" ]
mail@timgolden.me.uk
045eff2d45e750f9366e3bd83d158b30f8ae51ff
54891a2c2ddd56de28c495309a52e98b36290cf0
/crawl/media_spider/CloudMusic/scrapy_version/scrapy_version/mongoconn.py
9c180fe1969847872db304417a12c7a5469642fd
[]
no_license
meijida258/mediaSpider
61287f5ca58650c6a9578afdbab764fe063c5b39
9a9ef40d1f3dbd46dff25fad4a8b87ee85e5e1fd
refs/heads/master
2021-01-23T08:10:14.211074
2018-06-20T02:19:12
2018-06-20T02:19:12
86,479,178
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
from pymongo import MongoClient # crwal_type 0--未开始 1--已开始 2--完成 class Mongo: def __init__(self): self.client = MongoClient('localhost', 27017) self.db = self.client.CloudMusic self.artist_collection = self.db.Artist self.music_collection = self.db.Music if __name__ == '__main__':...
[ "meijida123@163.com" ]
meijida123@163.com
cb2f16da2f349ccd44247c185f5df05845bb6796
74cec3aefc021447b79bd681901d085f207b1e13
/factory-ai-vision/EdgeSolution/modules/WebModule/backend_v2/vision_on_edge/notifications/models.py
b4306854f92afef24ca0f970f818a24b718f6f8f
[ "MIT" ]
permissive
timlawless/azure-intelligent-edge-patterns
83900c7d9cfa0ddd07131fb503e6837fb81f6cf4
d72c3c1c2d56a762b74a72cd3befd076dc77b8ac
refs/heads/master
2022-12-17T06:16:54.677327
2020-09-29T23:52:10
2020-09-29T23:52:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,064
py
# -*- coding: utf-8 -*- """App models. """ import logging from django.db import models logger = logging.getLogger(__name__) NOTIFICATION_TYPES = ['project', 'part_detection'] NOTIFICATION_TYPE_CHOICES = [(i, i) for i in NOTIFICATION_TYPES] class Notification(models.Model): """Notification Model. """ ...
[ "peteeelol@gmail.com" ]
peteeelol@gmail.com
02279f7da3b6454b6f645ffd0fbf7699bf7bc339
68f8217845056df195a2d78356ddd5a2f9a9e44e
/Python/statistics_with_Python/03_Python_Enviroment/Script_Files/02_gettingDataIntoPython.py
774fa8172d8d5dab5d9601f06bb05b809ebc1dce
[ "MIT" ]
permissive
snehilk1312/AppliedStatistics
dbc4a4f2565cf0877776eee88b640abb08d2feb5
0e2b9ca45b004f38f796fa6506270382ca3c95a0
refs/heads/master
2023-01-07T15:11:18.405082
2020-11-07T21:06:37
2020-11-07T21:06:37
289,775,345
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
#!/usr/bin/env python # coding: utf-8 import pandas as pd theDoors_names = ['james','rey','robby','john'] theDoors_age = [47,50,55,49] theDoors = pd.DataFrame({"Name":theDoors_names, "Age":theDoors_age}) # Adding a column theDoors['childAge'] = [12,12,4,6] # displaying the names of columns print(theDoors.colu...
[ "noreply@github.com" ]
snehilk1312.noreply@github.com
4dd0de71feca1f0707b097bd991f21e69cde6ad6
0527bca465a4835e3d6a1caa13c3ba91014f82c7
/app/inscrever/__init__.py
7a4f3b566c10672deaafdf38918646682f2dec94
[]
no_license
clodonil/mygroup
609f99061331a8b144da546fb6044b7ebca08a88
38c17e3987b09f90071d627ccca364904f3d19e6
refs/heads/master
2021-01-01T04:26:41.013400
2016-10-06T22:54:39
2016-10-06T22:54:39
56,704,752
0
0
null
null
null
null
UTF-8
Python
false
false
2,652
py
from flask import render_template, flash, redirect, request,session, redirect, Blueprint, url_for from werkzeug import secure_filename from app import db,login_manager from flask.ext.login import login_user,logout_user,LoginManager, UserMixin, current_user, login_required from datetime import date from .forms impo...
[ "clodonil@nisled.org" ]
clodonil@nisled.org
5431e215a42c3991ae121ceec2949f38595d26ab
fbe0d8ceb2d753596d61f948939999499767abcd
/selectivechat_app/models.py
5c472fdc70798384177d6f676138532bc8dbdc89
[ "MIT" ]
permissive
calixo888/selectivechat
ac0929ecbdb99e7e76fdbf8e5e037de20d418e64
2acbabe2355590986ea838348013d6ae7ddc6210
refs/heads/master
2022-05-03T02:40:23.329969
2020-10-25T23:18:26
2020-10-25T23:18:26
238,330,840
0
0
MIT
2022-04-22T23:00:33
2020-02-04T23:49:05
JavaScript
UTF-8
Python
false
false
238
py
from django.db import models class ChatRoom(models.Model): chat_id = models.CharField(max_length=100, primary_key=True) chat_room_name = models.CharField(max_length=100) def __str__(self): return self.chat_room_name
[ "calix.huang1@gmail.com" ]
calix.huang1@gmail.com
9a5b61cf617e8e3c879ae1fbe02fe2be701e00cf
f13052b65bcce1b0504925b35ab2936cf4e1dafb
/test/IECoreScene/SharedSceneInterfacesTest.py
f01aa619c786fab6b60448eb77a0995fb43ffc06
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
hypothetical-inc/cortex
28f776b27e2781bbd8231c8525324dd490d22150
9ff166ce3ba1b6c25b0a307d9919f323b7a2d7df
refs/heads/master
2021-07-25T05:16:50.930659
2021-06-22T20:30:36
2021-06-22T20:30:36
111,314,367
2
1
NOASSERTION
2021-03-30T15:49:31
2017-11-19T16:55:57
C++
UTF-8
Python
false
false
3,142
py
########################################################################## # # Copyright (c) 2019, Image Engine Design Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistrib...
[ "thehaddonyoof@gmail.com" ]
thehaddonyoof@gmail.com
d64499cf1fc210856998589a8911d4e9ce907d7d
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/6020/980006020.py
b49da8b2e4c3700d4b75674cce4d62a44eac6108
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
260
py
from bots.botsconfig import * from records006020 import recorddefs syntax = { 'version': '00602', 'functionalgroup': 'IR', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BT1', MIN: 1, MAX: 10}, {ID: 'SE', MIN: 1, MAX: 1}, ]} ]
[ "doug.vanhorn@tagglogistics.com" ]
doug.vanhorn@tagglogistics.com
167f80f0d546d99bf926e261bb78f9de3276c64e
cdcef03cdb9a04e43663c1c0c5cf8a1a7a095d98
/tests/api/test_point_upload.py
5d9c02a6f7d11e42dc9f6b6ffefa957900fbf63e
[]
no_license
dankolbman/detour
efe29b696ce568ac203fd530acb4e9691e655ec1
69a08650bd832553506b4f4e76f4312865154116
refs/heads/master
2022-12-05T21:50:40.102979
2022-03-14T04:55:49
2022-03-14T04:55:49
160,595,486
0
0
null
2022-11-22T04:55:16
2018-12-06T00:21:17
JavaScript
UTF-8
Python
false
false
2,213
py
import pytest import datetime import random from detour.api.models import Point, Trip from detour.api.serializers import PointSerializer def header(): return ','.join(['time,lat,lon,elevation,accuracy,bearing,speed', 'satellites,provider,hdop,vdop,pdop,geoidheight', 'ageo...
[ "dankolbman@gmail.com" ]
dankolbman@gmail.com
95dbb3cd29a9a8851d0446d2fe79cddc76801a60
e7cc8552324b31737e1109a2b2abb5fdd5b603d1
/dashboards/urls.py
0a10e4e828b430c9eb4e5dd522995aa2a2b36a18
[]
no_license
sparkplug/NTDS_Dashboard
86cd70731e38dc11408b99326b9095e79a09dd62
5c672102a4b2c09a000ed0bb5487262d3733d3e1
refs/heads/master
2021-01-10T03:39:43.239983
2019-09-05T16:57:45
2019-09-05T16:57:45
43,228,621
1
0
null
2020-09-04T22:05:47
2015-09-27T00:41:29
JavaScript
UTF-8
Python
false
false
1,181
py
from django.conf.urls import patterns, include, url from django.contrib.auth.decorators import login_required from django.conf import settings import views urlpatterns = patterns('', url(r'^$', login_required(views.home), name='home'), url(r'^messages\.json$', login_requir...
[ "mossplix@gmail.com" ]
mossplix@gmail.com
4b7a47eb317074ddf9d2b55dd3605f00e218b25d
8654435d89790e32f8e4c336e91f23250da0acb0
/bullet3/examples/pybullet/examples/vrhand_vive_tracker.py
1ac612a3bf93a6205deb6b78507cb715f5a0684a
[ "Zlib" ]
permissive
takamtd/deepmimic
226ca68860e5ef206f50d77893dd19af7ac40e46
b0820fb96ee76b9219bce429fd9b63de103ba40a
refs/heads/main
2023-05-09T16:48:16.554243
2021-06-07T05:04:47
2021-06-07T05:04:47
373,762,616
1
0
null
null
null
null
UTF-8
Python
false
false
5,717
py
#script to control a simulated robot hand using a VR glove #see https://twitter.com/erwincoumans/status/821953216271106048 #and https://www.youtube.com/watch?v=I6s37aBXbV8 #vr glove was custom build using Spectra Symbolflex sensors (4.5") #inside a Under Armour Batting Glove, using DFRobot Bluno BLE/Beetle #with B...
[ "m.tym29101998@gmail.com" ]
m.tym29101998@gmail.com
999c1daba381fc576ba8f22cbc5b28b77713752c
aa6059b13468595a872897694572767d278318d1
/IQiYiKeyWord/IQiYiKeyWord/spiders/crawliqiyi.py
f1ef298079dcea7498ff1c9ecec8439c534adfd1
[]
no_license
18708111002/Tools
3845273724fc9bd2b1e31991339053448d08bfa2
c81f6df8ac7e57c0c544be78a706c919c3c57384
refs/heads/master
2022-11-09T10:47:33.608418
2018-06-08T09:14:11
2018-06-08T09:14:11
127,995,521
1
2
null
2022-11-02T07:22:24
2018-04-04T02:27:44
Python
UTF-8
Python
false
false
1,910
py
# -*- coding: utf-8 -*- import scrapy from ..items import * from ..SqliteOperator import * import time import sys import urllib conn = sqlite3.connect('iqiyiURL') table = 'iqiyiURL' fields = ('URL','Time') db_create_table(conn, table, fields, ('URL')) conn.text_factory=str kw = sys.argv[2] gQuery = None class YoukuSp...
[ "18708111002@163.com" ]
18708111002@163.com
fb5c627e787cd75a5eb0c1df9c03e0e92c765777
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_immured.py
66e46ea9e39202cb7cef7d9f6e1d4ab582e17002
[ "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
412
py
#calss header class _IMMURED(): def __init__(self,): self.name = "IMMURED" self.definitions = [u'kept as a prisoner or closed away and out of sight: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'adjectives' def run(self, obj1, obj2): self.jsondat...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
ba0150d5ac10953fe179aa961cafff4d2df6b571
05483471298c3f277b57524a78c1a81867b7afd7
/PythonCrashCourse/chapter-5/5-10.py
b6948137867b1ecc8ac1b75768c3825826c1e92c
[]
no_license
lanchunyuan/Python
c09fc19dbc26fe9925110da6237d48e06baa77ab
2cafc62255e27306a6085fb64e5b21d851e98d51
refs/heads/master
2020-04-18T09:51:28.521649
2019-02-06T14:19:02
2019-02-06T14:19:02
167,449,312
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
current_users = ['eric', 'willie', 'admin', 'erin', 'Ever'] new_users = ['sarah', 'Willie', 'PHIL', 'ever', 'Iona'] current_users_lower = [user.lower() for user in current_users] for new_user in new_users: if new_user.lower() in current_users_lower: print(f'{new_user} is used.') else: print(f'{n...
[ "lanchunyuan@gmail.com" ]
lanchunyuan@gmail.com
111dbdc2fb684feea674b8ad56bf4c7c07c3eff3
d94c5849e6308901f9af8a4edf8c8369d46576d1
/BOJ/1260_DFS와 BFS.py
fade7238dd6681884188b64a05b8eec74152d20a
[]
no_license
AhnDogeon/algorithm_study
b4c961b934b5e27afccdf2713a2ccb0174d9a698
b8de39fff92cc98281ba7e94df82bcc9b1503243
refs/heads/master
2022-06-05T11:33:27.392131
2022-05-23T06:37:50
2022-05-23T06:37:50
188,783,176
1
0
null
null
null
null
UTF-8
Python
false
false
663
py
import sys sys.stdin = open('1260_DFS와 BFS.txt', 'r') N, M, V = map(int, input().split()) # N 정점의 개수 # M 간선의 개수 # V 시작할 정점의 번호 arr = [[] for _ in range(M + 1)] for m in range(M): a, b = map(int, input().split()) arr[a].append(b) print(arr) def DFS(v): DFS_stack = [] def BFS(v): visit_BFS = [False]...
[ "qltiqlti@gmail.com" ]
qltiqlti@gmail.com
9cf597bbf0aa2b8667ab9e4b9f4073eea51e8cca
cc08e9349a14620409dee0bdcf1420976352cf0d
/04_algorithm/codeforce/0421/B.py
8a3d5797be309c03c1b0af565e6fb67d2fa93f52
[]
no_license
Nyapy/TIL
b3f611177d3c54d224c9983b5bedc62abddeeaae
c3c52ad33963628674de4c1dcf8aed53f67af177
refs/heads/master
2023-01-11T19:37:02.693660
2020-07-04T04:31:41
2020-07-04T04:31:41
195,938,004
2
2
null
2023-01-07T11:25:27
2019-07-09T05:22:47
Python
UTF-8
Python
false
false
436
py
import sys sys.stdin= open('B.txt') T = int(input()) for tc in range(1,1+T): n = int(input()) half = n//2 if half%2 : print('NO') else: print('YES') first = list(range(2,2*half+1,2)) second = list(range(1,2*(half-1)+1,2)) second.append(half*2+half-1) ...
[ "nyapy@naver.com" ]
nyapy@naver.com
13e1b35a253c32d5fef6c918ebf065b5dfca04ad
e4eb349c8d9bb144588f0c7fa1980b97a11abd31
/bin/download-theme
81de171ce451d4eee92a508f9bc9e1932d942c9c
[ "MIT" ]
permissive
asottile/babi
48bfaf8640e5557879e0b590511a248f7a696a1d
a1c397dd286da9df0a3d61e2cb5b1fbbec28468a
refs/heads/main
2023-08-31T03:46:43.649628
2023-08-29T15:13:45
2023-08-29T15:13:45
196,671,325
349
79
MIT
2023-09-05T13:06:33
2019-07-13T02:57:23
Python
UTF-8
Python
false
false
3,188
#!/usr/bin/env python3 from __future__ import annotations import argparse import io import json import os.path import plistlib import re import urllib.request from typing import Any import cson # pip install cson COMMENT_TOKEN = re.compile(br'(\\\\|\\"|"|//|\n)') COMMA_TOKEN = re.compile(br'(\\\\|\\"|"|\]|\})') TRA...
[ "asottile@umich.edu" ]
asottile@umich.edu
5730568fa28deecf7f26c5492f67837a45ace7ab
1b2a1f807b98034567e936b9b5c76c2fc89b908a
/adj_tf/models/camembert/modeling_camembert.py
381d963f0376c9e0eacd7bd09506a9f6694ee150
[]
no_license
Adreambottle/Transformer2GP
48c955d8eb155caef4c24a3c03ee3aa9ab0bd3da
5ba1a5005c2ad21066304cdeb1d7c2587c8191da
refs/heads/main
2023-07-07T14:17:51.673437
2021-08-17T14:14:56
2021-08-17T14:14:56
397,279,894
0
0
null
null
null
null
UTF-8
Python
false
false
5,674
py
# coding=utf-8 # Copyright 2019 Inria, Facebook AI Research and the HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. 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...
[ "adreambottle@outlook.com" ]
adreambottle@outlook.com
406afa0cbfbef80e638c6382ccb4cc14425141cf
c4b8e1e09dedbccd37ca008ecaaca4438610bbaf
/cpmpy/survo_puzzle.py
9f67d3280f6d27b8a7b27bd3df8bdca34f071d68
[ "MIT" ]
permissive
hakank/hakank
4806598b98cb36dd51b24b0ab688f52dadfe9626
c337aaf8187f15dcdc4d5b09cd2ed0dbdb2e72c2
refs/heads/master
2023-08-15T00:21:52.750270
2023-07-27T16:21:40
2023-07-27T16:21:40
11,933,517
336
97
MIT
2023-07-27T11:19:42
2013-08-06T20:12:10
JavaScript
UTF-8
Python
false
false
3,189
py
""" Survo puzzle in cpmpy. http://en.wikipedia.org/wiki/Survo_Puzzle ''' Survo puzzle is a kind of logic puzzle presented (in April 2006) and studied by Seppo Mustonen. The name of the puzzle is associated to Mustonen's Survo system which is a general environment for statistical computing and related areas. In a S...
[ "hakank@gmail.com" ]
hakank@gmail.com
ac6a4b1a5a6f0d51fe2bedd7679e0ee20c397b6d
22e9f383a50c66c48349ce7102fdc67f06ff7da4
/evenn.py
542d7db8f40073f83a9c86ec465d4288eaebdb3f
[]
no_license
jikka/pythong
2873c4a5ef99fd85fd04c122a90a108cb67b2755
d5357bf672e98b51378a7534223f86e59fa768fc
refs/heads/master
2020-04-24T07:37:32.670541
2018-08-15T01:17:23
2018-08-15T01:17:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
a=input("enter the values:") b=input("enter the values:") for i in range(a,b): if i >=1: for j in range(1,i): if (i % 2) == 0: print(i)
[ "noreply@github.com" ]
jikka.noreply@github.com
6dc7bfa25a4ac2f2dffed69ae36fa0805e2f4503
dcc62f725e8d1fdebc3be5192960584198d19813
/toutiao-backend-Pengbiaobiao/toutiao-biaobiao/common/cache/statistic.py
fdeb342c0976de8c0bebb12d13b0958b113a1389
[]
no_license
1923488289/youprojects
e51cbb7958963fb8a3a82405f5df18e9a066b1ee
ebd1856dab02e45db69d2d5307473f0f22855988
refs/heads/master
2022-12-11T12:40:55.832289
2019-09-24T15:31:34
2019-09-24T15:31:34
210,625,080
0
0
null
2022-12-08T01:49:05
2019-09-24T14:36:24
HTML
UTF-8
Python
false
false
2,625
py
from flask import current_app from redis.exceptions import RedisError from models import db from models.news import Article from sqlalchemy import func from models.user import Relation # count:user:arts -> zset # 成员值 分数score # user_id 文章数量 # ...
[ "1923488289@qq.com" ]
1923488289@qq.com
ea8b95769a98bed63e546cc4a7f2470cf8ba12ea
c6c450d750bcc559882c6f211f952b411505d6d8
/apps/work/migrations/0003_auto_20160517_0222.py
50c9cfa726dac1e8f14608d0e7b821b95989535e
[]
no_license
ESCL/pjtracker
e26ea09136f35f5c85ea8d68a63fd94fab2629da
4dcf0e6a37e8753ae9d69d663c0c280fcca0a26c
refs/heads/develop
2021-09-26T09:18:54.158051
2021-09-10T23:16:07
2021-09-10T23:16:07
52,280,177
1
0
null
2021-09-10T23:16:08
2016-02-22T14:45:55
Python
UTF-8
Python
false
false
711
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('work', '0002_create_defaults'), ] operations = [ migrations.AlterField( model_name='activity', name=...
[ "claudio.melendrez@gmail.com" ]
claudio.melendrez@gmail.com
1621705dab471fbbed1a1ef33e72fb2124522a6e
7e9e4b774e40fa52f411dd001a65dc97f44f04ff
/AtCoder_Beginner_Contest/011-020/014/c_AtColor.py
8d16f67cd314eed6f7db78551a45d8625c94e0be
[]
no_license
ryu022304/atcoder
be2882bba26e534b16639a49d54f2fbe4ca5cb1e
114fe41b1f87a5c1e5d73b331db8cb33e1603f02
refs/heads/master
2021-07-22T01:35:50.773329
2020-05-10T15:04:58
2020-05-10T15:04:58
163,593,560
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
n = int(input()) ab_list = [list(map(int,input().split())) for _ in range(n)] res = [0]*(10**6+2) for a,b in ab_list: res[a] += 1 res[b+1] -= 1 for i in range(1,1000002): res[i] += res[i-1] print(max(res))
[ "ryu022304@gmail.com" ]
ryu022304@gmail.com
aec4273b3fcdbac02d1d48ced39b84eaffd5e769
8cac67c84228a8fa2dbae3536a28ff0255d64de1
/0x0F-python-object_relational_mapping/2-my_filter_states.py
4be8448d23e83265ffbfc1b8e4cff7cb5de7014c
[]
no_license
dgquintero/holbertonschool-higher_level_programming
8ee78ee61890eb532dc3f7b0a73db903f4627c88
3d0f431d76a8436461cb5602b97bbdf4f5774f56
refs/heads/master
2020-09-29T00:32:20.623148
2020-05-14T18:59:38
2020-05-14T18:59:38
226,902,482
0
0
null
null
null
null
UTF-8
Python
false
false
618
py
#!/usr/bin/python3 """ Write a script that takes in an argument and displays all values in the states table of hbtn_0e_0_usa where name matches the argument.""" import MySQLdb from sys import argv if __name__ == "__main__": db = MySQLdb.connect( host="localhost", port=3306, user=argv[1], ...
[ "dgquintero02@hotmail.com" ]
dgquintero02@hotmail.com
84465768a4f5772c7ff6c6b439ae5c53f5b1d684
836d5f7190f6b4503e758c87c71598f18fdfce14
/0-Uygulamalar/thinker_ile_uygulamalar/krononometre.py
858beea94841b7c5f441d3eceb7f04218c6e621d
[]
no_license
S-Oktay-Bicici/PYTHON-PROGRAMMING
cf452723fd3e7e8ec2aadc7980208d747c502e9a
22e864f89544249d6309d6f4570a4104bf47346b
refs/heads/main
2021-11-30T00:19:21.158084
2021-11-16T15:44:29
2021-11-16T15:44:29
316,716,147
1
0
null
null
null
null
UTF-8
Python
false
false
1,483
py
from tkinter import * def islem(): if (durum): global sure sure[2]+=1 if (sure[2]>=100): sure[2]=0 sure[1]+=1 if (sure[1]>=60): sure[0]+=1 sure[1]=0 sureFormati = metin.format(sure[0], sure[1], sure[2]) sureE...
[ "noreply@github.com" ]
S-Oktay-Bicici.noreply@github.com
4d9428e660aa5c5f51f1eaea0a82819ac3639b71
41029032bb278ce479633bddebf13d730230a642
/even_odd_list.py
928915a90e34eedf2b1d82a0b21d0f7617c82544
[]
no_license
Ponkiruthika112/codeset3
bfb75820a7bd5dbeb28270e73c9fda28c4a4b9e3
4434f311eca21dfcb5a3479230161c8a8e3cec3f
refs/heads/master
2020-04-15T16:26:37.527141
2019-09-06T10:03:25
2019-09-06T10:03:25
164,836,448
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
n=int(input()) l=list(map(int,input().split())) s="" while len(l)!=0: k=(len(l)//2)-1 if len(l)%2!=0: print(l[k+1]) l.pop(k+1) else: p=l[k]+l[k+1] print(p//2) l.pop(k) l.pop(k) #even odd
[ "noreply@github.com" ]
Ponkiruthika112.noreply@github.com
72a24de8c0cdd5d23f0d57bca64101ee00167330
2e7d109ce9c16ee052f6b016b2014038e7a62d37
/tests/test_opt_class.py
202ff1c173235acf6ef319e8bbc49bc16d75070d
[ "MIT" ]
permissive
deephealthproject/pyeddl
a101ae963d8ddc754899daf617c556528a05a27c
76c65977b5eec22883e208bcce3b7a32fcf8661e
refs/heads/master
2022-06-24T14:52:28.422146
2022-06-14T15:36:50
2022-06-14T15:36:50
192,718,714
10
4
MIT
2022-06-10T09:49:11
2019-06-19T11:25:49
C++
UTF-8
Python
false
false
1,830
py
# Copyright (c) 2019-2022 CRS4 # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribut...
[ "simleo@crs4.it" ]
simleo@crs4.it
e738e70b6732d1b323bd0187e07dc03e2cb6fcf4
80a99351f6b9d2b7ed5cbe44cc4e45a2b1b84e08
/lists/migrations/0002_item_text.py
8264f76bdd64fd84118760881d19c74ef767c8ab
[]
no_license
Omulosi/python-tdd-book
a15b5b0c59165a3bb54199a55f2e033571cb2d25
bdf1bca853db46b410ee2daa8d4d59a15131514c
refs/heads/master
2020-05-23T01:18:51.562016
2019-05-20T13:55:57
2019-05-20T13:55:57
174,891,419
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.20 on 2019-04-27 19:54 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('lists', '0001_initial'), ] operations = [ migrations.AddField( ...
[ "mulongojohnpaul@gmail.com" ]
mulongojohnpaul@gmail.com
c53f42f81a493069632a71c586375f90f0b8f08e
1577e1cf4e89584a125cffb855ca50a9654c6d55
/pyobjc/pyobjc/pyobjc-framework-Cocoa-2.5.1/PyObjCTest/test_nsruleeditor.py
4a6ef3bd069f6084afa2a206189ecd5c91ad8716
[ "MIT" ]
permissive
apple-open-source/macos
a4188b5c2ef113d90281d03cd1b14e5ee52ebffb
2d2b15f13487673de33297e49f00ef94af743a9a
refs/heads/master
2023-08-01T11:03:26.870408
2023-03-27T00:00:00
2023-03-27T00:00:00
180,595,052
124
24
null
2022-12-27T14:54:09
2019-04-10T14:06:23
null
UTF-8
Python
false
false
2,890
py
from PyObjCTools.TestSupport import * from AppKit import * try: unicode except NameError: unicode = str class TestNSRuleEditorHelper (NSObject): def ruleEditor_numberOfChildrenForCriterion_withRowType_(self, ed, cr, rt): return 1 def ruleEditor_child_forCriterion_withRowType_(self, ed, ch, cr, rt): r...
[ "opensource@apple.com" ]
opensource@apple.com
a78cde2005dbea78ccd16ce4bed52b21f171c306
eef4d2330edb808acdb82b92621f927db4911dda
/Stepik/Bioinformatics Institute/Python основы и применение/3/3.3/3.3.9.py
93e270ad55001d45331bf2e3085588dbc8ec0d3b
[]
no_license
OkS369/Education
648308c755dab6e8510c507211005f34cbed495d
c44f6b0223b567753089627056429d1f4dab7368
refs/heads/master
2023-05-24T06:31:10.869633
2021-06-15T13:52:23
2021-06-15T13:52:23
225,942,342
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
import sys import re for line in sys.stdin: line = line.strip() print(re.sub(r'(\w)(\w+)', r"\2\1", line)) if line == '': break '''Вам дана последовательность строк. В каждой строке замените все вхождения нескольких одинаковых букв на одну букву. Буквой считается символ из группы \w. Sample Inpu...
[ "romanincognito17@gmail.com" ]
romanincognito17@gmail.com
59275a3ba60f4b222b1ca4e1240a41b33ceb3b93
e017835978254cca72566d5679d3293834f595f6
/deps/wget.py
24d90cb97f8fed291a5e3c56f880930073661187
[]
no_license
Epictetus/renegade-database-changeover
6f651acfa2b3848648d9fd7eb0eb4d688185024f
4bce2c22fe80dd83b3d6695fbd3db6dfb6e97724
refs/heads/master
2021-01-18T08:56:25.008957
2012-08-22T02:20:06
2012-08-22T02:20:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,196
py
# encoding: utf-8 __author__ = 'Jay Taylor [@jtaylor]' """ This library makes it easy execute HTTP GET requests. @date 2010-11-01 Copyright Jay Taylor 2010 """ import urllib2 # For G-Zip decompression. import gzip, StringIO USER_AGENT = 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/...
[ "outtatime@gmail.com" ]
outtatime@gmail.com
83dc4de31135a7ef6d67da9537ae7d6eb1f71254
418ddc18b6eb0b6666c7bf0d11abb30ac43e9e8b
/realtors/migrations/0003_auto_20190908_1213.py
1c14466ee7c56469f21da08fd4550a4d8cfed242
[]
no_license
DuncanMoyo/Real-Estate
062429e513a6560c08e006b16c9a3812f06bc077
fe87fa0e8c2f7494e3ce39aaa28fedde107c1abf
refs/heads/master
2022-12-08T20:29:11.217372
2019-09-22T21:41:57
2019-09-22T21:41:57
210,134,331
0
0
null
2022-11-22T04:15:43
2019-09-22T11:16:25
HTML
UTF-8
Python
false
false
466
py
# Generated by Django 2.1.2 on 2019-09-08 10:13 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('realtors', '0002_auto_20190908_1209'), ] operations = [ migrations.AlterField( model_name='realtor', ...
[ "duncanfmoyo@gmail.com" ]
duncanfmoyo@gmail.com
5912c4b16750338fa505c4b05510a0700101367b
ba85154ab3ce79ed40cf888897481a782dd7394a
/build/scripts-3.7/startproject.py
1c2f77e32e620dacd00397ce78b7c62f84f3f36d
[ "MIT" ]
permissive
lixiaopi1985/agrimet_scraper
6dfc2e893b8273e64e0e1afbe229be61b71238dd
eb566d2bbb6f1882656a1bc5319e9f35ad7dc5df
refs/heads/master
2020-04-24T06:17:07.249823
2019-07-04T05:39:20
2019-07-04T05:39:20
171,759,910
0
0
null
null
null
null
UTF-8
Python
false
false
6,947
py
#!python """This module is used to run at command line to initialize project myproject | | | |_ db | | |___ config | |_____ log |_______ station info """ import argparse import os import sys import sqlite3 from configparser import RawConfigParser import shutil from agrimetscraper.utils.configurations import basic_c...
[ "lixiaopi@oregonstate.edu" ]
lixiaopi@oregonstate.edu
8af88d7075493ac639810d61cedc9d83586af1c9
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/qTmbTWqHNTtDMKD4G_19.py
d515e36808bfd507203c641271e9b35c539c62d1
[]
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
788
py
dirs = [(1, 0), (-1, 0), (0, 1), (0, -1), (1, 1), (1, -1), (-1, 1), (-1, -1)] ​ def on_grid(width, height, r, c): return r >= 0 and c >= 0 and r < height and c < width def get_path_length(world, width, height): world = [[world.split(',')[r*width + c] for c in range(width)] for r in range(height)] que = []...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
f3b799e0beadd0253b186d7d832920a70a0028fc
4f7aa44d21ae38093869e79e10f5cdc8842d48b7
/09-mvc-library/dao/book_repository.py
c5bfffae08ec28c443b623c1dc63943d05b1e1a4
[ "Apache-2.0" ]
permissive
iproduct/intro-python
31e802c2c21a4df3361656f12d267ec52c2d6564
7e08e144da2907fcf45dc734ab4e896631625d75
refs/heads/master
2023-02-19T11:42:37.522624
2023-02-13T15:54:03
2023-02-13T15:54:03
128,980,155
5
1
null
null
null
null
UTF-8
Python
false
false
797
py
from dao.json_repository import JsonRepository from dao.repository import Repository from entity.book import Book class BookRepository(JsonRepository): def find_by_title(self, title_part: str) -> list[Book]: title_part_lower = title_part.lower() books_list = self.find_all() results = [book...
[ "office@iproduct.org" ]
office@iproduct.org
07b734aa95c1bdac06beaef9c09578bab3d009d6
912ab6812a162f2cba902a76d7c56e40c90a905e
/sample_code_submission_submit/model.py
c45559e441e90dc7d6b6e1d3e2e53e1804fbb37a
[]
no_license
akun666/kddcup2019-archaive
d63e823871421b68602d9573dd7bd859683d5e4d
1dae1271f86decb5779aad5f7a6ef36e618bc15e
refs/heads/master
2022-03-16T22:02:35.788064
2019-10-19T14:05:21
2019-10-19T14:05:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,817
py
import os # os.system("apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC") # os.system("apt-get --assume-yes update") # os.system("apt-get --assume-yes install apt-utils libssl-dev libffi-dev \ # libxml2-dev libxslt1-dev libdpkg-perl gcc") # os.system("apt-get --assume-yes autoremove") os...
[ "xijun.lee@hotmail.com" ]
xijun.lee@hotmail.com
90c43030504d8ac82b1cd27eff7c7deaa7acd9c3
1016a46b748aaec1258b037d8178dde01e203f8d
/armyguys/aws/s3/bucket.py
403dce1cd4d32c2a8c869a1100d3fc5f41c6ea6b
[ "MIT" ]
permissive
jtpaasch/armyguys
da66a234f2f77f381e070e8c6df686f11448ebb5
4f138420ba42d6d9864176a87c709af014034429
refs/heads/master
2021-01-10T09:28:40.321148
2016-11-23T13:41:48
2016-11-23T13:41:48
45,466,090
0
0
null
null
null
null
UTF-8
Python
false
false
1,756
py
# -*- coding: utf-8 -*- """Utilities for working with S3.""" from os import path from .. import client as boto3client def get_eb_bucket(profile): """Get the S3 bucket Elastic Beanstalk uses for storage. Note: Elastic Beanstalk handles the creation and management of this bucket. You only nee...
[ "jt.paasch@gmail.com" ]
jt.paasch@gmail.com
5578da6ff15aebf1f7d37e0e4ac2bc4522eec7d0
f9e1d9c71d232aa0bcf03627259e6c9f88538b18
/gs39CustomAndBuilt-inValidations/gs39/wsgi.py
16b1abdcc0e2509bf4e62b66a2f650ff14697c38
[]
no_license
nayan-gujju/Django-Practice
a7db202b6a3627a6a4e9f96953b61e43eaf68cb1
eafa29e9321a1683867b2ea1d26ca74dfa6db12d
refs/heads/master
2023-07-27T11:41:43.956705
2021-09-09T08:47:44
2021-09-09T08:47:44
403,917,725
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
""" WSGI config for gs39 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/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS...
[ "nayangujarati007@gmail.com" ]
nayangujarati007@gmail.com
adf6b0ed02763ca755fd1795420a0f82a0664e11
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02792/s603874000.py
a427f9b57cad45eda7c568d5a911653e5757477c
[]
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
332
py
n = int(input()) lis = [[0 for i in range(10)] for j in range(10)] for i in range(1, n+1): s = str(i) l = int(s[0]) r = int(s[-1]) lis[l][r] += 1 ans = 0 for i in range(10): for j in range(10): if i == j: ans += lis[i][j] ** 2 else: ans += lis[i][j] * lis[j][i...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8897c20bc5d27e8c4b284ae0ea2ede257dc3b578
98a936d5372294ed892a9bf9cf98646c72af515c
/pipeline/pip.py
05c16b2ce29fbefc3a7c5dc5dd4f4303104833c9
[ "MIT" ]
permissive
edublancas/pipeline
f6d22ad07b134be98c139d1de6ca7d8321072ba8
5bef04d77fdadc1dc4ec22b9b346f0a062cca1ce
refs/heads/master
2021-05-15T01:09:50.072378
2016-12-29T05:45:48
2016-12-29T05:45:48
59,692,708
0
0
null
null
null
null
UTF-8
Python
false
false
7,548
py
import logging import collections from datetime import datetime from .lab import Experiment, SKExperiment from .util import hash_sha1_numpy_array, class_name from .sklearn.util import model_name log = logging.getLogger(__name__) MAX_WORKERS = 20 class Pipeline(object): _ExperimentClass = Experiment def __i...
[ "edu.blancas@gmail.com" ]
edu.blancas@gmail.com
512d6592e5440d7fa8c52dcf2f3776a8baec6611
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2770/60643/301312.py
daea1f35de9680d2ed0160e4ba449b6190e489d5
[]
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,097
py
def solution(sta,fin,gap): zips=[] dt=dict(zip(sta,gap)) dt=sorted(dt.items(),key=lambda x:x[1])#用完sorted之后就变成了list for item in dt: begin=item[0] p=sta.index(begin) end=fin[p] if not zips:#为空时 zips.append([begin,end]) elif begin>zips[-1][1] or end<zips...
[ "1069583789@qq.com" ]
1069583789@qq.com
c013fa06a0adfaf8e2076606011d88cc5eaeb7fc
cbda89443b351bb2047180dad4e300c13dc3df7f
/Crystals/Morpurgo_all_sp_Reorgs_qsplit_Molscreen_largepiatoms_sq/Jobs/Pc/Pc_cation_neut_inner5_outer0/Pc_cation_neut_inner5_outer0.py
59e9cf5cd2d4d6638ebe80b4df82c72a2e7e4f08
[]
no_license
sheridanfew/pythonpolarisation
080f52979f98d26360a46412a10c8e3f51ee4549
178e2684e9a239a8e60af5f7b1eb414ac5f31e92
refs/heads/master
2021-07-10T01:07:40.978790
2021-03-11T16:56:37
2021-03-11T16:56:37
96,101,351
0
0
null
2017-07-03T13:37:06
2017-07-03T10:54:52
null
UTF-8
Python
false
false
7,439
py
import sys sys.path.append('../../../../../') from BasicElements import * from BasicElements.Register import GetRegister from BasicElements.MoleculeFactory import ReadMoleculeType from BasicElements.MoleculeFactory import GetMolecule from BasicElements.Crystal import * from Polarizability.GetDipoles import get_dipoles,...
[ "sheridan.few@gmail.com" ]
sheridan.few@gmail.com
53fe221d7da050850123800d6d3e799a386e47de
83830aff551b9f9c13a24d602c26cdc6559f2bd2
/gozerbot/threads/threadloop.py
5c70793541f454269bc31ecfe986bb8a3d9e8253
[]
no_license
polichism/my-gozerbot
8182a826aec731e49d44c595fd1dc7837e811db5
ea86f2b7713457fc7a73f1227b969b230debda48
refs/heads/master
2021-01-17T18:03:23.135742
2014-04-04T11:44:28
2014-04-04T11:44:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,120
py
# gozerbot/threadloop.py # # """ class to implement start/stoppable threads """ __copyright__ = 'this file is in the public domain' from gozerbot.generic import rlog from thr import start_new_thread import Queue, time class ThreadLoop(object): def __init__(self, name="", queue=None): self.name = name o...
[ "blaxter@gmail.com" ]
blaxter@gmail.com
7a0e169d14acc084a0272c7e200d92c997408720
7a3f3ef1fbb22436d212832a1c33c885c693e770
/ptgnn/tests/simplemodel/data.py
6dedaab2237569d20045cec5cfd3505f5056a544
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
microsoft/ptgnn
e04507bebcb9a9e153dde626de9d98f0f70a7445
9a44061ff139b06f295d865369ee6bf032a23297
refs/heads/master
2023-09-03T20:19:14.845420
2022-01-31T13:46:15
2022-02-01T17:31:29
263,281,224
378
44
MIT
2022-01-31T13:47:44
2020-05-12T08:42:30
Python
UTF-8
Python
false
false
808
py
import numpy as np from typing import Iterator, List, NamedTuple class SampleDatapoint(NamedTuple): input_features: List[float] target_class: bool class SyntheticData: def __init__(self, num_features: int, random_seed: int = None): np.random.seed(random_seed) self.__num_features = num_fe...
[ "miallama@microsoft.com" ]
miallama@microsoft.com
3035991fc8f349d5cc3cfedcc7d3265ed42ab2b6
b3d6e70c7cd62274b18b0a6efc6c983cab773a58
/fin_model_course/build_tools/gen_lecture_pages.py
4d839aba55359ee6e134f394db940f2e37ad9fce
[ "MIT" ]
permissive
azafrob/fin-model-course
4396023f7adda974b2ae1e2b7efbae4d20a8d4e6
e6c5ae313bba601c4aca0f334818b61cc0393118
refs/heads/master
2023-06-03T00:47:29.909591
2021-06-15T15:06:58
2021-06-15T15:06:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,223
py
import os import pathlib from typing import List, Dict from jinja2 import Template from build_tools.config import DOCSRC_SOURCE_PATH from courses.config import COURSES OUT_FOLDER = DOCSRC_SOURCE_PATH / "lectures" INDEX_TEMPLATE_PATH = DOCSRC_SOURCE_PATH / "index.j2.rst" INDEX_PATH = DOCSRC_SOURCE_PATH / "index.rst" ...
[ "whoopnip@gmail.com" ]
whoopnip@gmail.com
6718df9e98949201b1d4a802d9c7510d10a18fbe
dacc19d8fc237ed2591fc24dec8a60a0d0e74dfa
/modules/processing/parsers/mwcp/parsers/QakBot.py
a468ec79a591097a296e759f86816d7d18fd0d31
[]
no_license
whsz6/CAPE
f194fc705d27e262c5826350ada854433102e027
dae9fa6a254ecdbabeb7eb0d2389fa63722c1e82
refs/heads/master
2023-04-25T22:49:28.397344
2021-05-11T12:29:04
2021-05-11T12:29:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,866
py
import datetime from mwcp.parser import Parser qakbot_map = { "10": "Botnet name", "11": "Number of C2 servers", "47": "Bot ID" } id_map = { "22": "#1", "23": "#2", "24": "#3", "25": "#4", "26": "#5", } class QakBot(Parser): def __init__(self, reporter=None): Parser.__ini...
[ "kevoreilly@gmail.com" ]
kevoreilly@gmail.com
693f29bfd2895635e80dd5a05604cdef68a52f53
29fec88df4fc94bedadf59b7d239de4dcb8bba82
/backend/users/views.py
1310859aaa8be057f748ff6fb0d4b49e3b038868
[]
no_license
crowdbotics-apps/tst-daniel-8-7-dev-7243
89481af71fd37ac997a2f78f35a7ee2903b93215
5dbff5aefcadcf82ec6a10187c3dc80469248eeb
refs/heads/master
2022-11-07T00:02:13.341070
2020-07-08T14:43:28
2020-07-08T14:43:28
278,074,436
0
0
null
null
null
null
UTF-8
Python
false
false
1,120
py
from .models import GHjhg, HGFJHf, JHGHFjg, User from django.contrib.auth import get_user_model from django.contrib.auth.mixins import LoginRequiredMixin from django.urls import reverse from django.views.generic import ( CreateView, DetailView, RedirectView, UpdateView, ListView, ) User = get_user_...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
535942f8f8191b3f62f39c1b88718557f63820f4
c0beff8128ae40231452bc1df172e112e99f36e9
/sms/admin.py
1b6814a5f6bccce99ebf383bb76c585b0740cd42
[]
no_license
EdwardOkech/PromoterHelper
f0e3d3927b943448ab103c5c007610a3ed2fd9f2
e7e2e6f9e5adc6d6ca6a837591e6c55944c8b6c4
refs/heads/master
2016-08-13T00:07:47.272967
2016-01-03T06:54:10
2016-01-03T06:54:10
47,549,255
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
from django.contrib import admin from sms.models import (Coordinator, Group, Member) admin.site.register(Coordinator) admin.site.register(Group) admin.site.register(Member)
[ "okechjobs@gmail.com" ]
okechjobs@gmail.com
6310b2fb1598a69075385265b920b7a67490205e
36fbbd0244f452596cd4fc23c17df74666f1a461
/stocks/settings.py
fb3662778f69c324e571b68513d3933c6455c126
[]
no_license
fingerman/stocks-django
beac0f1bc337489348a464aebf7c2cbbd29890b7
ac38e0bbeb247552ce7b4936affe09193e0924da
refs/heads/main
2023-01-31T07:27:09.855373
2020-12-20T00:15:53
2020-12-20T00:15:53
314,089,645
0
0
null
null
null
null
UTF-8
Python
false
false
3,470
py
""" Django settings for stocks project. Generated by 'django-admin startproject' using Django 3.1.3. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from os.path i...
[ "adamov.george@gmail.com" ]
adamov.george@gmail.com
58b0725daa715fbcbf0074ef06e33fab2504e7e8
290d2bcf49c5f3418add77606b5f4b0a6a7a6d15
/third_party/mapreduce-src/python/test/mapreduce/mapreduce_pipeline_test.py
a579280bf44ebd7666db6fa9ef93259091603dde
[ "Apache-2.0" ]
permissive
PerceptumNL/KhanLatest
887a191bfd1562fcc6d1d4a2b740cf361c57b5ca
c6a3907d96d30f1cb43bf7bf2a392ff3e77a2568
refs/heads/master
2021-07-22T19:56:07.979749
2020-07-21T08:07:23
2020-07-21T08:07:23
4,924,139
3
2
null
2021-06-10T17:39:40
2012-07-06T12:12:02
JavaScript
UTF-8
Python
false
false
6,048
py
#!/usr/bin/env python # # Copyright 2011 Google Inc. All Rights Reserved. import re import unittest from mapreduce.lib import pipeline from mapreduce.lib import files from mapreduce.lib.files import file_service_pb from mapreduce.lib.files import records from google.appengine.ext import blobstore from google.appe...
[ "philipp@skillable.eu" ]
philipp@skillable.eu
1b1745b9b83e4e9ed4a1e09d65211bc606bb5052
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_211/ch83_2020_04_13_17_23_47_029427.py
2c23a7eb83b5f8afb442bfa4d68cec3a1a78addd
[]
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
222
py
def medias_por_inicial(notas): dic={} for k,v in notas.items(): dic[k[0]]=dic.get(k[0],[]) dic[k[0]].append(v) for incial,notas in dic.items(): return{inicial:sum(notas)/len(notas)}
[ "you@example.com" ]
you@example.com
0287bc43fc1366532e2eb1cf7c101cc555f29f3e
53dd5d2cfb79edc87f6c606bbfb7d0bedcf6da61
/.history/EMR/zhzd_2_20190603103503.py
56b69df7d35d9abdccaad1262d4aa47112143f80
[]
no_license
cyc19950621/python
4add54894dc81187211aa8d45e5115903b69a182
d184b83e73334a37d413306d3694e14a19580cb0
refs/heads/master
2020-04-11T20:39:34.641303
2019-07-02T12:54:49
2019-07-02T12:54:49
162,078,640
0
0
null
null
null
null
UTF-8
Python
false
false
1,136
py
import time import math import os import sys import os, os.path,shutil import codecs import EMRdef import re emrtxts = EMRdef.txttq(u'D:\DeepLearning ER\EHRzhzd')#txt目录提取 for emrtxt in emrtxts: f = open(emrtxt,'r',errors="ignore")#中文加入errors emrpath = os.path.basename(emrtxt) emrpath = os.path.splitext(emr...
[ "1044801968@qq.com" ]
1044801968@qq.com