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
19effaf2fd28cbfbcc5bf1197122f93d208d746b
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-res/huaweicloudsdkres/v1/model/show_res_datasource_request.py
174e9c77405184d91a01ce3c43989fd6fba03d2b
[ "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
4,956
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ShowResDatasourceRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is att...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
c810b83e4d978275269dbf2edf81ba3749d40a39
9edaf93c833ba90ae9a903aa3c44c407a7e55198
/travelport/models/general_remark_3.py
37e4e5426aafa26b117cdb81d48dcfa92904cffc
[]
no_license
tefra/xsdata-samples
c50aab4828b8c7c4448dbdab9c67d1ebc519e292
ef027fe02e6a075d8ed676c86a80e9647d944571
refs/heads/main
2023-08-14T10:31:12.152696
2023-07-25T18:01:22
2023-07-25T18:01:22
222,543,692
6
1
null
2023-06-25T07:21:04
2019-11-18T21:00:37
Python
UTF-8
Python
false
false
4,367
py
from __future__ import annotations from dataclasses import dataclass, field from xsdata.models.datatype import XmlDate, XmlDateTime from travelport.models.type_direction_3 import TypeDirection3 from travelport.models.type_element_status_4 import TypeElementStatus4 from travelport.models.type_product_3 import TypeProduc...
[ "chris@komposta.net" ]
chris@komposta.net
30acd6fabbb86e2029fe9bdb373bcb1912239b99
7b4820948845f55274b211d676ab8a6253a6298b
/addons/plugin.video.phstreams/default.py
165d263833b1730268ad874343597e83e0a9e838
[]
no_license
bopopescu/mw
524c57d4b859751e298b907a12e44e9711ef72a6
5ef2acea0fb4150578e53201463c6bc5da37be20
refs/heads/master
2021-05-30T19:33:11.750160
2016-01-11T05:28:46
2016-01-11T05:28:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,159
py
# -*- coding: utf-8 -*- ''' Phoenix Add-on Copyright (C) 2015 Blazetamer Copyright (C) 2015 lambda This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 o...
[ "bialagary@Garys-Mac-mini.local" ]
bialagary@Garys-Mac-mini.local
59b02c1565c66a501284ae2b8e71274d82d42d8e
ce6cb09c21470d1981f1b459293d353407c8392e
/lib/jnpr/healthbot/swagger/models/command_rpc.py
95cb417debd31ead46f6fe1b6170628878d617e1
[ "Apache-2.0" ]
permissive
minefuto/healthbot-py-client
c4be4c9c3153ef64b37e5344bf84154e93e7b521
bb81452c974456af44299aebf32a73abeda8a943
refs/heads/master
2022-12-04T07:47:04.722993
2020-05-13T14:04:07
2020-05-13T14:04:07
290,145,286
0
0
Apache-2.0
2020-08-25T07:27:54
2020-08-25T07:27:53
null
UTF-8
Python
false
false
8,149
py
# coding: utf-8 """ Healthbot APIs API interface for Healthbot application # noqa: E501 OpenAPI spec version: 1.0.0 Contact: healthbot-hackers@juniper.net Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class CommandRpc(o...
[ "nitinkr@juniper.net" ]
nitinkr@juniper.net
6a1ca19e78e7528364bc0b93d19a51ccb649f761
f4be3422b28dda8802ea75368d665d17b634b83f
/babo/__init__.py
5d6700be06951195e3f22bed513d5b4a0e966b6e
[]
no_license
carpedm20/babo
0bab8abee49058fb4c0c6ab629f174d8a85d50a7
1fae47214918b4a64fc305787fb6a4df07c49768
refs/heads/master
2020-04-15T16:12:10.274756
2014-08-15T12:00:33
2014-08-15T12:00:33
22,943,235
2
1
null
null
null
null
UTF-8
Python
false
false
429
py
# -*- coding: utf-8 -*- """ babo ~~~~ The world will have a generation of idiots.. by Albert Einstein :copyright: (c) 2014 by Taehoon Kim. :license: BSD, see LICENSE for more details. """ __copyright__ = 'Copyright 2014 by Taehoon Kim' __version__ = '0.0.1' __license__ = 'BSD' __author__ = 'Taeho...
[ "carpedm20@gmail.com" ]
carpedm20@gmail.com
a1250d373944bf65cff70e384219809151ab23bf
fadf50987ab3aaefc993f00187d8a833457e9e97
/torchstat/model_hook.py
3ff8d3a0ebcaae409b34f6e8da4cdb375d8cf88d
[ "MIT" ]
permissive
Hulalazz/torchstat
4cff14e2b272246d9fd7136b969eaab6165abfeb
b533d917ba8f2e0871a60c3ff73704e294b769eb
refs/heads/master
2020-04-04T08:59:07.626893
2018-11-01T09:21:35
2018-11-01T09:21:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,980
py
import time from collections import OrderedDict import numpy as np import torch import torch.nn as nn from torchstat import compute_madd from torchstat import compute_flops class ModelHook(object): def __init__(self, model, input_size): assert isinstance(model, nn.Module) assert isinstance(input_...
[ "technext.jpn@gmail.com" ]
technext.jpn@gmail.com
e037a3f03bb035f9294a2db24cabd7bccc5d1501
96dcea595e7c16cec07b3f649afd65f3660a0bad
/homeassistant/components/demo/time.py
56ab715a7f7ed7eb6c4c24c99973845bd00f6ad4
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
1,515
py
"""Demo platform that offers a fake time entity.""" from __future__ import annotations from datetime import time from homeassistant.components.time import TimeEntity from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.device_registry import Devi...
[ "noreply@github.com" ]
home-assistant.noreply@github.com
be55d9627d221ef15a7208f8625d6dac784efb54
64ae307de1a6966ec948662df695cd09cefd5eff
/Day_6/mm_project/mm_project/tests/conftest.py
b924ef165574f9638d0da245dcbadd78736a65fc
[ "BSD-3-Clause" ]
permissive
janash/mm_project_sss2019
3a4d61c4f4dbe7eee5af401d831e7483480bb509
84f9da3efe335a7024213ddae6fd56113d4fda09
refs/heads/master
2020-05-19T23:03:53.143517
2019-07-26T23:03:08
2019-07-26T23:03:08
185,258,555
0
2
BSD-3-Clause
2019-07-09T17:33:19
2019-05-06T19:26:20
Python
UTF-8
Python
false
false
682
py
""" Fixtures for monte carlo tests """ # Import package, test suite, and other packages as needed import mm_project as mc import numpy as np import os import pytest import sys @pytest.fixture def nist_file(): current_directory = os.path.dirname(os.path.abspath(__file__)) nist_file = os.path.join(current_direc...
[ "ben@bennyp.org" ]
ben@bennyp.org
0001b37bd0d1d6b08e473e5f1c41d7bc88ba50bd
48a8430d19c4d8d6fdcecf1cb9875d74b5efce6a
/CycleGAN/data_loader.py
7cf7d6a2fd0954c3313fa0ba7bc7a498ee9437a9
[]
no_license
orange-eng/GAN
af00f469b763893b2e474f8adb83460164c843e0
7a7fafa4c6e9aac0da73791ca646b6503c39b24f
refs/heads/main
2023-02-25T20:21:54.825164
2021-01-25T08:34:41
2021-01-25T08:34:41
324,327,944
0
0
null
null
null
null
UTF-8
Python
false
false
3,628
py
import cv2 from glob import glob # glob是python自己带的一个文件操作相关模块,用它可以查找符合自己目的的文件,就类似于Windows下的文件搜索 # https://www.cnblogs.com/lovemo1314/archive/2011/04/26/2029556.html import numpy as np import os import sys apath = os.path.abspath(os.path.dirname(sys.argv[0])) #得到文件下面的所有文件目录。果然很方便 path = glob(apath+"/datasets/monet...
[ "972353371@qq.com" ]
972353371@qq.com
139ae4368f9dcc52c84dcbfbcab84a8112ca406a
727987094c01eaf41343464567a52fbb705f6701
/yabgp/message/attribute/nlri/__init__.py
c67e29f0a1e9105cce0eecd0e3eebb32ea38ff2a
[ "Apache-2.0" ]
permissive
xinwu/yabgp
1377d11e4e42f259dd66bb08060b74d0683a1796
ae7cc871a4a8a67d08eef2abc82cf1397f2601c3
refs/heads/master
2021-01-13T03:05:33.031083
2016-12-14T16:27:23
2016-12-14T16:27:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,558
py
# Copyright 2016 Cisco Systems, Inc. # 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 requi...
[ "xiaoquwl@gmail.com" ]
xiaoquwl@gmail.com
1d71cdd16103283b54ddbfae586dbd58e635dea8
7c28640e152dad3843423d04c96a3a37015bd9ba
/Examples/Game Tutorial/Tutorial Part 6.py
0b571e28753411ea66a52d103d7f671bc5c1d42d
[]
no_license
DocVaughan/Pythonista
251bbfd69203cf91f3d6a6bf20d478efd74a61a0
7d482c7db2c7b4daae10289b765f09a4f348a50c
refs/heads/master
2021-01-20T20:48:32.603993
2017-12-31T10:33:48
2017-12-31T10:33:48
61,178,643
7
0
null
null
null
null
UTF-8
Python
false
false
6,233
py
# coding: utf-8 ''' Part 6 -- Meteors Incoming! ☄️ Collecting coins is fun, but did you notice the distinct lack of... challenge? Let's change that now, and add some meteors to the mix. The mechanism is essentially the same as with the coins, but when the alien collides with a meteor, the game is over. To make the g...
[ "joshua.vaughan@louisiana.edu" ]
joshua.vaughan@louisiana.edu
165dab7e57e2a352300f0576717c1cdae8927d4b
5e2dddce9c67d5b54d203776acd38d425dbd3398
/spacy/lang/es/syntax_iterators.py
869f404e040edf4e143bf6e80dab2eaac4390688
[ "MIT" ]
permissive
yuxuan2015/spacy_zh_model
8164a608b825844e9c58d946dcc8698853075e37
e89e00497ab3dad0dd034933e25bc2c3f7888737
refs/heads/master
2020-05-15T11:07:52.906139
2019-08-27T08:28:11
2019-08-27T08:28:11
182,213,671
1
0
null
2019-04-19T06:27:18
2019-04-19T06:27:17
null
UTF-8
Python
false
false
1,695
py
# coding: utf8 from __future__ import unicode_literals from ...symbols import NOUN, PROPN, PRON, VERB, AUX def noun_chunks(obj): doc = obj.doc np_label = doc.vocab.strings.add('NP') left_labels = ['det', 'fixed', 'neg'] # ['nunmod', 'det', 'appos', 'fixed'] right_labels = ['flat', 'fixed', ...
[ "yuxuan2015@example.com" ]
yuxuan2015@example.com
4450db57e64db6586c682bfbdf846ffb456d9e4e
4d718292ec9f90444eeda13d18febb10757da894
/mission 11/classement.py
e50dc9fbba32e99394191730b85603be4aa7080f
[]
no_license
rverschuren/Info
b40fb04a6260dacfc95d12e63c99abd82b140e06
c9aa0bdc1b026c8ba8134b878b5fae7d49d75e19
refs/heads/master
2020-04-16T07:29:49.847812
2019-01-14T14:50:18
2019-01-14T14:50:18
165,389,281
1
2
null
2019-01-12T18:56:01
2019-01-12T13:12:46
Python
UTF-8
Python
false
false
3,812
py
class Classement : """ Une implémentation primitive de classement, non ordonnée et de capacité fixe. @author Kim Mens @version 02 Décembre 2018 """ __maxcapacity = 10 def __init__(self): """ @pre: - @post: un classement vide de taille 0 a été créé """ ...
[ "bastien.wiaux@gmail.com" ]
bastien.wiaux@gmail.com
0864a55af4f109e92a6b1185d04837dc723f87a7
e5d130e183b5dea1b7aad23a047c703fa0d2b3bf
/lightbus/transports/__init__.py
d0a7d70c722ce0c3f6df21091b256155c18899f5
[ "Apache-2.0" ]
permissive
adamcharnock/lightbus
4a86428b8203bfe98f77a32375ac961ef398ce16
cf892779a9a9a8f69c789ffa83c24acfb7f9a336
refs/heads/master
2023-08-26T04:19:39.395735
2023-08-23T11:07:44
2023-08-23T11:07:44
94,617,214
193
22
Apache-2.0
2023-08-10T21:21:51
2017-06-17T10:39:23
Python
UTF-8
Python
false
false
534
py
from lightbus.transports.base import ( RpcTransport, ResultTransport, EventTransport, SchemaTransport, Transport, ) from lightbus.transports.debug import ( DebugRpcTransport, DebugResultTransport, DebugEventTransport, DebugSchemaTransport, ) from lightbus.transports.redis.rpc import ...
[ "adam@adamcharnock.com" ]
adam@adamcharnock.com
23f3a9b619600c2c45f879384f3a51dda94f5c3e
38466811d0e12a8f755bae58d7244622ef5f4d9b
/leetcode/200/141_linked_list_cycle.py
9e5262a7110cf85407e3ce7e9183543e977219f0
[]
no_license
andysitu/algo-problems
4ab5a2b6591f0c0d84174b69598f30bc354ff8aa
35c88dc747e7afa4fdd51d538bc80c4712eb1172
refs/heads/master
2023-06-24T15:55:39.019652
2021-02-26T20:31:07
2021-02-26T20:31:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def hasCycle(self, head: ListNode) -> bool: if head == None: return False forward1 = head forward2 = head while True: ...
[ "and.situ@gmail.com" ]
and.situ@gmail.com
9551d519b20dfcc4061ff956e357f5bdb2481c6d
7cd8ee14711eaf33cee0d9e06e78a974fc579242
/Linkedin/Linkedin/spiders/linkedin_distinct_12logincount.py
73e600bb84ee61402c91c2f94e2db905b9cf883c
[]
no_license
Chandler-Song/pi
c618117dfdd9a7496a57c69f029851e94787f591
aebc6d65b79ed43c66e7e1bf16d6d9f31b470372
refs/heads/master
2022-03-13T02:44:30.452673
2019-02-19T09:38:45
2019-02-19T09:38:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,482
py
from linkedin_voyager_functions import * class Companylidsurls(object): def __init__(self, *args, **kwargs): self.con, self.cur = get_mysql_connection(DB_HOST, 'FACEBOOK', '') #self.qu1 = 'select profile_sk , connections_profile_url from linkedin_connections where date(modified_at)>"2017-04-17" and date(modified_...
[ "aravind@headrun.com" ]
aravind@headrun.com
a7e316b3e4294deab2c4be72af3994d2504b8d49
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/test/test_update_creative_response_wrapper.py
cca6a9dbe84cb7e4f9ee1164d8a578b819dd20ce
[ "Apache-2.0" ]
permissive
baidu/baiduads-sdk
24c36b5cf3da9362ec5c8ecd417ff280421198ff
176363de5e8a4e98aaca039e4300703c3964c1c7
refs/heads/main
2023-06-08T15:40:24.787863
2023-05-20T03:40:51
2023-05-20T03:40:51
446,718,177
16
11
Apache-2.0
2023-06-02T05:19:40
2022-01-11T07:23:17
Python
UTF-8
Python
false
false
1,076
py
""" dev2 api schema 'dev2.baidu.com' api schema # noqa: E501 Generated by: https://openapi-generator.tech """ import sys import unittest import baiduads from baiduads.common.model.api_response_header import ApiResponseHeader from baiduads.creative.model.update_creative_response_wrapper_body import UpdateC...
[ "tokimekiyxp@foxmail.com" ]
tokimekiyxp@foxmail.com
ebbc23d30dbea2dafb4b6a71b92a5ccb4c9bb341
d1c352676563b2decacfad19120001959b043f05
/superset/migrations/versions/a33a03f16c4a_add_extra_column_to_savedquery.py
07e0b05a1c0c6e035dd0a4931949130430b03579
[ "Apache-2.0", "CC-BY-4.0", "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
permissive
Affirm/incubator-superset
c9a09a10289b4ebf8a09284a483bca93725a4b51
421183d3f46c48215e88e9d7d285f2dc6c7ccfe6
refs/heads/master
2023-07-06T11:34:38.538178
2019-05-22T23:39:01
2019-05-22T23:39:01
128,005,001
1
3
Apache-2.0
2023-03-20T19:49:14
2018-04-04T04:02:42
JavaScript
UTF-8
Python
false
false
2,090
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" ]
Affirm.noreply@github.com
49d99d025201045a3100ae9ab2515e297887e22a
9b10d8482a7af9c90766747f5f2ddc343871d5fa
/Gemtek/AutoTest/Sprinkler-Auto-Test/appium/modules/android/main_screen.py
53dfab1b87c290967aa74c0b91465fb24e0c9366
[]
no_license
DarcyChang/MyProjects
86d33f5cf8bdfd4b21e64922e4eb25c1afc3c135
47efb2dfe13ace264f8943b59b701f39f23c4c17
refs/heads/master
2021-05-12T12:43:39.255082
2020-09-23T06:42:03
2020-09-23T06:42:03
117,419,269
0
2
null
null
null
null
UTF-8
Python
false
false
2,525
py
import unittest from time import sleep from appium import webdriver import android.verify.exist import android.verify.next_page from appium.webdriver.common.touch_action import TouchAction def add_device(self): el = self.driver.find_element_by_id("com.blackloud.wetti:id/ivAddSprinkler") self.assertIsNotNone(e...
[ "cychang0916@gmail.com" ]
cychang0916@gmail.com
ef7dcf27560b561e80bb4f4a68f159d63bf00127
bbf1ae079309eca11270422d3f0d259d1515d430
/numerical-tours/python/nt_solutions/ml_3_classification/exo5.py
3c0f3f3cda5068fd794b1a41a27c032ac538f66e
[ "BSD-2-Clause" ]
permissive
ZichaoDi/Di_MATLABTool
5e6a67b613c4bcf4d904ddc47c2744b4bcea4885
c071291c63685c236f507b2cb893c0316ab6415c
refs/heads/master
2021-08-11T07:28:34.286526
2021-08-04T18:26:46
2021-08-04T18:26:46
149,222,333
9
5
null
null
null
null
UTF-8
Python
false
false
743
py
sigma_list = np.array( [.1, .5, 1, 4] ) niter = 4000 plt.clf for io in np.arange(0, np.size(sigma_list)): sigma = sigma_list[io] # grad descent K = kappa(X,X,sigma) tau = .5 if io==4: tau = .05 h = np.zeros((n,1)) for i in np.arange(0,niter): h = h - tau * nablaF(h,K,y) #...
[ "wendydi@compute001.mcs.anl.gov" ]
wendydi@compute001.mcs.anl.gov
47e266d665db77c973d48ba03cb937966bfcbd41
c733e6b433914a8faba256c7853f5cf2cd39c62a
/Python/Leetcode Daily Practice/unclassified/647. Palindromic Substrings.py
a75c67380d9fa7090153a83f1116d883ea245643
[]
no_license
YaqianQi/Algorithm-and-Data-Structure
3016bebcc1f1356b6e5f3c3e588f3d46c276a805
2e1751263f484709102f7f2caf18776a004c8230
refs/heads/master
2021-10-27T16:29:18.409235
2021-10-14T13:57:36
2021-10-14T13:57:36
178,946,803
1
0
null
null
null
null
UTF-8
Python
false
false
795
py
""" Given a string, your task is to count how many palindromic substrings in this string. The substrings with different start indexes or end indexes are counted as different substrings even they consist of same characters. Input: "abc" Output: 3 Explanation: Three palindromic strings: "a", "b", "c". """ class Soluti...
[ "alicia.qyq@gmail.com" ]
alicia.qyq@gmail.com
4084a64ffe7d52b14cb8b756e1efe29d46730493
8784a3a9d4054d1aca752ec742902abb51a9de80
/python_stack/python_OOP/arithmetic_module/main.py
785338b9b6b6a9481506f9e74ad051b34a087637
[]
no_license
MichaelKirkaldyV/mean-deploy-2
25eaf7cc430ac095f5327c04be84b9212314c7f2
f30b8ea14ccbaecfe62929948f2a84191d316c22
refs/heads/master
2023-01-13T07:20:28.984728
2019-05-23T16:42:15
2019-05-23T16:42:15
151,123,880
0
0
null
2022-12-30T09:47:11
2018-10-01T16:54:09
TypeScript
UTF-8
Python
false
false
313
py
#imports arithmetic module within the same folder. #Then uses the module as a variable and calls its functions using the .method #Adds parameters. #prints out the solutions that each function returns. import arithmetic print arithmetic.add(5, 8) print arithmetic.subtract(10, 5) print arithmetic.multiply(12, 6)
[ "vmichaelkirkaldy@live.com" ]
vmichaelkirkaldy@live.com
83d88a5ed0bdcad629a6e3815dd75d21cc5a72e0
e61e664d95af3b93150cda5b92695be6551d2a7c
/vega/networks/pytorch/customs/modnas/arch_space/construct/torch/model_init.py
63a2eea20c488ff5f7c5cdf7026be84854afb40b
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
huawei-noah/vega
44aaf8bb28b45f707ed6cd4e871ba70fc0c04846
12e37a1991eb6771a2999fe0a46ddda920c47948
refs/heads/master
2023-09-01T20:16:28.746745
2023-02-15T09:36:59
2023-02-15T09:36:59
273,667,533
850
184
NOASSERTION
2023-02-15T09:37:01
2020-06-20T08:20:06
Python
UTF-8
Python
false
false
5,623
py
# -*- coding:utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. 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...
[ "zhangjiajin@huawei.com" ]
zhangjiajin@huawei.com
59817d4f4915dfc4c470c6d51b0592362187ec0b
350d6b7246d6ef8161bdfccfb565b8671cc4d701
/Binary Tree Vertical Order Traversal.py
da22a1ddbb5aca8b4d6f3dbd14fa43d4a483c554
[]
no_license
YihaoGuo2018/leetcode_python_2
145d5fbe7711c51752b2ab47a057b37071d2fbf7
2065355198fd882ab90bac6041c1d92d1aff5c65
refs/heads/main
2023-02-14T14:25:58.457991
2021-01-14T15:57:10
2021-01-14T15:57:10
329,661,893
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): dic = {} def verticalOrder(self, root): self.help(root, 1) save = [] keys = sorted(self.dic.k...
[ "yihao_guo@gwmail.gwu.edu" ]
yihao_guo@gwmail.gwu.edu
0780bc486c4355eaef2a4df385fc503799cbf3eb
79e19819aec49b500825f82a7de149eb6a0ba81d
/leetcode/1018.py
632dc46703f709c5e2bf6b31ac1d966e91cbfa8c
[]
no_license
seoyeonhwng/algorithm
635e5dc4a2e9e1c50dc0c75d9a2a334110bb8e26
90406ee75de69996e666ea505ff5d9045c2ad941
refs/heads/master
2023-05-03T16:51:48.454619
2021-05-26T00:54:40
2021-05-26T00:54:40
297,548,218
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
class Solution: def prefixesDivBy5(self, A: List[int]) -> List[bool]: answer = [False] * len(A) answer[0], prev = (A[0] == 0), A[0] for i in range(1, len(A)): answer[i] = ((prev * 2 + A[i]) % 5 == 0) prev = prev * 2 + A[i] return answer """ ...
[ "seoyeon@nowbusking.com" ]
seoyeon@nowbusking.com
b284f9b10b8c572c65a64f1f9b88cde920a8b781
d0cb58e1658d4b5b88bdc07e497dc8092707ae02
/2021/01january/24specify_data.py
6381a461e0645467957c5e23c467055af3ce9fb7
[]
no_license
June-fu/python365
27f9b753d38ade549d59aa8f2d8bda0fb8b1e20c
242033a4b644a7566fbfa4dba9b60f60aa31fe91
refs/heads/master
2021-07-02T21:42:28.454091
2021-05-04T15:08:44
2021-05-04T15:08:44
233,629,713
0
0
null
2020-01-13T15:52:58
2020-01-13T15:36:53
null
UTF-8
Python
false
false
466
py
#!/usr/bin/python ''' # @ Author: june-fu # @ Create Time: 2021-02-22 23:59:17 # @ Modified by: june-fu # @ Modified time: 2021-02-22 23:59:19 # @ Description:arguments parse_dates ''' import pandas as pd from io import StringIO data =('date,A,B,C\n' '20090101,a,1,2\n' '20090102,b,3,4\n' '20090103,c,4,5') # ar...
[ "fujun1990@gmail.com" ]
fujun1990@gmail.com
8e4439a5213755463643b9a98d6b098eb3614207
92e26b93057723148ecb8ca88cd6ad755f2e70f1
/cov_exp/plain30_orth/plt.py
15145016643831e2908e2041dc913dd1c9a66851
[]
no_license
lyuyanyii/CIFAR
5906ad9fbe1377edf5b055098709528e06b5ace2
d798834942d6a9d4e3295cda77488083c1763962
refs/heads/master
2021-08-30T20:09:52.819883
2017-12-19T08:37:37
2017-12-19T08:37:37
112,701,370
1
0
null
null
null
null
UTF-8
Python
false
false
315
py
import matplotlib.pyplot as plt import pickle import numpy as np import scipy.signal as signal with open("hisloss.data", "rb") as f: his = pickle.load(f) his = np.array(his) hisloss = his[:,1] hisloss = signal.medfilt(hisloss, 9) #print(np.max(hisloss[10000:])) plt.plot(range(len(hisloss)), hisloss) plt.show()
[ "315603442@qq.com" ]
315603442@qq.com
e86af748470270a3bd18fbbcd3dc8e992712cb17
8cf0cf9b71b7c5fbaa150e9893bf461ef661045e
/ownblock/ownblock/apps/accounts/views.py
77aad64c0c1af2bb8b440208af2f015e13b0a50a
[ "MIT" ]
permissive
danjac/ownblock
676b27a5aa0d4ce2ac2cd924a632489cd6fc21ee
ac662fb7efb2f04567e2f85638c1250286452611
refs/heads/master
2016-08-02T21:51:56.055598
2015-05-02T12:54:47
2015-05-02T12:54:47
34,940,828
3
0
null
null
null
null
UTF-8
Python
false
false
5,442
py
from django.db.models import Q from rest_framework import status, viewsets, permissions from rest_framework.response import Response from rest_framework.views import APIView from ..storage.models import Item from ..parking.models import Vehicle from ..messaging.models import Message from ..notices.models import Notic...
[ "danjac354@gmail.com" ]
danjac354@gmail.com
b77cd80c0c1fbc74c1487f9da2d71f3e83e1b0ec
54de64c1bd866c2cd1ef7f23dff20019a87ae408
/src/bio2bel_drugbank/patent_utils.py
ea41eb5ec3822be8c47b5a766041d5e8125fa9e7
[ "MIT" ]
permissive
AspirinCode/drugbank-1
83fc8bfb3b275df085423ac53c698bc0a8bc9c27
1b842ed7a9de7904e8a11fd19ad35164ffb781bf
refs/heads/master
2020-04-07T20:29:55.925875
2018-11-20T18:26:38
2018-11-20T18:26:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,704
py
# -*- coding: utf-8 -*- """Utilities for downloading patents from Google. Code modified from original work by Alexander Esser. """ import os import re from typing import Optional, Set import requests from bs4 import BeautifulSoup LINK_PATTERN = "https?:\/\/patentimages\.storage\.googleapis\.com\/.+\/([A-z0-9]+\.pd...
[ "cthoyt@gmail.com" ]
cthoyt@gmail.com
bfca6c0531a704417241810a33f46ee4c038afad
2b167e29ba07e9f577c20c54cb943861d0ccfa69
/numerical_analysis_backup/small-scale-multiobj/pod50_milp/throughput/runsimu11_throughput.py
89588a3c2132dc6081ea0222defc8c77da4d7d2d
[]
no_license
LiYan1988/kthOld_OFC
17aeeed21e195d1a9a3262ec2e67d6b1d3f9ff0f
b1237577ea68ad735a65981bf29584ebd889132b
refs/heads/master
2021-01-11T17:27:25.574431
2017-01-23T05:32:35
2017-01-23T05:32:35
79,773,237
0
0
null
null
null
null
UTF-8
Python
false
false
3,440
py
# -*- coding: utf-8 -*- """ Created on Thu Aug 4 15:15:10 2016 @author: li optimize throughput """ #import sys #sys.path.insert(0, '/home/li/Dropbox/KTH/numerical_analysis/ILPs') import csv from gurobipy import * import numpy as np from arch4_decomposition import Arch4_decompose from arch1 import ModelSDM_arch1 fr...
[ "li.yan.ly414@gmail.com" ]
li.yan.ly414@gmail.com
8c37577beb948a84c1017887ad0ff113575583c4
87b7d7948aa51fdb4a27540240579788896369ea
/code/runs_sacred/model_4_classes/_sources/main_0d7ea3a13b62ec2b4e0ed10b9b965fe4.py
721ea09321b607fc28b8b2985a463f302725e990
[]
no_license
Samuel-Levesque/Projet_GLO7030
6f13accd63b52107ec3e3a0b9b5f52edccda7c8d
557bce3235f09723900f65c6e3b44a0ed9d2b519
refs/heads/master
2022-01-16T12:49:22.884798
2019-05-05T18:38:35
2019-05-05T18:38:35
177,038,991
0
1
null
null
null
null
UTF-8
Python
false
false
3,978
py
from sacred import Experiment from sacred.observers import FileStorageObserver from data_set_file import create_huge_data_set,create_encoding_deconding_dict from model_creation import create_model from trainning import train_model,load_model_weights,create_scheduler from test_metrics import calcul_metric_concours im...
[ "44324703+William-Bourget@users.noreply.github.com" ]
44324703+William-Bourget@users.noreply.github.com
81a54439253dce29241c49928fd05e2c8db9e060
ac7f2369cf136cef946ee6eb89c5be1edda27769
/hare_turtle_algorithm/scratch_4.py
d209eb062e4425d63c53283db7cf6454fa6fc968
[]
no_license
iluvjava/Silly_Python_Stuff
d244a94a6c8236713123815ccd1f1f6c27b1cb98
eb12a67c060de783e6b00d6030668f8d32630dad
refs/heads/master
2021-04-22T23:14:14.215801
2021-04-05T05:25:42
2021-04-05T05:25:42
249,879,410
1
1
null
null
null
null
UTF-8
Python
false
false
156
py
import numpy as np y = x = np.array([np.arange(0, 10)]).T print(x.T.shape) print(y.shape) print(x@y.T) print(np.linspace(0, 100, 400)[np.newaxis, :].T)
[ "victor1301166040@gmail.com" ]
victor1301166040@gmail.com
8fcc9b9fcb2d3773828fcb001c5e5282e5601c8e
22cec5da2b1fb83dcc9cf7c888f1e2078b05b62e
/flora/wallet/sign_coin_solutions.py
e1848b04de272fc1cbdb5bc12e37e82971b93c6b
[ "Apache-2.0" ]
permissive
JuEnPeHa/flora-blockchain
649d351e096e73222ab79759c71e191e42da5d34
656b5346752d43edb89d7f58aaf35b1cacc9a366
refs/heads/main
2023-07-18T08:52:51.353754
2021-09-07T08:13:35
2021-09-07T08:13:35
399,297,784
0
0
Apache-2.0
2021-08-24T01:30:45
2021-08-24T01:30:44
null
UTF-8
Python
false
false
2,037
py
import inspect from typing import List, Any import blspy from blspy import AugSchemeMPL from flora.types.coin_solution import CoinSolution from flora.types.spend_bundle import SpendBundle from flora.util.condition_tools import conditions_dict_for_solution, pkm_pairs_for_conditions_dict async def sign_coin_solutions...
[ "github@floracoin.farm" ]
github@floracoin.farm
970e032873598b577c478df4bda72a6d70df2593
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_328/ch45_2020_04_11_19_23_00_469501.py
654fc6cd7bedadc387007d4d63a90c312e9a584c
[]
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
163
py
lista= [] while True: x= int(input('Digite algum número: ')) if x>0: lista.append(x) elif x <= 0: lista.reverse() print(lista)
[ "you@example.com" ]
you@example.com
ef76fce18c4d75abc69a31441786b2d3465aaad6
5ac40dd0907f6b5a7adff338465c7c41fffc4348
/src/jukeboxcore/gui/widgets/guerilla/shotcreator_ui.py
a94b8806cff4c0c262fcc729863f846a82ed3722
[]
permissive
JukeboxPipeline/jukebox-core
8effaf675c8a3b39d043bb69e40b75e591bb4a21
bac2280ca49940355270e4b69400ce9976ab2e6f
refs/heads/master
2021-07-22T13:50:58.168148
2015-06-01T16:20:56
2015-06-01T16:20:56
24,540,320
2
0
BSD-3-Clause
2021-06-10T19:34:28
2014-09-27T19:06:31
Python
UTF-8
Python
false
false
2,282
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'h:\projects\jukebox-core\src\jukeboxcore\gui\widgets\guerilla\shotcreator.ui' # # Created: Tue Jan 13 18:54:57 2015 # by: pyside-uic 0.2.15 running on PySide 1.2.2 # # WARNING! All changes made in this file will be lost! from PySide im...
[ "zuber.david@gmx.de" ]
zuber.david@gmx.de
327bfffa563cbbdd3435fd1eb8bb852e1a0cf97b
910d4dd8e56e9437cf09dd8b9c61167673140a1f
/dd5_Stack2_연습문제/부분집합.py
b02d1c3ead323fdbff993e93b8f47ded822adf39
[]
no_license
nopasanadamindy/Algorithms
10825b212395680401b200a37ab4fde9085bc61f
44b82d2f129c4cc6e811b651c0202a18719689cb
refs/heads/master
2022-09-28T11:39:54.630487
2020-05-29T09:49:56
2020-05-29T09:49:56
237,923,602
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
# {1,2,3} 모든 부분 집합 출력하기 N = 3 A = [0 for _ in range(N)] # 원소의 포함여부 저장 (0, 1) data = [1, 2, 3] def printSet(n): for i in range(n): # 각 부분 배열의 원소 출력 if A[i] == 1: # A[i]가 1이면 포함된 것이므로 출력. print(data[i], end="") print() def powerset(n, k): # n: 원소의 갯수, k: 현재depth if n == k: ...
[ "iuui21@snu.ac.kr" ]
iuui21@snu.ac.kr
a02bee8748891f92e694a53f4c42f3fb36df9143
46244bb6af145cb393846505f37bf576a8396aa0
/leetcode/066.plus_one.py
4afb73916cebf2c50af6b1e5aa64b0ec40b737b8
[]
no_license
aoeuidht/homework
c4fabfb5f45dbef0874e9732c7d026a7f00e13dc
49fb2a2f8a78227589da3e5ec82ea7844b36e0e7
refs/heads/master
2022-10-28T06:42:04.343618
2022-10-15T15:52:06
2022-10-15T15:52:06
18,726,877
4
3
null
null
null
null
UTF-8
Python
false
false
633
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys """ """ class Solution: # @param digits, a list of integer digits # @return a list of integer digits def plusOne(self, digits): if not digits: return [1] carry = 0 for i in range(len(digits)-1, -1, -1): ...
[ "sockpuppet.lea@gmail.com" ]
sockpuppet.lea@gmail.com
0fdfbfd787cc27d2b00a01b2ccef13060671930d
81835671049fd32f173d438ca85a8e81482bc76a
/src/muypicky/settings/local.py
233d240db6568b445a0afe234a1df87000ee4b57
[]
no_license
laura8857/django_restaurant
acd344423bd71194f6763e899edaf94955bf06ce
f9882d3d2d8998c1e99a7ecb706be66fab8c4425
refs/heads/master
2021-09-09T07:42:25.636140
2017-12-31T07:03:36
2017-12-31T07:03:36
111,422,444
0
0
null
null
null
null
UTF-8
Python
false
false
3,119
py
""" Django settings for muypicky project. Generated by 'django-admin startproject' using Django 1.11.2. 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 o...
[ "luara8857@gmail.com" ]
luara8857@gmail.com
ad99634d0137842d7042a688010637b825ee29ce
46ae8264edb9098c9875d2a0a508bc071201ec8b
/res/scripts/client/gui/scaleform/daapi/view/metapromopremiumigrwindowmeta.py
814c7e9466ff495e9f3a447d32cb6863c4598fcd
[]
no_license
Difrex/wotsdk
1fc6156e07e3a5302e6f78eafdea9bec4c897cfb
510a34c67b8f4c02168a9830d23f5b00068d155b
refs/heads/master
2021-01-01T19:12:03.592888
2016-10-08T12:06:04
2016-10-08T12:06:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
899
py
# Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/PromoPremiumIgrWindowMeta.py from gui.Scaleform.framework.entities.abstract.AbstractWindowView import AbstractWindowView class PromoPremiumIgrWindowMeta(AbstractWindowView): """ DO NOT MODIFY! Generated with yaml. __author__ = 'yaml_pro...
[ "m4rtijn@gmail.com" ]
m4rtijn@gmail.com
cfed4084fec538d16981ee31a7f600850dcf0d86
bc23dd0952a7235d2a63f59c83a4a283bbfa49f8
/backend/manage.py
5f19f0c6d16370616739c0eaa3ae0a8a5c26e630
[]
no_license
crowdbotics-apps/dee-world-originals-3621
94e8af26153de836e9e313e84f3a7a39f21deb66
833a299efb37158bde7446d287ffccaf57f3c829
refs/heads/master
2020-05-25T11:09:59.009295
2019-05-21T06:24:38
2019-05-21T06:24:38
187,774,566
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dee_world_originals_3621.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason....
[ "team@crowdbotics.com" ]
team@crowdbotics.com
f665485f49d5e9f3218ee0ee9cc87b2b65a9a74d
8ce70bf719616200f623629e1c3fca20e9f3d369
/GetSharedExternallyDriveACLs.py
06736e36300dc2838dfc0a696d4501ec625e9bf1
[]
no_license
glmyers/GAM-Scripts3
055f1f398971d2aa630372e1594aeea960f7b104
115e1ae811b72570c674a0b0284494f57660ad79
refs/heads/master
2023-08-02T01:41:09.853011
2021-09-15T19:36:37
2021-09-15T19:36:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,387
py
#!/usr/bin/env python3 """ # Purpose: For a Google Drive User(s), show all drive file ACLs for files shared outside of a list of specified domains # You specify a list of domains, DOMAIN_LIST, and indicate whether this list is exclusive/inclusive # EXCLUSIVE_DOMAINS = True: exclude domains in DOMAIN_L...
[ "ross.scroggs@gmail.com" ]
ross.scroggs@gmail.com
bf7de811bfea6dda3995b659cf1eefa05341ded2
74472ae20fa049a82b20b8ba7ea80394c43d5a01
/messenger/urls.py
14204e888b18dbed10f155dcb11b12b8c5abf853
[]
no_license
Adelgh/Projet
ad2d02e92f7ab3adef4c2646ba0c0838bc2e799e
1e1918f5ee47312dce47e2ae384c0168ffce7664
refs/heads/master
2021-01-15T08:27:42.502063
2017-08-28T14:34:16
2017-08-28T14:34:16
99,567,683
0
0
null
null
null
null
UTF-8
Python
false
false
686
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.inbox, name='inbox'), url(r'^new/$', views.new, name='new_message'), url(r'^send/$', views.send, name='send_message'), url(r'^send1/$', views.send1, name='send_message1'), url(r'^delete/$', views.delete, name='de...
[ "you@example.com" ]
you@example.com
8c9e26db66935091b5ff391425547f99e9a0a6e4
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/9AMT6SC4Jz8tExihs_23.py
306863290370f89d947dad424359f11ee3c866c3
[]
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
190
py
from itertools import product ​ def generate_nonconsecutive(n): return " ".join([combo for combo in ["".join(list(combi)) for combi in product("01",repeat=n)] if "11" not in combo])
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
6ddca35b1612d57330fd4fc592c1f7de0f2633d3
fffbf9e1ac40fdbd77f5b6baf34662478da8162e
/library/setup.py
fc56d3fee0faa0c1dde3eb53f3b7cd88eb98ddf7
[ "MIT" ]
permissive
yorkrobotlab/inky
aa4c41ce17e8e47c3f6b2a16368560be6c66f051
65f9abb7cb09e2a9d9b31e484a576d230d8c28a1
refs/heads/master
2022-10-03T04:43:19.189473
2020-03-11T11:21:04
2020-03-11T11:21:04
259,630,799
1
0
MIT
2020-04-28T12:29:16
2020-04-28T12:29:15
null
UTF-8
Python
false
false
2,147
py
#!/usr/bin/env python """ Copyright (c) 2017 Pimoroni. 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, pu...
[ "phil@gadgetoid.com" ]
phil@gadgetoid.com
3a2dbda0d6edea8b04c5c326afe5c8171c834539
f3bd271bf00325881fb5b2533b9ef7f7448a75ec
/xcp2k/classes/_restart2.py
4de1a3a5a71bd0926db09c8a34da1ed829325acb
[]
no_license
obaica/xcp2k
7f99fc9d494859e16b9b0ea8e217b0493f4b2f59
6e15c2c95658f545102595dc1783f5e03a9e6916
refs/heads/master
2020-07-15T17:27:43.378835
2019-02-11T16:32:24
2019-02-11T16:32:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
from xcp2k.inputsection import InputSection from _each11 import _each11 class _restart2(InputSection): def __init__(self): InputSection.__init__(self) self.Section_parameters = None self.Add_last = None self.Common_iteration_levels = None self.Filename = None self.L...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
960d2fbde5d08095542b53926dcab3915b657c1b
5f6019aefd4b940451ae81fb0e430e97d19626cb
/2016/martian/get_lines.py
85a7a3481b29fc18839f72a0420d73a8b1eefc05
[]
no_license
cligs/projects
7cee393ccdd5fdf8477a89f07ae7a93fe78511e6
d8a60564d3436a207ce4d94dbdefed9bf5402a9c
refs/heads/master
2022-04-28T20:38:27.267358
2022-04-12T09:08:05
2022-04-12T09:08:05
42,662,737
5
0
null
null
null
null
UTF-8
Python
false
false
2,207
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Filename: get_lines.py # Authors: #cf # 2016-05-21 import re import os import glob import pandas as pd WorkDir = "/media/christof/data/Dropbox/0-Analysen/2016/martians/diffs5/" DiffTable = WorkDir+"DiffTable_2016-04-29.csv" DiffedText = WorkDir+"martians_wdiffed-prep...
[ "c.schoech@gmail.com" ]
c.schoech@gmail.com
3f25fb7ce6da69d951596e88ada26bf2a14bd5d8
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_285/ch5_2019_06_06_18_54_46_963120.py
985b9e61a770d1502eea4003eb618e39ff03abfa
[]
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
406
py
def eh_primo(n): primo=True if n<=1: primo=False for e in range(2,n): if n%e==0 and e!=n: primo=False return primo lista_primos=[] def maior_primo_menor_que(n): if n<0: return -1 else: for i in range(0,n+1): if eh_primo(i): lis...
[ "you@example.com" ]
you@example.com
4a95b21c810a8139cdf6848ac7d6fbe6c2f553ff
4b3ae6048ced0d7f88a585af29fa3a7b15005749
/Python/Python_Fundamentals/makingTuples.py
826647c1102aa86bdc343efe54ec68cda094a6db
[]
no_license
ajag408/DojoAssignments
a6320856466ac21d38e8387bdcbbe2a02009e418
03baa0ff5261aee6ffedf724657b3a8c7cdffe47
refs/heads/master
2022-12-11T15:50:46.839881
2021-06-07T20:57:17
2021-06-07T20:57:17
79,872,914
0
0
null
2022-12-08T00:35:09
2017-01-24T02:58:15
Python
UTF-8
Python
false
false
209
py
def dictToTuple(dict): return dict.items() # my_dict = { # "Speros": "(555) 555-5555", # "Michael": "(999) 999-9999", # "Jay": "(777) 777-7777" # } # # answer = dictToTuple(my_dict) # print answer
[ "akashjagannathan408@gmail.com" ]
akashjagannathan408@gmail.com
518f8410f8bc49ab48576f99926b7c130acc5de7
177338a720f904f63926da055364cc0e2c0a850c
/python_stu/s11_22_pager/app01/migrations/0001_initial.py
e1df1b6e1002b6b8fc5e9aec9c576e3d2b84b7e1
[]
no_license
xuefenga616/mygit
60ef7bf7201603e13d4621cf7a39dea8ec92e0b7
be3b8003fcc900ce7ca6616a9ddebb0edcbc1407
refs/heads/master
2020-09-13T11:50:55.448041
2017-08-27T10:59:00
2017-08-27T10:59:00
67,042,409
0
0
null
null
null
null
UTF-8
Python
false
false
535
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='UserList', fields=[ ('id', models.AutoField(ver...
[ "xuefeng_11@qq.com" ]
xuefeng_11@qq.com
a7aaea88c780b8bd4794ae81c8be3b058b2d5c5d
c4b8e1e09dedbccd37ca008ecaaca4438610bbaf
/z3/building_a_house.py
9d5015a6cc2a0dd406b4c96667b91c8ae531df7d
[ "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,932
py
#!/usr/bin/python -u # -*- coding: latin-1 -*- # # Building a house, simple scheduling problem in Z3 # # This model is adapted OPL model sched_intro.mod (examples). # """ # This is a basic problem that involves building a house. The masonry, # roofing, painting, etc. must be scheduled. Some tasks must # necessarily t...
[ "hakank@gmail.com" ]
hakank@gmail.com
6f0e96c1993a1b210e4d7c1365b69706190d11d7
60814a33c10069ac92f2621463bfa0acfed16f7e
/StarmerxSpider/pool.py
017a3a649a0fdb4e6467d2b191a5ff4a54083268
[]
no_license
ijt0walle/LiuFan_Spider
967138c79bb4f6097fb8d898892a02c5fd6a454c
25c07e7d594a835d123530bb49bce77a5bd7f662
refs/heads/master
2021-01-25T13:18:28.306502
2017-08-15T02:32:08
2017-08-15T02:32:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,839
py
#!/usr/bin/python # coding=utf8 from Queue import Queue import threading import contextlib WorkerStop = object() class ThreadPool: workers = 0 thread_factory = threading.Thread current_thread = staticmethod(threading.currentThread) def __init__(self, max_threads=32, name=None): self.queue = ...
[ "liufan.dery@gmail.com" ]
liufan.dery@gmail.com
440008a7a36ecaef1ea45f372d64494846621011
6669b132eb482f95c1f40d35ecae14a544fe9197
/dp/no70.py
f978622a8425456080815f3c7ee609f8abec503a
[]
no_license
markdannel/leetcode
94dade2e5a286d04075e70e48015459ea6ac383a
6a2ac436599ecebc527efe0d6bfe0f6f825311fb
refs/heads/master
2021-06-06T20:56:34.868122
2020-10-21T12:16:56
2020-10-21T12:16:56
140,668,176
0
0
null
null
null
null
UTF-8
Python
false
false
934
py
# 假设你正在爬楼梯。需要 n 阶你才能到达楼顶。 # 每次你可以爬 1 或 2 个台阶。你有多少种不同的方法可以爬到楼顶呢? # 注意:给定 n 是一个正整数。 # 示例 1: # 输入: 2 # 输出: 2 # 解释: 有两种方法可以爬到楼顶。 # 1. 1 阶 + 1 阶 # 2. 2 阶 # 示例 2: # 输入: 3 # 输出: 3 # 解释: 有三种方法可以爬到楼顶。 # 1. 1 阶 + 1 阶 + 1 阶 # 2. 1 阶 + 2 阶 # 3. 2 阶 + 1 阶 # 明确「状态」 -> 定义 dp 数组/函数的含义 -> 明确「选择」-> 明确 base case class Solution...
[ "wistion@foxmail.com" ]
wistion@foxmail.com
e73305264df6b1aea70f4552a91dc35e2b2d9d40
159d2b827db0ae748b739378cab43a24e1ebaa38
/buildtools/scons-local-3.0.0/scons-local-3.0.0/SCons/Platform/sunos.py
3279fb9c5b725417a732aa469ae0a7a65daf1880
[ "MIT", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
mqnc/c-sick
2ef474f5626fcf47b5ee0793220dd7693656b488
65b54b21d9492fae7c7cac299f56c8e6583ef555
refs/heads/master
2020-03-23T15:02:03.057094
2019-10-18T13:51:33
2019-10-18T13:51:33
141,716,128
1
1
BSD-3-Clause
2019-07-24T06:30:00
2018-07-20T13:34:48
Python
UTF-8
Python
false
false
1,919
py
"""engine.SCons.Platform.sunos Platform-specific initialization for Sun systems. There normally shouldn't be any need to import this module directly. It will usually be imported through the generic SCons.Platform.Platform() selection method. """ # # Copyright (c) 2001 - 2017 The SCons Foundation # # Permission is h...
[ "mirko.kunze@web.de" ]
mirko.kunze@web.de
f114cc7a55d5cfd56927c7da8e0c7f5d3752c94f
d7016f69993570a1c55974582cda899ff70907ec
/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2015_08_01/aio/_event_hub_management_client.py
b45cc43bc478f9a8629155aa12abd9c16f8499af
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
5,134
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" ]
kurtzeborn.noreply@github.com
24d00706810b45332650e6f2373530e74e5de2fa
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03624/s778098430.py
55d87c556857c9b5ceb9dae5cfda1de24006c1e7
[]
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
131
py
s = input() ans = 'None' for i in range(26): c = chr(ord('a') + i) if c not in s: ans = c break print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f08fa45d2f7184da8a83e99c2fa82e9f5560718c
7456c190ac67e9bf383c645839ac210f6f87f626
/Scattering_Analysis.py
17b0643b6d1db264200c9e075b5f6124f10e2277
[]
no_license
joebatley/PythonCode
6a8b9d775577b4ba5b48a43b839576b1a861464e
de2748fdd40a0c21f7292c7188b8873f95bc759a
refs/heads/master
2021-01-11T11:03:42.894488
2014-09-29T13:35:02
2014-09-29T13:35:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,338
py
# -*- coding: utf-8 -*- """ Created on Fri Jun 6 10:44:51 2014 @author: Joe """ import numpy import pylab as plt from scipy import interpolate from scipy.interpolate import splrep, splev from scipy.integrate import quad import Stoner from Stoner.Folders import DataFolder import Stoner.Analysis as Analysis import s...
[ "py07jtb@leeds.ac.uk" ]
py07jtb@leeds.ac.uk
e54ff071f98fe853abfa4d2a1d3dfda418acb12f
55647a80c8b412af9df0ba3f50595cc2f29c25e6
/res/scripts/common/Lib/plat-mac/Carbon/File.py
c0c25c19dcfc7e1e788e857d3bcbd6b39a4c0c21
[]
no_license
cnsuhao/WOT-0.9.17-CT
0035eb6070fb4fab8d8ee9f8bbc676c10d511cfb
d1f932d8cabaf8aa21708622e87f83c8d24d6451
refs/heads/master
2021-06-08T18:11:07.039293
2016-11-19T19:12:37
2016-11-19T19:12:37
null
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
358
py
# 2016.11.19 20:00:52 Střední Evropa (běžný čas) # Embedded file name: scripts/common/Lib/plat-mac/Carbon/File.py from _File import * # okay decompyling c:\Users\PC\wotsources\files\originals\res\scripts\common\Lib\plat-mac\Carbon\File.pyc # decompiled 1 files: 1 okay, 0 failed, 0 verify failed # 2016.11.19 20:00:52 S...
[ "info@webium.sk" ]
info@webium.sk
1905be51f9c00ebc3b098c76678348ffeb71035e
b7888fb921abeb2ad44ce6409bf62ecef77a458e
/src/djanban/apps/members/migrations/0019_remove_member_spent_time_factor.py
2ab10ee0796f693207d2b06d3d54d558aeeb0a74
[ "MIT" ]
permissive
my-favorite-repositories/djanban
303ce59f821d01f727536068b83f8e8485b7d649
6451688d49cf235d03c604b19a6a8480b33eed87
refs/heads/master
2021-03-01T14:23:19.745085
2018-05-15T17:12:01
2018-05-15T17:12:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-02-24 23:58 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('members', '0018_auto_20170225_0040'), ] operations = [ migrations.RemoveField( ...
[ "diegojromerolopez@gmail.com" ]
diegojromerolopez@gmail.com
ddcfb84625fbf00abc35ea2d697ae18e14dca3fa
b9d648a7cb56412f367492f93bb9acd27ab53e84
/baralho_renzo.py
0cd602729055a5e63d8d39cf19c97486e0b24d49
[ "MIT" ]
permissive
maribedran/oopy
0d9a34ab820f427f0b6738fa49e434d780e7bf27
3f0629afee10f60f214cff04d07a27daa2fc8208
refs/heads/master
2020-12-26T13:02:16.938449
2016-04-17T15:40:54
2016-04-17T15:40:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
783
py
from collections import namedtuple from itertools import chain, product from random import shuffle Carta = namedtuple('Carta', 'valor naipe') class Baralho(): def __init__(self): valores = chain((str(i) for i in range(2, 11)), 'JQKA') naipes = '♣♡♠♢' self.cartas = [Carta(valor, naipe) for...
[ "renzon@gmail.com" ]
renzon@gmail.com
6a24ee0acfd7a5e70f4e6b359e81a3a6662bbc34
d6be053915c065fe6da71afddd28429d144fee68
/streamlit_tutorial/main_concepts/app_02_st-write.py
b0292b32740b780363ad49a71892cadeb280fa04
[]
no_license
DrShushen/practice_py
61bc28f52783f8304cce1d834def4934ba6ee8e1
cf40ec43ccd73aa835c4e65e6a4b41408b90a3ea
refs/heads/master
2023-01-08T06:57:10.852157
2023-01-03T22:58:11
2023-01-03T22:58:11
211,668,464
1
1
null
null
null
null
UTF-8
Python
false
false
204
py
import streamlit as st import pandas as pd st.write("Here's our first attempt at using data to create a table:") st.write(pd.DataFrame({"first column": [1, 2, 3, 4], "second column": [10, 20, 30, 40]}))
[ "e.s.saveliev@gmail.com" ]
e.s.saveliev@gmail.com
e719eb80d4457db6ea99dc3821c5929866765f80
e311664619d469addd2c77566ec97d24affcbfd9
/src/apps/sistema/admin.py
e984d54edcb131f638648697eb5a1205922b2c8b
[]
no_license
danielhuamani/Proyecto-taller-base-datos
361dc8c915dff36a9ce96a7147c11f0af9d51227
5d791383f77f8042a2890db4cfd31079c6d1dc7b
refs/heads/master
2016-08-11T13:47:03.169317
2015-12-22T04:28:52
2015-12-22T04:28:52
46,673,349
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
# -*- coding: utf-8 -*- from django.contrib import admin from .models import Usuario @admin.register(Usuario) class UsuarioAdmin(admin.ModelAdmin): list_display = ('email', 'password')
[ "danielhuamani15@gmail.com" ]
danielhuamani15@gmail.com
7e3a908b15a1ae21c5a415ad9a3bd556966e7eed
b21abd3873c76739ceefd1b4613a343ba2b454d1
/jwst/associations/__init__.py
d301f9c7e12a2e7fee6c0d7ec0e7ed537bfa1211
[ "BSD-2-Clause" ]
permissive
rij/jwst
96a7baf95de953c51bbe67f3cdd459c114c47eef
1d3acecb28d9a3dcb44b993e451b69da9856187d
refs/heads/master
2020-12-24T09:56:21.784342
2016-06-09T19:17:01
2016-06-09T19:17:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
from __future__ import absolute_import from .association import (Association, AssociationRegistry) from .pool import AssociationPool from .generate import generate
[ "jhunkeler@gmail.com" ]
jhunkeler@gmail.com
4abb0b3416a912f00495bdac12ea344e0e5c4234
6490638f15a2dfbe0cec9725186f9784d57c92f0
/UnitTest/testSEGMENT.py
b39851c1efe3ad9480414b8fea7c6e6a7eb3a621
[ "MIT" ]
permissive
khawatkom/SpacePyLibrary
af9c490ef796b9d37a13298c41df1fb5bf6b3cee
c94415e9d85519f345fc56938198ac2537c0c6d0
refs/heads/master
2020-05-14T21:52:39.388979
2019-04-17T17:06:04
2019-04-17T17:06:04
181,970,668
1
0
null
2019-04-17T21:26:44
2019-04-17T21:26:44
null
UTF-8
Python
false
false
2,419
py
#!/usr/bin/env python3 #****************************************************************************** # (C) 2018, Stefan Korner, Austria * # * # The Space Python Library is free software; you can redi...
[ "korner-hajek@gmx.at" ]
korner-hajek@gmx.at
68b54e70382cdd4a0198bd401b8281a41aedd8bf
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03835/s488234349.py
e56e10d8295dca46ab608cfccce640f2972f7441
[]
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
149
py
k,s = map(int, input().split()) ans = 0 for i in range(k+1): for j in range(k+1): t = s - (i + j) if 0 <= t <= k: ans += 1 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
706418248d2b6c25981b3d2197b0838bed81d752
15ed3ab4510677e6df9b11af8fd7a36fc6d826fc
/rado/2014-10/mc2/nice-res-2014-10-29/mc2.py
3188ce25fe60f46da2959be84ae326f91d4945c8
[]
no_license
pe-ge/Computational-analysis-of-memory-capacity-in-echo-state-networks
929347575538de7015190d35a7c2f5f0606235f2
85873d8847fb2876cc8a6a2073c2d1779ea1b20b
refs/heads/master
2020-04-02T08:08:38.595974
2018-01-17T08:12:26
2018-01-17T08:12:26
61,425,490
0
0
null
null
null
null
UTF-8
Python
false
false
5,473
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ mc2.py Created 17.10.2014 Based on mc.py Goal: Measuring Memory Capacity for random matrices """ from numpy import * import matplotlib.pyplot as plt p = 1 # one input node q = 100 # 100 reservoir nodes r = 200 # 200 output nodes params = { 'MEMORY_MAX': 200, 'I...
[ "gergelp@gmail.com" ]
gergelp@gmail.com
c6ebae4c39070dc4f956e0aa6d460198565a6724
8e01f8c0c6ae1ab1f2cd34408577dc8affb8288e
/slingsby/articles/migrations/0002_auto_20150305_2339.py
e7d8f839fe8f0fac077f1092d88772230280b0ed
[]
no_license
TelemarkAlpint/slingsby
b8122f0a367d81c2cf8809a91827426de9e93e2c
e480ebf12f7d5dddeca242b1c0ed508631a6674c
refs/heads/master
2021-01-10T15:12:28.205841
2017-09-13T21:20:01
2017-09-13T21:20:25
8,419,417
2
0
null
2020-03-17T21:19:35
2013-02-25T22:11:16
Python
UTF-8
Python
false
false
512
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('articles', '0001_initial'), ] operations = [ migrations.AlterField( model_name='subpagearticle', nam...
[ "git@thusoy.com" ]
git@thusoy.com
86158ba972b588256136d51e4ae6672785f5eee1
b4afb44b8f483c048716fe12d778186ce68ac846
/AutoFrameworkForAppiumPy/com/qa/automation/appium/cases/ios/ffan/common/check_network.py
47a35ee729958f64215c24e69771b597aaf20c60
[]
no_license
liu111xiao111/UItest
64309b2c85f6d2334d64bb0875ba9ced459ebb1e
67e2acc9a99da81022e286e8d8ec7ccb12636ff3
refs/heads/master
2021-09-01T18:30:28.044296
2017-12-28T04:36:46
2017-12-28T04:36:46
115,585,226
1
0
null
null
null
null
UTF-8
Python
false
false
670
py
# -*- coding: utf-8 -*- from subprocess import Popen, PIPE CONNECTION = 0 NOCONNECTION = -1 NOFIND = -1 class CheckNetworkStatus: ''' usage : Check Network status. ''' def __init__(self): pass def checkNetwork(self): cmd = 'adb shell ping -w 3 baidu.com' ret = P...
[ "tl@neusoft.com" ]
tl@neusoft.com
364728cd83b127d6eeb34938d1d4dd9be8dd794e
e993c53e4e1a52acc8279129c67feb0d3a1b9cbc
/catkin_ws/src/o2as_cad_matching/cfg/CadMatching.cfg
2ffd7a6a9e0af0082bdd6b1054b9a6e0b92447db
[ "MIT" ]
permissive
DevwratJoshi/ur-o2as
134ec87d371a7d9f9b64cbeb4030b23cf114812d
265249c27908a79a301014168394db0c0dc2204c
refs/heads/master
2021-01-03T16:03:57.344339
2020-02-17T03:58:39
2020-02-17T03:58:39
240,143,319
0
0
MIT
2020-02-13T00:21:52
2020-02-13T00:21:51
null
UTF-8
Python
false
false
2,602
cfg
#!/usr/bin/env python PACKAGE = "o2as_cad_matching" from math import pi from dynamic_reconfigure.parameter_generator_catkin import * gen = ParameterGenerator() object_id = gen.enum([ gen.const("01_BASE" , int_t, 1, "Base Panel"), gen.const("02_PANEL" , int_t, 2, "Outp...
[ "FvDrigalski@gmail.com" ]
FvDrigalski@gmail.com
96818b870c57707871eaa9aaa64013c4dddb882d
e483b0515cca39f4ddac19645f03fc1695d1939f
/google/ads/google_ads/v1/proto/errors/mutate_error_pb2.py
7d4341f914f9ea47ea5cab80d378555a1d3b6cf3
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
BrunoWMello/google-ads-python
0af63d2ca273eee96efd8a33252d27112c049442
9b074a037d10f0c1208a00d5d41a8e5e25405f28
refs/heads/master
2020-05-27T04:37:47.669144
2019-05-24T17:07:31
2019-05-24T17:07:31
null
0
0
null
null
null
null
UTF-8
Python
false
true
4,602
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v1/proto/errors/mutate_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from g...
[ "noreply@github.com" ]
BrunoWMello.noreply@github.com
1b211e2af8bd47e80d621774445befeff125077b
068d271e241d8cdb46dbf4243166e4b8ee7025b2
/day10/day10/5.进程_server.py
6bcdd06a147b6b6b577b373066d3137b7a7fe994
[]
no_license
caiqinxiong/python
f6e226e76cb62aac970bcfbcb6c8adfc64858b60
9029f6c528d2cb742b600af224e803baa74cbe6a
refs/heads/master
2023-05-26T19:41:34.911885
2020-05-15T09:02:08
2020-05-15T09:02:08
195,261,757
1
0
null
2021-06-10T23:33:33
2019-07-04T15:01:42
JavaScript
UTF-8
Python
false
false
509
py
import socket from multiprocessing import Process def func(conn): while True: conn.send(b'hello') # msg必须是字节类型 message = conn.recv(1024) # n是接受消息的最大字节数 print(message) if __name__ == '__main__': sk = socket.socket() sk.bind(('127.0.0.1',9001)) sk.listen() while True: ...
[ "13269469526@163.com" ]
13269469526@163.com
2d742d0514e2f6b3d504abf2415972f06a362098
acd41dc7e684eb2e58b6bef2b3e86950b8064945
/res/packages/scripts/scripts/client/gui/shared/utils/decorators.py
fd6a83b489698ea258530d5b9b8f79437a048a1b
[]
no_license
webiumsk/WoT-0.9.18.0
e07acd08b33bfe7c73c910f5cb2a054a58a9beea
89979c1ad547f1a1bbb2189f5ee3b10685e9a216
refs/heads/master
2021-01-20T09:37:10.323406
2017-05-04T13:51:43
2017-05-04T13:51:43
90,268,530
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
5,312
py
# 2017.05.04 15:26:22 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/shared/utils/decorators.py import time import adisp import BigWorld from debug_utils import LOG_DEBUG from gui.Scaleform.Waiting import Waiting from debug_utils import LOG_WARNING from string import join class process(object): ...
[ "info@webium.sk" ]
info@webium.sk
71bae5b57bd978555acd8f94f55a75779c4e5c5a
a4e59c4f47873daf440374367a4fb0383194d2ce
/Python/129.py
73d145f89ea0e90f96faa9bfc9b762b6c30ecb3d
[]
no_license
maxjing/LeetCode
e37cbe3d276e15775ae028f99cf246150cb5d898
48cb625f5e68307390d0ec17b1054b10cc87d498
refs/heads/master
2021-05-23T17:50:18.613438
2021-04-02T17:14:55
2021-04-02T17:14:55
253,406,966
0
2
null
null
null
null
UTF-8
Python
false
false
617
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def sumNumbers(self, root: TreeNode) -> int: return self.pathsSum(root, 0) def pathsSum(self, node, pathSum): if no...
[ "tvandcc@gmail.com" ]
tvandcc@gmail.com
2f4db38a3a1591db3042a3d16dbd30478a312b0e
07b37ca45d38edea112895049acf76d96ff07eff
/3.Processing&UnderstadingText/recommended_dependency_parser.py
2ced66cfba94395977f015428833ccba515d6df6
[]
no_license
KRBhavaniSankar/NLTK
e335944de346be72a01c92221b0bf58d85475fb9
4b228338566996fbccee72cb6afaa199a6496787
refs/heads/master
2020-03-12T23:03:59.981112
2018-05-11T01:15:28
2018-05-11T01:15:28
130,858,622
0
0
null
null
null
null
UTF-8
Python
false
false
2,000
py
sentence = 'The brown fox is quick and he is jumping over the lazy dog' #Load dependencies from spacy.lang.en import English parser = English() parsed_sent = parser(unicode(sentence)) print(parsed_sent) ,type(parsed_sent) dependency_pattern = '{left}<---{word}[{w_type}]--->{right}\n--------' for token in parsed_se...
[ "krbhavanisankar@gmail.com" ]
krbhavanisankar@gmail.com
d018f1d0babe1ace6fc29381446346cddfd4e2a2
39e1320c74bcf0bbebb855645b4f538e9ef361f4
/src/genui/projects/models.py
352d603101f8e355490bba68659b5203e196e5ba
[ "MIT" ]
permissive
Tontolda/genui
4c684e08e78b848e5afa7e4333bbea46c30d9d51
c5b7da7c5a99fc16d34878e2170145ac7c8e31c4
refs/heads/master
2023-04-14T12:57:31.774323
2021-01-29T08:01:30
2021-01-29T08:01:30
344,443,814
0
0
NOASSERTION
2021-04-24T14:56:35
2021-03-04T11:00:54
null
UTF-8
Python
false
false
2,454
py
from django.conf import settings from django.db import models from polymorphic.models import PolymorphicModel from abc import ABCMeta, abstractmethod from django.utils import timezone class PolymorphicAbstractModelMeta(ABCMeta, type(PolymorphicModel)): pass class PolymorphicAbstractModel(PolymorphicModel): _...
[ "sicho.martin@gmail.com" ]
sicho.martin@gmail.com
35b0b17ca058a4213445abfdb3222aa67dceb8e9
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/eve-8.51.857815/carbonui/camera/behaviors/cameraBehavior.py
0e12ce3324f0f6b154ae49f02a86cd143e92084a
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,472
py
#Embedded file name: carbonui/camera/behaviors\cameraBehavior.py """ Simple base class for camera behaviors. Contains base functionality and Corified versions of common functions needed. """ class CameraBehavior(object): __guid__ = 'cameras.CameraBehavior' def __init__(self): self.gameWorldClient = sm...
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
da4a32962100827a0d1787dccf3a4722e5168197
c7bde9b78057cc60c9ccd03145b5baf55284c875
/blah.py
356e579ee69aaab75cf027fcac689390897a3106
[]
no_license
sseaver/tic_tac_toe
cb38f1cd11d879ee94eb91fbcd9b40a5736aaea8
7607123435419b0862d7e36373263f3592eeca9e
refs/heads/master
2021-01-17T19:13:53.498545
2016-09-21T21:58:10
2016-09-21T21:58:10
68,764,989
0
0
null
null
null
null
UTF-8
Python
false
false
2,016
py
def winning(): column_zero = [row[0] for row in game_matrix] column_one = [row[1] for row in game_matrix] column_two = [row[2] for row in game_matrix] if column_zero == ["X", "X", "X"]: return True print ("X has won the game!") elif column_zero == ["O", "O", "O"]: return Tru...
[ "sseaver321@gmail.com" ]
sseaver321@gmail.com
fd8b773813e15c6655ea2f1fa0dd72bbe07d2e9c
2d5171ac7f2640ed73b48aebf4b96e29d5cad818
/ABC164/D.py
1d6040a7c8e43dbb4d68df474ac22cf5856aacee
[]
no_license
kentahoriuchi/Atcorder
d7b8308424175f32d47f24bb15303695780e1611
f6449d4e9dc7d92210497e3445515fe95b74c659
refs/heads/master
2023-06-06T09:26:46.963642
2021-06-13T15:08:04
2021-06-13T15:08:04
255,396,409
0
0
null
null
null
null
UTF-8
Python
false
false
257
py
S = input() count = 0 l = [0]*2019 l[0] = 1 mod = 2019 tmp = 0 for i in range(1,len(S)+1): tmp = (tmp + int(S[len(S)-i])*pow(10,i-1,mod))%mod l[tmp] += 1 for j in range(2019): if l[j] >= 2: count += l[j]*(l[j]-1)//2 print(count)
[ "dorahori_108@yahoo.co.jp" ]
dorahori_108@yahoo.co.jp
a1453f77a8fd8eb705cbce7eeabba2f607626caa
ec0b8bfe19b03e9c3bb13d9cfa9bd328fb9ca3f1
/res/packages/scripts/scripts/client/gui/prb_control/entities/sandbox/pre_queue/ctx.py
72525ca7d0d926af5be80b5ae0c31108efc663d7
[]
no_license
webiumsk/WOT-0.9.20.0
de3d7441c5d442f085c47a89fa58a83f1cd783f2
811cb4e1bca271372a1d837a268b6e0e915368bc
refs/heads/master
2021-01-20T22:11:45.505844
2017-08-29T20:11:38
2017-08-29T20:11:38
101,803,045
0
1
null
null
null
null
WINDOWS-1250
Python
false
false
1,055
py
# 2017.08.29 21:45:38 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/prb_control/entities/sandbox/pre_queue/ctx.py from constants import QUEUE_TYPE from gui.prb_control.entities.base.pre_queue.ctx import QueueCtx from gui.shared.utils.decorators import ReprInjector @ReprInjector.withParent(('getVe...
[ "info@webium.sk" ]
info@webium.sk
78fc991a1014c50f1012814c34bcd40c58596c95
1a194118c60a22b0b4e039e3949403d00b2df8ea
/others/find_planned_roll.py
3083ee0ac915357f643152f702fcf8eb5377049f
[]
no_license
tisobe/Ocat
645e62cbd05a4b050c6ca45966271e4108d2fe74
a1d66ee8163f73a23ce3964f1347365c8a4e36ae
refs/heads/master
2020-12-24T06:47:07.753060
2016-11-17T18:24:54
2016-11-17T18:24:54
73,399,591
0
0
null
null
null
null
UTF-8
Python
false
false
3,737
py
#!/usr/bin/env /proj/sot/ska/bin/python ############################################################################################################# # # # find_planned_roll.py: find roll angle and the r...
[ "isobe@head.cfa.harvard.edu" ]
isobe@head.cfa.harvard.edu
b16a7d2303c6584ceaae6c79e8bd71faad1e197f
ba0cbdae81c171bd4be7b12c0594de72bd6d625a
/MyToontown/py2/toontown/effects/FireworkSparkles.pyc.py
7c201e409d069ab5b1d3220e537f0c082007c3e2
[]
no_license
sweep41/Toontown-2016
65985f198fa32a832e762fa9c59e59606d6a40a3
7732fb2c27001264e6dd652c057b3dc41f9c8a7d
refs/heads/master
2021-01-23T16:04:45.264205
2017-06-04T02:47:34
2017-06-04T02:47:34
93,279,679
0
0
null
null
null
null
UTF-8
Python
false
false
4,693
py
# 2013.08.22 22:19:53 Pacific Daylight Time # Embedded file name: toontown.effects.FireworkSparkles from pandac.PandaModules import * from direct.interval.IntervalGlobal import * from direct.particles import ParticleEffect, Particles, ForceGroup from EffectController import EffectController from PooledEffect impo...
[ "sweep14@gmail.com" ]
sweep14@gmail.com
6ea4fb9c6455a858013bd542634687b28ef21118
90c6262664d013d47e9a3a9194aa7a366d1cabc4
/tests/storage/cases/test_KT1CM1g1o9RKDdtDKgcBWE59X2KgTc2TcYtC_alpha.py
7fd7dede51a72fd1062c3b8743dc3d392f7fa5e8
[ "MIT" ]
permissive
tqtezos/pytezos
3942fdab7aa7851e9ea81350fa360180229ec082
a4ac0b022d35d4c9f3062609d8ce09d584b5faa8
refs/heads/master
2021-07-10T12:24:24.069256
2020-04-04T12:46:24
2020-04-04T12:46:24
227,664,211
1
0
MIT
2020-12-30T16:44:56
2019-12-12T17:47:53
Python
UTF-8
Python
false
false
1,160
py
from unittest import TestCase from tests import get_data from pytezos.michelson.converter import build_schema, decode_micheline, encode_micheline, micheline_to_michelson class StorageTestKT1CM1g1o9RKDdtDKgcBWE59X2KgTc2TcYtC_alpha(TestCase): @classmethod def setUpClass(cls): cls.maxDiff = None ...
[ "mz@baking-bad.org" ]
mz@baking-bad.org
ff838d42226d27d960c29df551b9804f4672fa7b
a3b749c69f9ed3d10e1013754428b3a07ef49137
/presupuestos/urls_presupuestos.py
6fc26f4e85dda9c6aa5b0fe7ea4920f69b929b79
[]
no_license
adrian052/SPSD
7dd8b4aece3ad2e3ece34624f86d488c0f368dcf
f93dee58ada43abe0e3cc06ca3e4ef2d17006791
refs/heads/main
2023-05-27T16:40:09.995245
2021-06-08T22:32:59
2021-06-08T22:32:59
315,161,295
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
from django.urls import path from presupuestos.views import lista_presupuestos, nuevo_presupuesto, \ eliminar_presupuesto, editar_presupuesto app_name = 'presupuestos' urlpatterns = [ path('lista/', lista_presupuestos, name='lista'), path('nuevo/', nuevo_presupuesto, name='nuevo'), path('eliminar/<int...
[ "vagrant@ubuntu1804.localdomain" ]
vagrant@ubuntu1804.localdomain
218d3ed1c58ad7f4bfc7b1ce49d8780eb94c0a57
ab8a34e5b821dde7b09abe37c838de046846484e
/twilio/sample-code-master/api/v2010/authorized_connect_app/fetch-default/fetch-default.6.x.py
511f053b487454f45e009737f2279a5ad002bea5
[]
no_license
sekharfly/twilio
492b599fff62618437c87e05a6c201d6de94527a
a2847e4c79f9fbf5c53f25c8224deb11048fe94b
refs/heads/master
2020-03-29T08:39:00.079997
2018-09-21T07:20:24
2018-09-21T07:20:24
149,721,431
0
1
null
null
null
null
UTF-8
Python
false
false
465
py
# Download the helper library from https://www.twilio.com/docs/python/install from twilio.rest import Client # Your Account Sid and Auth Token from twilio.com/console account_sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' auth_token = 'your_auth_token' client = Client(account_sid, auth_token) authorized_connect_app = cl...
[ "sekharfly@gmail.com" ]
sekharfly@gmail.com
70b09e5245552f40904f0ac5b1dabf0e8ef879b3
341bd2d71b6b6e3af734f16989aeb450e3e73624
/HMC6343A.py
5c8c749d819dc0cab48d0b18bb3f51cb5f52419b
[]
no_license
ControlEverythingCommunity/CE_PYTHON_LIB
5c170f7e3763ab3b160a5fc33f2bb96d4798c7e2
736b29434a451a384c2f52490c849239c3190951
refs/heads/master
2021-01-12T00:39:25.374689
2017-08-30T21:54:47
2017-08-30T21:54:47
78,751,564
7
7
null
2017-12-15T11:08:48
2017-01-12T14:05:11
Python
UTF-8
Python
false
false
4,911
py
# Distributed with a free-will license. # Use it any way you want, profit or free, provided it fits in the licenses of its associated works. # HMC6343A # This code is designed to work with the HMC6343A_I2CS I2C Mini Module available from ControlEverything.com. # https://www.controleverything.com/content/Acceloromet...
[ "ryker1990@gmail.com" ]
ryker1990@gmail.com
0615cccaa29d7378c2edef98d3e1ab29fa9a44ba
32cb0be487895629ad1184ea25e0076a43abba0a
/LifePictorial/top/api/rest/HanoiDocumentsGetRequest.py
a8388d7a45fc9eab1cb0d78258a5e7a11749c1d2
[]
no_license
poorevil/LifePictorial
6814e447ec93ee6c4d5b0f1737335601899a6a56
b3cac4aa7bb5166608f4c56e5564b33249f5abef
refs/heads/master
2021-01-25T08:48:21.918663
2014-03-19T08:55:47
2014-03-19T08:55:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
''' Created by auto_sdk on 2014-02-10 16:59:30 ''' from top.api.base import RestApi class HanoiDocumentsGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.code = None self.current_page = None self.id = None self.name = None self.p...
[ "poorevil@gmail.com" ]
poorevil@gmail.com
1d56cb579b4790f733317d1a79f0a8d3c8cd7f52
1fdc846f4e5b7bda56e8740b859c8340d9b5141a
/tests/test_input_biot_npbc_lagrange.py
cc685e4db4201cb225b7adde4304c90956861222
[ "BSD-3-Clause" ]
permissive
olivierverdier/sfepy
b824fdab7d91e137a371c277901fbb807b316b02
83aefb7b33ea17f4acb83388ba8bc7314c77616c
refs/heads/master
2021-01-18T05:39:13.127137
2010-10-25T13:13:18
2010-10-25T17:31:37
1,022,869
1
0
null
null
null
null
UTF-8
Python
false
false
164
py
input_name = '../examples/biot/biot_npbc_lagrange.py' output_name = 'test_biot_npbc_lagrange.vtk' from testsBasic import TestInput class Test(TestInput): pass
[ "cimrman3@ntc.zcu.cz" ]
cimrman3@ntc.zcu.cz
e1eca558e5cbce67053dce1a670a4aa3069896cd
ff6248be9573caec94bea0fa2b1e4b6bf0aa682b
/StudentProblem/10.21.12.28/5/1569571946.py
af429088f6ad955c7b65295f7f9a893d0bbe5fc1
[]
no_license
LennartElbe/codeEvo
0e41b1a7705204e934ef71a5a28c047366c10f71
e89b329bc9edd37d5d9986f07ca8a63d50686882
refs/heads/master
2020-12-21T17:28:25.150352
2020-03-26T10:22:35
2020-03-26T10:22:35
236,498,032
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
import functools import typing import string import random import pytest ## Lösung Teil 1. def mysum(xs: list) -> int: return sum(xs) ## Lösung Teil 2. (Tests) def test_mysum(): assert mysum([1,2,3]) == 6 ######################################################################
[ "lenni.elbe@gmail.com" ]
lenni.elbe@gmail.com
e83344bc5686876da9d4a28fdd9a32c2540bccf5
a7b5adc5f72b9ef71c0c71691492f8af8a32c868
/Minseo-Kim/leetcode/206_Reverse_linked_list.py
73148fa6b52f9be00ce91fc881e9ae477ff1fd88
[]
no_license
mintheon/Practice-Algorithm
535ff607e36d1bfa9f800a28091a52c48748221c
3a653a1d8cc6e1438cab47a427ccd0b421a10010
refs/heads/master
2023-04-10T17:43:10.434210
2021-04-10T18:46:26
2021-04-10T18:46:26
347,719,297
0
0
null
null
null
null
UTF-8
Python
false
false
610
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next # Time complexity: O(n), ** Space complexity: O(1)** # Runtime: 32 ms, faster than 87.13% of Python3 # Memory Usage: 15.5 MB, less than 93.25% of Python3 class Soluti...
[ "noreply@github.com" ]
mintheon.noreply@github.com
3f53f5573681c9ce0fc51b144d84850bc70bcfb1
7a87b2701dedeab6ad0c237feebdb3434d28231e
/ui_framework/page/index_page.py
623efd36b370587149fe71e05467bb3cc8843856
[]
no_license
tingyu-ui/test_dwpytest
002a81f897b61c1e593d0f07f973b8380a725f9c
4765ed74b64582453ddce6e318aa626049b133e8
refs/heads/master
2023-08-28T02:25:25.814423
2021-10-06T17:58:00
2021-10-06T17:59:02
375,302,284
0
0
null
null
null
null
UTF-8
Python
false
false
655
py
#!/usr/bin/env python # -*- coding:utf-8 -*- #雪球首页page #可以直接继承basepage,调用已经封装好的UI操作 import yaml from ui_framework.base_page import BasePage class IndexPage(BasePage): def goto_market(self): #xpath等同于By.xpath # self.find("xpath", "//*[@text='行情']").click() # print(data) #data格式 {'...
[ "you@example.com" ]
you@example.com
11f67c0308b87d360a68ff26de26d4697538d0de
0b842bcb3bf20e1ce628d39bf7e11abd7699baf9
/sql/register_sql.py
9fac3d26fe0e079d1338a20b332cb6855862c0c9
[]
no_license
afeset/miner2-tools
75cc8cdee06222e0d81e39a34f621399e1ceadee
81bcc74fe7c0ca036ec483f634d7be0bab19a6d0
refs/heads/master
2016-09-05T12:50:58.228698
2013-08-27T21:09:56
2013-08-27T21:09:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
''' Created on Aug 14, 2013 @author: asaf ''' import sys sys.path.append("/home/asaf/miner2.0") import miner_globals sys.path.append("/home/asaf/miner2-tools") from sql import sql_target miner_globals.addTargetToClassMapping("sql",None,"sql_target.sqlDump","Write To SQL DB")
[ "afeset@gmail.com" ]
afeset@gmail.com
d6b4388855a0884a32f7d4a5d924a2e063dda428
03e4e75a00044df181adbebf5f44b5076d97a15f
/example/0_Basic_usage_of_the_library/python_motor/3_delete.py
944d7f2e83b32bde74bae3324bcb045b7ab6c39c
[ "MIT" ]
permissive
RecluseXU/learning_spider
3820b15654bb5824b1f92c53389d24799ff2bb88
43831e2fbbd5de0cf729ce8c12c84d043b56e855
refs/heads/master
2023-06-08T09:36:26.307395
2023-05-19T02:48:08
2023-05-19T02:48:08
234,718,806
64
14
null
2020-01-20T11:54:29
2020-01-18T10:38:06
null
UTF-8
Python
false
false
820
py
# -*- encoding: utf-8 -*- ''' @Time : 2021-06-09 @Author : EvilRecluse @Contact : https://github.com/RecluseXU @Desc : 删除 ''' # here put the import lib from motor.motor_asyncio import AsyncIOMotorClient import asyncio async def do_delete(client: AsyncIOMotorClient): """ 删除一条记录 """ collecti...
[ "444640050@qq.com" ]
444640050@qq.com
ba5b46a31f4fb683772f0bbe00da6ac8986514ce
b03878679b1e07e0ec962083dd4d058d1503180f
/pyoxford/translator_api.py
50ec01c31e66fc1aef9305b12d2977aaffa05fc1
[ "MIT" ]
permissive
jhoelzl/pyoxford
d3a8abfb822706fbba17792e8519ac3d2d05e36d
9e3f2e0130951e0ccb3c3f7fd8798219e1c36ee2
refs/heads/master
2020-12-28T12:07:27.963018
2015-11-28T14:33:44
2015-11-28T14:33:44
58,353,003
0
0
null
2016-05-09T06:17:24
2016-05-09T06:17:23
null
UTF-8
Python
false
false
2,222
py
import urllib.parse from xml.etree import ElementTree import requests class Translator(object): AUTH_URL = "https://datamarket.accesscontrol.windows.net/v2/OAuth2-13" API_ROOT = "http://api.microsofttranslator.com/v2/Http.svc" TRANSLATE_URL = "http://api.microsofttranslator.com/v2/Http.svc/Translates" ...
[ "icoxfog417@yahoo.co.jp" ]
icoxfog417@yahoo.co.jp
2ae95574f310aa8df7b035537d7208bc72e1225f
5e381364c2ab31ff3618369085afffba6caa8edb
/recipes/squirrel/all/test_package/conanfile.py
5789855d52cb28e63a00eaa87670af8ce596836e
[ "MIT" ]
permissive
CAMOBAP/conan-center-index
16aea68a6d22da22831ba985773125e8eda08f00
67d57532bdad549fef3fa6cb8fcdfa86bc55e4f1
refs/heads/master
2023-07-30T08:58:57.285571
2021-10-02T14:57:54
2021-10-02T14:57:54
323,262,699
1
0
MIT
2021-05-29T13:37:04
2020-12-21T07:30:02
Python
UTF-8
Python
false
false
559
py
from conans import ConanFile, CMake, tools import os class TestPackageConan(ConanFile): settings = "os", "compiler", "build_type", "arch" generators = "cmake", "cmake_find_package_multi" def build(self): cmake = CMake(self) cmake.definitions["SQUIRREL_SHARED"] = self.options["squirrel"].s...
[ "noreply@github.com" ]
CAMOBAP.noreply@github.com
23b3665560b2105af94061d1dfb27c99ee78e8e3
709c35fded3567512c1eec3bb7facb63e4891903
/mark2cure/task/ner/models.py
5c8d298d572b68cf492693848e88e40401c9c0fc
[ "MIT" ]
permissive
SuLab/mark2cure
da8ddca9d35cc10116417451d8a4caea29f279c5
63d20e75b8817ad75c6766b4d8a7a8ee8207d512
refs/heads/master
2023-02-04T08:51:22.372167
2018-02-28T02:50:25
2018-02-28T02:50:25
54,926,527
17
14
null
2023-01-11T22:31:16
2016-03-28T21:58:29
Python
UTF-8
Python
false
false
790
py
from django.db import models from .managers import EntityRecognitionAnnotationManager from django.forms.models import model_to_dict class EntityRecognitionAnnotation(models.Model): # Only access through Document.Annotation.metadata.RelationAnnotation DISEASE = 0 GENE = 1 TREATMENT = 2 TYPE_CHOICES...
[ "max@maxnanis.com" ]
max@maxnanis.com
93751656fda3d971cc190873ece55248d3a8d757
58a87e847f8c6cd5b83cbe5758e779679563cc66
/Exercícios complementares/ExercícioG.py
cceba6383e0aa814ccbfd132a91df968d153333a
[]
no_license
suzanamfp/Atividades-complementares-Python
9444dec6cd952db3cdeaf26648f0eb60a89a0862
d1a04f3f4d70298aa8448a37ba3e4b5313ced472
refs/heads/master
2022-12-02T21:23:55.261903
2020-08-18T19:28:34
2020-08-18T19:28:34
288,545,350
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
def main(): cores = ['azul', 'vermelho', 'cinza', 'amarelo'] cores.remove('vermelho') print(cores) main()
[ "noreply@github.com" ]
suzanamfp.noreply@github.com
b7559dc7812e5200464d1e7279d70aedf5f87fb3
d73b14bd20cfc1320e1911247b28c5109c51b5d1
/training/train_openpose.py
75a4569e1b897416ebc493dee676ee8e17f683fe
[]
no_license
rainyucool/openpose-pytorch
9c7e32bdab53417fef30d81a2dc53019dc3dbd84
4bc9cf4c927fdb507d89198724a237800cad9b3e
refs/heads/master
2020-04-01T13:25:04.702843
2018-05-07T13:12:11
2018-05-07T13:12:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,292
py
import torch from torch.utils.data import DataLoader from config import cfg from datasets.coco_dataset import CocoDataset from models import model_openpose from skeletons.gt_generators.gt_generator_openpose import GroundTruthGeneratorOpenPose from skeletons.skeleton_config_openpose import SkeletonConfigOpenPose from t...
[ "Dennis.Ludl@reutlingen-university.de" ]
Dennis.Ludl@reutlingen-university.de
1a6e7eb51c70cb8fd43657c64d233264aef82988
d70a4ec35ac91c914c42611e8b0ee05525371f7a
/src/lwc/settings_old.py
392a0df76f497a6832088dac3f360cb7bffbefc8
[]
no_license
jwilsontt/lwc
b662de74e47f350a732cc5e1e52a80bd4da46524
975a45aab16019f03880dafcd1b1ee7931613613
refs/heads/master
2021-01-21T07:53:44.348760
2015-08-21T04:05:36
2015-08-21T04:05:36
33,587,522
0
0
null
null
null
null
UTF-8
Python
false
false
2,454
py
""" Django settings for lwc project. For more information on this file, see https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) import...
[ "jwilsontt@gmail.com" ]
jwilsontt@gmail.com
46ab94c8a8e2a2f0c3ac17d32ed98651ad8589fb
0849923ebcde8f56a6e8550ae4f3c5ee3e2e0846
/desktop/core/ext-py/MySQL-python-1.2.3c1/setup_posix.py
5895984e6cb9da83ebb46ef3be36f4b55e2e0b0d
[ "GPL-2.0-only", "GPL-1.0-or-later", "Apache-2.0" ]
permissive
thinker0/hue
511a5796cdfe45e0b27f1d3309557ca60ce8b13b
ee5aecc3db442e962584d3151c0f2eab397d6707
refs/heads/master
2022-07-10T02:37:23.591348
2014-03-27T20:05:00
2014-03-27T20:05:00
12,731,435
0
0
Apache-2.0
2022-07-01T17:44:37
2013-09-10T14:13:42
Python
UTF-8
Python
false
false
2,947
py
from ConfigParser import SafeConfigParser # This dequote() business is required for some older versions # of mysql_config def dequote(s): if s[0] in "\"'" and s[0] == s[-1]: s = s[1:-1] return s def compiler_flag(f): return "-%s" % f def mysql_config(what): from os import popen f = pope...
[ "bcwalrus@cloudera.com" ]
bcwalrus@cloudera.com
cc5fa549674d5f7f51c7555601bb75a5d2f426f5
9b0bdebe81e558d3851609687e4ccd70ad026c7f
/数据结构/链表/10.链表相交.py
f407d7d61aadf869f8133d2993fdec96d025f9a8
[]
no_license
lizenghui1121/DS_algorithms
645cdad007ccbbfa82cc5ca9e3fc7f543644ab21
9690efcfe70663670691de02962fb534161bfc8d
refs/heads/master
2022-12-13T22:45:23.108838
2020-09-07T13:40:17
2020-09-07T13:40:17
275,062,257
0
0
null
null
null
null
UTF-8
Python
false
false
977
py
""" @Author: Li Zenghui @Date: 2020-07-17 14:47 """ class ListNode: def __init__(self, val): self.val = val self.next = None def getIntersectionNode(headA, headB): def getLength(head): count = 0 while head: count += 1 head = head.next return ...
[ "954267393@qq.com" ]
954267393@qq.com
175dac1813e30dfc38d2330b3134a90625c9dacc
3d192f5ebe208a9603460d7bc248a5e983bd49e1
/main_list.py
dc59cc6d0f399323fb087d8c5a02697e1a5038f5
[]
no_license
535521469/list_shc
43e83705127b601fdfa3f1688f450d9ddae96bb9
0d93baec3a64a532ab95498805247784262dd684
refs/heads/master
2021-01-15T21:10:03.980779
2013-11-28T05:44:17
2013-11-28T05:44:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,202
py
# encoding=utf8 ''' Created on 2013-3-20 @author: corleone ''' from crawler.shc.fe.const import FEConstant as const from multiprocessing import Process from sched import scheduler from scrapy.cmdline import execute from scrapy.settings import CrawlerSettings import collections import datetime import time from bot.confi...
[ "535521469@qq.com" ]
535521469@qq.com