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
a41d7737fdb64767088b4153d8994a0422a6044c
ca2dbcfeac6ab571a19bd7d91b7234fd461d09e3
/contact/settings.py
f6b23ebea5443fb592009997c1e7ce9e73093d67
[]
no_license
RahulSinghDhek/test-contact
51ebcc85e32a3d4fc86cb978824337b444f077be
ff14bb369e4caae6cd4db95388f7c87bf65c3227
refs/heads/master
2020-04-20T02:18:27.516767
2019-01-31T17:44:41
2019-01-31T17:44:41
168,568,336
0
0
null
null
null
null
UTF-8
Python
false
false
4,655
py
""" Django settings for contact project. Generated by 'django-admin startproject' using Django 2.1.4. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os #...
[ "rdhek@qti.qualcomm.com" ]
rdhek@qti.qualcomm.com
df0300b9ae066ae31618798f45525e2480426413
7a1b08c64b29522d4bbb913475275c1bc8ad61a4
/patient_agenda/events/doc_events/conver_value.py
afcdc7008de591882958f1eb59c25de32cecb141
[ "MIT" ]
permissive
erichilarysmithsr/time-track
8f84d4cc92cebaedce550b3741982d204e734a6c
dc0a7b63c937d561309f9b1c84af65fb581a8e18
refs/heads/master
2023-03-27T08:07:46.717221
2021-03-30T16:45:50
2021-03-30T16:45:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,695
py
#!/usr/bin/python3 # -*- coding:utf-8 -*- import os import json import subprocess try: with open('./patient_agenda/events/doc_events/patient_rdv.json') as file: data=json.load(file) except FileNotFoundError as fileout: print("File 1 patient_rdv.json not created", fileout) for value in data: pri...
[ "philogenie@protonmail.com" ]
philogenie@protonmail.com
0048953dec39f492a91c8bdde7a9ddaca57537a1
5d4753b7e463827c9540e982108de22f62435c3f
/python/tink/daead/_deterministic_aead_wrapper_test.py
b59d11dca3c7331a23581b856195197dfeb49b72
[ "Apache-2.0" ]
permissive
thaidn/tink
8c9b65e3f3914eb54d70847c9f56853afd051dd3
2a75c1c3e4ef6aa1b6e29700bf5946b725276c95
refs/heads/master
2021-07-25T02:02:59.839232
2021-02-10T17:21:31
2021-02-10T17:22:01
337,815,957
2
0
Apache-2.0
2021-02-10T18:28:20
2021-02-10T18:28:20
null
UTF-8
Python
false
false
6,074
py
# Copyright 2019 Google LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
f487b32d187d8c46617f40bfa556df73ae0f4374
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-iotanalytics/huaweicloudsdkiotanalytics/v1/model/list_batch_jobs_response.py
c820f1d45d59dffa07e947b9b3b4e80b79e3084e
[ "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,929
py
# coding: utf-8 import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ListBatchJobsResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name and the v...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
30ca95084a650818ad76ed5e625a46506e6e8e39
60e27c8b1755c741dfd069393e8b65766a9647ae
/07_Natural_Language_Processing/C0702_bag_of_words.py
fb7af5b042f0820d93e1aaa9984960d0ba24a209
[ "MIT" ]
permissive
xiejinwen113/tensorflow_cookbook
d0426991be2369d6480728c2af7a4dc93eccf621
57d7ee719385ddd249a67c3a85bd336e884a67e5
refs/heads/master
2022-03-24T08:30:43.089441
2019-12-09T09:55:39
2019-12-09T09:55:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,784
py
# -*- encoding: utf-8 -*- """ @Author : zYx.Tom @Contact : 526614962@qq.com @site : https://github.com/zhuyuanxiang/tensorflow_cookbook --------------------------- @Software : PyCharm @Project : TensorFlow_Machine_Learning_Cookbook @File : C0702_bag_of_words.py @Version : v0...
[ "zhuyuanxiang@gmail.com" ]
zhuyuanxiang@gmail.com
d1e21770e28bf318bb9670ca416bde39191d4f7d
6e0108c11132e63c81adbfab4309011b1f9f6dda
/tests/python/extra/clear_leaves.py
4d2f1e3a58a3fcb2fd07655efd2646b28d0a5f5f
[ "Apache-2.0" ]
permissive
scottdonaldau/ledger-qrl
c28a614ae52c44e53947e444abf078ec27041815
7a3b933b84065b9db2b775d50205efcdbed2399e
refs/heads/master
2020-04-12T07:12:25.687015
2018-12-19T02:55:43
2018-12-19T02:55:43
162,360,262
0
0
Apache-2.0
2018-12-19T00:15:27
2018-12-19T00:15:27
null
UTF-8
Python
false
false
269
py
from pyledgerqrl.ledgerqrl import * dev = LedgerQRL() start = time.time() for i in range(256): data = bytearray([i]) + bytearray.fromhex("00" * 32) answer = dev.send(INS_TEST_WRITE_LEAF, data) assert len(answer) == 0 answer = dev.send(INS_TEST_PK_GEN_1)
[ "lenijuan@gmail.com" ]
lenijuan@gmail.com
55559c3ca1ad5ff7d80c5cf736dab7da2c5d72a7
dfff816642f4e1afeab268f441906a6d811d3fb4
/polling_stations/apps/data_collection/management/commands/import_newham.py
d1463f346e39dd465ff77e53dbf91e637072ccae
[]
permissive
mtravis/UK-Polling-Stations
2c07e03d03959492c7312e5a4bfbb71e12320432
26e0331dc29253dc436a0462ffaa01e974c5dc52
refs/heads/master
2020-05-14T18:36:31.501346
2019-04-17T12:54:57
2019-04-17T12:54:57
181,912,382
0
0
BSD-3-Clause
2019-04-17T14:48:26
2019-04-17T14:48:26
null
UTF-8
Python
false
false
1,255
py
from data_collection.management.commands import BaseXpressDemocracyClubCsvImporter class Command(BaseXpressDemocracyClubCsvImporter): council_id = "E09000025" addresses_name = "local.2018-05-03/Version 2/LBNewham Democracy_Club__03May2018.TSV" stations_name = "local.2018-05-03/Version 2/LBNewham Democracy...
[ "chris.shaw480@gmail.com" ]
chris.shaw480@gmail.com
f7a133da42b483bbd6721ea185ae86310461ffcc
1eb2d7d2a6e945a9bc487afcbc51daefd9af02e6
/algorithm/zhang/baiduface.py
aae543c80ba05cfedc089fe690d2f4beb4954ca2
[]
no_license
fengges/eds
11dc0fdc7a17b611af1f61894f497ad443439bfe
635bcf015e3ec12e96949632c546d29fc99aee31
refs/heads/master
2021-06-20T04:43:02.019309
2019-06-20T12:55:26
2019-06-20T12:55:26
133,342,023
0
3
null
null
null
null
UTF-8
Python
false
false
1,255
py
import os,time from aip import AipFace from PIL import Image, ImageDraw """ 你的 APPID AK SK """ APP_ID = '10909628' API_KEY = 'sInxLcVbCLSg6rNXVDXR4sHD' SECRET_KEY = 'e2zgNstc7GEhhvFOfCVKDW2itVf0iID4' filepath ="pic" client = AipFace(APP_ID, API_KEY, SECRET_KEY) def get_file_content(filePath): with open(filePat...
[ "1059387928@qq.com" ]
1059387928@qq.com
1a4331aa03052d0136ac9424cf6c3d97e49dc9fc
4a2bd14eb54a5447b9b5c67df97d9237cd506bd7
/setup.py
61fde968a06933af9c27eabc838e71e919e782a8
[]
no_license
GapData/bokehutils
85363af5d1575983fe980a7c5a269eab354d168d
deadedd7a8a2210beeb8cce226d7d566f84a6f11
refs/heads/master
2021-05-29T13:40:12.105135
2015-09-30T19:40:03
2015-09-30T19:40:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,608
py
# Copyright (C) 2015 by Per Unneberg from setuptools import setup, find_packages import glob import versioneer INSTALL_REQUIRES = [ 'sphinx>=1.3', 'pytest', 'pytest-cov>=1.8.1', 'bokeh>=0.10.0', ] try: # Hack for readthedocs if not 'readthedocs' in os.path.dirname(os.path.realpath(__file__)): ...
[ "per.unneberg@scilifelab.se" ]
per.unneberg@scilifelab.se
755ce3602c7d4642c4b0aca6891d7446594eb0b1
48fff0f472066dc6e5b5a15d16dcc33738e7a2c2
/train2/chatbot/broadcast.py
027badb7eddef0c0ba8411820cb20092bd9088f5
[]
no_license
hasadna/OpenTrainCommunity
228a4f078829f6653e62db1294da01488be55b64
3c7a941b730160c40cc400ed94ed77ffa9189f0a
refs/heads/master
2023-01-23T14:39:10.462114
2020-06-08T11:36:27
2020-06-08T11:36:27
19,729,986
23
16
null
2023-01-13T22:57:43
2014-05-13T07:34:15
HTML
UTF-8
Python
false
false
1,036
py
import logging from django.conf import settings import telegram from django.template.loader import render_to_string from . import models logger = logging.getLogger(__name__) def broadcast_new_report_to_telegram_channel(report: models.ChatReport): message = render_to_string('chatbot/new_report_message.html', co...
[ "ekeydar@gmail.com" ]
ekeydar@gmail.com
8f51618dff92b6609f174e7d9e48161f653dd784
fdba533d128e5fcc237abacda12de9545ddce39c
/keras/optimizer_experimental/optimizer_lib.py
d180179dde8284a872030aa0a8c1237796c3da4d
[ "Apache-2.0" ]
permissive
hhuang97/keras
5949d754dcaed47df011fb4218d6552251e265e2
f5fea878c271e38946c6681c1c2434e72d0ab977
refs/heads/master
2021-12-24T00:01:26.759181
2021-12-14T18:21:47
2021-12-14T18:22:26
90,206,289
0
1
null
2017-05-04T00:54:28
2017-05-04T00:54:28
null
UTF-8
Python
false
false
3,775
py
"""Library of helper classes of optimizer.""" class GradientsClipOption: """Gradients clip option for optimizer class. Attributes: clipnorm: float. If set, the gradient of each weight is individually clipped so that its norm is no higher than this value. clipvalue: float. If set, the gradient of ea...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
f2744c340d84c765a7f38427e107dcf0e0339605
6ba72ce01fe8c08a10a7607536858cfd40b2dc16
/kirppuauth/migrations/0001_initial.py
a501f184d3eaff89282c7871370678d0bb60b7eb
[ "MIT" ]
permissive
jlaunonen/kirppu
dcafc5537d325b2605daf98cdde4115a759dd2ce
fb694a0d1f827f4f4aae870589eb4e57ddf9bc97
refs/heads/master
2023-07-20T03:13:10.814349
2023-07-14T16:46:55
2023-07-14T16:46:55
18,244,187
0
6
MIT
2023-01-10T20:48:08
2014-03-29T15:36:30
Python
UTF-8
Python
false
false
2,830
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django.utils.timezone import django.core.validators class Migration(migrations.Migration): dependencies = [ ('auth', '0001_initial'), ] operations = [ migrations.CreateModel( ...
[ "jyrki.launonen@gmail.com" ]
jyrki.launonen@gmail.com
1a72065a811121f0dd9d16e8dd072b751fba6a6a
917a99fdf14097dd8001b5c98cc48c8716f8f969
/webElement/ass_service/syslogElement.py
8bffc624415e17423f022ce3b8b9a646794ed0be
[]
no_license
isomper/testIsomptySecret
722eba4cbefe9495a3292d8d10e8ad9c4a34c8a7
968bbee05af730cfb7717f1531286f11a7f99cf3
refs/heads/master
2020-03-19T07:29:28.487913
2018-07-13T06:25:50
2018-07-13T06:25:50
136,118,583
0
0
null
null
null
null
UTF-8
Python
false
false
4,408
py
#coding=utf-8 u''' #文件名: #被测软件版本号:V2.8.1 #作成人:李择优 #生成日期:2018/1/24 #模块描述:SYSLOG #历史修改记录 #修改人: #修改日期: #修改内容: ''' import sys reload(sys) sys.setdefaultencoding('utf-8') import time sys.path.append("/testIsompSecret/common/") from _icommon import getElement,selectElement,frameElement,commonFun from _cnEncode import cnEnc...
[ "1584216202@qq.com" ]
1584216202@qq.com
c35de16dd47821fb8bd0c74d9ed293dc5ee70956
34ef83114e02b173bd2d55eb53ad399e738a8e3c
/django/code_test/teka/teka/settings.py
ca05f4f1f4426561e47f91918dae0a82be1e722d
[]
no_license
vavilon/Python3
e976a18eb301e4953696d1e3f4730ed890da015a
8c79729747ce51d60ad685e6a2e58292954ed7eb
refs/heads/master
2023-01-09T13:44:37.408601
2018-01-25T22:41:14
2018-01-25T22:41:14
100,892,055
0
1
null
2022-12-26T20:29:27
2017-08-20T22:23:06
Python
UTF-8
Python
false
false
3,232
py
""" Django settings for teka project. Generated by 'django-admin startproject' using Django 1.11. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os # B...
[ "overon4ek@gmail.com" ]
overon4ek@gmail.com
44a0a7737d19c1e6e47ddf5525d0d632188aabd2
10f397d1fe8c68dc5af033e0b88cb99be56bc4f2
/Statistics/models.py
28a3d7a4f4138e1e4c55db79c7ee134721781ded
[]
no_license
wsqy/AccountRandmomAmount
db3905bd425c074935c256aab62f437fe7cb0ffc
b69bc1269a666c48fe954ac423a25d111e01176b
refs/heads/master
2023-06-29T12:49:35.947729
2020-06-30T03:27:05
2020-06-30T03:27:05
271,683,993
0
0
null
null
null
null
UTF-8
Python
false
false
3,592
py
from django.db import models # from django.conf import settings from django.utils import timezone from Account.models import Buyer, Seller, Company class DayBuyer(models.Model): """ 买方日交易额总量表 """ date = models.DateField(verbose_name='任务日期', default=timezone.now) buyer = models.ForeignKey(Buyer, on_...
[ "1323800521@qq.com" ]
1323800521@qq.com
624253db8803ba4e60460ddc4c11d392b0bac60d
297497957c531d81ba286bc91253fbbb78b4d8be
/third_party/libwebrtc/tools/grit/grit/tool/postprocess_unittest.py
21ca5e2f774610e4a7efa36f398ec1fb87b4cddc
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
marco-c/gecko-dev-comments-removed
7a9dd34045b07e6b22f0c636c0a836b9e639f9d3
61942784fb157763e65608e5a29b3729b0aa66fa
refs/heads/master
2023-08-09T18:55:25.895853
2023-08-01T00:40:39
2023-08-01T00:40:39
211,297,481
0
0
NOASSERTION
2019-09-29T01:27:49
2019-09-27T10:44:24
C++
UTF-8
Python
false
false
1,705
py
'''Unit test that checks postprocessing of files. Tests postprocessing by having the postprocessor modify the grd data tree, changing the message name attributes. ''' from __future__ import print_function import os import re import sys if __name__ == '__main__': sys.path.append(os.path.join(os.path.dirna...
[ "mcastelluccio@mozilla.com" ]
mcastelluccio@mozilla.com
f9520500f015b1f2f85946de085b6dfb1d169031
b92b0e9ba2338ab311312dcbbeefcbb7c912fc2e
/build/shogun_lib/examples/documented/python_modular/distance_sparseeuclidean_modular.py
2e8e098e832784cb39eb330eae2d7c48c0f9148f
[]
no_license
behollis/muViewBranch
384f8f97f67723b2a4019294854969d6fc1f53e8
1d80914f57e47b3ad565c4696861f7b3213675e0
refs/heads/master
2021-01-10T13:22:28.580069
2015-10-27T21:43:20
2015-10-27T21:43:20
45,059,082
1
0
null
null
null
null
UTF-8
Python
false
false
1,057
py
# In this example a sparse euclidean distance is computed for sparse toy data. from tools.load import LoadMatrix lm=LoadMatrix() traindat = lm.load_numbers('../data/fm_train_real.dat') testdat = lm.load_numbers('../data/fm_test_real.dat') parameter_list = [[traindat,testdat],[traindat,testdat]] def distance_sparsee...
[ "prosen@305cdda6-5ce1-45b3-a98d-dfc68c8b3305" ]
prosen@305cdda6-5ce1-45b3-a98d-dfc68c8b3305
c02054b0e7144f761e863a5a249d40a75b1c8cc5
6a609bc67d6a271c1bd26885ce90b3332995143c
/exercises/exhaustive-search/combinations_ii.py
46561751342eaead6317019aa18b093dfc811644
[]
no_license
nahgnaw/data-structure
1c38b3f7e4953462c5c46310b53912a6e3bced9b
18ed31a3edf20a3e5a0b7a0b56acca5b98939693
refs/heads/master
2020-04-05T18:33:46.321909
2016-07-29T21:14:12
2016-07-29T21:14:12
44,650,911
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
# -*- coding: utf-8 -*- """ Given a list of integer lists. Each time take an item from each list. Find all the combinations. """ class Solution(object): def combine(self, arr): """ :type arr: List[List[init]] :rtype: List[List[int]] """ def dfs(res, pos): if len...
[ "wanghan15@gmail.com" ]
wanghan15@gmail.com
75b8cf6fde95fbd9a46ab0c2c5277b706714856b
ce6538b5b7da162c1c690a346e7ec9ae0a6291f3
/wild_cat_zoo/project/cheetah.py
92f02831fe0904412100be1467c39f16c02a2ad7
[]
no_license
DaniTodorowa/Softuni
391f13dd61a6d16cd48ee06e9b35b2fd931375df
f7c875fda4e13ec63152671509aaa6eca29d7f50
refs/heads/master
2022-11-25T23:34:49.744315
2020-08-02T08:23:44
2020-08-02T08:23:44
278,938,559
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
class Cheetah: def __init__(self, name, gender, age): self.name = name self.gender = gender self.age = age @staticmethod def get_needs(self): return 60 def __repr__(self): return f"Name: {self.name}, Age: {self.age}, Gender: {self.gender}"
[ "danitodorova2106@gmail.com" ]
danitodorova2106@gmail.com
e9b4572ab1f8e1c87a7d0030bcf82691a6a035e5
880103c6f9bdc9d5a7a8633c3e4d108c964e9b89
/devil/devil/android/tools/device_monitor.py
2b3503174c8a364463e242fa2f450a76e5b3047f
[ "BSD-3-Clause" ]
permissive
ateleshev/catapult
c3645f0fb0d4e929b5baebea33307b765225cb2f
faf60eb37f8b9828eddb30c8397b333eb1d89204
refs/heads/master
2021-01-22T19:08:47.140355
2017-03-16T01:01:54
2017-03-16T01:01:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,936
py
#!/usr/bin/env python # Copyright 2015 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. """Launches a daemon to monitor android device temperatures & status. This script will repeatedly poll the given devices for their tem...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
4bfb6408fe3122c020282667a4a2da27d9bce309
ea2cf796332879d86561f80882da93b672966448
/configs/csl/rotated_retinanet_obb_csl_gaussian_r50_adamw_fpn_1x_dior_le90.py
06b08881da2ee813a6c9b31343d7fc13168ee2d2
[ "Apache-2.0" ]
permissive
yangxue0827/h2rbox-mmrotate
968c34adf22eca073ab147b670226884ea80ac61
cfd7f1fef6ae4d4e17cb891d1ec144ece8b5d7f5
refs/heads/main
2023-05-23T10:02:58.344148
2023-02-14T05:28:38
2023-02-14T05:28:38
501,580,810
68
8
null
null
null
null
UTF-8
Python
false
false
669
py
_base_ = \ ['../rotated_retinanet/rotated_retinanet_hbb_r50_adamw_fpn_1x_dior_oc.py'] angle_version = 'le90' model = dict( bbox_head=dict( type='CSLRRetinaHead', angle_coder=dict( type='CSLCoder', angle_version=angle_version, omega=4, window='gaus...
[ "yangxue0827@126.com" ]
yangxue0827@126.com
628776070784ddd0d523624b6c9462eea95ff6bf
0d8486c1d55c40bebea7c5428930f18165d2d0e9
/tests/asp/AllAnswerSets/aggregates/count.example4.test.py
76a4479b403d3b6ffc18810437b0f4bc40d563f8
[ "Apache-2.0" ]
permissive
bernardocuteri/wasp
6f81bf6aa8fb273c91bbf68ecce4ecb195a55953
05c8f961776dbdbf7afbf905ee00fc262eba51ad
refs/heads/master
2021-06-08T11:58:25.080818
2020-10-05T16:57:37
2020-10-05T16:57:37
124,245,808
0
0
Apache-2.0
2018-03-07T14:13:16
2018-03-07T14:13:16
null
UTF-8
Python
false
false
625
py
input = """ 1 2 0 0 1 3 0 0 1 4 0 0 1 5 0 0 1 6 2 1 7 8 1 7 2 1 6 8 1 8 0 0 1 9 2 1 10 11 1 10 2 1 9 11 1 11 0 0 1 12 2 1 13 14 1 13 2 1 12 14 1 14 0 0 1 15 2 1 16 17 1 16 2 1 15 17 1 17 0 0 2 18 2 0 2 12 6 1 1 1 0 18 2 19 2 0 2 15 9 1 1 1 0 19 1 20 1 0 15 1 20 1 0 12 1 21 1 0 9 1 21 1 0 6 1 1 1 1 21 1 1 1 1 20 0 20 ad...
[ "carminedodaro@gmail.com" ]
carminedodaro@gmail.com
f79c9ac3da69afb6f18aca5cfd8be28254cb7292
811b67fca9efd7b6a2b95500dfdfbd981a2be9a7
/Machine Learning For Finance/Lesson5_2.py
c7d259b4d24c65ca989844a257248ee28f058f98
[]
no_license
inaheaven/Finance_Tool
a978ae534dca646088a12b58e00a8ce995b08920
adeaf05307dc1d4af002bea3d39c3273e93af347
refs/heads/master
2020-05-23T13:41:33.912276
2019-07-03T02:06:28
2019-07-03T02:06:28
186,781,682
0
0
null
null
null
null
UTF-8
Python
false
false
1,658
py
import pandas as pd import matplotlib.pyplot as plt import os def symbol_to_path(symbol, base_dir="Data/data"): return os.path.join(base_dir, "{}.csv".format(str(symbol))) def get_data(symbols, dates): df = pd.DataFrame(index=dates) if 'SPY' not in symbols: symbols.insert(0, 'SPY') for symb...
[ "sangmin.rim@gmail.com" ]
sangmin.rim@gmail.com
a93164796eaa571c517dc3a2993e7377c297e581
faa54203033398d264c75814b899d253edf71c9b
/pyflux/gas/__init__.py
dfb1ab71874ada0b2da30c57785c375b3036e9ae
[ "BSD-3-Clause" ]
permissive
th3nolo/pyflux
4a9e646f9ee0e650676b82134d3810c0a98d8963
21bc18ddeabce277e4485e75962e5fa5ff3a46ea
refs/heads/master
2020-12-02T15:08:53.257900
2016-07-24T17:47:59
2016-07-24T17:47:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
from .gas import GAS from .gasx import GASX from .gasmodels import GASPoisson, GASNormal, GASLaplace, GASt, GASSkewt, GASExponential from .gasllm import GASLLEV from .gasllt import GASLLT from .gasreg import GASReg from .scores import BetatScore, SkewtScore
[ "rj-taylor@live.co.uk" ]
rj-taylor@live.co.uk
8dc0a87dd10e8d1d8503e312210b327d6098d695
6ab31b5f3a5f26d4d534abc4b197fe469a68e8e5
/katas/beta/only_readable_once_list.py
b075f9fe98d07c99e321b7906fe37c77f51fe6d7
[ "MIT" ]
permissive
mveselov/CodeWars
e4259194bfa018299906f42cd02b8ef4e5ab6caa
1eafd1247d60955a5dfb63e4882e8ce86019f43a
refs/heads/master
2021-06-09T04:17:10.053324
2017-01-08T06:36:17
2017-01-08T06:36:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
class SecureList(object): def __init__(self, lst): self.lst = list(lst) def __getitem__(self, item): return self.lst.pop(item) def __len__(self): return len(self.lst) def __repr__(self): tmp, self.lst = self.lst, [] return repr(tmp) def __str__(self): ...
[ "the-zebulan@users.noreply.github.com" ]
the-zebulan@users.noreply.github.com
905b497b63c36d0df8721fcbe09be8f5bcd07c97
7e409f6490957f96a1ea17161a3b791256a2ec4f
/31 - Form Field dan Option/mywebsite/forms.py
0019079b233c0b91fd26b93c04438c8e64622c04
[]
no_license
CuteCatCrying/Django
9fb8fd06f4793ef754e6e3dfd63b9caad03317f8
563119a66c81bf57616f62855bc78f448204ba83
refs/heads/master
2022-04-02T14:13:23.700165
2020-02-05T09:34:46
2020-02-05T09:34:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,360
py
from django import forms class FormField(forms.Form): # python data type integer_field = forms.IntegerField(required=False) decimal_field = forms.DecimalField(required=False) float_field = forms.FloatField(required=False) boolean_field = forms.BooleanField(required=False) char_field ...
[ "zukronalviandy@gmail.com" ]
zukronalviandy@gmail.com
ebe79df1ad52ea7869c585362ad2a6af388c05ff
eb4877802021fa9f20962a7cfb176239dfb1e169
/py/testdir_single_jvm/test_GBMGrid_basic.py
bc789ffa818ccfead0bc492810e7f8731686b00e
[ "Apache-2.0" ]
permissive
jinbochen/h2o
bd6f2b937884a6c51ccd5673310c64d6a9e1839b
48a5196cc790ed46f7c4a556258f8d2aeb7eb1c1
refs/heads/master
2021-01-17T23:33:42.765997
2013-11-14T20:06:23
2013-11-14T20:08:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,703
py
import unittest, time, sys sys.path.extend(['.','..','py']) import h2o, h2o_cmd, h2o_glm, h2o_hosts, h2o_import as h2i, h2o_jobs DO_CLASSIFICATION = True class Basic(unittest.TestCase): def tearDown(self): h2o.check_sandbox_for_errors() @classmethod def setUpClass(cls): global localhost ...
[ "kevin@0xdata.com" ]
kevin@0xdata.com
077fa8b5db26b02abb818582046ec268a8d0215b
9b9a02657812ea0cb47db0ae411196f0e81c5152
/repoData/danfolkes-Magnet2Torrent/allPythonContent.py
0beca59a21a4fb5422f36851ab3bc50601572d49
[]
no_license
aCoffeeYin/pyreco
cb42db94a3a5fc134356c9a2a738a063d0898572
0ac6653219c2701c13c508c5c4fc9bc3437eea06
refs/heads/master
2020-12-14T14:10:05.763693
2016-06-27T05:15:15
2016-06-27T05:15:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,287
py
__FILENAME__ = Magnet_To_Torrent2 #!/usr/bin/env python ''' Created on Apr 19, 2012 @author: dan, Faless GNU GENERAL PUBLIC LICENSE - Version 3 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free S...
[ "dyangUCI@github.com" ]
dyangUCI@github.com
dd47b3c3b12d0394c13cd989e4409d25f90ad2cc
3e3506f8a9c18744b5e9c1bda2f66315d2ebe753
/snippets/serializers.py
4089503add5e5b2f37f19c8d9fb456de701cad2f
[]
no_license
didoogan/drf
63ad069540124ab057d4f271aa76be650486981a
2a0446b6d38ef8ce67c031b2ac5bff62c519cf40
refs/heads/master
2020-07-31T00:24:19.904525
2016-08-24T20:55:11
2016-08-24T20:55:11
66,281,423
0
0
null
null
null
null
UTF-8
Python
false
false
804
py
from rest_framework import serializers from snippets.models import Snippet, LANGUAGE_CHOICES, STYLE_CHOICES from django.contrib.auth.models import User class SnippetSerializer(serializers.HyperlinkedModelSerializer): owner = serializers.ReadOnlyField(source='owner.username') highlight = serializers.Hyperlinke...
[ "tzd0409@gmail.com" ]
tzd0409@gmail.com
2c3f9bf1eb7af4abf52697eb26f2d9fc8262ce2d
23631af0987b3f1d30b0bf8bfcea1bd63159eeba
/gate_api/configuration.py
4b19c91ec5f25ad45dffcb2880c0358f4580b286
[]
no_license
xuvw/gateapi-python
08c3c72ff0e2c4713bf3a2ffe0b15d05e57491ca
1a3f3551cba4a756f76f17b070c3e0c5ff2e88ea
refs/heads/master
2020-05-25T14:33:35.592775
2019-04-02T08:50:25
2019-04-02T08:50:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,144
py
# coding: utf-8 """ Gate API v4 APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user's behalf. # noqa: E501 OpenAPI spec version: 4.6.1 Contact: support@mail.gate.io...
[ "revilwang@gmail.com" ]
revilwang@gmail.com
a4cfe939cf946016e8aa26c131d44218af521253
d5f53599338a30a9d6c7de7d5c574db59545ed3d
/Gse/generated/Ref/channels/SG1_SignalGen_Output.py
dd5c8e60cf31bbd105160631ee8ff53b9fd5a55e
[ "Apache-2.0" ]
permissive
dstockhouse/eaglesat-fprime
c39a01cc5648dcd8b351f47684923fe481c720be
e640b3faea0000e1ca8acab4d6ff66150196c32b
refs/heads/master
2020-05-07T15:31:09.289797
2019-11-20T00:33:15
2019-11-20T00:33:15
180,639,007
0
0
null
null
null
null
UTF-8
Python
false
false
1,405
py
''' Created on Wednesday, 10 April 2019 @author: David THIS FILE IS AUTOMATICALLY GENERATED - DO NOT EDIT!!! XML Source: /cygdrive/c/Users/David/Documents/eaglesat/eaglesat-fprime/Ref/SignalGen/SignalGenComponentAi.xml ''' # Import the types this way so they do not need prefixing for execution. from models.serialize...
[ "dstockhouse@gmail.com" ]
dstockhouse@gmail.com
6a4b9b33ccb4907b8e2d6194e8a505fcd0aaaeb0
523f8f5febbbfeb6d42183f2bbeebc36f98eadb5
/539.py
3f49db2b3056bb0ea18a9558663dea67f0a5b806
[]
no_license
saleed/LeetCode
655f82fdfcc3000400f49388e97fc0560f356af0
48b43999fb7e2ed82d922e1f64ac76f8fabe4baa
refs/heads/master
2022-06-15T21:54:56.223204
2022-05-09T14:05:50
2022-05-09T14:05:50
209,430,056
2
0
null
null
null
null
UTF-8
Python
false
false
580
py
class Solution(object): def findMinDifference(self, timePoints): """ :type timePoints: List[str] :rtype: int """ timePoints.sort() diff=float("inf") for i in range(1,len(timePoints)): time1=timePoints[i%len(timePoints)] time2=timePoin...
[ "noelsun@mowennaierdeMBP.lan" ]
noelsun@mowennaierdeMBP.lan
7cec84d82d2dcb14c1cbdaf99b64ffc73e1ae94e
11771f5dd90a74d5c76765f27f0d9a9cb044f57b
/route/bbs_make.py
2185cef4c1bdcfd50b641b610aa030eb0d012695
[ "BSD-3-Clause" ]
permissive
openNAMU/openNAMU
cc031ea848ac6d829ad243fcf59da26adf0f0814
868107e4ef53e4e78af15c590673b78ee385baa5
refs/heads/beta
2023-08-24T10:20:00.245680
2023-08-23T14:09:53
2023-08-23T14:09:53
78,184,261
86
75
BSD-3-Clause
2023-09-13T21:36:03
2017-01-06T07:22:10
Python
UTF-8
Python
false
false
2,024
py
from .tool.func import * def bbs_make(): with get_db_connect() as conn: curs = conn.cursor() if admin_check() != 1: return re_error('/error/3') if flask.request.method == 'POST': curs.execute(db_change('select set_id from bbs_set where set_n...
[ "min08101@naver.com" ]
min08101@naver.com
376183f1fd02abc26c81e2af35be1774eebe4052
1eab574606dffb14a63195de994ee7c2355989b1
/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bfdrouter/bfdrouter.py
a4c8d026e8eb6e4b33d202bfd079514c11616f61
[ "MIT" ]
permissive
steiler/ixnetwork_restpy
56b3f08726301e9938aaea26f6dcd20ebf53c806
dd7ec0d311b74cefb1fe310d57b5c8a65d6d4ff9
refs/heads/master
2020-09-04T12:10:18.387184
2019-11-05T11:29:43
2019-11-05T11:29:43
219,728,796
0
0
null
2019-11-05T11:28:29
2019-11-05T11:28:26
null
UTF-8
Python
false
false
2,602
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # 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,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
6e5b281dfdbc8eb03b095b591ce654289d789360
e0c8e66af3a72a1cc534d7a90fead48754d266b3
/vb_suite/miscellaneous.py
8295d275f2dd615f626d02981203b406f233a1ea
[ "BSD-3-Clause" ]
permissive
gwtaylor/pandas
e12b0682347b9f03a24d6bff3e14f563cb7a3758
7b0349f0545011a6cac2422b8d8d0f409ffd1e15
refs/heads/master
2021-01-15T17:51:47.147334
2012-01-13T17:53:56
2012-01-13T17:53:56
3,174,111
1
1
null
null
null
null
UTF-8
Python
false
false
505
py
from vbench.benchmark import Benchmark from datetime import datetime common_setup = """from pandas_vb_common import * """ #---------------------------------------------------------------------- # cache_readonly setup = common_setup + """ from pandas.util.decorators import cache_readonly class Foo: @cache_reado...
[ "wesmckinn@gmail.com" ]
wesmckinn@gmail.com
7bcff9fa804b622d48c7a6bb33873bdeede52060
b61dedf12868e2bc511b6693af1985911a13f336
/src/logpipe/formats/json.py
5747c863e36910b285e51dc63598357f2e147fee
[ "ISC" ]
permissive
vitorcarmovieira/django-logpipe
f9eebb6674b9ba180a63448c9d71ce2e87929f7c
89d0543e341518f9ae49124c354e6a6c2e3f4150
refs/heads/main
2023-03-03T13:18:22.456270
2021-02-13T17:29:32
2021-02-13T17:29:32
326,679,534
1
1
ISC
2021-02-13T17:29:32
2021-01-04T12:39:30
Python
UTF-8
Python
false
false
139
py
from rest_framework.renderers import JSONRenderer from rest_framework.parsers import JSONParser __all__ = ['JSONRenderer', 'JSONParser']
[ "crgwbr@gmail.com" ]
crgwbr@gmail.com
53cd30d03207556424257a7a49ed432f13b6260a
9aa7b52847a161507eae57c222f6f3b3473fbf67
/Project/Main/bin/pyhtmlizer
cb636c852d7d27ecd58cab7c59fd4e7b1fc7541b
[]
no_license
azatnt/Project_Aza_Madi
13a41bcc7bc822503136046dd5905a0884ffccb5
d2804cd2b1e9b97d44e85d6a24c45d3f41458db3
refs/heads/master
2023-01-22T18:17:17.512344
2020-11-16T15:56:00
2020-11-16T15:56:00
261,734,097
1
0
null
null
null
null
UTF-8
Python
false
false
276
#!/Users/sulpak/Documents/GitHub/Project_Aza_Madi/Project/Main/bin/python # -*- coding: utf-8 -*- import re import sys from twisted.scripts.htmlizer import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "58590243+pr1nce07@users.noreply.github.com" ]
58590243+pr1nce07@users.noreply.github.com
f012952b29876b396eeff208f656b11ad3d1d3d2
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/agc025/C/2658196.py
38086edb4f9e8897ebee6bd4d4c545b41c0b5eb2
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
333
py
from itertools import accumulate N = int(input()) L, R = [0], [0] for i in range(N): li, ri = map(int, input().split()) L.append(li) R.append(ri) L.sort(reverse=True) R.sort() L = list(accumulate(L)) R = list(accumulate(R)) ans = 0 for k in range(N+1): ans = max(ans, 2*(L[k]-R[k])) ...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
26571dafb7f2105ef31a78259155c44e4a01ad01
22dcd52b6a07e82e8db9bf8b7ad38711d12f69a8
/venv/Lib/site-packages/sklearn/neighbors/base.py
9be7b1ffc90f2c7d40252bf586916429df32fafb
[]
no_license
MrGreenPepper/music_cluster
9060d44db68ae5e085a4f2c78d36868645432d43
af5383a7b9c68d04c16c1086cac6d2d54c3e580c
refs/heads/main
2023-08-15T09:14:50.630105
2021-10-01T09:45:47
2021-10-01T09:45:47
412,407,002
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
# THIS FILE WAS AUTOMATICALLY GENERATED BY deprecated_modules.py import sys from . import _base from ..externals._pep562 import Pep562 from ..utils.deprecation import _raise_dep_warning_if_not_pytest deprecated_path = 'sklearn.neighbors.base' correct_import_path = 'sklearn.neighbors' _raise_dep_warning_if_...
[ "sebastian_truemper@posteo.de" ]
sebastian_truemper@posteo.de
eac8e55efa2b9ab7f320a562c98fa8c884b5e994
60ce73bf2f86940438e5b7fecaaccad086888dc5
/working_scrapers/Virginia_amherst.py
dd21db5c4557762ea61e5ec1f6730d25b2bd6a00
[]
no_license
matthewgomies/jailcrawl
22baf5f0e6dc66fec1b1b362c26c8cd2469dcb0d
9a9ca7e1328ae549860ebeea9b149a785f152f39
refs/heads/master
2023-02-16T06:39:42.107493
2021-01-15T16:37:57
2021-01-15T16:37:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,248
py
#!/usr/bin/python ''' This is an template script ''' from urllib.request import urlopen, Request import pandas as pd import os import time import numpy as np from datetime import datetime import datetime as dt import sys from io import StringIO from joblib import Parallel, delayed import requests from jailscrape.comm...
[ "jborowitz@gmail.com" ]
jborowitz@gmail.com
93431b4260ae9bcc50dc2babafb602fe5f3a56f8
f3598888ce889075d006de9559aa67499ca0d708
/Common/CenterToLeft.py
d1cf789f60c0bb67849262f0612c7c308bf8032d
[]
no_license
JinYanming/jym_cmot_semi_mask
6f1ceafa344d2831cdc91e1af0515b417b3939d6
be5fc9694f802ab0fb2eaeb11c7eca10ee0e72b3
refs/heads/master
2022-02-20T05:56:36.418283
2019-09-18T18:23:40
2019-09-18T18:23:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
722
py
# Generated with SMOP 0.41 from libsmop import * # /workspace/MOT/cmot-v1/Common/CenterToLeft.m @function def CenterToLeft(x=None,y=None,height=None,width=None,*args,**kwargs): varargin = CenterToLeft.varargin nargin = CenterToLeft.nargin ## Copyright (C) 2014 Seung-Hwan Bae ## All rights reserved. ...
[ "1535640262@qq.com" ]
1535640262@qq.com
a2f9e589693f4eda5cea8869d53759b116acfc76
b0e299f6ab0139b831d0ed86cc6da0c3eb80b50d
/hello/public/deploy/chal.py
3cdcfdcec0ecf9a88f3f75665084382c0d2855d2
[]
no_license
kendricktan/paradigm-ctf
96768eb6a3ee76867b873e96e2f623796803361c
21ba8273f858d1af24d0abdb841bb019e8fa0965
refs/heads/main
2023-06-26T07:50:39.179665
2021-07-31T06:27:11
2021-07-31T06:27:11
387,947,845
5
0
null
null
null
null
UTF-8
Python
false
false
191
py
import eth_sandbox from web3 import Web3 eth_sandbox.run_launcher([ eth_sandbox.new_launch_instance_action(deploy_value=Web3.toWei(0, 'ether')), eth_sandbox.new_get_flag_action() ])
[ "kendricktan0814@gmail.com" ]
kendricktan0814@gmail.com
781ffa6094e1e065a1662ff414e97c2d8e72f5f6
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_clambake.py
a60e6c1d2e25f9b27e08fb830685e405c05f668b
[ "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
359
py
#calss header class _CLAMBAKE(): def __init__(self,): self.name = "CLAMBAKE" self.definitions = [u'an event in which seafood is cooked and eaten outside, usually near the sea'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = ...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
c9a9d2dda80846c0c2c7b067316cfabaf6aed24b
321b4ed83b6874eeb512027eaa0b17b0daf3c289
/1266/1266.minimum-time-visiting-all-points.289659185.Accepted.leetcode.python3.py
76eb95f002965918c8ee1bffff4858d8a5a97364
[]
no_license
huangyingw/submissions
7a610613bdb03f1223cdec5f6ccc4391149ca618
bfac1238ecef8b03e54842b852f6fec111abedfa
refs/heads/master
2023-07-25T09:56:46.814504
2023-07-16T07:38:36
2023-07-16T07:38:36
143,352,065
0
1
null
null
null
null
UTF-8
Python
false
false
277
py
class Solution(object): def minTimeToVisitAllPoints(self, points): x1, y1 = points[0] time = 0 for x2, y2 in points[1:]: dx, dy = abs(x1 - x2), abs(y1 - y2) time += max(dx, dy) x1, y1 = x2, y2 return time
[ "huangyingw@gmail.com" ]
huangyingw@gmail.com
f03251f2e2c93487fb9538d28c53e60da6493523
772f8f0a197b736cba22627485ccbdb65ed45e4b
/day09/mygui3.py
85903ce1a15afbb06fa75763d482edd7e38d2f79
[]
no_license
zhpg/python1805
ddc69cd1b3bda8bef1cb0c2913d456ea2c29a391
3d98c8ebc106fd0aab633a4c99ae6591013e4438
refs/heads/master
2020-03-26T11:26:59.378511
2018-08-05T09:25:21
2018-08-05T09:25:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
610
py
#!/usr/bin/env python3 # -*- coding:utf-8 -*- import tkinter from functools import partial def say_hi(world): def welcome(): label.config(text='Hello %s' % world) return welcome root = tkinter.Tk() label = tkinter.Label(text='Hello world', font="15px") b1 = tkinter.Button(root, bg='red', fg='whit...
[ "root@room9pc01.tedu.cn" ]
root@room9pc01.tedu.cn
62c0360071a15ade3e6a6b3f38a577416759847b
7160e632d88bf49492616f8152c91cb9f1d40d8d
/testcases/statistical_form2/test_case_166_statistical_form_alarm_detail.py
53c29adc336cc3d9a149c60941a9e7a5f1d2954e
[]
no_license
huangqiming123/tuqiangol_test1
ad5ddf22ce61b5b6daad55f684be5da160a64e59
75722812260590480320910c4ad6f6c1251a2def
refs/heads/master
2021-03-30T23:29:08.478494
2018-03-12T03:45:11
2018-03-12T03:45:11
124,832,890
1
0
null
null
null
null
UTF-8
Python
false
false
2,802
py
import unittest from time import sleep from automate_driver.automate_driver import AutomateDriver from pages.alarm_info.alarm_info_page import AlarmInfoPage from pages.base.base_page import BasePage from pages.base.lon_in_base import LogInBase from pages.statistical_form.statistical_form_page import StatisticalFormPage...
[ "mail_zhangao@126.com" ]
mail_zhangao@126.com
d8c6eb7e638620f0db30fcee4607c3f27da7d23c
501e9924cb19e95c32e2d168e73ea44e7c9c440c
/readfiles.py
9c0300bb83848b8231570bcef6216b1d447617f6
[]
no_license
Miguelmargar/file-io
cc2790b109187dbeec87788c662aaf52d8e96c02
f1c6f6ccfefbc572cac83a6ddc21ba2e902ac0c1
refs/heads/master
2020-03-17T17:23:49.493484
2018-05-21T12:22:23
2018-05-21T12:22:23
133,786,461
0
0
null
null
null
null
UTF-8
Python
false
false
1,607
py
#to read a file's data # ONE WAY ----------------------------------------- f = open("data.txt", "r") # opens file to read it with "r" lines = f.readlines() # stores the file info in lines variable therefore in memory f.close() # closes the file but it is ...
[ "miguelitalia@hotmail.com" ]
miguelitalia@hotmail.com
73782f3ba66ecf7f99c21522cdbbf9118fadd0e6
32e2ba212d39e022bea40f12cdd6b3c138a62ac0
/mizani/tests/test_breaks.py
b1e61d60f512ce503f985284c50ce6a24b8c473b
[ "BSD-3-Clause" ]
permissive
vals/mizani
148dd985d25796c25346a3fac106c1c5c7f40d05
6b288fe6061e36add001cc5f8ffb147154e7ca62
refs/heads/master
2020-09-11T09:59:07.672839
2017-06-16T08:03:30
2017-06-16T08:03:30
94,454,967
1
0
null
2017-06-15T15:47:21
2017-06-15T15:47:21
null
UTF-8
Python
false
false
5,432
py
from __future__ import division from datetime import datetime, timedelta import pandas as pd import numpy as np import numpy.testing as npt import pytest from mizani.breaks import (mpl_breaks, log_breaks, minor_breaks, trans_minor_breaks, date_breaks, timedelta_br...
[ "has2k1@gmail.com" ]
has2k1@gmail.com
09c5c0f500049f682537e17e758566cd5a346d59
bc01e1d158e7d8f28451a7e108afb8ec4cb7d5d4
/sage/src/sage/combinat/species/functorial_composition_species.py
6c84368ba4dfa192538a5c7946a0850b4b801bd3
[]
no_license
bopopescu/geosci
28792bda1ec1f06e23ba8dcb313769b98f793dad
0d9eacbf74e2acffefde93e39f8bcbec745cdaba
refs/heads/master
2021-09-22T17:47:20.194233
2018-09-12T22:19:36
2018-09-12T22:19:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,158
py
""" Functorial composition species """ from __future__ import absolute_import #***************************************************************************** # Copyright (C) 2008 Mike Hansen <mhansen@gmail.com>, # # Distributed under the terms of the GNU General Public License (GPL) # # This code is distribute...
[ "valber@HPC" ]
valber@HPC
163265522ac5b1d53899d5d114cb4432cf72522d
1548ce77537dcd50ab04b0eaee050b5d30553e23
/tests/test_pipeline/components/classification/test_lda.py
f78f133407c5e5dff1614b0807339f117fb6d6e8
[ "Apache-2.0" ]
permissive
Shamoo100/AutoTabular
4a20e349104246bf825ebceae33dca0a79928f2e
7d71bf01d2b7d84fcf5f65c9f45c5cea1255d8a2
refs/heads/main
2023-08-13T21:34:34.329888
2021-10-02T07:06:00
2021-10-02T07:06:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
768
py
import sklearn.discriminant_analysis from autotabular.pipeline.components.classification.lda import LDA from .test_base import BaseClassificationComponentTest class LDAComponentTest(BaseClassificationComponentTest): __test__ = True res = dict() res['default_iris'] = 1.0 res['default_iris_iterative'...
[ "jianzhnie@126.com" ]
jianzhnie@126.com
9c94a6ae985e0ffbcc4884ebef338fa1f8d357d0
b7a2a80843fa5141ffb9c7b4439f1d2ac713af30
/Version2/U7.2_Threads_Alt.py
6e674dc4ae02171ef537759fd638fb0b727f2a73
[]
no_license
wunnox/python_grundlagen
df1bc2b9b1b561bd6733ccc25305e799a48e714e
fa84d7aae7332a7acbb3ba7ff0fe2216cc345fc0
refs/heads/master
2023-05-01T12:19:23.208445
2023-04-16T11:29:01
2023-04-16T11:29:01
222,099,539
2
3
null
2019-12-19T10:56:43
2019-11-16T12:57:54
Python
UTF-8
Python
false
false
1,241
py
#!/usr/bin/python # -*- coding: utf-8 -*- from __future__ import print_function #################################################### # # Uebung: # Erstellen Sie ein Programm, welches drei Threads startet # Der erste Thread läuft 8 Sekunden, der zweite 4 Sekunden und der dritte 6 Sekunden # Nehmen Sie als Vorlage , die ...
[ "peter.christen@cssgmbh.ch" ]
peter.christen@cssgmbh.ch
9a4a66b73d5ac59e838f0aa82bbb615cf4efa43f
6c58da2c54a3d35273e7984313d181f1da9981fc
/Multiple_Apps/djangoEnv/bin/django-admin.py
78fd42c83301322a9da7ef20392fed2b3158a0b1
[ "MIT-0" ]
permissive
py1-10-2017/rgero215_PY1-10-2017
e582cb12cc63f84b1c0c14d09a922cb6cb228016
f455b335ec9c8c850571f3a75dcd95759b4cfdad
refs/heads/master
2021-09-04T03:23:48.062326
2018-01-14T21:07:26
2018-01-14T21:07:26
105,612,652
1
0
null
null
null
null
UTF-8
Python
false
false
187
py
#!/Users/RGero13/Desktop/rgero215_PY1-10-2017/Multiple_Apps/djangoEnv/bin/python from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "rgero215@gmail.com" ]
rgero215@gmail.com
30d76d5a0ff3e6f690abdabd2e750c027eb4391d
c05f9fb686ef49c093e618a4078ffe723231f346
/config/conf.py
aa2247f1303787036d7ea5fca1e3fa1d81a42f4c
[]
no_license
wmm0165/PytestAuto
d1bb40dcc5760439658c15af653953646119af44
42846b12ed7aefaa4e5890529ec71a76d27f245d
refs/heads/master
2020-07-16T16:35:19.962864
2019-09-16T10:08:37
2019-09-16T10:08:37
205,825,635
0
0
null
null
null
null
UTF-8
Python
false
false
881
py
from datetime import datetime import os # 项目根目录 ROOT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # 报告目录 REPORT_DIR = os.path.join(ROOT_DIR, 'report') # ui对象库config.ini文件所在目录 CONF_PATH = os.path.join(ROOT_DIR, 'config', 'config.ini') # 测试数据所在目录 DATA_Path = os.path.join(ROOT_DIR, 'data', 'tcData.xl...
[ "wmm_0165@163.com" ]
wmm_0165@163.com
592ac9a1613e8c2b0e733f3b1ebe6ebb4046e7ca
cb12e3eff7bbb5fe2f4d0e2be9ca165a5577dc93
/plt-and-algo/webrtc-p2pframe/serve.py
a43133af73a4329d22e725d2ebc34e112a0c7968
[]
no_license
overminder/kitchen-sink
6b1227ff00f8804d4d0a632e613ee903d51ab753
2e61b9041ceed536d42b42b75a5c50dae080c0ba
refs/heads/master
2023-06-09T05:48:47.291336
2023-05-29T17:38:34
2023-05-29T17:38:34
50,777,705
18
3
null
2020-02-09T19:22:18
2016-01-31T14:13:16
Scala
UTF-8
Python
false
false
3,346
py
#!/usr/bin/env python3.5 import logging import os import sys import random import json HERE = os.path.abspath(os.path.dirname(os.path.realpath(__file__))) STATIC_PATH = os.path.join(HERE, 'static') from tornado import gen from tornado.websocket import WebSocketHandler from tornado.web import Application, RequestHan...
[ "p90eri@gmail.com" ]
p90eri@gmail.com
8704bbaf901d8a35e0ee5512cc626afd639f0d60
bed0d23d35b42b7316dee35f9fa06d4d2cc9de26
/src/custom_admin/__init__.py
5ec402089bc364c75d9685df1a8d89ebdb5cca66
[]
no_license
Bloodlettinger/meandre
b55911c93faf6c279f496394137def21ec181e6a
f9a8c5dc709fcdda808fc1329264724c7b8d951e
refs/heads/master
2020-05-17T23:01:15.326103
2012-10-11T17:22:48
2012-10-11T17:22:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
# -*- coding: utf-8 -*- from datetime import date, datetime def ddmmyy(value): if isinstance(value, (date, datetime)): return value.strftime('%d.%m.%y') else: return u'--'
[ "ruslan.popov@gmail.com" ]
ruslan.popov@gmail.com
8b92035f4b34e0556c903e155ba9a8618bf17529
275a96a33ae1f89e7b2ee0ecdbac7d78abe6d6cc
/test/test_bad_request_error_code.py
670128cb3664339498ad0e2fe8a03b0977a7c7ff
[]
no_license
cascadiarc/cyclos-python-client
8029ce07174f2fe92350a92dda9a60976b2bb6c2
a2e22a30e22944587293d51be2b8268bce808d70
refs/heads/main
2023-04-03T16:52:01.618444
2021-04-04T00:00:52
2021-04-04T00:00:52
354,419,532
0
0
null
null
null
null
UTF-8
Python
false
false
913
py
# coding: utf-8 """ Cyclos 4.11.5 API The REST API for Cyclos 4.11.5 # noqa: E501 OpenAPI spec version: 4.11.5 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import swagger_client from swagger_client.models.bad_req...
[ "dan@leftcoastfs.com" ]
dan@leftcoastfs.com
4fd9c70db157736bfaf3aab4bd859f51b90b8f41
82aee3211216f55392d5a757eb57f02c859e9a28
/Easy/599_minimumIndexSumOfTwoLists.py
d92b6e8b5c30aa160a4ed09faac635a69b9d9ca6
[]
no_license
Yucheng7713/CodingPracticeByYuch
505d18095d4b9a35c1f3b23632a90a76d811b64a
1461b10b8910fa90a311939c6df9082a8526f9b1
refs/heads/master
2022-05-01T11:51:00.612603
2022-04-18T09:46:55
2022-04-18T09:46:55
198,961,132
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
class Solution: def findRestaurant(self, list1: List[str], list2: List[str]) -> List[str]: r_set = set(list1 + list2) map_1 = {res : i for i, res in enumerate(list1)} map_2 = {res : i for i, res in enumerate(list2)} common_res = [] min_sum = float('inf') for r in r_se...
[ "yuchengh@usc.edu" ]
yuchengh@usc.edu
be5e0b741dc6ad841c668031edaee115bfe5314e
36059411cedfeec7478fd725c43f2120ab5ad38d
/boulder_ftp.py
a055a456e089b72f19569b633bd3059a4fd66cd2
[]
no_license
tytechortz/Arctic-Ice
a8345746bdd2d73559941ea71efe06601212a7f1
83aac39c00027cca6bd85fd2709fcfe86cf3ef31
refs/heads/master
2022-07-09T13:38:41.735808
2020-01-02T16:22:52
2020-01-02T16:22:52
167,096,158
1
0
null
2022-06-21T23:10:16
2019-01-23T01:35:54
Jupyter Notebook
UTF-8
Python
false
false
541
py
from ftplib import FTP import os import pandas as pd # Log into ftp site. ftp = FTP('sidads.colorado.edu') ftp.login(user='anonymous', passwd='ICE_PSWD') ftp.login() # Read file. ftp.cwd('/pub/DATASETS/NOAA/G02135/north/daily/data/') ftp.retrbinary('RETR N_seaice_extent_daily_v3.0.csv', open('N_seaice_extent_daily_v3...
[ "jmswank7@gmail.com" ]
jmswank7@gmail.com
076bf3038294b33eac256cefdfcdc846835b8fba
9905901a2beae3ff4885fbc29842b3c34546ffd7
/nitro-python/build/lib/nssrc/com/citrix/netscaler/nitro/resource/config/filter/filterglobal_filterpolicy_binding.py
5aac2b8dd0a9540023a40b6dd3d6be45a9da1f39
[ "Python-2.0", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
culbertm/NSttyPython
f354ebb3dbf445884dbddb474b34eb9246261c19
ff9f6aedae3fb8495342cd0fc4247c819cf47397
refs/heads/master
2020-04-22T17:07:39.654614
2019-02-13T19:07:23
2019-02-13T19:07:23
170,530,223
0
0
null
null
null
null
UTF-8
Python
false
false
6,576
py
# # Copyright (c) 2008-2016 Citrix Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
[ "mdculbert@marathonpetroleum.com" ]
mdculbert@marathonpetroleum.com
f4291ee93deaf810818660a525dacb66b3a2eb7c
6227d63532f2d657ef66d90709a3a1f484e9784b
/oviqpr/wsgi.py
02a76e64db03ba8feffdd1981fb6c14b65e4ad1b
[]
no_license
vassily-la/oviq
2edff4e61e5ac8cb94b462e2ed5c5bec2c5b014a
65a86ca5cddd0180e8309a7659eaab6a35a5c785
refs/heads/master
2021-04-28T03:05:02.908010
2018-02-22T17:14:32
2018-02-22T17:14:32
122,131,126
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
""" WSGI config for oviqpr 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/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTI...
[ "vasil.deville@gmail.com" ]
vasil.deville@gmail.com
d5046c3c0b613b372fc250a121575cad4d03bc38
89d230ad44d17b18897da507725b0a10c32960d8
/Gen2_0_PP/Contest/weaponsProblem.py
4262d5dcd74a8bb81dd8ecc8b8b5afcbc6146ab4
[]
no_license
KB-perByte/CodePedia
aeeae87b56cf0ff6e02200cfd6b34da42a007338
287e7a3ce981bbf594436cdc06dde23a02b53bb0
refs/heads/master
2021-06-19T07:32:53.849871
2021-01-23T16:17:27
2021-01-23T16:17:27
163,250,017
0
1
null
2020-03-21T14:39:36
2018-12-27T05:13:55
JavaScript
UTF-8
Python
false
false
2,014
py
''' Daenerys has N types of weapons. There are Ai number of weapons of type i (1 <= i <= N). She wants to distribute these weapons among K soldiers. She wants to distribute them in such a way that: All soldier get equal number of weapons. All the weapons which a soldier gets must be of same type. As she wants to make ...
[ "paul.sagar@yahoo.com" ]
paul.sagar@yahoo.com
bf5c6fee091e8426d7dd6d71ed755b2e3e1eaeed
7e4425342a4d7e0f40978af17091f32d2712c79c
/Cb_DeepLearning_lec/Day_04_02_collection.py
280b5a625f46315f5d0d9b50bfda8439d9fccca1
[]
no_license
yunhui21/CB_Ai_NLP
eca3da00c6c9615c8737b50d2c5ebe8dd1e3ba8a
b66ecc24abfd988fc9e7f19fa1941826b1bf38a4
refs/heads/master
2023-01-07T14:21:26.758030
2020-11-16T05:57:30
2020-11-16T05:57:30
291,835,156
1
0
null
null
null
null
UTF-8
Python
false
false
2,389
py
# Day_04_02_collection.py a = [1, 3, 7, 9] for i in a: print(i, end=' ') print() # 문제 # 리스트를 거꾸로 출력하세요 for i in reversed(a): print(i, end=' ') print() # 튜플 : 상수 버전의 리스트 (읽기 전용 리스트) b = (1, 3, 7, 9) print(b) print(b[0], b[1]) for i in b: print(i, end=' ') print() # b[0] = -1 # error # b.append(...
[ "yunhui21@gmail.com" ]
yunhui21@gmail.com
ae9c23f5fdb98de82ae8cbf6a8e4ee62419a45d6
493a36f1f8606c7ddce8fc7fe49ce4409faf80be
/.history/B073040023/client_20210614185044.py
dc83e9c3495b85ade6ac751b06199f40df2ea143
[]
no_license
ZhangRRz/computer_network
f7c3b82e62920bc0881dff923895da8ae60fa653
077848a2191fdfe2516798829644c32eaeded11e
refs/heads/main
2023-05-28T02:18:09.902165
2021-06-15T06:28:59
2021-06-15T06:28:59
376,568,344
0
0
null
2021-06-13T14:48:36
2021-06-13T14:48:36
null
UTF-8
Python
false
false
4,772
py
import socket import threading import tcppacket import struct # socket.socket() will create a TCP socket (default) # socket.socket(socket.AF_INET, socket.SOCK_STREAM) to explicitly define a TCP socket sock = socket.socket(socket.AF_INET,socket.SOCK_DGRAM) # explicitly define a UDP socket udp_host = '127.0.0.1' # Host...
[ "tom95011@gmail.com" ]
tom95011@gmail.com
21108a445d65be0ac0386514b2c345649b88fd66
32fb781cb6718ef90c4fdfba0469f9278380a256
/AntShares/Core/Transaction.py
83091faf4d380c5c037c959eb17dbfab2778feca
[ "MIT" ]
permissive
OTCGO/sync_antshares
1dcd6f809518ff2f9f89047d7da5efedb14e8625
5724a5a820ec5f59e0c886a3c1646db2d07b4d78
refs/heads/master
2021-01-22T22:49:26.094742
2017-12-14T17:15:33
2017-12-14T17:15:33
85,582,206
10
3
null
null
null
null
UTF-8
Python
false
false
2,899
py
# -*- coding:utf-8 -*- """ Description: Transaction Basic Class Usage: from AntShares.Core.Transaction import Transaction """ from AntShares.Core.AssetType import AssetType from AntShares.Core.TransactionType import TransactionType from AntShares.Helper import * from AntShares.Fixed8 import Fixed8 from AntShar...
[ "flowjacky@gmail.com" ]
flowjacky@gmail.com
22b06f917a2e60d9e5443d0a32cf7b4cb27e71c3
50f42e142c7b989afc9bc9d9fd53515923aceb56
/ML_practice/test_field.py
824433785cb92c1abe62e59a015e4140ff9a6c0c
[]
no_license
shincling/MyCommon
7d02da4408f1ab0acf883845cbb8b8e54e364076
ae362fdef8d51c808645f7827a86e43d07db6e0f
refs/heads/master
2021-01-17T04:10:57.546936
2018-11-06T13:17:27
2018-11-06T13:17:27
45,384,609
2
2
null
null
null
null
UTF-8
Python
false
false
265
py
def f(): print "Before first yield" yield 1 print "Before second yield" yield 2 print "After second yield" g = f() # g.next() # g.next() print "Before first next" g.next() print "Before second next" g.next() print "Before third yield" g.next()
[ "shijing609@163.com" ]
shijing609@163.com
bb7711a1d9a0542bf0147818f036a11eb8eb630f
5f65e12a62b59aea9263f35240c960b7e6009aa5
/cb_scripts/game_on.py
5cd86411560201702863ecffeab27460f20cfee6
[ "MIT" ]
permissive
christopher-burke/python-scripts
23e80b8e7f26a74ab68dc7d0ad1a8093d900cf8b
f5dceca0bdbe9de6197b26858600b792f6adff8a
refs/heads/main
2022-05-20T01:36:04.668447
2022-04-25T20:31:33
2022-04-25T20:31:33
6,054,247
1
1
MIT
2022-03-16T02:24:45
2012-10-03T01:49:53
Python
UTF-8
Python
false
false
1,233
py
#!/usr/bin/env python3 """Game on. Games won tracker. """ from dataclasses import dataclass, asdict import json import sys # from datetime import date @dataclass class Player: """Player dataclass.""" name: str @dataclass class Match: """Match dataclass.""" game: str date: date = date.today...
[ "christopherjamesburke@gmail.com" ]
christopherjamesburke@gmail.com
9f1faec8e0731fbad823f5000c61ae7553ec1af1
9083d620ec89d3c85f4270fd724010c20799368e
/app/admin.py
a6361094fdf44cebc131a84ddfb668ce2f22b52a
[]
no_license
riyadhswe/CovidHelp
e122aa1fefacb985c862e758a3021af4af08712e
5e004739ec3facebbccdf0e9e46f96d3c01b2bb6
refs/heads/master
2023-08-14T04:14:37.458150
2021-10-10T05:02:23
2021-10-10T05:02:23
370,762,838
2
0
null
null
null
null
UTF-8
Python
false
false
203
py
from django.contrib import admin from app.models import * # Register your models here. admin.site.register(Division) admin.site.register(City) admin.site.register(Hospital) admin.site.register(Service)
[ "riyadhswe@gmail.com" ]
riyadhswe@gmail.com
f0da7aa51ef368c2762cf0033e027208273b4603
41188a72facc51c65d0d58efe127f5e8c8811f5e
/0046. Permutations/Solution.py
76886c436d83c51c92b29bc0f627d71268d88c1c
[ "MIT" ]
permissive
furutuki/LeetCodeSolution
74ccebc8335125bbc4cbf1a76eb8d4281802f5b9
089d27af04bf81149251787409d1866c7c4390fb
refs/heads/master
2022-10-31T08:46:15.124759
2022-10-25T02:57:54
2022-10-25T02:57:54
168,449,346
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
from typing import List class Solution: def permute(self, nums: List[int]) -> List[List[int]]: def dfs(num: List[int], cur_res: List[int]): if not num: ret.append(cur_res) return else: for i in range(len(num)): d...
[ "furutuki@foxmail.com" ]
furutuki@foxmail.com
32d2b673b4421719313ac17c64560921dade7d60
2b8d4e22d10ca118fba0100cc87af04f3939448f
/ioud10/ioud_sale_order/__manifest__.py
22982bed7d88a58ac835d123e58c4e47090afaf9
[]
no_license
ahmed-amine-ellouze/personal
f10c0a161da709f689a3254ec20486411102a92d
4fe19ca76523cf274a3a85c8bcad653100ff556f
refs/heads/master
2023-03-28T23:17:05.402578
2021-03-25T13:33:18
2021-03-25T13:33:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,047
py
# -*- coding: utf-8 -*- { 'name': "ioud_sale_order", 'summary': """ This module is for customization of sale for iOud """, 'description': """ This module is for customization of sale for iOud """, 'author': "SolutionFounder", 'website': "http://www.solutionfounder.com", ...
[ "hussnainsajid08@gmail.com" ]
hussnainsajid08@gmail.com
193122adf0ef9170907c47e035ebe8434d378807
e3910a25ca4456a35112d41f184fe2a919214ac0
/reservation/migrations/0003_auto_20160310_2101.py
4bd2beed2f08e5987ae67f1bc5dbe13adea43864
[]
no_license
RobertPastor/studio_reservation
a498f1ae2077bb21199651d245f22cb59ef13370
63a47de856cc1d5aedbd4024d8696b39470d11f2
refs/heads/master
2021-01-10T16:13:32.935529
2018-01-28T14:19:28
2018-01-28T14:19:28
54,514,678
0
0
null
null
null
null
UTF-8
Python
false
false
658
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.3 on 2016-03-10 20:01 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('reservation', '0002_reserva...
[ "robert.pastor0691@orange.fr" ]
robert.pastor0691@orange.fr
8b346eaacf62c7cde882fe6c60be97b4649c2519
1620e0af4a522db2bac16ef9c02ac5b5a4569d70
/Ekeopara_Praise/Phase 2/DICTIONARY/Day48 Tasks/Task2.py
81b89aa1ff7a364846dcb6ab7608ea8ed5a16508
[ "MIT" ]
permissive
Ekeopara-Praise/python-challenge-solutions
cda07902c9ffc09ba770ae7776e5e01026406a05
068b67c05524b5c5a0d6084315eca3424c768421
refs/heads/master
2022-12-15T15:29:03.031583
2020-09-25T06:46:27
2020-09-25T06:46:27
263,758,530
2
0
null
2020-05-13T22:37:33
2020-05-13T22:37:32
null
UTF-8
Python
false
false
211
py
'''2. Write a Python script to add a key to a dictionary. Sample Dictionary : {0: 10, 1: 20} Expected Result : {0: 10, 1: 20, 2: 30} ''' original_dict = {0: 10, 1: 20} original_dict[2] = 30 print(original_dict)
[ "ekeoparapraise@gmail.com" ]
ekeoparapraise@gmail.com
8753a921a15f6a43bf864b793500b8df7df5a232
bc437dc74647765b51996f64b35fda3d047daf93
/2_Intermediate/day18_The_Hirst_Painting_Project/main.py
4c03978fb420c12c9f275227d28b734e5c0a907b
[]
no_license
macosta-42/100_days_of_code
e06720d57b6ed870a3dd4fa4e6d019296206a08f
5b527dc18bae2ef556c26f653ef3c4badf94bb82
refs/heads/main
2023-05-22T03:26:02.422275
2021-06-10T10:31:26
2021-06-10T10:31:26
328,963,362
0
0
null
null
null
null
UTF-8
Python
false
false
1,187
py
# import colorgram # # Extract 30 colors from an image. # colors = colorgram.extract('image.jpg', 30) # # rgb_colors = [] # # for color in colors: # r = color.rgb.r # g = color.rgb.g # b = color.rgb.b # new_color = (r, g, b) # rgb_colors.append(new_color) # # # print(rgb_colors) import turtle as t ...
[ "macosta@student.42.fr" ]
macosta@student.42.fr
39449e677ee1bf94f14738a476fbaeffef554460
11e484590b27585facf758f0432eeebe66bf790a
/fal_default_discount/__openerp__.py
ebb37f69d114ff8b401e6a98002ffca961d71f5d
[]
no_license
jeanabreu/falinwa_branch
51b38ee5a3373d42417b84a0431bad9f7295f373
be96a209479259cd5b47dec73694938848a2db6c
refs/heads/master
2021-01-18T10:25:49.866747
2015-08-25T10:05:05
2015-08-25T10:05:05
41,369,368
0
1
null
2015-08-25T14:51:50
2015-08-25T14:51:50
null
UTF-8
Python
false
false
569
py
# -*- coding: utf-8 -*- { "name": "GEN-39_Default Discount", "version": "1.0", 'author': 'Falinwa Hans', "description": """ Module to give default discount """, "depends" : ['base','account','sale','purchase'], 'init_xml': [], 'data': [ ], 'update_xml': [ 'res_partner...
[ "hans.yonathan@falinwa.com" ]
hans.yonathan@falinwa.com
63a3859655163da8d1b68d6100318174b51087b3
fa69eadde7b449647ebd976214d2f99886b6db18
/FireHydrant/common/enum/task/type.py
da3d9f0df70ac9947f6d9e55b12919b3b7ed67be
[]
no_license
shoogoome/FireHydrant
0da1d6e06aa9e853837f6435a30ac4ef73118764
7467cd66e1fc91f0b3a264f8fc9b93f22f09fe7b
refs/heads/master
2020-06-21T01:29:25.711595
2019-12-18T00:31:01
2019-12-18T00:31:01
197,309,304
4
0
null
null
null
null
UTF-8
Python
false
false
265
py
# -*- coding: utf-8 -*- # coding:utf-8 from common.core.dao.enumBase import EnumBase class TaskTypeEnum(EnumBase): PERSONAL = 0 TEAM = 1 __default__ = PERSONAL __desc__ = { 'PERSONAL': '个人任务', 'TEAM': '团队任务', }
[ "shoogoome@sina.com" ]
shoogoome@sina.com
7db647d25a21499083092c001e5dbe7f68539f5a
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/506ae8f067379afa4417a57db5814487ea198a23-<_ldflags>-fix.py
e74dc5c62be559f47e3819254ac49089008a296f
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,311
py
@utils.memoize def _ldflags(ldflags_str, libs, flags, libs_dir, include_dir): 'Extract list of compilation flags from a string.\n\n Depending on the options, different type of flags will be kept.\n\n Parameters\n ----------\n ldflags_str : string\n The string to process. Typically, this will be t...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
3020613b94d8ab6d48331de09fbcc650efe92b54
1978a9455159b7c2f3286e0ad602652bc5277ffa
/exercises/15_module_re/task_15_2a.py
ff8cb7e603b04c43d8bed5f08c6262dda11c4009
[]
no_license
fortredux/py_net_eng
338fd7a80debbeda55b5915dbfba4f5577279ef0
61cf0b2a355d519c58bc9f2b59d7e5d224922890
refs/heads/master
2020-12-03T17:32:53.598813
2020-04-08T20:55:45
2020-04-08T20:55:45
231,409,656
0
0
null
null
null
null
UTF-8
Python
false
false
2,102
py
# -*- coding: utf-8 -*- ''' Задание 15.2a Создать функцию convert_to_dict, которая ожидает два аргумента: * список с названиями полей * список кортежей со значениями Функция возвращает результат в виде списка словарей, где ключи - взяты из первого списка, а значения подставлены из второго. Например, если функции пер...
[ "fortunaredux@protonmail.com" ]
fortunaredux@protonmail.com
042afc513c24332f122836a2cec49692b2f77a28
7a63ce94e1806a959c9c445c2e0bae95afb760c8
/tests/incident/test_resolve.py
8ccf653a5dbc4b46fd96837ef309be097512d6e1
[ "MIT" ]
permissive
pklauke/pycamunda
20b54ceb4a40e836148e84912afd04d78d6ba0ec
3faac4037212df139d415ee1a54a6594ae5e9ac5
refs/heads/master
2023-08-18T10:23:30.503737
2022-04-17T18:34:40
2022-04-17T18:34:40
240,333,835
40
16
MIT
2023-09-12T13:29:08
2020-02-13T18:37:25
Python
UTF-8
Python
false
false
1,602
py
# -*- coding: utf-8 -*- import unittest.mock import pytest import pycamunda.incident from tests.mock import raise_requests_exception_mock, not_ok_response_mock def test_resolve_params(engine_url): resolve_incident = pycamunda.incident.Resolve(url=engine_url, id_='anId') assert resolve_incident.url == engi...
[ "peter.klauke@tu-dortmund.de" ]
peter.klauke@tu-dortmund.de
b1363d2eeea65f67da9c4da23778667e39565849
ee4152e9b5eafa7afafe05de04391a9a3606eea3
/client/API/AddRecord.py
431bc9058aefc1020df12034d650ed008e3998a5
[]
no_license
adibl/password_saver
3a06c8c04905d82f01fc14b41b646a6578af2b70
2ea73781db92ce750f91039251f2c06e929da7bb
refs/heads/master
2020-04-09T23:51:34.804870
2019-06-16T10:13:42
2019-06-16T10:13:42
160,665,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,675
py
""" name: date: description """ import base64 import json import requests import os from .connection import Request class Passwords(object): FILE_NAME = 'token.txt' @classmethod def handle(cls, url, username, password): return cls.POST(url, username, password) @classmethod def GET(cls): ...
[ "bleyer23@gmail.com" ]
bleyer23@gmail.com
881b5c0fc9bea295c8d51dcae0942461610bb9c2
8c5f1e07333edfd14a58677ea90ea9a8ec24daa7
/examples/simple_pendulum/custom_simple_pendulum.py
423dcab619d69ba966d9a866ae2b925a8862fb9f
[ "MIT" ]
permissive
echoix/pyro
52c37b3c14fb3b52977be510545fdc43922dd8f9
787920cb14e3669bc65c530fd8f91d4277a24279
refs/heads/master
2020-09-07T09:08:21.114064
2019-11-10T05:59:50
2019-11-10T05:59:50
220,733,155
0
0
MIT
2019-11-10T02:52:39
2019-11-10T02:52:38
null
UTF-8
Python
false
false
1,412
py
# -*- coding: utf-8 -*- """ Created on Wed Nov 7 12:19:01 2018 @author: nvidia """ ############################################################################### import numpy as np ############################################################################### from pyro.dynamic import pendulum ######################...
[ "alx87grd@gmail.com" ]
alx87grd@gmail.com
2b8edfa347b5b9d6a6b2c2d912242611e9907980
7b102f9c8f2e3f9240090d1d67af50333a2ba98d
/nonfatal_code/hospital/Formatting/001_pre_format_UK_UTLA_fit_models.py
a401509726a0ff362b8b717c593c63c90020b098
[]
no_license
Nermin-Ghith/ihme-modeling
9c8ec56b249cb0c417361102724fef1e6e0bcebd
746ea5fb76a9c049c37a8c15aa089c041a90a6d5
refs/heads/main
2023-04-13T00:26:55.363986
2020-10-28T19:51:51
2020-10-28T19:51:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,688
py
# -*- coding: utf-8 -*- """ formatting UK UTLA data """ import pandas as pd import numpy as np import platform import sys import statsmodels.formula.api as smf import statsmodels.api as sm import time sys.path.append("FILEPATH") from hosp_prep import * # Environment: if platform.system() == "Linux": ...
[ "nsidles@uw.edu" ]
nsidles@uw.edu
ae3c07417196b04210dbed26d9b1fba5aac5f9ec
07ec5a0b3ba5e70a9e0fb65172ea6b13ef4115b8
/lib/python3.6/site-packages/numpy/core/tests/test_regression.py
39a92211635a6dcc5cd242241cf5f18f0e08b70e
[]
no_license
cronos91/ML-exercise
39c5cd7f94bb90c57450f9a85d40c2f014900ea4
3b7afeeb6a7c87384049a9b87cac1fe4c294e415
refs/heads/master
2021-05-09T22:02:55.131977
2017-12-14T13:50:44
2017-12-14T13:50:44
118,736,043
0
0
null
2018-01-24T08:30:23
2018-01-24T08:30:22
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:2d5a65e7c1da1e87651cabd3481c0012ad15f784275aad1259a1312faf19cfc2 size 81211
[ "seokinj@jangseog-in-ui-MacBook-Pro.local" ]
seokinj@jangseog-in-ui-MacBook-Pro.local
bce22db2adda5234a705ff0d1fb719565b3bddd8
9692a20a1e7a224a72785e4495f31421639b9f3b
/frex/pipeline_stages/filters/candidate_filterer.py
2d79e3b31e1ec3776b5978e1f52488af2826dfdb
[]
no_license
solashirai/FREx
6b0cb040930761a0e269f4591d7dde36e3f636d1
36ad09a0cb0020661ee990c7800bafd110e2ec04
refs/heads/master
2023-08-14T08:49:49.270281
2021-09-29T14:58:23
2021-09-29T14:58:23
291,760,109
0
0
null
2021-09-24T22:41:19
2020-08-31T15:57:47
Python
UTF-8
Python
false
false
2,535
py
from abc import abstractmethod from typing import Generator, Optional, Any from frex.models import Explanation, Candidate from frex.pipeline_stages import PipelineStage class CandidateFilterer(PipelineStage): """ CandidateFilterer is a PipelineStage that determines whether input candidates should be removed f...
[ "solashakashirai@gmail.com" ]
solashakashirai@gmail.com
113af3e207e4b01797c11ec0d406ac5a136b56c2
801418efbd049078c8aad4cd17297f3ece571412
/temp/toy/python/238. Product of Array Except Self.py
d7da2b067439b8c2b107a462617c0fb4b8eac579
[]
no_license
xixihaha1995/CS61B_SP19_SP20
2b654f0c864a80a0462fdd4b1561bdc697a8c1e2
7d6599596f7f49b38f1c256ece006b94555c1900
refs/heads/master
2023-01-01T18:41:48.027058
2020-10-29T04:50:01
2020-10-29T04:50:01
240,976,072
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
class Solution: def productExceptSelf(self, nums: List[int]) -> List[int]: res, p, q = [1], 1, 1 for i in range(len(nums)-1): p *= nums[i] res.append(p) for i in range(len(nums)-1, 0, -1): q *= nums[i] res[i-1] *= q return res
[ "wulicheneason@gmail.com" ]
wulicheneason@gmail.com
75d2f93063a4feaf6b869a50b0e5a88d40500e00
2bcf18252fa9144ece3e824834ac0e117ad0bdf3
/httpy/tags/0.7/tests/TestCaseHttpy.py
08a1fc6dd3fb6eb41284fefc3f7dc8c1602cb96c
[]
no_license
chadwhitacre/public
32f65ba8e35d38c69ed4d0edd333283a239c5e1d
0c67fd7ec8bce1d8c56c7ff3506f31a99362b502
refs/heads/master
2021-05-10T14:32:03.016683
2010-05-13T18:24:20
2010-05-13T18:24:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,199
py
"""The idea and code for running a test._server in another thread are from the standard library's test/test_socke._server.py. TODO: This is out of date now that we are using asyncore (via httpy._zope._server). """ import asyncore import os import select import socket import threading import time import unittest fro...
[ "chad@zetaweb.com" ]
chad@zetaweb.com
e827ef9de12fa0211e6677aa82084594cd16d444
6b76819d395bb76591fc12e9de83161b37d61672
/woot/apps/expt/management/commands/step02_zmod.py
f30ef4f4d650e4b9e4688253eed2cfb7feb067a9
[]
no_license
NicholasPiano/img
8426530512ee80a4ed746874c4219b1de56acbfd
3a91c65c3c9680ba7ed7c94308a721dd0cff9ad5
refs/heads/master
2020-05-18T15:48:50.566974
2015-07-16T00:01:17
2015-07-16T00:01:17
38,632,176
0
0
null
null
null
null
UTF-8
Python
false
false
1,707
py
# expt.command: step03_zmod # django from django.core.management.base import BaseCommand, CommandError # local from apps.img.models import Composite from apps.expt.util import * # util from optparse import make_option spacer = ' ' * 20 ### Command class Command(BaseCommand): option_list = BaseCommand.option_lis...
[ "nicholas.d.piano@gmail.com" ]
nicholas.d.piano@gmail.com
16bf0ef9ec53acb6b4376b1146bb236b50565626
fddad101c7be2fcbc05131081e708f31948c002f
/329. Longest Increasing Path in a Matrix/answer_bfs.py
a9141a61f5be8c4c3d3ff273a059e79b03652077
[]
no_license
LennyDuan/AlgorithmPython
a10c9278c676829ab5a284a618f6352414888061
523c11e8a5728168c4978c5a332e7e9bc4533ef7
refs/heads/master
2021-07-16T12:31:08.284846
2021-03-28T20:31:28
2021-03-28T20:31:28
244,040,362
0
0
null
null
null
null
UTF-8
Python
false
false
935
py
def longestIncreasingPath(self, matrix) -> int: if not matrix: return 0 res = 0 visited = set() rows, cols = len(matrix), len(matrix[0]) directions = ((0, 1), (0, -1), (1, 0), (-1, 0)) def traverse(i, j, visited): if (i, j) in visited: return 0 res = 1 ...
[ "hod8@aber.ac.uk" ]
hod8@aber.ac.uk
8679eb15e7abddc2ffc51114e648c08423ab7ebd
2aec9c5e8c72b731d3abf22f2a407fe09c1cde09
/QDS_Test/case/dbwytest.py
22710e1c97b825043ebe5514995dd8e8038a0300
[]
no_license
jiangyg/ZWFproject
8b24cc34970ae0a9c2a2b0039dc527c83a5862b5
aa35bc59566d92721f23d2dd00b0febd268ac2dd
refs/heads/master
2020-09-26T17:01:00.229380
2019-11-15T13:16:21
2019-11-15T13:16:21
226,297,631
0
1
null
2019-12-06T09:55:37
2019-12-06T09:55:36
null
UTF-8
Python
false
false
3,860
py
# coding=utf-8 import time import logging from selenium.webdriver import ActionChains from utils.mytestcase import MyTestCase from utils.logincookie import DengLuPage from utils.random import unicode from utils.screenshort import get_screenshort class DbWyTest(MyTestCase): """担保无忧测试集""" ...
[ "34021500@qq.com" ]
34021500@qq.com
2ac108f270cf5ffa0bfbca7755b958d446b3a030
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/01_netCDF_extraction/merra902Combine/21-tideGauge.py
784ddb0d0f655471f76357e1f1df6c7540900599
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
2,374
py
# -*- coding: utf-8 -*- """ Created on Tue Jun 17 11:28:00 2020 -------------------------------------------- Load predictors for each TG and combine them -------------------------------------------- @author: Michael Tadesse """ import os import pandas as pd #define directories # dir_name = 'F:\\01_erainterim\\01_er...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
72228f507a4ac8d98397a992ca802e652f3d5c8f
2207cf4fb992b0cb106e2daf5fc912f23d538d0d
/src/catalog/serializers.py
1e85a0316ce6f1e7fa4b866254126cb6dd9a095a
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
litedesk/litedesk-webserver-provision
95bc75f61532c5f1c7cb21fb5372ff288999689e
1576b9d3e5e2e64d1136d276767c2710cfb1938f
refs/heads/master
2021-05-15T01:35:31.984067
2020-08-18T10:55:20
2020-08-18T10:55:20
25,595,412
1
0
null
null
null
null
UTF-8
Python
false
false
1,021
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 2014, Deutsche Telekom AG - Laboratories (T-Labs) # # 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/lice...
[ "raphael@lullis.net" ]
raphael@lullis.net
5edaa1b154eb40102fe6ec6a4a37b893c4eab07f
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/hv572GaPtbqwhJpTb_2.py
8e0bb6a39e996aa650ed4adf5f67abcc31d4539a
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
2,831
py
""" In this challenge, you must think about words as elastics. What happens when do you tend an elastic applying a constant traction force at both ends? Every part (or letter, in this case) of the elastic will expand, with the minimum expansion at the ends, and the maximum expansion in the center. If the word has a...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
327169a1cb6be4099ccb7f13fab70dfa92f4742e
7deda84f7a280f5a0ee69b98c6a6e7a2225dab24
/Receptionist/migrations/0027_package_manage_reception.py
45248c462110a952feffbb09a7008787a2c97129
[]
no_license
Cornex-Inc/Coffee
476e30f29412373fb847b2d518331e6c6b9fdbbf
fcd86f20152e2b0905f223ff0e40b1881db634cf
refs/heads/master
2023-01-13T01:56:52.755527
2020-06-08T02:59:18
2020-06-08T02:59:18
240,187,025
0
0
null
2023-01-05T23:58:52
2020-02-13T05:47:41
Python
UTF-8
Python
false
false
549
py
# Generated by Django 2.1.15 on 2020-05-19 15:34 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('Receptionist', '0026_package_manage_grouping'), ] operations = [ migrations.AddField( model_na...
[ "khm4321@naver.com" ]
khm4321@naver.com
845f77bc8d39737647f4a55d183df4f8f7afdbf3
43aeee48c1f6fc468a43f9bb0d4edae8ee0dbee1
/LPTW-SRC/例3_21.py
8430bd36f542e524ac1f1798a936dc9eba351ed6
[]
no_license
wiky2/mytestproject
f694cf71dd3031e4597086f3bc90d246c4b26298
e7b79df6304476d76e87f9e8a262f304b30ca312
refs/heads/master
2021-09-07T20:54:19.569970
2018-02-28T23:39:00
2018-02-28T23:39:00
100,296,844
2
1
null
null
null
null
UTF-8
Python
false
false
1,333
py
#这个循环用来保证必须输入大于2的整数作为评委人数 while True: try: n = int(input('请输入评委人数:')) if n <= 2: print('评委人数太少,必须多于2个人。') else: #如果输入大于2的整数,就结束循环 break except: Pass #用来保存所有评委的打分 scores = [] for i in range(n): #这个while循环用来保证用户必须输入0到100之间的数字 ...
[ "jerry_136510@aliyun.com" ]
jerry_136510@aliyun.com
afa9a1d0944e4af29df98932dd9113870175e138
3ac0a169aa2a123e164f7434281bc9dd6373d341
/singleNumber.py
4a7b92101b0350685936c92368994f2cf80679bc
[]
no_license
sfeng77/myleetcode
02a028b5ca5a0354e99b8fb758883902a768f410
a2841fdb624548fdc6ef430e23ca46f3300e0558
refs/heads/master
2021-01-23T02:06:37.569936
2017-04-21T20:31:06
2017-04-21T20:31:06
85,967,955
1
0
null
null
null
null
UTF-8
Python
false
false
208
py
class Solution(object): def singleNumber(self, nums): """ :type nums: List[int] :rtype: int """ s = 0 for v in nums: s = s ^ v return s
[ "sfeng77@gmail.com" ]
sfeng77@gmail.com
d8756586064d46abf0b01f2f255a4408170c98ca
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/galex_j19485-4225/sdB_GALEX_J19485-4225_lc.py
ad5e79f01dd4bec1f067eebd2a8c3dee9507a2f5
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[297.137792,-42.429325], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_GALEX_J19485-4225 /sdB_GALEX_J19485-4225_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
be016283897b8b97fcd923c3c66271b85639e383
10d98fecb882d4c84595364f715f4e8b8309a66f
/rl_metrics_aaai2021/utils.py
fdb1f66a5371b5960ba1746220fe5dec986ad621
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
afcarl/google-research
51c7b70d176c0d70a5ee31ea1d87590f3d6c6f42
320a49f768cea27200044c0d12f394aa6c795feb
refs/heads/master
2021-12-02T18:36:03.760434
2021-09-30T20:59:01
2021-09-30T21:07:02
156,725,548
1
0
Apache-2.0
2018-11-08T15:13:53
2018-11-08T15:13:52
null
UTF-8
Python
false
false
7,577
py
# coding=utf-8 # Copyright 2021 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
6f87b92696de2420ba9b14956ac1d08db4e16a86
bc6c0cda914c23e80921793eb0ce71c45202ada4
/src/endoexport/export.py
66f3970d48311c18dc3f984c553dd2e423f77298
[ "MIT" ]
permissive
karlicoss/endoexport
a2221799113a12b400e298dea8d95559926de138
98c8805cbcc00187822737ef32c2e0434c4f450e
refs/heads/master
2023-04-04T09:56:57.716411
2023-03-15T02:19:15
2023-03-15T02:22:45
230,617,833
3
0
MIT
2023-03-15T02:22:46
2019-12-28T14:05:23
Python
UTF-8
Python
false
false
1,512
py
#!/usr/bin/env python3 import argparse import json from .exporthelpers.export_helper import Json import endoapi def get_json(**params) -> Json: endomondo = endoapi.endomondo.Endomondo(**params) maximum_workouts = None # None means all workouts = endomondo.get_workouts_raw(maximum_workouts) return w...
[ "karlicoss@gmail.com" ]
karlicoss@gmail.com
2acbc2e004d4d067218de078794ec2dd281455fd
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/cosmos/azure-mgmt-cosmosdb/generated_samples/cosmos_db_sql_container_create_update.py
4eb9b7c581d3ad5045f9f14afe3e0ab5a7f5f6c1
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
openapi-env-test/azure-sdk-for-python
b334a2b65eeabcf9b7673879a621abb9be43b0f6
f61090e96094cfd4f43650be1a53425736bd8985
refs/heads/main
2023-08-30T14:22:14.300080
2023-06-08T02:53:04
2023-06-08T02:53:04
222,384,897
1
0
MIT
2023-09-08T08:38:48
2019-11-18T07:09:24
Python
UTF-8
Python
false
false
3,434
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" ]
openapi-env-test.noreply@github.com
d10c3fb59eb602e7a438fe8b8b7ccca52fcc45d2
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_syphon.py
1ef3547d3d666728720ba4bfc26206b8a9d76bc4
[ "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
295
py
#calss header class _SYPHON(): def __init__(self,): self.name = "SYPHON" self.definitions = [u'a siphon noun '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj2 = []): return self.jsondata
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
ee27313bde085575df70e1d42550c376748fe931
08a9dc04e6defa9dc9378bfbfbe0b6185af6a86a
/manager/views.py
78b92fee93ead9c43d6d958d58f90642c7277c7f
[]
no_license
Felicity-jt/50.008-Project-1
8ecc63d2302b2eaa4060f4c900d7fed2e958927c
960b5e57a39bfda1c31653798c23ddc051a2ff19
refs/heads/master
2021-08-24T00:40:27.886634
2017-12-07T09:14:12
2017-12-07T09:14:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,191
py
from json import loads from django.http import Http404 from django.shortcuts import render from django.core.exceptions import PermissionDenied from django.views.decorators.http import require_POST from common.db import sql, page from common.utils import pagination from common.messages import NOT_STAFF from common.dec...
[ "kwokshungit@gmail.com" ]
kwokshungit@gmail.com
39ce07857213f8a281675528cad52ce7943c5bf1
2bcf18252fa9144ece3e824834ac0e117ad0bdf3
/zpt/trunk/site-packages/zpt/_pytz/zoneinfo/US/Indiana_minus_Starke.py
f06a4f85e29494d5c49f070ed6153788987fe72d
[ "MIT", "ZPL-2.1" ]
permissive
chadwhitacre/public
32f65ba8e35d38c69ed4d0edd333283a239c5e1d
0c67fd7ec8bce1d8c56c7ff3506f31a99362b502
refs/heads/master
2021-05-10T14:32:03.016683
2010-05-13T18:24:20
2010-05-13T18:24:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,743
py
'''tzinfo timezone information for US/Indiana_minus_Starke.''' from zpt._pytz.tzinfo import DstTzInfo from zpt._pytz.tzinfo import memorized_datetime as d from zpt._pytz.tzinfo import memorized_ttinfo as i class Indiana_minus_Starke(DstTzInfo): '''US/Indiana_minus_Starke timezone definition. See datetime.tzinfo fo...
[ "chad@zetaweb.com" ]
chad@zetaweb.com