blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
a8d82c3beb1519d99452b52cacb6171000a9b2c6
f343ee0f33b5c35eeb3b295c77d5279bedf3e51c
/limix/qtl/test/test_qtl_scan.py
a13a66d569bde3f1625a437288a89ee3d7bf2cce
[ "Apache-2.0" ]
permissive
Joyvalley/limix
bbdca5f5ff6966077bc9fe374c8d03b02b8bcc19
89e5733310b31329a10cac54a58e18c0189ca8f1
refs/heads/master
2020-06-15T08:33:16.728606
2019-05-23T16:43:19
2019-05-23T16:43:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,284
py
import pytest from xarray import DataArray import scipy.stats as st from numpy import ( argmin, array, concatenate, dot, exp, eye, kron, nan, reshape, sqrt, zeros, ) from numpy.random import RandomState from numpy.testing import assert_allclose, assert_array_equal from pandas...
[ "danilo.horta@gmail.com" ]
danilo.horta@gmail.com
277729d059c05f186c3d4cbe363dc41796c444f9
37c243e2f0aab70cbf38013d1d91bfc3a83f7972
/pp7TeV/HeavyIonsAnalysis/JetAnalysis/python/jets/ak7CaloJetSequence_pp_data_bTag_cff.py
a326f6b63f52895bf9121d14632f4d73897011b1
[]
no_license
maoyx/CMSWork
82f37256833cbe4c60cb8df0b4eb68ceb12b65e7
501456f3f3e0f11e2f628b40e4d91e29668766d5
refs/heads/master
2021-01-01T18:47:55.157534
2015-03-12T03:47:15
2015-03-12T03:47:15
10,951,799
0
0
null
null
null
null
UTF-8
Python
false
false
11,703
py
import FWCore.ParameterSet.Config as cms from PhysicsTools.PatAlgos.patHeavyIonSequences_cff import * from HeavyIonsAnalysis.JetAnalysis.inclusiveJetAnalyzer_cff import * from HeavyIonsAnalysis.JetAnalysis.bTaggers_cff import * from RecoJets.JetProducers.JetIDParams_cfi import * ak7Calomatch = patJetGenJetMatch.clon...
[ "yaxian.mao@cern.ch" ]
yaxian.mao@cern.ch
766bba85c2288c30cc624c963dcaba3b22523a22
21f38f1a9f6d4edfa3b233697e17d86f30b168ce
/productions/migrations/0004_production_authoraffiliationlinks_remove_null.py
d9dbc87e2177017ae7c4a53e24c544565cbd7dc4
[]
no_license
m100bit/demozoo
3734d0126a6f0bd9ff98128a4350e40b22cdd8a3
93918da57e7cb96a0d2f724e5a876406d3477891
refs/heads/master
2023-03-14T05:34:20.323613
2023-01-27T23:10:32
2023-01-27T23:23:52
232,933,218
0
0
null
2020-01-10T00:32:53
2020-01-10T00:32:53
null
UTF-8
Python
false
false
473
py
# Generated by Django 1.9.13 on 2017-10-22 00:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('productions', '0003_increase_link_length'), ] operations = [ migrations.AlterField( model_name='production', name='a...
[ "matt@west.co.tt" ]
matt@west.co.tt
ea717fb8fc02fba8a1dd12bb36f2718a7b66eedf
d03582a9f9a853a07eeb36f746530dee29f7a258
/scripts/display_basis/display_objects_weighted.py
628e3ce8fef32f79aa316e99eb7ee112393706a2
[]
no_license
tanmayshankar/decision_making
6df835c6c26e9cb2f0fdfbec509f5a46bf3c98ae
fdd3b1ea127a89fb03181cb8f766e86e6d933eed
refs/heads/master
2021-01-21T04:48:16.259813
2016-07-15T17:43:06
2016-07-15T17:43:06
44,739,541
4
0
null
null
null
null
UTF-8
Python
false
false
6,102
py
#!/usr/bin/env python import numpy as npy from scipy.stats import truncnorm import matplotlib.pyplot as plt import rospy from std_msgs.msg import String import roslib from nav_msgs.msg import Odometry import sys from mpl_toolkits.mplot3d import Axes3D import matplotlib.pyplot as plt # from ar_track_alvar.msg import Al...
[ "tanmay.shankar@gmail.com" ]
tanmay.shankar@gmail.com
a4cd200ee58f775c64b8d0e357563e4eaa2332c6
f1379917c836a624e835b3d18b025703434b3c01
/projects/views.py
2f800f773f0d108e60ec229e0c00f0b239c785e9
[]
no_license
yemiemy/Interswitch-authentication
4ebd0439df50ae864c7ee9cf22aec77f828ee704
b87b461a3e438688f6c4e1b304f8ea1225f188c6
refs/heads/master
2020-06-28T11:34:01.147145
2019-08-02T11:31:30
2019-08-02T11:31:30
200,223,563
1
0
null
null
null
null
UTF-8
Python
false
false
5,789
py
from django.shortcuts import render, get_object_or_404, redirect from projects.models import Project, Issue from .forms import CreateProjectForm from django.contrib import messages from datetime import datetime import pytz from django.urls import reverse from teams.models import Team # Create your views here. def searc...
[ "rasholayemi@gmail.com" ]
rasholayemi@gmail.com
e58891c2515e681cd694d40a4c94c2f5b83e1f5f
db12b990924703cd74748d8585cd9c11fafa6746
/h2o-py/tests/testdir_algos/glm/pyunit_PUBDEV_6424_multinomial_makeGLMModel.py
bd3a78efce1da9b12a42802ecfda6fcd6b1a539a
[ "Apache-2.0" ]
permissive
h2oai/h2o-3
919019a8f297eec676011a9cfd2cc2d97891ce14
d817ab90c8c47f6787604a0b9639b66234158228
refs/heads/master
2023-08-17T18:50:17.732191
2023-08-17T16:44:42
2023-08-17T16:44:42
17,371,412
6,872
2,345
Apache-2.0
2023-09-14T18:05:40
2014-03-03T16:08:07
Jupyter Notebook
UTF-8
Python
false
false
1,423
py
import sys sys.path.insert(1,"../../../") import h2o from tests import pyunit_utils from h2o.estimators.glm import H2OGeneralizedLinearEstimator as glm def test_glm_multinomial_makeGLMModel(): d = h2o.import_file(path=pyunit_utils.locate("smalldata/covtype/covtype.20k.data")) mL = glm(family='multinomial',alph...
[ "noreply@github.com" ]
h2oai.noreply@github.com
1d3b6f042f79bc09f7eddbe223fc90765919248d
7714d7fe86c99c059e339e895e265658fa3ce36e
/backend/users/migrations/0002_auto_20200807_0723.py
6b5aba8f5091e49c1fb98a99557571797f3643c7
[]
no_license
crowdbotics-apps/mobile-7-aug-dev-8582
f9454c8a9b3ca34e0b7dce328554658fd3fe02e9
f569d0a9ae3effb99d6ee00127f87015296a4993
refs/heads/master
2023-07-11T13:56:39.164407
2020-08-07T09:01:31
2020-08-07T09:01:31
285,739,310
0
0
null
2021-08-03T20:03:29
2020-08-07T04:46:04
JavaScript
UTF-8
Python
false
false
394
py
# Generated by Django 2.2.15 on 2020-08-07 07:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("users", "0001_initial"), ] operations = [ migrations.AlterField( model_name="user", name="name", field=...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
90a8c8b875df5029e3c6353d8138cc782ad46a21
19101bf9478c585f73540f1962494a0315ccd0a6
/ax/modelbridge/transforms/unit_x.py
205b25f8d8fb5b73ec0053ddffd92523cc7e868b
[ "MIT" ]
permissive
liusulin/Ax
4ca1dcaa34f129d25faa2f52a8094b5f6e399eba
850b6975b7c7f9960ad5461e71d0304b2670232a
refs/heads/main
2023-07-14T01:02:38.044397
2021-08-18T15:34:06
2021-08-18T15:35:11
397,664,102
1
0
MIT
2021-08-18T16:16:10
2021-08-18T16:16:09
null
UTF-8
Python
false
false
4,439
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from typing import Dict, List, Optional, Tuple from ax.core.observation import ObservationData, ObservationFeatures fr...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
ff0a45fd1d5eb7a955fc572663ff36a3d09f9d3c
12fe574f4cfcaa4dbd28e69b4d204f4581ac3691
/bin/createfontdatachunk.py
1ea68c4faab31617d668bc85d5ba7dd1553d780f
[]
no_license
jwilsontt/blog
a9715a65d8ed0db11734f82b6ed61ac0617dfa21
9456f48922eb4c8659ee250780fb6338120a2c73
refs/heads/master
2016-09-12T11:43:21.791988
2016-05-25T10:35:10
2016-05-25T10:35:10
58,338,855
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
#!/Users/jasonwilson/Documents/ProgWork/blog/bin/python from __future__ import print_function import base64 import os import sys if __name__ == "__main__": # create font data chunk for embedding font = "Tests/images/courB08" print(" f._load_pilfont_data(") print(" # %s" % os.path.basename(fo...
[ "jwilsontt@gmail.com" ]
jwilsontt@gmail.com
7ad28b98df1898d77e21d32410f294502deb13c2
7133ccab16709e29a9446b7e10b9b3efafa20084
/Python/GUI - CalcJokeChat/Server/api_tester.py
696af2e3fa2f4b89776e8f8b04aaff7defd6a69e
[]
no_license
grdddj/My-codebase
9c31defff4623def30af56f8ea1b67cfea74111c
9aaf092c35f88be26a883140a23a1df85d6e3e74
refs/heads/master
2022-12-11T01:57:53.412039
2022-06-19T20:09:01
2022-06-19T20:09:01
154,309,829
1
0
null
2022-12-09T15:13:14
2018-10-23T10:36:26
JavaScript
UTF-8
Python
false
false
3,724
py
import requests import time from config import Config import chat_logic_new endpoint = Config.endpoint chat_messages_endpoint = Config.chat_messages_endpoint latest_updates_endpoint = Config.latest_updates_endpoint def send_message_old(): name = "Support" message = "How can I help you?" ke...
[ "jiri.musil06@seznam.cz" ]
jiri.musil06@seznam.cz
58e1431e60e26e75cf9240cbf9d716eb2588e44e
6be845bf70a8efaf390da28c811c52b35bf9e475
/windows/Resources/Dsz/PyScripts/Lib/dsz/mca/file/cmd/matchfiletimes/errors.py
14e471e749013aa9e3ff7af6ab2f53a56f360949
[]
no_license
kyeremalprime/ms
228194910bf2ed314d0492bc423cc687144bb459
47eea098ec735b2173ff0d4e5c493cb8f04e705d
refs/heads/master
2020-12-30T15:54:17.843982
2017-05-14T07:32:01
2017-05-14T07:32:01
91,180,709
2
2
null
null
null
null
UTF-8
Python
false
false
1,021
py
# uncompyle6 version 2.9.10 # Python bytecode 2.7 (62211) # Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10) # [GCC 6.2.0 20161005] # Embedded file name: errors.py import mcl.status ERR_SUCCESS = mcl.status.MCL_SUCCESS ERR_INVALID_PARAM = mcl.status.framework.ERR_START ERR_GET_FULL_PATH_FAILED = mcl.st...
[ "kyeremalprime@gmail.com" ]
kyeremalprime@gmail.com
44c550e39d2aef2169a55d45d8f43b15bf794c7a
d27af9d58b91b8cd998ac0eb87d980d304ff0670
/Grand-Contest/AGC030/AGC030_C.py
161d87856e740eeb2b4dfaf7a84fd1bdfd4fc620
[]
no_license
mongesan/Atcoder-m0_ngesan-py
29dd79daab149003ffc8b6b6bad5fa2e7daa9646
6654af034d4ff4cece1be04c2c8b756976d99a4b
refs/heads/master
2023-08-20T19:50:04.547025
2021-10-27T12:24:51
2021-10-27T12:24:51
258,486,105
1
0
null
null
null
null
UTF-8
Python
false
false
9
py
#AGC030_C
[ "syun1.mongesan@gmail.com" ]
syun1.mongesan@gmail.com
c3a9b859fce0aed13121c71c6291fbd5cb79e1ce
4d07dfc5005ffe1d40337f99dea2ce20a5454a4e
/glip-team-messaging/calendar-events/create-event-by-group-id/code-samples/createEventbyGroupId.py
0ba1cc14bddfb8e637d5074c53de1d7785ac1425
[]
no_license
ringcentral/ringcentral-api-code-samples
c6160c7cf305ec01709ddf87e830a513e3b2d17e
92d75734e82809c56ae572b1a0347d5e8c222a0e
refs/heads/master
2021-12-25T02:09:17.653787
2019-08-30T22:06:03
2019-08-30T22:06:03
204,058,290
2
4
null
2021-11-30T14:37:01
2019-08-23T19:28:26
C#
UTF-8
Python
false
false
947
py
# https://developers.ringcentral.com/my-account.html#/applications # Find your credentials at the above url, set them as environment variables, or enter them below # PATH PARAMETERS groupId = '<ENTER VALUE>' # POST BODY body = { 'id': '<ENTER VALUE>', 'creatorId': '<ENTER VALUE>', 'title': '<ENTER VALUE>'...
[ "drew.ligman@gmail.com" ]
drew.ligman@gmail.com
373496272bf0502ed1d79d77243eaf07a9648520
d48d2680904f9812f2b73d3e4f2592ffe5e4c8c4
/wenshu/ContentList.py
8d5917c3a99e4583fbc55b1970d354b0a63a71aa
[]
no_license
zhilangtaosha/lijing
4d14372036cc2dd457248338c6cd9801fc8e3987
4a33249776b622b6cbdc6c460ddc223fa3369f75
refs/heads/master
2020-04-03T18:57:27.959894
2017-11-17T06:30:53
2017-11-17T06:30:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,067
py
#-*- coding:utf-8 -*- import requests as req import pandas as pd import time import re import logging import logging.config logging.config.fileConfig('logging.conf') logger1 = logging.getLogger('logger_logger') logger2 = logging.getLogger('logger_logger.child') #这是刚才我们通过F12查找到的网页 url='http://wenshu.court.g...
[ "376700233@qq.com" ]
376700233@qq.com
f7e7a67d304cbe5580a94af265f37a1e287ba4a1
facccc5a2b201cb4a1a96c146e61b72684100f75
/vendor/paypal/standard/ipn/models.py
682e94e2df66725be6946756d670f973c01e8fee
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
pbradeen/NewsBlur
e57ac59bc3bab26aea6b4d11b6cd3936618b7acf
730ab7fa1e451bfa5b0d09f0edaa852001922a94
refs/heads/master
2020-05-29T12:28:17.236730
2015-01-13T20:09:15
2015-01-13T20:09:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,872
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals from six import b from six.moves.urllib.request import urlopen from paypal.standard.models import PayPalStandardBase from paypal.standard.ipn.signals import payment_was_flagged, payment_was_refunded, payment_was_reversed, payment_wa...
[ "samuel@ofbrooklyn.com" ]
samuel@ofbrooklyn.com
58aec4fa085a71213d212129a80f6a6676e97f07
ed5a082d977aefcecc8c40c76046d26334615a8e
/ants_book/2-2.greedy/辞書順最小/abc007_b.py
76b601a56b3dbebdf0d6e73ab34a140447450842
[]
no_license
arakoma/competitive_programming
0ff9b9a97d2f37a3a1dac96c157f3235dde96b85
ebbc5621860aca320a6949433f1707f1cbfcf911
refs/heads/master
2021-08-07T10:50:08.890353
2021-07-10T14:10:15
2021-07-10T14:10:15
223,712,828
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
A = input() if A == "a": print(-1) else: print("a")
[ "arakoma555@gmail.com" ]
arakoma555@gmail.com
7f0f7b13a951b2feb8f6f5b0fcf02e58c4da75ca
d086dbe7e74a95a599786648588af53c9f9dbf10
/tests/template_tests/filter_tests/test_removetags.py
3e8842a48dd32383c62b15d5987b1fdc0ed7ea38
[ "BSD-3-Clause" ]
permissive
whitelee/django
326aba12a431784b4cad56372ae3370d07f6b807
3d0c3a0482496fc1914a40ec3c3eb70e67f0d643
refs/heads/master
2020-12-26T19:00:40.559621
2014-12-28T00:49:16
2014-12-28T00:49:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,077
py
import warnings from django.template.defaultfilters import removetags from django.test import SimpleTestCase from django.utils.deprecation import RemovedInDjango20Warning from django.utils.safestring import mark_safe from ..utils import render, setup class RemovetagsTests(SimpleTestCase): @setup({'removetags01...
[ "timograham@gmail.com" ]
timograham@gmail.com
50b4578791dc81c27d0aab4fd88724633a014aa7
e5e0d729f082999a9bec142611365b00f7bfc684
/tensorflow/python/keras/preprocessing/text.py
f10a768c31fb862f029cda45ebbdc7c9a4038f9a
[ "Apache-2.0" ]
permissive
NVIDIA/tensorflow
ed6294098c7354dfc9f09631fc5ae22dbc278138
7cbba04a2ee16d21309eefad5be6585183a2d5a9
refs/heads/r1.15.5+nv23.03
2023-08-16T22:25:18.037979
2023-08-03T22:09:23
2023-08-03T22:09:23
263,748,045
763
117
Apache-2.0
2023-07-03T15:45:19
2020-05-13T21:34:32
C++
UTF-8
Python
false
false
1,392
py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
8d1966011936460fcd8161663ee8cdb529ff704d
11c0ed5751cfcd91e96f252ffefe3c23f36aa5b4
/examples/janus/janus.py
a04c74fa244aeca339fffb044b2c0c373d789e69
[ "BSD-3-Clause" ]
permissive
aiortc/aiortc
769b439aa24736e1d76d7c6ca9d55688e3c7224c
9f14474c0953b90139c8697a216e4c2cd8ee5504
refs/heads/main
2023-08-31T17:23:18.854728
2023-04-02T21:52:56
2023-04-03T05:33:46
122,677,553
2,716
675
BSD-3-Clause
2023-08-29T04:09:36
2018-02-23T22:05:16
Python
UTF-8
Python
false
false
8,015
py
import argparse import asyncio import logging import random import string import time import aiohttp from aiortc import RTCPeerConnection, RTCSessionDescription, VideoStreamTrack from aiortc.contrib.media import MediaPlayer, MediaRecorder pcs = set() def transaction_id(): return "".join(random.choice(string.asc...
[ "jeremy.laine@m4x.org" ]
jeremy.laine@m4x.org
4e9e8cb0c4dfa33f962b922f4beb97705b37f528
15ae3524f475b34537f92da17e73b343c3713727
/tests/conftest.py
ab2d199defa214431cef740a4096ce402aef21c6
[ "MIT" ]
permissive
sanhphanvan96/unoserver
776ef00524daa84db657ab276393e8b469c81552
8a57500e2bc3256b2963bb15d8477c7ee026d526
refs/heads/master
2023-09-06T06:12:42.061661
2021-10-14T10:54:24
2021-10-14T10:54:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
import pytest import time from unoserver import server @pytest.fixture(scope="session") def server_fixture(): srvr = server.UnoServer() process = srvr.start(daemon=True) # Give libreoffice a chance to start time.sleep(8) yield process # provide the fixture value print("Teardown Unoserver") ...
[ "regebro@gmail.com" ]
regebro@gmail.com
4a039edc4ba67ddc8a0bc33b52c39d8a53885229
cd3a04abd5052e0b9c5d7b8bdfa378cb8111c857
/TagAndProbe/python/compareEfficiency.py
47d82747da1be7160b21de5d42039fa59716c532
[]
no_license
dntaylor/CSCDetectorStudies
1152ff45f31a2f0464252715cb89b45a74c54173
cc9b6ab8da884fbf2d2ba79358bd027cc358b841
refs/heads/master
2021-01-15T14:31:55.310185
2014-03-06T15:01:25
2014-03-06T15:01:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,327
py
''' Script to make some quick efficiency and resolution plots Author: Evan K. Friis, UW Madison; modified by Nate Woods, Devin Taylor Usage: python compareEfficiency.py TnPFitTree.root ME42RegionCut NonME42RegionCut label[optional] E.G. python compareEfficiency.py TAVGPUFILE.root NOPUFILE.root v3_ will produce rate...
[ "dntaylor@wisc.edu" ]
dntaylor@wisc.edu
6f1ca3a9f0ca4db96af8fb2b8dd51756acae4c21
f15c24ca889696323acc019b78bb6b9aabda6da2
/tests/expected/pattern.py
8cb5931bb6d0d4c6bc5b96141cb6486697a96239
[ "MIT" ]
permissive
85411021/fuzza
754ebf350afac4803e69742d1a2acd3b0d6d8a45
46dd4841a1f987bcc0141f9fdfc4fc57ffaae24f
refs/heads/master
2022-04-23T01:22:19.615186
2020-04-16T06:59:36
2020-04-16T06:59:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,906
py
#!/usr/bin/env python """fuzza autogenerated.""" from __future__ import print_function import socket def str2b(data): """Unescape P2/P3 and convert to bytes if Python3.""" # Python2: Unescape control chars try: return data.decode('string_escape') except AttributeError: pass except ...
[ "cytopia@everythingcli.org" ]
cytopia@everythingcli.org
4c4225664a67b4b7e1b2941be034bc50dadb599e
9edaf93c833ba90ae9a903aa3c44c407a7e55198
/crossref/models/gov/nih/nlm/ncbi/jats1/roman_toggle.py
86036d2c2ea8aa73a11bcedadbacc00017952f77
[]
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
132
py
from enum import Enum __NAMESPACE__ = "http://www.ncbi.nlm.nih.gov/JATS1" class RomanToggle(Enum): NO = "no" YES = "yes"
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
be2d6bfe6f398f32431c6b828dc75d57c75461cf
c0f4104194a7989e44d7f0161b2425c5a5bc3a98
/tacker/tests/unit/test_api_api_common.py
a6135c0510174dd4d8a4b8c8888034f9389c810c
[]
no_license
bopopescu/Openstack-2
f65470bdd0ee4736c45b6f869f0453cb8eb446c8
6f06133562e3dfd490695a92c9ddf1a322675104
refs/heads/master
2022-11-28T09:19:21.633850
2016-06-23T07:55:32
2016-06-23T07:55:32
282,095,817
0
0
null
2020-07-24T01:44:49
2020-07-24T01:44:48
null
UTF-8
Python
false
false
2,946
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright (c) 2013 Intel Corporation. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apa...
[ "egonmin@CN00119199" ]
egonmin@CN00119199
a1f8f42a04b4b5b00011d0a6ff3e4e64df523fc8
ac192c0d64c31c33d76708b3f5a0062a842d59cf
/LearningCode/9_all/restaurant.py
3c3e99fa1d3427f7b5a8db60101b0e9e8b995b33
[ "Apache-2.0" ]
permissive
jercas/PythonCrashCourse
7a73c6af327b653581e9d260431b022a08923fb3
464cf1dfa4c33adc73e15e15a37da94da0912e19
refs/heads/master
2020-12-02T22:11:24.650904
2017-07-03T09:37:27
2017-07-03T09:37:27
96,094,771
1
0
null
null
null
null
UTF-8
Python
false
false
1,117
py
#coding=utf-8 #餐馆P142 2017.4.20 class Restaurant(): """餐厅类 模拟餐厅运营""" def __init__(self,restaurantName,cuisineType): self.restaurantName = restaurantName self.cuisineType = cuisineType self.numberService = 0 def describeRestaurant(self): print("Our restaurant name is " + self.restaurantName.title()) print("...
[ "jercas0618@163.com" ]
jercas0618@163.com
0122a67ac5b8eecad3ca782ceb0c05c67e25821d
e3078618eaa3757e8fc2bcf60bdae0ab0a342619
/OOD/DeckOfCards.py
98b899b97b8d8aa2670f7db0fc8c849c1433797e
[]
no_license
yao23/Machine_Learning_Playground
773fa78ef8e905061ff31ec35dda19861bde7b21
7e0e917c15d3e35f49da3a00ef395bd5ff180d79
refs/heads/master
2021-01-01T04:02:36.687396
2020-07-16T06:39:45
2020-07-16T06:39:45
56,412,578
12
1
null
null
null
null
UTF-8
Python
false
false
9,303
py
import random import sys class Suit: Club = 0 Diamond = 1 Heart = 2 Spade = 3 def __init__(self): pass def get_suit(self): value = random.randint(0, 4) return self.get_suit_from_value(value) def get_suit_from_value(self, value): if value == 0: ...
[ "myspiritcrazy@gmail.com" ]
myspiritcrazy@gmail.com
362576b667864d93774e49102a67dc6607bd1b8a
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/5/md8.py
2c86e4d5e12ff37c7ebf31d7b8c0a3d0e34834ec
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
1b8593603212ec3292634d7e0a69e00b1024cfab
be8028bb3eba4eb777df86e5f097180c7871f108
/mapio/city.py
f4e7877c58568e2cac08d817e713d8aa6a2e5d34
[ "LicenseRef-scancode-warranty-disclaimer", "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
hschovanec-usgs/MapIO
8a2d3e7814b6f071c0066b0ac25b1a9240ea5d6b
983ff3b688326d7f27bcfb82c04d1c2c439c6da0
refs/heads/master
2021-01-25T12:36:11.281528
2018-02-26T15:06:44
2018-02-26T15:06:44
123,480,434
0
1
null
2018-03-01T19:09:00
2018-03-01T19:09:00
null
UTF-8
Python
false
false
12,348
py
#!/usr/bin/python from xml.dom.minidom import parse import numpy as np import zipfile import tempfile import sys if sys.version_info.major == 3: import urllib.request as request else: import urllib2 as request import io import os.path from impactutils.extern.openquake.geodetic import geodetic_distance import p...
[ "mhearne@usgs.gov" ]
mhearne@usgs.gov
ca8a92630f8d8b5bbd21f6deb9fce574ae2a1298
9a797f9a9c1c9fc8d94f7d87bbf49a021f7f499e
/paddlespeech/s2t/io/speechbrain/dataloader.py
ed0fe9043e22141a7850a6ff6c3c93700f3da43d
[ "Apache-2.0" ]
permissive
anniyanvr/DeepSpeech-1
38fb0764c18ef4ee54a5b4bcc1430b69b1434318
17854a04d43c231eff66bfed9d6aa55e94a29e79
refs/heads/develop
2023-09-01T20:02:07.336091
2023-08-14T02:11:45
2023-08-14T02:11:45
218,518,285
0
0
Apache-2.0
2023-09-13T09:54:36
2019-10-30T12:04:59
Python
UTF-8
Python
false
false
6,182
py
# Copyright (c) 2023 speechbrain Authors. All Rights Reserved. # Copyright (c) 2023 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://w...
[ "noreply@github.com" ]
anniyanvr.noreply@github.com
737f537796eb2d2e33a58262d2bdc71cd1ab00a5
c36d5f07f085504a4663ce9f1091cac3d128317e
/cumulusci/tasks/github/base.py
1413305a153b88d4884d487150b1431cfcb1b183
[]
no_license
daveb-501commons/CumulusCI
1f9c0a2954201d31dcc8fb2f7f92346ff53eac7d
59c8cbb5a18447f0a61be5f7f2c574069e06b409
refs/heads/master
2021-05-07T21:41:38.404247
2018-07-24T17:38:16
2018-07-24T17:38:16
109,052,519
0
0
null
2017-10-31T21:09:02
2017-10-31T21:09:02
null
UTF-8
Python
false
false
509
py
from github3 import login from cumulusci.core.tasks import BaseTask class BaseGithubTask(BaseTask): def _init_task(self): self.github_config = self.project_config.keychain.get_service('github') self.github = login( username=self.github_config.username, password=self.github...
[ "jlantz@salesforce.com" ]
jlantz@salesforce.com
88c50a7ea502bf517e6a1e6bf3e11b8326bb56d9
30c820b171447ab772e58f04ac0dc55c4d5ffbdf
/archive/code/RIAPSDemo/python/libs/cplex/_internal/_aux_functions.py
45253ee5bc40588e074e0da4d3a1ce73674407bd
[]
no_license
TransactiveSCC/TRANSAX
3b58cff757fb646a825872dc243e04eea3d0b712
13c45a1254cb14607d1bfa86267dbde9e61fd538
refs/heads/main
2023-05-13T10:50:20.868093
2021-05-15T02:45:53
2021-05-15T02:45:53
316,015,185
0
1
null
null
null
null
UTF-8
Python
false
false
8,060
py
# -------------------------------------------------------------------------- # File: _aux_functions.py # --------------------------------------------------------------------------- # Licensed Materials - Property of IBM # 5725-A06 5725-A29 5724-Y48 5724-Y49 5724-Y54 5724-Y55 5655-Y21 # Copyright IBM Corporation 2008, ...
[ "eiselesr@gmail.com" ]
eiselesr@gmail.com
b73b80a8dec09279aba09715eaed28d3b8227fd0
ff0d32f36be78a45f33ac2c8dfd9020377e967fe
/src/products/migrations/0002_product_price.py
a31c78d0fbb0127ea2821251a6c5ec5ac3588ed5
[]
no_license
thesanks/online_shop
44ccd9c1ce17d784e4ac352e8057f3781ec99ee1
6bf1eb386976bc550a597f8fb14791f8410bea8c
refs/heads/master
2020-03-25T17:42:48.150667
2018-08-09T14:19:57
2018-08-09T14:19:57
143,991,449
0
0
null
null
null
null
UTF-8
Python
false
false
475
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-08-09 10:34 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0001_initial'), ] operations = [ migrations.AddField( ...
[ "apple@Apples-MacBook-Pro.local" ]
apple@Apples-MacBook-Pro.local
095d40e33061cd49e3a6134c2c44a64c3b68be3e
1dca948e273d94383e09c8c69a77d462d54db3d6
/lastmile/leetcode/400/WordSearch.py
d728549217ad84d7137adc37a8dd70f826dcb6d1
[]
no_license
m-sathya-reddy/DataStructuresAlgorithmsPython
b61c7495b98d7df9edc57c84a58ec914fcaee901
3be5236c98c87f6ec6b6a305c4ef514059271c76
refs/heads/master
2023-01-04T19:24:26.589663
2020-11-02T15:59:43
2020-11-02T15:59:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,202
py
from typing import List class WordSearch: def exist(self, board: List[List[str]], word: str) -> bool: if not board: return False R = len(board) C = len(board[0]) seen = [] for r in range(R): for c in range(C): if board[r][c] == word...
[ "arun@arunma.com" ]
arun@arunma.com
7687aee799822a87c2be26d255e97c42255bc65c
a8b6cd78182e742a18c33eb2969d080df2ad84b3
/net/VRegPNetB.py
a54b8ce7e497d6bce9e5a2a7f46f030bcfe8718c
[]
no_license
samhu1989/PON
5d088b62a0f7fcf07fb7db792977453b43ef99b6
05fb3845e9e19648fbbbc5f8973fc92c21e613f1
refs/heads/master
2020-06-18T04:10:01.526228
2020-05-19T12:16:58
2020-05-19T12:16:58
196,159,282
3
0
null
null
null
null
UTF-8
Python
false
false
2,758
py
from __future__ import print_function import sys import os sys.path.append(os.path.dirname(__file__)) import argparse import random import torch import torch.nn as nn import torch.nn.parallel import torch.backends.cudnn as cudnn import torch.optim as optim; from torch.nn.parameter import Parameter import torch.utils.da...
[ "hsy19891228@yeah.net" ]
hsy19891228@yeah.net
a1524c61e1ea539834a1165d7650f2791c8b4b15
65ba19e4c84086f7f70d2338a8e6accf58ae8ebb
/tensor2tensor/utils/misc_utils.py
d8d1b18dab35ce098d97fd7efde033f420180953
[ "Apache-2.0" ]
permissive
angelfish91/tensor2tensor
f86e29066082914147a7378e0cdfcb807ca325cd
168928d29cdd887fd6cdd5d5ad35181bef614154
refs/heads/master
2020-04-11T01:48:39.802746
2018-12-12T02:26:27
2018-12-12T02:26:58
161,426,853
1
0
Apache-2.0
2018-12-12T03:20:12
2018-12-12T03:20:12
null
UTF-8
Python
false
false
1,115
py
# coding=utf-8 # Copyright 2018 The Tensor2Tensor Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
[ "copybara-piper@google.com" ]
copybara-piper@google.com
a6612cdcb7286c6790884d502be237d1f7ced36b
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/leetcode/LeetCode_with_solution/663 Equal Tree Partition.py
855cd965f29e71d47032db32568b85dedff6ee4e
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,331
py
#!/usr/bin/python3 """ premium question """ # Definition for a binary tree node. c_ TreeNode: ___ - , x val x left N.. right N.. c_ Solution: ___ - sums # list ___ checkEqualTree root: TreeNode) __ b.. """ To save 2nd pass, store sums space: O(...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
860902523884780444b06a954ffe006e8ed36dac
8015f1c62a2cb4efd21aa8938336913bf8117868
/bamap/ba4276.pngMap.py
b08a63c679c376b9ada564460b83709028642c6e
[]
no_license
GamerNoTitle/Beepers-and-OLED
675b5e3c179df0f0e27b42bf594c43860d03b9af
afe1340e5394ae96bda5f9022a8a66824368091e
refs/heads/master
2020-04-20T00:09:47.122471
2019-04-29T04:59:35
2019-04-29T04:59:35
168,515,579
4
2
null
null
null
null
UTF-8
Python
false
false
8,468
py
ba4276.pngMap = [ '00000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111', '00000000000000000000000000000000000001011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111', '0000000000000000000000000000000000000...
[ "bili33@87ouo.top" ]
bili33@87ouo.top
b85c64df00364d74e2ff5cb9512a7be4f67db913
605d55aefa0c3f6e3fdda7e762084385580c5d14
/py/code_intelligence/embeddings.py
91685e3858abd5bfbdab1c48230511ec2dd1c300
[ "MIT" ]
permissive
zhenghuiwang/code-intelligence
d0d3fd794cb912d4f98e0e90176c01ce378cdcca
3b8059835cfc8f295d895b410eab079c6c7e9496
refs/heads/master
2020-09-05T09:48:47.718474
2019-09-13T19:48:29
2019-09-13T19:48:29
220,063,068
0
0
MIT
2019-11-06T18:26:45
2019-11-06T18:26:45
null
UTF-8
Python
false
false
4,415
py
from bs4 import BeautifulSoup import requests from fastai.core import parallel, partial from collections import Counter from tqdm import tqdm import torch import pandas as pd from code_intelligence.inference import InferenceWrapper from pathlib import Path from urllib import request as request_url import logging def ...
[ "k8s-ci-robot@users.noreply.github.com" ]
k8s-ci-robot@users.noreply.github.com
8326f7d7195f8408b0e0952c3732e8f75d8fed44
87279224fa4ea7cc47b50693453e16e8cb78b1c4
/backend/social_media_20662/settings.py
a90f41f26642010a20aa612b84f877b83debcbfa
[]
no_license
crowdbotics-apps/social-media-20662
09dab8efcf6026fa28500969c86902987dde1c48
dceee6df102ebcfdd9f06818124d171c6c6bb4a6
refs/heads/master
2022-12-17T11:16:41.783081
2020-09-25T03:23:03
2020-09-25T03:23:03
298,456,693
0
0
null
null
null
null
UTF-8
Python
false
false
5,898
py
""" Django settings for social_media_20662 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ i...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
c652f3219d87778e0b38bb8dd4ba18c454569688
2ae0b8d95d439ccfd55ea7933ad4a2994ad0f6c5
/tests/layer_tests/pytorch_tests/test_reshape.py
5b89cab94d03dad79f2444d1511f5dcd8be83af1
[ "Apache-2.0" ]
permissive
openvinotoolkit/openvino
38ea745a247887a4e14580dbc9fc68005e2149f9
e4bed7a31c9f00d8afbfcabee3f64f55496ae56a
refs/heads/master
2023-08-18T03:47:44.572979
2023-08-17T21:24:59
2023-08-17T21:24:59
153,097,643
3,953
1,492
Apache-2.0
2023-09-14T21:42:24
2018-10-15T10:54:40
C++
UTF-8
Python
false
false
1,170
py
# Copyright (C) 2018-2023 Intel Corporation # SPDX-License-Identifier: Apache-2.0 import numpy as np import pytest from pytorch_layer_test_class import PytorchLayerTest class TestReshape(PytorchLayerTest): def _prepare_input(self): return (np.random.uniform(0, 50, (1, 12, 12, 24)).astype(np.float32),) ...
[ "noreply@github.com" ]
openvinotoolkit.noreply@github.com
aeadb0b6c628f506c870e4371f56ab8f066c14f4
f8580d2c963b6a3c34e918e0743d0a503a9584bd
/etg/unfinished/_html2.py
27934fcdd315b62576703f212c8fad0e74914bf4
[]
no_license
pypy/wxpython-cffi
f59c3faeed26e6a26d0c87f4f659f93e5366af28
877b7e6c1b5880517456f1960db370e4bb7f5c90
refs/heads/master
2023-07-08T21:13:22.765786
2016-12-02T22:10:45
2016-12-02T22:10:45
397,124,697
1
0
null
null
null
null
UTF-8
Python
false
false
2,277
py
#--------------------------------------------------------------------------- # Name: etg/_html2.py # Author: Robin Dunn # # Created: 20-Nov-2012 # Copyright: (c) 2013 by Total Control Software # License: wxWindows License #---------------------------------------------------------------------------...
[ "wayedt@gmail.com" ]
wayedt@gmail.com
8e1fb0ff58a815dd0433a7df31604a4fae604321
a2e10b9a73ccfb80fbb98d47532d4c6a6de49be7
/utils/pkiutils/cryptography/__init__.py
7ca1c61a6fab34d153eaedc619057c25b7556140
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
yuqi-test/ECProAutomation
81a04b77c9226acd4f745bf59df3c741bd9d3605
9c08c5b3bd122809fbb5b44cd933f4240e42e4f7
refs/heads/master
2022-04-21T11:46:17.788667
2020-04-21T10:12:52
2020-04-21T10:12:52
257,553,619
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
# This file is dual licensed under the terms of the Apache License, Version # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details. from __future__ import absolute_import, division, print_function from .__about__ import ( __author__, __copyright__, __email__, __lice...
[ "yuqi@infimind.com" ]
yuqi@infimind.com
f733e5ac393728eaf2ba4c16b1c30424670eb273
903d61442edad2cc20056165c0a2eb31ee830d33
/game/camera.py
9cd07bf9f364c66e1e4302d243e291d42ebeac8c
[]
no_license
RafayelGardishyan/HexagonGame
19d14cc5a4ddf893359a15ceb6b47d1b512867d6
edab971c9fde072579e5b17c62e36dfec02fbb5b
refs/heads/master
2022-08-31T15:27:35.670521
2020-05-30T19:13:26
2020-05-30T19:13:26
267,854,994
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
class Camera: def __init__(self): self.x_offset, self.y_offset = 0, 0 def move_camera(self, x_offset, y_offset): self.x_offset += x_offset self.y_offset += y_offset def get_offset(self): return self.x_offset, self.y_offset
[ "rgardishyan@gmail.com" ]
rgardishyan@gmail.com
8b11848c3ecc0745bd3063bf9cea5a5e381b0381
c8851a7b9fc2e69c1f3bb2eacc8375d516c7b17b
/xitorch/_impls/integrate/samples_quad.py
7c9903a284348f84f44d56bba7c44002dd1e84a3
[ "MIT", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
udemirezen/xitorch
c5e1188d83cd1834d5b218662dd6d5624fb13873
cc440c8cb6ecef1dac58d7c2ec217fe94cbcf165
refs/heads/master
2023-08-16T14:08:35.705338
2021-10-20T17:35:44
2021-10-20T17:35:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,841
py
import torch import xitorch as xt from abc import abstractmethod from xitorch._impls.interpolate.interp_1d import _get_spline_mat_inv """ This file contains the cumulative sum quadrature functions. The functions are usually used in solve_poisson method in grid objects. """ class BaseSQuad(xt.EditableModule)...
[ "firman.kasim@gmail.com" ]
firman.kasim@gmail.com
7b8b0843266df5a7f2dd9c17d696a37cdc9bc52a
c2364f7cfde673e6b4f8e084d5dbc2d5238abbaa
/levels/cleaned_maps/add_commas.py
506943e9dceff6599bd746f2d481062540b1563e
[]
no_license
bi3mer/MarioLevelGeneration
1038285f496b11d1cbef0812f14a8302ebf55022
2df43f84e397fabcf9eb7c68540e532924e6275a
refs/heads/master
2022-02-26T11:53:02.143126
2019-05-13T21:41:44
2019-05-13T21:41:44
144,098,164
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
import os files = os.listdir() for file in files: # read claned map f = open(file, 'r') lines = f.readlines() f.close() # comma seaprate strings for i in range(len(lines)): # last value will always be a comma that we don't want lines[i] = ','.join(lines[i])[:-2] + '\n' # write cleaned maps to new locatio...
[ "colan@comcast.net" ]
colan@comcast.net
a32759aaaca0670b2c92365282ee83f12df8449b
3f84f51751c4191bb81c9df7094578461fb12a2d
/AtcoderProblems/ABC/ABC056/C.py
73339eaec9a5bbab2c9750d9947e08cc7af3b646
[]
no_license
rikukawamura/atcoder
7ff49f1bd8534b99d87fe81ef950e1ba77eee8b8
09c0cfe3ce25be56d338614a29e996f4106117cd
refs/heads/master
2023-08-13T21:21:19.058219
2021-09-28T10:02:42
2021-09-28T10:02:42
329,206,601
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
def int_sp(): return map(int, input().split()) def li_int_sp(): return list(map(int, input().split())) def trans_li_int_sp(): return list(map(list, (zip(*[li_int_sp() for _ in range(N)])))) import pdb from itertools import accumulate X = int(input()) acc = list(accumulate(range(1, 10**6))) if X == 1:...
[ "49993650+rikukawamura@users.noreply.github.com" ]
49993650+rikukawamura@users.noreply.github.com
d25be9fd26d4dbdb0f6e14d3046c5f837664eee7
cb70b467312f2fb8f8415bac03476d207acb990d
/study_case/yaml_study.py
5e06ca7df3d925171b5c8538d0d6e90af8f82b1a
[]
no_license
eddiewang-wgq/python-interface
ded532dbad1dc943420823e91ba5f00637fa978e
d232cfc3a7ffc27f8f186d577265bc93e89b9b54
refs/heads/master
2023-03-27T00:52:50.018082
2021-03-30T07:53:08
2021-03-30T07:53:08
352,916,495
0
0
null
null
null
null
UTF-8
Python
false
false
3,568
py
# !/usr/bin/python3 # -*- coding: utf-8 -*- """ @Author : pgsheng @Time : 2018/4/17 9:02 """ import csv import json import os import yaml from public import config def read_yaml(): # 你的yaml格式文件路径 # path = config.project_path + r'\study_case\data\yaml_study_data.yaml' path = os.path.join(config.study...
[ "2568080700@qq.com" ]
2568080700@qq.com
b580af832cd86d3629529809b56b81406fed9fda
520219554d34df8a29f76304db424f1946b9171d
/sequencing/urls.py
f6f54d02786f42ce81f5b96fe42c96e623fbc4d4
[]
no_license
amschaal/glims
c59aa2edbdec2267b9361e892efb7e871962372e
ce31f0179deb1b8e9659c688717ca37ebeee1cd8
refs/heads/master
2021-06-08T23:39:57.099783
2020-01-17T18:30:27
2020-01-17T18:30:27
55,446,799
4
0
null
2021-03-19T21:59:11
2016-04-04T21:31:38
Python
UTF-8
Python
false
false
454
py
from django.conf.urls import include, url from rest_framework import routers from sequencing.api import views as api_views import views router = routers.DefaultRouter() router.register(r'runs', api_views.RunViewSet,'Run') router.register(r'machines', api_views.MachineViewSet,'Machine') urlpatterns = [ url(r'^runs...
[ "amschaal@ucdavis.edu" ]
amschaal@ucdavis.edu
3d9bd37ba1db3f601b36331bf36666f0764359aa
fed0888bb61ca26b34cdfc6f0c93408f66dbdfe3
/sele/test/merchant/testloginpagemerchant.py
036bad12d666fb2d60c5ef973fe373de4008eed5
[]
no_license
wawj901124/seleniumweb
9530720bbdb2768a4f54dedb2acaf0ed1c0ba340
1ccaea2a812825e6f47ca473b5e9b899c4fb5556
refs/heads/master
2022-12-15T11:43:22.047469
2019-03-15T06:30:20
2019-03-15T06:30:20
175,761,917
0
0
null
2022-11-22T02:38:10
2019-03-15T06:27:40
Python
UTF-8
Python
false
false
12,567
py
# _*_ coding:utf-8 _*_ __author__ = 'bobby' __date__ = '2018/7/27 12:24' import unittest import HTMLTestRunner from base.activebase import ActiveWeb #导入ActiveWeb from project.merchant.loginpagemerchant import LoginPage #导入LoginPage页 class Test(unittest.TestCase): #创建测试类 @classmethod #类方法,只执行一次,但必须要加注解@cl...
[ "410287958@qq.com" ]
410287958@qq.com
19999e332178db4ec4a79c410c225981e3359215
5352ea9270452d0301a32a65bd12f5417668f98d
/survey/t13/prop.py
dfbc477524b66a92ab0d2456dffcd67d3e1002d0
[ "MIT" ]
permissive
afranck64/ultimatum
3fce0746a5a5a41f94e2ff0156a3748fa18b16aa
22e9951ef7928a7d4757c06d7b46ecc3a9a3513b
refs/heads/master
2023-02-19T04:10:24.316127
2022-06-17T00:31:08
2022-06-17T00:31:08
181,334,539
0
0
MIT
2023-02-15T23:49:11
2019-04-14T16:06:39
Jupyter Notebook
UTF-8
Python
false
false
1,681
py
import json import os import time import datetime from flask import ( Blueprint ) from core.utils import cents_repr from survey._app import app, csrf_protect from survey.txx.prop import handle_check, handle_done, handle_index, insert_row, handle_index_dss, handle_feedback from survey.globals import AI_SYSTEM_DES...
[ "afranck64@yahoo.fr" ]
afranck64@yahoo.fr
eaa88d72608e81ea74027b98f5dca3cca95c38b9
b096b879612c898f0a2c56e407b451a6484902e6
/boj/2902.py
a46daf7ca2fbebf9d79cd081696f3e47dde28d6c
[]
no_license
kaevowen/archive
12076a732ab1f9acec2e6ca5be0505ff80ac577f
84c87f953e64bae3da4397b45839281a76f76b90
refs/heads/master
2020-12-13T11:04:14.014830
2020-05-03T23:24:59
2020-05-03T23:24:59
234,397,216
0
0
null
null
null
null
UTF-8
Python
false
false
48
py
for w in input().split('-'): print(w[0],end='')
[ "kaev.owen@gmail.com" ]
kaev.owen@gmail.com
75d5bf972b7f188caac952d1b5fed79d748234a4
d7faf47825b6f8e5abf9a9587f1e7248c0eed1e2
/rllib/agents/marwil/tests/test_marwil.py
cdf57d4241a6720efe58c9bf26eac416da4f623a
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
ggdupont/ray
7d7c7f39a8f99a09199fab60897da9e48b8e2645
15391026c19f1cbbb8d412e46b01f7998e42f2b9
refs/heads/master
2023-03-12T06:30:11.428319
2021-12-07T05:34:27
2021-12-07T05:34:27
165,058,028
0
0
Apache-2.0
2023-03-04T08:56:50
2019-01-10T12:41:09
Python
UTF-8
Python
false
false
8,779
py
import numpy as np import os from pathlib import Path import unittest import ray import ray.rllib.agents.marwil as marwil from ray.rllib.evaluation.postprocessing import compute_advantages from ray.rllib.offline import JsonReader from ray.rllib.utils.framework import try_import_tf, try_import_torch from ray.rllib.util...
[ "noreply@github.com" ]
ggdupont.noreply@github.com
04221ed2b7b6997a012f526303bfc0c15a7a143e
64de9f2b66578000b733242ac9609ac5be4b181d
/plugin.video.doofree/resources/lib/sources/pl/szukajkatv.py
89e6c120193ddfebaafe1672a436a263001b4c21
[]
no_license
mpie/repo
8b3e7a0b66596d1deee5d4474299692076baf667
391eebf68fa2d4c8a37659e310c695459428bd0a
refs/heads/master
2022-01-30T08:09:31.909089
2022-01-09T13:30:17
2022-01-09T13:30:17
34,678,785
7
1
null
null
null
null
UTF-8
Python
false
false
12,444
py
# -*- coding: utf-8 -*- ''' DooFree Add-on Copyright (C) 2017 Mpie ''' import re, urllib, urlparse, base64, json from resources.lib.modules import cleantitle from resources.lib.modules import client class source: def __init__(self): self.priority = 1 self.language = ['pl'] self....
[ "info@mpie.nl" ]
info@mpie.nl
f91c743a88b3ed3582182c564689334c4038cea7
96dcea595e7c16cec07b3f649afd65f3660a0bad
/homeassistant/components/github/diagnostics.py
c2546d636b8281fececf1e6811a52e638618607a
[ "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,328
py
"""Diagnostics support for the GitHub integration.""" from __future__ import annotations from typing import Any from aiogithubapi import GitHubAPI, GitHubException from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.aiohttp_client import ( ...
[ "noreply@github.com" ]
home-assistant.noreply@github.com
b47b7092d441a14e2176b614d892d8d6c9d91438
36db2b55c8f2799e2cc09fdafa81cb759dfd8514
/python_worm/huanqiu/common_function.py
c894a36bea206144d6783fb0bf4c0c3040ff8ce9
[]
no_license
superxiaotutu/worm
40ced6a896be33ac6382223337ba7e15b6850848
b08c333b22ef23aadbb95f600242f832dbb66280
refs/heads/master
2020-03-18T14:04:48.777702
2018-09-21T09:02:39
2018-09-21T09:02:39
134,828,267
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
import os def clear_char(string): return string.replace(' ','').replace('/','-').replace('"','').replace("'",'').replace('“','').replace('”','')
[ "619677632@qq.com" ]
619677632@qq.com
526102634ca4b2db06086ff4dbc6747062f07adb
2296d9506ff75a3cfce54a8ae9ff8878e1a54302
/webcam_demo.py
67925f74f3d3082d18dca746112a629174b7ca3a
[]
no_license
zbxzc35/gan-data
59d50db83043d835056cb2ef0fe313adc106f1e8
3093515dd950272e5f47b51393aeef055d5b4833
refs/heads/master
2021-08-30T04:38:30.324531
2017-12-16T02:43:27
2017-12-16T02:43:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,245
py
import cv2 import time import numpy as np import tensorflow as tf from multiprocessing import Queue, Pool from PIL import Image, ImageDraw, ImageFont from detection.client import ObjectDetectionClient from detection.src.utils.label_map import get_labels from detection.src.utils.webcam import WebcamVideoStream # Comm...
[ "tdat.nguyen93@gmail.com" ]
tdat.nguyen93@gmail.com
0a9ec8c24a51f2ee1ce4658a51992cce9d0c99be
f9f8cefc9d150eb26f4e2edd327b858542edb48d
/web/portfolio_app/migrations/0007_auto_20180403_1646.py
e3c6e789fa617effb33509585780690595d0951c
[]
no_license
phanminhtam/portfolio-tampm
2ce0893a62f00d395dafc38d4ab5e897e5ce01bb
05bf8e91fd638eee86f33066f3c7c6f82202dd0f
refs/heads/master
2020-03-07T09:05:01.907957
2018-07-16T02:12:55
2018-07-16T02:12:55
127,397,634
0
0
null
null
null
null
UTF-8
Python
false
false
729
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2018-04-03 09:46 from __future__ import unicode_literals from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('portfolio_app', '0006_auto_20180403_1622'), ] operati...
[ "nguyentrisinh0810@gmail.com" ]
nguyentrisinh0810@gmail.com
04547269ad3a9810e34569ff9c858d97fb9ebbbe
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_13863.py
1ef1fc459264d57d55a904c21e0a0fee9246fadb
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
# How to build the index of a single app in Django Haystack - elasticsearch? ./manage.py update_index
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
b7f7c4a850600325338ff399aa589b3c438dbba5
a9c3db07c29a46baf4f88afe555564ed0d8dbf2e
/src/1229-shortest-path-with-alternating-colors/shortest-path-with-alternating-colors.py
ad5a3e3a5d5e57194604d3c42b7655e383cc569f
[]
no_license
HLNN/leetcode
86d2f5b390be9edfceadd55f68d94c78bc8b7644
35010d67341e6038ae4ddffb4beba4a9dba05d2a
refs/heads/master
2023-03-13T16:44:58.901326
2023-03-03T00:01:05
2023-03-03T00:01:05
165,402,662
6
6
null
null
null
null
UTF-8
Python
false
false
2,073
py
# You are given an integer n, the number of nodes in a directed graph where the nodes are labeled from 0 to n - 1. Each edge is red or blue in this graph, and there could be self-edges and parallel edges. # # You are given two arrays redEdges and blueEdges where: # # # redEdges[i] = [ai, bi] indicates that there is a ...
[ "Huangln555@gmail.com" ]
Huangln555@gmail.com
0b4e37663cfd26d46eb18eda45eda9d54b8cdd1e
04e1c60ac7864a0bdcdd41026a2336b1ff699613
/train.py
bd3d01fefdba7acf75c117b8bf98c783394d95b8
[]
no_license
jianzhnie/RetinaNet_Pytorch
00ec318d2e57c6b646f193e4d3a066f9891762b3
03679766847757f28bb9410c31ddaf99adf524c8
refs/heads/master
2020-09-22T00:09:18.617565
2019-11-30T08:27:36
2019-11-30T08:27:36
224,981,680
1
0
null
null
null
null
UTF-8
Python
false
false
3,858
py
from __future__ import print_function import os import argparse import torch import torch.nn as nn import torch.optim as optim import torch.nn.functional as F import torch.backends.cudnn as cudnn from torch.autograd import Variable import torchvision import torchvision.transforms as transforms from model.loss import F...
[ "jianzhnie@126.com" ]
jianzhnie@126.com
bbb751e454aab322d7113409c4e5b3820b49b8cd
0dc9968c34f74f6ff15435104806956169d6c82a
/puzzle/puzzle.py
6d6b12abe4e341dd4466d31452afbc85439363a1
[]
no_license
tasnuvaleeya/hackerRank
5ac0e5b089e8da83980b37b1dea45def20fe02e0
7259324ea0692ce36c494d9b8913eef8e2211aa9
refs/heads/master
2021-04-09T17:37:41.769210
2018-04-12T13:55:56
2018-04-12T13:55:56
125,638,757
0
0
null
null
null
null
UTF-8
Python
false
false
326
py
# w1 = raw_input() # w2 = raw_input() # # total = 0 # for letter in "abcdefghijklmnopqrstuvwxyz": # sum = len(w2)+len(w1) # total = sum - (len([i for i in w1, w2])) # print total w1 = input() w2 = input() res = 0 for letter in "abcdefghijklmnopqrstuvwxyz": res +=abs(w1.count(letter)-w2.count(letter)) print...
[ "tasnuva2606@gmail.com" ]
tasnuva2606@gmail.com
70ffc49a16b17c4a7be0c87c1d21709022f42de2
18219d0fc95936ded56fe44f9a65ecb27f015232
/143 tuple application.py
4b8d6973f0997b672996af464e5d84110195d763
[]
no_license
JDavid121/Script-Curso-Cisco-Python
20a61b91b09376dcaef54f8ae5f86fe252de5c33
6d68c17ff3c3826e9fc609d110ce9d0e6ebf718b
refs/heads/master
2021-05-18T04:54:59.948970
2020-03-29T20:19:53
2020-03-29T20:19:53
251,120,139
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
# -*- coding: utf-8 -*- """ Created on Tue Feb 25 22:09:47 2020 TUPLE APPLICATION @author: David """ tupple1 = (1,10,100,1000) print(tupple1[0]) # output: 1 print(tupple1[-1]) # output: 1000 print(tupple1[1:]) # output: (10,100,1000) print(tupple1[:-2]) # output: (1,10) for element in tupple1: ...
[ "noreply@github.com" ]
JDavid121.noreply@github.com
c3f8e0d69e2d33d987175fd4b6c49fbd2af292b5
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/app/util/bin/format/elf/relocation/ElfRelocationHandlerFactory.pyi
6e212369376c8faf4909c71ea6206ab9e49058c2
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
903
pyi
from typing import List import ghidra.app.util.bin.format.elf import ghidra.app.util.bin.format.elf.relocation import java.lang class ElfRelocationHandlerFactory(object): def __init__(self): ... def equals(self, __a0: object) -> bool: ... def getClass(self) -> java.lang.Class: ... @staticmeth...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
89a7d9d8d5434ba6ff08516fe6017e5a5d9c6665
b4150221df5b1884c8f2f8e38b81d77491f31574
/hobbies.py
f75499857c5f71140c7508f68e0a75af3e6afa6e
[]
no_license
evamaina/LOOPS
c60028b2f3ee1b9d37c4a67cff8895b83cc2c109
626da5596aab3413a20ccf0e5205c11950c109d0
refs/heads/master
2021-08-22T14:32:15.446153
2017-11-30T11:38:41
2017-11-30T11:38:41
108,438,235
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
hobbies = [] # Add your code below! for num in range(3): hobby = raw_input("Tell me one of your favorite hobbies: ") hobbies.append(hobby) print hobbies
[ "evajohnson714@gmail.com" ]
evajohnson714@gmail.com
b1054c03244352abdf14c681afa68c168db93547
a8769709aeb7299fa3757f0e7bba5c617eb8cfe3
/lesson-3/k8s/lib/python2.7/site-packages/kubernetes/client/models/v1_scoped_resource_selector_requirement.py
16638bba8f278e0f437add3c9ccd5a1d427084ba
[ "Apache-2.0" ]
permissive
simox-83/workshop-k8s
2ac5e8b282bb7c3337acc726a7d972717bf649cc
04cb18e8b5925a3cfd84ca316952a6cb64960b31
refs/heads/master
2020-03-31T20:52:21.421995
2018-10-11T14:43:08
2018-10-11T14:43:08
152,558,678
0
0
Apache-2.0
2018-10-11T08:37:20
2018-10-11T08:37:20
null
UTF-8
Python
false
false
5,612
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.11.3 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re...
[ "simone.dandreta@concur.com" ]
simone.dandreta@concur.com
ee460384c952b6682b6ab6cde6a8858863cb4853
7bfbc82845f91a0bf9e56bf4226ea0d445a4e4f8
/_todo/data/lworld/lworld.py
00e6394795bf4933860744d66258b5f3f9b35f4b
[ "MIT" ]
permissive
Pandinosaurus/ensae_teaching_cs
d79daa2654b97ea94e9c7e98121d0c6f56cbd8a0
2abbc7a20c7437f9ab91d1ec83a6aecdefceb028
refs/heads/master
2023-04-29T10:13:00.636012
2023-04-21T11:37:18
2023-04-21T11:37:18
160,346,838
1
0
MIT
2023-04-21T16:47:24
2018-12-04T11:27:27
Jupyter Notebook
UTF-8
Python
false
false
2,081
py
def build_graph(): relation = """ yolanda candace bette coleman frank agatha toni teri marilyn peggy amy jodi bette nadia josh tina eric henry tina helena isabella valerie leigh helena dylan danny winnie helena catherine amy jodi bette alice sean april alice andrew alice tasha ev...
[ "xavier.dupre@ensae.fr" ]
xavier.dupre@ensae.fr
e233494aa16ab4c6b2a5f0846e06cb2db51ddbe0
e61c0cf21739fad3a42d4a7c555744e59d59bb36
/백준/백준_14499_주사위 굴리기.py
be9450aedde64f1d80ecf7beeb7854ba2198d34e
[]
no_license
emplam27/Python-Algorithm
0b6f222baf4d7d13438d71631f9476ec29cb1087
8cc9359dd9131629edac28a9ab9cb3a1f5d9c476
refs/heads/master
2023-05-04T21:11:10.087666
2021-05-23T13:45:38
2021-05-24T19:21:22
273,455,638
1
0
null
null
null
null
UTF-8
Python
false
false
1,982
py
# 1시간 10분 # 주사위의 이동에 대해 심각하게 고민할 것 # 주사위가 이동함에 따라 주사위를 어떤식으로 배치해야할지 고민해야 한다. import sys sys.stdin = open('input.txt', 'r') N, M, X, Y, K = map(int, input().split()) board = [list(map(int, input().split())) for _ in range(N)] orders = list(map(int, input().split())) # 주사위 구성 : 굴리면 기존의 숫자들이 어디로 이동하는지 # 정상 우...
[ "emplam27@gmail.com" ]
emplam27@gmail.com
27b188e927682aa3bac2bb05766f08ef09ee0a66
b4f661f1153637d9cfec18e4cf56b64582c31385
/src/Python/18.四数之和.py
1f3791a677f9d8afe0998102cacbf7ba585f4700
[]
no_license
Icedomain/LeetCode
12dd24bbe2d7aba1f6ebe61bffe4c5e6284fbd06
4bc8e41499b9c884d64b5a44fe783fdb7030676e
refs/heads/master
2021-02-15T15:12:15.009790
2020-09-22T11:37:59
2020-09-22T11:37:59
244,909,740
2
0
null
null
null
null
UTF-8
Python
false
false
2,402
py
# # @lc app=leetcode.cn id=18 lang=python3 # # [18] 四数之和 # class Solution: def fourSum(self, nums: List[int], target: int) -> List[List[int]]: # 去除异常 if not nums or len(nums) < 4: return [] nums.sort() res = [] # 第一个数遍历 for i in range(len(nums) - 3): ...
[ "1271029566@qq.com" ]
1271029566@qq.com
28bf18bf1dba4bc218176ce9bfe0c6a003dc6c94
76e62ddbfdfba19c80b37e855a4df67672ef0808
/PINp/2015/GOLOVIN_A_I/task_9_7.py
b6d23fbda6ee18bb06b50dccdb047328f23d02b8
[ "Apache-2.0" ]
permissive
stasvorosh/pythonintask
9d30f3cd492e89783b7221402375c1ebe4690baa
8169ed26510022fe0d589f4013f11749131957df
refs/heads/master
2021-01-17T16:49:32.778063
2016-10-10T14:08:04
2016-10-10T14:08:04
52,255,539
6
0
null
2016-02-22T07:33:16
2016-02-22T07:33:15
null
UTF-8
Python
false
false
1,606
py
#Задача 9. Вариант 7. #1-50. Создайте игру, в которой компьютер выбирает какое-либо слово, а игрок должен его отгадать. Компьютер сообщает игроку, сколько букв в слове, и дает пять попыток узнать, есть ли какая-либо буква в слове, причем программа может отвечать только "Да" и "Нет". Вслед за тем игрок должен попробова...
[ "stasyan.v@gmail.com" ]
stasyan.v@gmail.com
f2765dfcf2325232ec8742c896729c20eacfa87f
b284097fb7eda14307defe2dd19fe290a366a8b3
/odoo-rd/obs_small_label/view/obs_mrp_small_label_template.py
28b5c6b7a8ddd11ac495f25e8815024513cea529
[]
no_license
OpenBusinessSolutions/odoo-fondeur-server
41420069e77b2faaf12c396e5d3d2a2c165a8ae2
9c588e45011a87ec8d9af73535c4c56485be92f7
refs/heads/master
2021-01-01T05:45:29.736682
2016-04-19T15:21:58
2016-04-19T15:21:58
56,607,743
1
1
null
null
null
null
UTF-8
Python
false
false
4,332
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (c) 2013-Present Acespritech Solutions Pvt. Ltd. (<http://acespritech.com>). # # This program is free software: you can redistribute it and/or modify #...
[ "tecnologia@obsdr.com" ]
tecnologia@obsdr.com
df60eb125c5d94da157574e34869adc42bdcb48c
a8062308fb3bf6c8952257504a50c3e97d801294
/problems/N960_Delete_Columns_To_Make_Sorted_III.py
6b9463680550c408148e6206fefc223a0b7a326e
[]
no_license
wan-catherine/Leetcode
650d697a873ad23c0b64d08ad525bf9fcdb62b1b
238995bd23c8a6c40c6035890e94baa2473d4bbc
refs/heads/master
2023-09-01T00:56:27.677230
2023-08-31T00:49:31
2023-08-31T00:49:31
143,770,000
5
0
null
null
null
null
UTF-8
Python
false
false
815
py
""" LIS problem: longest increasing sebsequence Here we treat the whole column as a whole , then use dp to get the LIS. LIS : the simple number [1,4,2, 5,3], it can use greedy : O(NlogN). the complexity compare like this problem(need to compare whole column), so use DP : O(N**2) """ class Solution(object): ...
[ "rarry2012@gmail.com" ]
rarry2012@gmail.com
39f90b5762ed1d5c4aab092a3e4ea4a035ef30f6
e2e39726195c7bc075b9bd56e757acd136527d5c
/typings/vtkmodules/vtkFiltersGeneral/vtkLinkEdgels.pyi
8374400d5891848b0a5f06855a4b543cea4beb7a
[ "BSD-3-Clause" ]
permissive
gen4438/vtk-python-stubs
a652272183d2d1ee48d4639e86bcffc1ac454af0
c9abd76362adf387af64ce5ddbd04c5d3bebe9da
refs/heads/main
2023-04-04T02:13:15.459241
2021-04-15T10:47:28
2021-04-15T10:53:59
358,224,363
1
0
null
null
null
null
UTF-8
Python
false
false
6,762
pyi
""" This type stub file was generated by pyright. """ import vtkmodules.vtkCommonExecutionModel as __vtkmodules_vtkCommonExecutionModel class vtkLinkEdgels(__vtkmodules_vtkCommonExecutionModel.vtkPolyDataAlgorithm): """ vtkLinkEdgels - links edgels together to form digital curves. Superclass: vtkPoly...
[ "g1e2n04@gmail.com" ]
g1e2n04@gmail.com
b9e33153fb755d952f4e30ff6de00243c5db4afc
c90c88f662ca3f6294ae7d5b7adb04831a2c01d9
/TokenPark/scripts/bitcoin_price_script.py
6349d7bb057ec7053672c736e687f5b19806cbd4
[]
no_license
BigJeffWang/blockchain-py
a41512fbd52b182306ea00607e6b93871d5aa04d
9d2abf10e9ff5a4ed7203564026919c1e2bd088a
refs/heads/master
2021-07-20T22:52:13.496892
2020-08-05T09:54:18
2020-08-05T09:54:18
203,220,932
0
1
null
null
null
null
UTF-8
Python
false
false
4,724
py
import sys import time import logging import json import urllib import urllib.parse import urllib.request import requests from redis import StrictRedis sys.path.append("..") from config import get_redis_conf logger = logging.getLogger(__name__) logger.setLevel(logging.INFO) formatter = logging.Formatter( '%(asct...
[ "bigjeffwang@163.com" ]
bigjeffwang@163.com
0808870d2db44fc3189ea04fa40b0655962d287a
bf411cd2356ea9294d45a3b220f966418949e68a
/gitman/models/__init__.py
575a23802c718493c1652baafcff605edd63ab0c
[ "MIT" ]
permissive
jacebrowning/gitman
30abfaa557f61e0b1387e1afa0d34bf21076f1a5
19166000f3706b459936c1721299ffb70718d815
refs/heads/main
2023-08-29T14:47:46.205739
2023-07-25T22:15:17
2023-07-25T22:15:17
30,629,582
155
38
MIT
2023-08-13T19:38:27
2015-02-11T03:55:12
Python
UTF-8
Python
false
false
127
py
from .source import Source # isort:skip from .config import Config, find_nested_configs, load_config from .group import Group
[ "jacebrowning@gmail.com" ]
jacebrowning@gmail.com
fa8cb89e7d643c58534ccde889b44fa8d3c74a92
412b0612cf13e9e28b9ea2e625975f3d9a2f52b6
/2021/22/bounded.py
04bc6d8a2d93848aa8cda8d23926deeaede178f2
[]
no_license
AlexClowes/advent_of_code
2cf6c54a5f58db8482d1692a7753b96cd84b6279
d2158e3a4edae89071e6a88c9e874a9a71d4d0ec
refs/heads/master
2022-12-24T19:02:07.815437
2022-12-23T17:35:53
2022-12-23T17:35:53
225,618,394
0
0
null
null
null
null
UTF-8
Python
false
false
884
py
from collections import defaultdict from itertools import product import re def try_int(x): try: return int(x) except ValueError: return x def bound(a, b): bounds = -50, 50 return range(max(a, bounds[0]), min(b, bounds[1]) + 1) def main(): cubes = defaultdict(int) with open...
[ "alexclowes@gmail.com" ]
alexclowes@gmail.com
998d8edd33aea1530e28f14037ede12c0e8b86bf
7565b75f91365b0559c71dfac856a27107771808
/python3/problem2.py
33e3e6f90c661ba8b1f5496a91837914a28b293d
[]
no_license
JLoosa/Leetcode-Submissions
1f00659c681a36dd3c0ecae5e0093d9df321c73f
e108e688f1148c8bf6156a3d51b8ee59dda11894
refs/heads/master
2022-11-20T14:51:10.624772
2020-07-26T02:17:12
2020-07-26T02:17:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,259
py
# Leetcode Problem 2 # Name: "Add Two Numbers" # Difficulty: Medium # URL: https://leetcode.com/problems/add-two-numbers/ # Date: 2020-07-24 from math import log10 # Definition for singly-linked list. class ListNode: def __init__(self, val=0, next=None): self.val = val self.next = next class So...
[ "unconfigured@null.spigotmc.org" ]
unconfigured@null.spigotmc.org
7c92f44ae4b1bff33c4c3b5bb72f6a49f6d5d6d0
1252a8d08fb5d21cac64e02369ada8c43c18eee1
/integration_tests/samples/rtm_v2/rtm_v2_proxy_app.py
0f8e5e8b9280e31ea77f3e73569537570f74aba3
[ "MIT" ]
permissive
qause/python-slack-sdk
6d9d41bca7f8cf86cd30089105c98740528ca9a6
61f098311adbd6d2904f51541cf5d8bf42c83168
refs/heads/main
2023-07-27T08:13:15.061105
2021-09-12T23:35:08
2021-09-12T23:35:08
405,300,786
2
1
MIT
2021-09-12T23:35:09
2021-09-11T06:18:20
null
UTF-8
Python
false
false
1,003
py
import logging logging.basicConfig( level=logging.DEBUG, format="%(asctime)s.%(msecs)03d %(levelname)s %(filename)s (%(lineno)s): %(message)s", datefmt="%Y-%m-%d %H:%M:%S", ) logger = logging.getLogger(__name__) import os from slack_sdk.rtm.v2 import RTMClient from integration_tests.env_variable_names imp...
[ "seratch@gmail.com" ]
seratch@gmail.com
fdf9647ee5fd6ba6e4abd39e472fde44b62317ea
27cf641440babe8fa73e039269e7f920f89ce30a
/Blastoff.py
59a260f0f9823365d1e87871c3f677f23fd0937e
[ "MIT" ]
permissive
fatih-iver/Intro-to-Computer-Science-with-Python
ca8ecd509ea79638de23517e9483609b7598471d
7b8127681415dfd100a0e70fe8a672cec696bbb7
refs/heads/master
2021-09-08T10:59:54.322486
2018-03-09T11:28:34
2018-03-09T11:28:34
117,160,505
0
0
null
null
null
null
UTF-8
Python
false
false
493
py
# Define a procedure, countdown, that takes a # positive whole number as its input, and prints # out a countdown from that number to 1, # followed by Blastoff! # The procedure should not return anything. # For this question, you just need to call # the procedure using the line # countdown(3) # instead of print...
[ "noreply@github.com" ]
fatih-iver.noreply@github.com
013b9ea451b872941bf628ea3557e3643233cad9
a5a99f646e371b45974a6fb6ccc06b0a674818f2
/RecoTracker/TkSeedGenerator/python/seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer_cff.py
da73f968f7087c9903094912289384dbd987ff89
[ "Apache-2.0" ]
permissive
cms-sw/cmssw
4ecd2c1105d59c66d385551230542c6615b9ab58
19c178740257eb48367778593da55dcad08b7a4f
refs/heads/master
2023-08-23T21:57:42.491143
2023-08-22T20:22:40
2023-08-22T20:22:40
10,969,551
1,006
3,696
Apache-2.0
2023-09-14T19:14:28
2013-06-26T14:09:07
C++
UTF-8
Python
false
false
343
py
from RecoTracker.TkSeedGenerator.seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer_cfi import * from Configuration.Eras.Modifier_trackingPhase2PU140_cff import trackingPhase2PU140 trackingPhase2PU140.toModify(seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer, magneticField = '', propagator = 'Prop...
[ "matti.kortelainen@cern.ch" ]
matti.kortelainen@cern.ch
6462a92ed21dba44149ad57d2a65e4481b193500
6d8ed9e06e7783443fac3d100a4fdea304d5d64e
/dashboard/internet_nl_dashboard/migrations/0025_auto_20190430_1021.py
39b5c2a01764c986f784c03cca5466684657a810
[ "Apache-2.0" ]
permissive
internetstandards/Internet.nl-dashboard
399c6d13d66bbc56b1a5b964a727cc299d351bd8
f1f68352a173689e2386d790f69bd28640a75e09
refs/heads/main
2023-08-31T21:01:42.739287
2023-07-12T10:51:16
2023-07-12T10:51:16
175,843,928
7
8
Apache-2.0
2023-09-13T08:45:51
2019-03-15T15:16:49
JavaScript
UTF-8
Python
false
false
770
py
# Generated by Django 2.2 on 2019-04-30 10:21 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('internet_nl_dashboard', '0024_auto_20190429_0923'), ] operations = [ migrations.AlterFi...
[ "elger.jonker@gmail.com" ]
elger.jonker@gmail.com
28c001f625d2beb5cf7df4f2c2c36c16c8669448
3b1249bce0a44c1078d3d81c77b5dc9283ede9ba
/ex050.py
12dc8f5fde0586a4910eb63213d49560bf4de5f2
[]
no_license
Kanefav/exercicios
651e4caf0d2377d3b03b3203536fa82488161d78
37ea8206498a394999e7b2778d52d80adbde4865
refs/heads/master
2023-05-04T00:27:30.240284
2021-05-07T16:38:10
2021-05-07T16:38:10
316,612,198
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
soma = 0 cont = 0 for c in range(1, 7): num = int(input(f'Digite O {c} Valor: ')) if num%2 == 0: soma += num cont += 1 print(f'Voçe me informou {cont} Números Ìmpares e a soma deles é {soma} ')
[ "gabrielfav12@gmail.com" ]
gabrielfav12@gmail.com
a05e5e3e9e4168b0f5f7fa9975487b43d9b45c1c
e535f59053b545b493c93c9945aa054ad1335178
/tests/test_enhancements/test_python_output.py
13edaed3f8d84d0627dbe29a7bbcd0a0b30da636
[ "CC0-1.0" ]
permissive
pabloalarconm/linkml
9308669d5baba2a2c60fe79f31f737e87ed59295
5ef4b2f0e89698ffc0db693fdba68d1306438749
refs/heads/main
2023-08-25T14:41:58.419628
2021-10-02T02:04:06
2021-10-02T02:04:06
411,990,387
0
0
CC0-1.0
2021-09-30T08:49:50
2021-09-30T08:49:50
null
UTF-8
Python
false
false
5,004
py
import unittest from typing import Type, List, Tuple from linkml.generators.pythongen import PythonGenerator from tests.test_enhancements.environment import env from tests.utils.python_comparator import compare_python from linkml_runtime.utils.compile_python import compile_python from tests.utils.test_environment impo...
[ "solbrig@jhu.edu" ]
solbrig@jhu.edu
a835c14b42a3df59a20b58b46a00328d44b200bb
9644238f0b0de423c893a131bee59b4a1398a5c5
/money.py
b9bf4132bd663a494293e1f5fbbd8f4392bb618d
[]
no_license
ipcoo43/hellopython
5d1600397b1fbb3d4993ca12931b05c9eded91b3
977da3d50551d68e7cec3bf8f3f59d3a1cb48b56
refs/heads/master
2020-05-07T00:58:26.591985
2019-04-17T00:27:53
2019-04-17T00:27:53
180,253,429
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
li=[50000,10000,5000,1000,500,100,50,10,5,1] n=int(input('number = ')) for i in li: m=n//i n=n%i print(i, ' => ', m)
[ "ipcoo43@gmail.com" ]
ipcoo43@gmail.com
745581b9d659f08325cf1cf0fee37ab3d9727634
b0640fb8fd786771463efaa0b591a2995dfbb6c1
/mayan/apps/documents/tests/test_api.py
ce77b8a6ae41d7879b6aeebdb2c2fbec0d58d4a2
[ "Apache-2.0" ]
permissive
kyper999/mayan-edms
9a868ee9470e8689bf8c36f3cc6c05bcc2b356a8
ca7b8301a1f68548e8e718d42a728a500d67286e
refs/heads/master
2021-01-22T20:18:34.009706
2017-03-14T03:58:25
2017-03-14T03:58:54
85,309,322
1
0
null
null
null
null
UTF-8
Python
false
false
13,072
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import time from json import loads from django.contrib.auth import get_user_model from django.core.urlresolvers import reverse from django.test import override_settings from django.utils.encoding import force_text from django.utils.six import BytesIO ...
[ "roberto.rosario.gonzalez@gmail.com" ]
roberto.rosario.gonzalez@gmail.com
6d29fc8d5cbb05eb5774ca812359213b4d6716d1
01733042e84a768b77f64ec24118d0242b2f13b8
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/currentfeatures_f89233df2b9b91ce4ac0f454eece515a.py
5aa27a3a9a54205779a4e9dbeccd8a47b19ba07f
[ "MIT" ]
permissive
slieberth/ixnetwork_restpy
e95673905854bc57e56177911cb3853c7e4c5e26
23eeb24b21568a23d3f31bbd72814ff55eb1af44
refs/heads/master
2023-01-04T06:57:17.513612
2020-10-16T22:30:55
2020-10-16T22:30:55
311,959,027
0
0
NOASSERTION
2020-11-11T12:15:34
2020-11-11T12:06:00
null
UTF-8
Python
false
false
8,420
py
# MIT LICENSE # # Copyright 1997 - 2020 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, ...
[ "andy.balogh@keysight.com" ]
andy.balogh@keysight.com
c837c52d6ae7ec9e19082810774182a0a3c3ef07
8bc30e2a9fcd37a44b232a7f67b28281d3aa64d5
/pyiem/nws/products/taf.py
93b103e36b2785485c387b7c19eb1560171407e1
[ "MIT" ]
permissive
sportsbitenews/pyIEM
586390161a722e698fc4719077a4ba3202fabe21
c5b9837ce046c9a9a64f572c5947170d0fa7868c
refs/heads/master
2021-06-25T04:33:43.427331
2017-09-11T20:13:27
2017-09-11T20:13:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,602
py
"""TAF Parsing""" from pyiem.nws.product import TextProduct from pyiem import reference class TAFProduct(TextProduct): """ Represents a TAF """ def __init__(self, text, utcnow=None, ugc_provider=None, nwsli_provider=None): """ constructor """ TextProduct.__init__(sel...
[ "akrherz@iastate.edu" ]
akrherz@iastate.edu
7503071c3610ae1dbd798c30e7ce793c65626a9c
c0b2da7a68a5ded02f14fefd003561379c034654
/env/bin/wheel
1ac1a640c494d27b9e9ec59ee6cc503dbc662079
[]
no_license
jpark1914/crudSQL
1b0a9db5b0ccdaef9300d9397daae85c5c089d03
ce21e38bd6d48157ffd5c3e09d92b6a90677d353
refs/heads/master
2020-05-26T02:35:29.099685
2019-05-23T15:49:07
2019-05-23T15:49:07
188,077,009
0
0
null
null
null
null
UTF-8
Python
false
false
239
#!/home/jordan/DevProj/crudSQL/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "parkerj4321@gmail.com" ]
parkerj4321@gmail.com
23dcff61e1787c414130794411a111e2db9e96a8
4fcc66f29c7a22dc8b51e3f7a79c9116b9f46a94
/Searchpro/wsgi.py
fa535e6c02a060383dce81f2f049ee630cb78fc0
[]
no_license
arunvemana/searchpro
a1d70d58e6bcce079972f37b8dd758d087e69acb
f629dd85be2038105c6d0057318b9bff7203e882
refs/heads/master
2020-05-17T01:49:08.513068
2019-04-25T13:17:16
2019-04-25T13:17:16
183,437,653
4
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" WSGI config for Searchpro 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.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SET...
[ "arunsai4b6@gmail.com" ]
arunsai4b6@gmail.com
75ab3928a245c232f64093fb51d1df162ac4c510
6ec6292e373dd0c101530c7b9d8b031b088f6680
/backend/mukiki_3682/wsgi.py
b60f4751e6c4d737d43fb8623d634f3ae0ce7ff4
[]
no_license
crowdbotics-apps/mukiki-3682
5decba273677e121ad31e6ee58bdf64aca1c4604
3980ded52db8b3b8616f84a7c1db7d588c1bc05a
refs/heads/master
2020-05-25T23:17:55.532824
2019-05-22T12:15:06
2019-05-22T12:15:06
188,031,865
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
""" WSGI config for mukiki_3682 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_...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
cf1bbda712f7404a31ba0850c73c0fe0acddfd94
4e007a75031c6e20c8a8f1de54be4442d1699b0a
/glue/viewers/image/qt/slice_widget.py
22a8e8907447705dbfa4b684d319562d4b542072
[ "BSD-3-Clause" ]
permissive
tiagopereira/glue
9e77aa1936cba3ad70fff34c6ceea0e5b01c0983
85bf7ce2d252d7bc405e8160b56fc83d46b9cbe4
refs/heads/master
2020-06-28T02:22:29.828115
2019-08-01T20:54:35
2019-08-01T20:54:35
200,117,440
0
1
NOASSERTION
2019-08-01T20:50:05
2019-08-01T20:50:04
null
UTF-8
Python
false
false
5,098
py
from __future__ import absolute_import, division, print_function import numpy as np from glue.core.coordinates import Coordinates from glue.viewers.common.qt.data_slice_widget import SliceWidget from glue.viewers.image.state import AggregateSlice from glue.utils.decorators import avoid_circular __all__ = ['MultiSlic...
[ "thomas.robitaille@gmail.com" ]
thomas.robitaille@gmail.com
330223bfae21efe131af066ee0a3ad8e187407e0
0f2b2ed12b5d898e23b01a76768f8598bda3cfc9
/entity/viewsets/base.py
7c214a03bde83dbb170306ac0aaa9d6c2d5a0e59
[ "MIT" ]
permissive
The-Politico/politico-civic-entity
0342fa1837c770ac925c36bf0aa101f37f82cc50
b64f477f2a008c528937d6dbfe19f48c20b0722e
refs/heads/master
2022-04-04T09:01:14.187805
2019-07-01T17:39:19
2019-07-01T17:39:19
116,028,603
0
0
MIT
2019-07-01T17:41:49
2018-01-02T15:20:34
Python
UTF-8
Python
false
false
461
py
from entity.conf import settings from entity.utils.importers import import_class from rest_framework import viewsets authentication = import_class(settings.API_AUTHENTICATION_CLASS) permission = import_class(settings.API_PERMISSION_CLASS) pagination = import_class(settings.API_PAGINATION_CLASS) class BaseViewSet(vie...
[ "jmcclure@politico.com" ]
jmcclure@politico.com
f15529f1821826ae4de9ee77b3f069b82d3138e8
b9b06d86d43e738b62ab9289fc13aae4c2b2670b
/nsd1807/python2/day02/math_game2.py
bf02a5f9d6448182edd59ce0b4c358623e344b71
[]
no_license
MrZhangzhg/nsd_2018
31a7a8d54e2cb3ff4f4eb5c736fbd76601718356
458a1fef40c5e15ba7689fcb3a00baf893ac0218
refs/heads/master
2020-04-08T19:08:48.237646
2019-09-08T04:31:07
2019-09-08T04:31:07
159,642,127
5
7
null
2019-01-04T05:33:40
2018-11-29T09:37:27
Python
UTF-8
Python
false
false
948
py
import random def exam(): cmds = {'+': lambda x, y: x + y, '-': lambda x, y: x - y} nums = [random.randint(1, 100) for i in range(2)] nums.sort(reverse=True) # 降序排列 op = random.choice('+-') prompt = '%s%s%s=' % (nums[0], op, nums[1]) result = cmds[op](*nums) tries = 0 while tries < 3: ...
[ "zhangzg@tedu.cn" ]
zhangzg@tedu.cn
79dc28e31813dcb81d4c32a9e341d51152dbfea5
1798bed996931a9e7b6c9a469f86e24589fa9cf0
/huxley/settings/pipeline.py
9919b7dbe1b783f1e9fd37a42de1dd9c40d0903f
[ "BSD-3-Clause" ]
permissive
joannejqi/huxley
8eae38af706b4f5d714736c99741541d2c3aae73
b4b5cac213c9605599900eca8ed0225086a5cf4c
refs/heads/master
2020-05-29T08:41:22.712756
2016-10-02T22:18:12
2016-10-02T22:18:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
544
py
# Copyright (c) 2011-2015 Berkeley Model United Nations. All rights reserved. # Use of this source code is governed by a BSD License (see LICENSE). PIPELINE = { 'COMPILERS': ( 'huxley.utils.pipeline.PySCSSCompiler', ), 'CSS_COMPRESSOR': 'pipeline.compressors.cssmin.CSSMinCompressor', 'STYLES...
[ "k.mehta@berkeley.edu" ]
k.mehta@berkeley.edu
dfa944164679864644a6c3a96d9f1992656cbc7a
ea9970e7680c1194add0e57f803b272481f77130
/src/main.py
fa85f6b0a452ad3f9e77199d663b917180160843
[]
no_license
Mano-el-Mano/Rabbitmq-logger
8b8dd0eb397134847d62d4ea92a29511bbeb05e2
32c5fa8f90d3f2f437d18c8d956fc448d7e5d99b
refs/heads/master
2023-02-19T12:28:10.676022
2021-01-24T23:31:33
2021-01-24T23:31:33
332,496,237
0
0
null
null
null
null
UTF-8
Python
false
false
893
py
from models.consumer import Consumer from models.logger import Logger from util import generate_mongo_uri import os from dotenv import load_dotenv import pika import ssl load_dotenv() credentials = pika.PlainCredentials(os.getenv("DB_USERNAME"), os.getenv("PASSWORD")) context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2) conf...
[ "abc@example.com" ]
abc@example.com
25d6a07f2e52a63f0eeb484997267fb6795c1e97
6caa57da2accfcedeabcdc549ba8396f863dbbfe
/cupcake2/ice2/preClusterProcess.py
c96a903d8b71e2307fd2eac84e9c163e8338d977
[]
permissive
fanglu01/cDNA_Cupcake
48f79bbc33e20146cc2c2b01012630b87066164d
60f56dc291661a2b84e40b64d469fba658889c34
refs/heads/master
2020-03-29T08:34:00.840051
2018-09-05T19:46:07
2018-09-05T19:46:07
149,717,087
1
0
BSD-3-Clause-Clear
2018-09-21T06:01:03
2018-09-21T06:01:03
null
UTF-8
Python
false
false
5,119
py
__author__ = 'etseng@pacb.com' import os, sys, pdb, subprocess from collections import defaultdict from functools import partial import networkx as nx from Bio import SeqIO from cupcake2.ice2.preCluster import preClusterSet2 def sanity_checking(pCS, orphans): # do some sanity checking # 1. all members shou...
[ "magdoll@gmail.com" ]
magdoll@gmail.com
182efe664b98cb5b162acfeac1169e919c2454b2
afbae26b958b5ef20548402a65002dcc8e55b66a
/release/stubs.min/Autodesk/Revit/DB/__init___parts/CurveLoopsProfile.py
ba40e48e0304e61bee1e4e292b398dba5b27b40d
[ "MIT" ]
permissive
gtalarico/ironpython-stubs
d875cb8932c7644f807dc6fde9dd513d159e4f5c
c7f6a6cb197e3949e40a4880a0b2a44e72d0a940
refs/heads/master
2023-07-12T01:43:47.295560
2022-05-23T18:12:06
2022-05-23T18:12:06
95,340,553
235
88
NOASSERTION
2023-07-05T06:36:28
2017-06-25T05:30:46
Python
UTF-8
Python
false
false
1,135
py
class CurveLoopsProfile(SweepProfile,IDisposable): """ Represents a curve loop based profile for sweep or swept blend elements. """ def Dispose(self): """ Dispose(self: APIObject,A_0: bool) """ pass def ReleaseManagedResources(self,*args): """ ReleaseManagedResources(self: APIObject) """ pass def Re...
[ "gtalarico@gmail.com" ]
gtalarico@gmail.com
b71a7bf9290dfa67d093ef215780360d9a6ade4e
898dfaa8526864ee78aa65d12fd8d755b8c60491
/app/urls.py
65dada570db57d7836290a568f8b9dd0def1f87b
[]
no_license
LondonComputadores/django-bootcamp-geek-uni-mysql
20034e404b5df0c1e437bf63b1eb5a2e552e1fba
7660fc0c41762428c77835408be37788b456f11f
refs/heads/main
2023-08-13T08:31:01.407759
2021-09-21T04:24:50
2021-09-21T04:24:50
407,237,841
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
from django.urls import path from .views import index, contact, product urlpatterns = [ path('', index, name= 'index'), path('contact', contact, name='contact'), path('product', product, name='product'), ]
[ "london.computadores@gmail.com" ]
london.computadores@gmail.com
a172f9db2784bf21afe839f0b8dd051d05f16e9e
3b510a9abfd89fd5d0cea379cdc6ca14dafcd63f
/builders/shared/fed_avg_schedule.py
132af68985eed45d553ee6cce4c5fa53683ab52d
[ "Apache-2.0" ]
permissive
nseyedtalebi/tff_bench
72b202a0573addfc63fd6187f8e15d50dc3b01ab
448c6e7ac0d0e9416de97d3210f5bc0c74761bad
refs/heads/main
2023-04-04T00:14:00.620020
2021-04-16T04:00:41
2021-04-16T04:00:41
316,648,918
3
0
null
null
null
null
UTF-8
Python
false
false
12,969
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...
[ "nima.seyedtalebi@uky.edu" ]
nima.seyedtalebi@uky.edu
09782381605ff0c30cd4840528d99d0b9aeaf5d4
ce2c8f612669dfa85574a7004957b51c59b125b4
/tests/unit/authentication/test_views.py
770feb268a5c565cf4a588ce557c7a3056fc6d4d
[ "MIT" ]
permissive
snicoper/snicoper.com
b37190881b8e6777841924890d00b601858a7d5f
22c17b5ead6096227a3415770c0cbd2923f2f14a
refs/heads/master
2021-01-19T10:48:54.227594
2018-10-15T08:06:30
2018-10-15T08:06:30
83,424,820
2
0
null
null
null
null
UTF-8
Python
false
false
13,059
py
from django.contrib.auth.hashers import make_password from django.contrib.sites.models import Site from django.core import mail from django.urls import reverse from django.utils import timezone from config.settings import local as settings_local from tests.unit.authentication.base_auth import BaseAuthTest class Regi...
[ "snicoper@gmail.com" ]
snicoper@gmail.com
372fe45271461bb37efd37681f7f7c2224b632cd
d7663e323e2b48ad094e0ab7454ab0bed73aafd1
/pychzrm course/journey_two/day9_PM/exercise_Pipe.py
cfa6c9765a1cec6bbe853233ea1159dcd270323f
[]
no_license
Jack-HFK/hfklswn
f9b775567d5cdbea099ec81e135a86915ab13a90
f125671a6c07e35f67b49013c492d76c31e3219f
refs/heads/master
2021-06-19T05:58:54.699104
2019-08-09T10:12:22
2019-08-09T10:12:22
201,442,926
7
0
null
2021-04-20T18:26:03
2019-08-09T10:07:20
HTML
UTF-8
Python
false
false
717
py
""" 管道通信 Pipe """ from multiprocessing import Process, Pipe import os, time # 创建双向管道对象 hfk, swn = Pipe(duplex=True) # 创建单向管道 # hfk,swn = Pipe(duplex=False) # 从管道获取内容 def read(): while True: # 把内存中的管道空间里的内容读取出来 data = hfk.recv() print(data) # 从管道写入消息 def write(): while True: ...
[ "88888888@qq.com" ]
88888888@qq.com