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
00164b917dd18b0a31f8dd2c58136718f475bcae
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/rna-transcription/73f4d972b2c74182aa5cae54291062e3.py
78dc6c4a79f5f91885ccb23cd500e3eb79dd4a86
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
201
py
conversion_dict = { 'G' : 'C', 'C' : 'G', 'T' : 'A', 'A' : 'U' } def to_rna(dna): converted = "" for nucleotide in dna: converted += conversion_dict[nucleotide] return converted
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
b454d8b153e5548dd92f8da3f9c6ae1b1b9b1b0c
4ae7e4805e7b9ff0d949da276f59ec63a10b9fbb
/custom_stock_shipwire/__manifest__.py
ad304ece5ecbf8ff7908d58d65f2babd395c68b0
[]
no_license
h3llopy/sasmar-addons12
c94acb1994f0e17f245f0ff6b14d2d21b939c314
51a3ae074158fbc695711438888a5ec6c982a2fa
refs/heads/master
2022-04-07T11:38:24.915350
2020-03-03T05:44:42
2020-03-03T05:44:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. { 'name': "Stock Configuration Customization For Shipwire Shipping", 'description': "Shipwire installation Option in Stock COnfiguration Screen", 'author': "BrowseInfo", 'website': "https://www.brwoseinfo....
[ "shubhajit.kushari@browseinfo.in" ]
shubhajit.kushari@browseinfo.in
0cd10debc2702f4d604aafa5725e36ac4b73485f
3dc3bbe607ab7b583eb52dbaae86636eb642960a
/tools/data/multisports/format_det_result.py
84fd78811ee3267ab3beebc4ba497895779781a8
[ "Apache-2.0" ]
permissive
open-mmlab/mmaction2
659c36c6083fd3d9d072e074a8d4b3a50342b9bd
582b78fd6c3240500d5cacd292339d7d1ddbb056
refs/heads/main
2023-08-28T18:14:50.423980
2023-08-10T09:20:06
2023-08-10T09:20:06
278,810,244
3,498
1,028
Apache-2.0
2023-09-07T06:50:44
2020-07-11T07:19:10
Python
UTF-8
Python
false
false
2,169
py
# Copyright (c) OpenMMLab. All rights reserved. from argparse import ArgumentParser import numpy as np from mmengine import dump, load from rich.progress import track from mmaction.evaluation import link_tubes def parse_args(): parser = ArgumentParser() parser.add_argument('test-result', help='path of dumpe...
[ "noreply@github.com" ]
open-mmlab.noreply@github.com
ce9d8dab3c03c95c47082aca01989154eb9e0553
7890d130081829a7c41302066dc1934badb5a474
/students/lerastromtsova/3/constants.py
f4c293477a6f15e7ba48515caff4b96e7e39d337
[ "MIT" ]
permissive
sobolevn/itmo-2019
3a05592ff8e2e62c1cadfb361914db42f0d39733
cf39721874edf52deebc7f72f53455f69317f84a
refs/heads/master
2020-07-21T06:23:08.581693
2020-01-24T12:49:59
2020-01-24T12:49:59
206,768,545
4
17
MIT
2020-04-12T12:52:50
2019-09-06T10:14:25
Python
UTF-8
Python
false
false
557
py
# -*- coding: utf-8 -*- from contextlib import contextmanager from datetime import datetime import pytest TEST_DIR = 'test_dirs' FORMAT_CONSTANT = '{0}/{1}' SCOPE = 'function' FOLDER = 'folder' FILE = 'file' FOLDERS = 'folders' FILES = 'files' FILE_NOT_FOUND = pytest.raises(FileNotFoundError) FILE_EXISTS = pytest....
[ "mail@sobolevn.me" ]
mail@sobolevn.me
29c5b059d58988be82fa3c896883f93cde3c55ff
9cf434b6ee59ab22496ee031fb4ab145bbaff1a2
/tranque_v1.8.4_source/backend/src/alerts/tests/modules/ef/m2/escenarios_falla/test_eventos_problemas_instrumentacion.py
d1b22280b70a4619588a67b211e25032b7883730
[]
no_license
oliverhernandezmoreno/SourcesOH
f2ff1a5e3377f0ac1fb8b3153d99d0ee703700b7
5d9ca5ab1caceafd4d11207139c9e56210156ef8
refs/heads/master
2023-01-05T02:51:25.172103
2020-08-27T14:39:34
2020-08-27T14:39:34
64,422,812
0
1
null
2022-12-30T17:25:10
2016-07-28T19:33:44
JavaScript
UTF-8
Python
false
false
1,807
py
from alerts.tests.modules.ef.ef_controller_base import EFControllerBase from targets.models import Timeseries class ProblemasInstrumentacionTestCase(EFControllerBase.TestCase): def setUp(self): super().setUp() target = self.target_object controller = '.ef.m2.escenarios_falla.eventos_proble...
[ "oliverhernandezmoreno@gmail.com" ]
oliverhernandezmoreno@gmail.com
c66332176917e79373d21e4ec4db1bc8890df8e4
fc1141aabffe60455898b014fd8b4a2e8307ce85
/chapter16_exporting_data/image_exporter.py
1fdef438720f66da618ab6149297ce98a7ff80e9
[]
no_license
Karagul/reportlabbookcode
b5bff1609d62fe2bcfb17bfd7b65777121ac175c
e271348d5562f4842b9d1628ef917539a8ebcd5d
refs/heads/master
2020-09-21T14:58:43.427964
2018-12-19T17:40:46
2018-12-19T17:40:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
# image_exporter.py import os import subprocess def image_exporter(pdf_path, output_dir): if not os.path.exists(output_dir): os.makedirs(output_dir) cmd = ['pdfimages', '-all', pdf_path, '{}/prefix'.format(output_dir)] subprocess.call(cmd) print('Images extracted:') pr...
[ "mike@pythonlibrary.org" ]
mike@pythonlibrary.org
6a395b495a62beb5c2164f0226f0f60938285b99
0cf9bb9c50c6efc1bc4a7923f42f6fad79039598
/Homeworks/HW 09_ Catching Hackers Starter Code/testbadlogindetector.py
6306b04d23901933d31be7a09293687dcd663448
[]
no_license
AlbMej/CSE-2050-Data-Structures-and-Object-Oriented-Design
c950bada185823c70370522e0735533b41bd726b
bfbe91d698e650d78c20fd535c45108a8dba1030
refs/heads/master
2020-04-25T13:20:57.537243
2019-03-12T19:54:04
2019-03-12T19:54:04
172,806,267
0
0
null
null
null
null
UTF-8
Python
false
false
3,275
py
import unittest from badlogindetector import BadLoginDetector from logentry import LogEntry class TestBadLoginDetector(unittest.TestCase): def testinit(self): BadLoginDetector(3,10) BadLoginDetector(30,10000) def testprocess_all_success(self): log = ['[%d][1.1.1.1][SUCCESS]' % i for i ...
[ "albertomejia295@gmail.com" ]
albertomejia295@gmail.com
6b509628bae8d7e370d8a30f240ccb933c8a259b
bb5b63774924abe86c2cb0d8a09795fcf1a4d822
/realtime_chat_app/settings.py
a993b4cb91db8e23f4b5bb0125e7902a99710b73
[]
no_license
IdenTiclla/realtime_chat_app
769bf432e993ee79cb93bd54489305db3526f4d5
d2a5187bb9f257c5e8fefe6735d23e5d0eec64e6
refs/heads/master
2023-06-23T17:47:41.766605
2021-07-21T21:00:25
2021-07-21T21:00:25
387,920,262
0
0
null
null
null
null
UTF-8
Python
false
false
3,305
py
""" Django settings for realtime_chat_app project. Generated by 'django-admin startproject' using Django 3.2.5. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ fr...
[ "iden.ticlla@gmail.com" ]
iden.ticlla@gmail.com
5ee5cb9bf9402ad2216dd4aa9568e06ed20148e8
fc3ffd1a5f4f229bc585f62fe8ae0db55c8a435a
/ml4rt/jtech2021/make_site_figure.py
4ec16416b1ffe3a449e986c5e9e41a278f8de660
[]
no_license
thunderhoser/ml4rt
b587d96ae7094e672d0445458e7b812c33941fc6
517d7cb2008a0ff06014c81e158c13bf8e17590a
refs/heads/master
2023-08-05T04:28:29.691564
2023-07-31T22:25:50
2023-07-31T22:25:50
270,113,792
4
1
null
null
null
null
UTF-8
Python
false
false
4,692
py
"""Creates paneled figure with different views of sites.""" import os import argparse from gewittergefahr.gg_utils import file_system_utils from gewittergefahr.plotting import imagemagick_utils PATHLESS_INPUT_FILE_NAMES = [ 'all_sites.jpg', 'tropical_sites.jpg', 'assorted2_sites.jpg' ] CONVERT_EXE_NAME = '/usr/b...
[ "lagerqui@ualberta.ca" ]
lagerqui@ualberta.ca
b32f5035cf85169d11f1cb0b73654819c498f5d6
15fae17aadc1ff83ad84ad2ee3db14ec40c6ffce
/app/articles/admin.py
c6bc56c32480f9df92b025a4cb61be49c96cb0c5
[]
no_license
elmcrest/feincms3-example
2eaaed3bd2bb68b9cfa6c21c9e60b190c193e08f
3ec92b1bb23656d52c3cb46f4a0c8a138a088cbf
refs/heads/master
2020-03-21T23:29:33.704979
2017-08-18T10:08:59
2017-08-18T10:08:59
139,190,393
0
0
null
2018-06-29T19:59:32
2018-06-29T19:59:32
null
UTF-8
Python
false
false
954
py
from __future__ import unicode_literals from django.contrib import admin from feincms3.plugins.versatileimage import AlwaysChangedModelForm from . import models class ImageInline(admin.TabularInline): form = AlwaysChangedModelForm model = models.Image extra = 0 @admin.register(models.Article) class A...
[ "mk@feinheit.ch" ]
mk@feinheit.ch
486fda6e1753ed2136f830174096f2c571d665ad
29f830670675cea44bf3aad6e50e98e5b1692f70
/scripts/import_permissions_and_roles.py
867979ebca2c717d403bdf57b45d34d2dce26019
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
forksbot/byceps
02db20149f1f0559b812dacad276e4210993e300
ac29a0cb50e2ef450d4e5ebd33419ed490c96e4f
refs/heads/main
2023-03-04T05:55:07.743161
2021-02-14T06:03:37
2021-02-14T06:19:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
#!/usr/bin/env python """Import permissions, roles, and their relations from a TOML file. :Copyright: 2006-2021 Jochen Kupperschmidt :License: Revised BSD (see `LICENSE` file for details) """ import click from byceps.services.authorization import impex_service from byceps.util.system import get_config_filename_from...
[ "homework@nwsnet.de" ]
homework@nwsnet.de
b936ffc9e6684b9c97da4d88a0f2e59e3e42aab1
cc101e71d4b47e1ade22159bc3273aab5386a49e
/integration-tests/fake_spine/fake_spine/vnp_request_matcher_wrappers.py
3591870d8d4679c49b285dbbc7a413cba93a0ceb
[ "Apache-2.0" ]
permissive
nhsconnect/integration-adaptors
20f613f40562a79428e610df916835f4e3c3e455
8420d9d4b800223bff6a648015679684f5aba38c
refs/heads/develop
2023-02-22T22:04:31.193431
2022-03-15T16:01:25
2022-03-15T16:01:25
179,653,046
15
7
Apache-2.0
2023-08-23T14:52:10
2019-04-05T09:18:56
Python
UTF-8
Python
false
false
803
py
from fake_spine.request_matching import RequestMatcher def async_express(): return RequestMatcher('async-express-vnp', lambda request: '<eb:Action>QUPC_IN160101UK05</eb:Action>' in request.body.decode()) def async_reliable(): return RequestMatcher('async-reliable-vnp', ...
[ "noreply@github.com" ]
nhsconnect.noreply@github.com
525929dc1eeca4dacff44536fcb21918ee9ee501
3f41bafb8012f264605724dbe9b1a6ee11a1f767
/competitions/EMNIST/resize_380_B4.py
80995b99e649cb8fcb0364b6c8c07df6932621e3
[]
no_license
pervin0527/pervinco
6d0c9aad8dbf6d944960b2e2c963054d1d91b29a
9ced846438130341726e31954cc7e45a887281ef
refs/heads/master
2022-11-26T02:11:00.848871
2022-11-24T00:56:14
2022-11-24T00:56:14
223,062,903
5
3
null
null
null
null
UTF-8
Python
false
false
6,169
py
import cv2, pathlib, datetime, os import numpy as np import pandas as pd import tensorflow as tf from matplotlib import pyplot as plt from functools import partial from tqdm import tqdm from sklearn.model_selection import KFold # GPU setup gpus = tf.config.experimental.list_physical_devices('GPU') if len(gpus) > 1: ...
[ "zfbtldnz@gmail.com" ]
zfbtldnz@gmail.com
1446845eeccf87263d870b37805acf3b3c96d21d
4c8c0f857500b5f4b572f139602e46a6c813f6e3
/Polymorhphism_and_Magic_methods_exercises/project/cat.py
12c5083c335f08076e5581860eca49af0764f67d
[]
no_license
svetoslavastoyanova/Python_OOP
3d21fb0480c088ecad11211c2d9a01139cde031f
518f73ecc8a39e7085d4b8bf5657a1556da3dcfa
refs/heads/main
2023-08-04T19:46:58.906739
2021-09-18T07:46:02
2021-09-18T07:46:02
352,304,158
1
0
null
null
null
null
UTF-8
Python
false
false
250
py
from project.animal import Animal class Cat(Animal): def __repr__(self): return f"This is {self.name}. {self.name} is a {self.age} year old {self.gender} {self.__class__.__name__}" def make_sound(self): return f"Meow meow!"
[ "svetoslava_stoyanova92@abv.bg" ]
svetoslava_stoyanova92@abv.bg
5efcb7fb86370b09e864d1c00759871aabe142ae
593b23cd61932e8206d89e43925f038c86758288
/covid19_pipeline/engine/module.py
c9e80824df08107c21b3a61deabe4888864d0db2
[]
no_license
HDU-DSRC-AI/HKBU_HPML_COVID-19
ad4f311777176d469b07c155e252df26d57f5056
0f685312d26c0b50fffb433408a913243638a14a
refs/heads/master
2022-10-12T09:32:15.635509
2020-06-09T13:53:42
2020-06-09T13:53:42
271,016,743
1
0
null
2020-06-09T13:55:31
2020-06-09T13:55:28
null
UTF-8
Python
false
false
6,807
py
import os from collections import OrderedDict import numpy as np import torch from sklearn import metrics from torchline.engine import MODULE_REGISTRY, DefaultModule, build_module from torchline.utils import AverageMeterGroup, topk_acc from .utils import mixup_data, mixup_loss_fn __all__ = [ 'CTModule' ] @MODU...
[ "1435679023@qq.com" ]
1435679023@qq.com
80ff391e57858bfe6654bb74b3b2aad7a68da33c
ab5ef28065b0ad3f8d86fc894be569074a4569ea
/mirari/SV/migrations/0020_auto_20190321_1210.py
063b11284a810c9cdddd97f51c5c6e61e556b605
[ "MIT" ]
permissive
gcastellan0s/mirariapp
1b30dce3ac2ee56945951f340691d39494b55e95
24a9db06d10f96c894d817ef7ccfeec2a25788b7
refs/heads/master
2023-01-22T22:21:30.558809
2020-09-25T22:37:24
2020-09-25T22:37:24
148,203,907
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
# Generated by Django 2.0.5 on 2019-03-21 18:10 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('SV', '0019_auto_20190315_1330'), ] operations = [ migrations.AlterModelOptions( name='ticket', options={'default_permissions...
[ "g@gustavo-castellanos.com" ]
g@gustavo-castellanos.com
ba6e5b9e1e9ff2e71c68568c7835e0414609b61d
0062ceae0071aaa3e4e8ecd9025e8cc9443bcb3b
/solved/2579.py
90890849ba15de80636cc12fe760fd9e34b65942
[]
no_license
developyoun/AlgorithmSolve
8c7479082528f67be9de33f0a337ac6cc3bfc093
5926924c7c44ffab2eb8fd43290dc6aa029f818d
refs/heads/master
2023-03-28T12:02:37.260233
2021-03-24T05:05:48
2021-03-24T05:05:48
323,359,039
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
N = int(input()) arr = [int(input()) for _ in range(N)] dp = [[0, 0] for _ in range(N)] dp[0][0] = arr[0] if N != 1: dp[1][0] = arr[1] dp[1][1] = arr[0] + arr[1] for i in range(2, N): dp[i][0] = max(dp[i-2]) + arr[i] dp[i][1] = dp[i-1][0] + arr[i] print(max(dp[N-1]))
[ "pyoun820@naver.com" ]
pyoun820@naver.com
190cb5e443625842236cc6cbe8c93583f288a126
6c524d7c4114531dd0b9872090bd7389a3cd3fd8
/poems/migrations/0003_auto_20200731_1245.py
ec917ae86031cdc2623eba1b2a2431d466946ae0
[]
no_license
cement-hools/poems_project
e33bcd03ca8b2b1f1fa558d1036928aee73c87c9
493e6d517b65faab6b25a9fda485e165b6eea03d
refs/heads/master
2022-11-28T02:11:50.837816
2020-08-01T10:12:16
2020-08-01T10:12:16
284,234,726
0
0
null
null
null
null
UTF-8
Python
false
false
1,340
py
# Generated by Django 2.2.14 on 2020-07-31 09:45 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('poems', '0002_auto_20200731_1219'), ] operations = [ migrations.AlterModelOptions( name='poem'...
[ "cement-fan@ya.ru" ]
cement-fan@ya.ru
a15de310a575dd2dfa1b63f03ee73cd8ee65edf5
13084338fa9d1c72fe32d323bcd2df1417b98e83
/src/bxcommon/models/blockchain_peer_info.py
7ad272ad39cc2493b806aa95ec618225f48830a7
[ "MIT" ]
permissive
bloXroute-Labs/bxcommon
ad45e3a060a7d1afd119513248da036818c7f885
03c4cc5adab1ae182e59a609eff273957499ba5d
refs/heads/master
2023-02-22T00:10:46.755175
2022-08-16T19:38:22
2022-08-16T19:38:22
220,556,144
14
7
MIT
2023-02-07T22:58:14
2019-11-08T22:16:37
Python
UTF-8
Python
false
false
896
py
from dataclasses import dataclass from typing import Optional from bxcommon.utils.blockchain_utils.eth import eth_common_constants @dataclass class BlockchainPeerInfo: ip: str port: int node_public_key: Optional[str] = None blockchain_protocol_version: int = eth_common_constants.ETH_PROTOCOL_VERSION ...
[ "vc.shane@gmail.com" ]
vc.shane@gmail.com
b137928399ca34af62b565e767f81889f316ac21
2af28d499c4865311d7b350d7b8f96305af05407
/model-optimizer/mo/front/mxnet/extractor.py
bce78e371dcb4aa4d043ad108a22efe1cbaf7f3d
[ "Apache-2.0" ]
permissive
Dipet/dldt
cfccedac9a4c38457ea49b901c8c645f8805a64b
549aac9ca210cc5f628a63174daf3e192b8d137e
refs/heads/master
2021-02-15T11:19:34.938541
2020-03-05T15:12:30
2020-03-05T15:12:30
244,893,475
1
0
Apache-2.0
2020-03-04T12:22:46
2020-03-04T12:22:45
null
UTF-8
Python
false
false
2,912
py
""" Copyright (c) 2018-2019 Intel Corporation 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 i...
[ "alexey.suhov@intel.com" ]
alexey.suhov@intel.com
49881c0afd820a8d03c284c032931f34cb14c3ef
e23a4f57ce5474d468258e5e63b9e23fb6011188
/_use_in_my_scripts/switch/008_decorators_template_Simulating a simple Switch in Python with dict.py
00900f8959a0911755babf3db801ea1c231eaa31
[]
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
459
py
def dow_switch_dict(dow): dow_dict = { 1: lambda: print('Monday'), 2: lambda: print('Tuesday'), 3: lambda: print('Wednesday'), 4: lambda: print('Thursday'), 5: lambda: print('Friday'), 6: lambda: print('Saturday'), 7: lambda: print('Sunday'), 'default'...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
16ca6ca8294bb2452eda7a18ad8e9c5ef5fc649e
a12bd907b26934978a09173039e7eed361d09670
/nbs/models/supplier.py
c1c899d7caac32a40f373b6ffc86e1e8f7ad3a0f
[ "MIT" ]
permissive
coyotevz/nobix-app
489e2dc8cafc40a3022ef02913461e324bc9f752
9523d150e0299b851779f42927992810184e862d
refs/heads/master
2020-12-20T23:22:10.302025
2015-12-18T22:06:44
2015-12-18T22:06:44
32,998,125
0
0
null
null
null
null
UTF-8
Python
false
false
2,051
py
# -*- coding: utf-8 -*- from sqlalchemy.ext.associationproxy import association_proxy from nbs.models import db from nbs.models.entity import Entity class Supplier(Entity): __tablename__ = 'supplier' __mapper_args__ = {'polymorphic_identity': u'supplier'} FREIGHT_SUPPLIER = 'FREIGHT_SUPPLIER' FREIG...
[ "augusto@rioplomo.com.ar" ]
augusto@rioplomo.com.ar
90ad9fcdb2334a3144853bebdcabed989714fc08
d54e1b89dbd0ec5baa6a018464a419e718c1beac
/Python from others/文件/wk_03_分行读取文件.py
ae79c246fb71c837847b4312137a77ae4ae62097
[]
no_license
cjx1996/vscode_Pythoncode
eda438279b7318e6cb73211e26107c7e1587fdfb
f269ebf7ed80091b22334c48839af2a205a15549
refs/heads/master
2021-01-03T19:16:18.103858
2020-05-07T13:51:31
2020-05-07T13:51:31
240,205,057
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
# 1. 打开文件 file = open("README") # 2. 读取文件内容 while True: text = file.readline() # 判断时候有内容 if not text: break print(text) # 3. 关闭 file.close()
[ "1121287904@qq.com" ]
1121287904@qq.com
bfd6fab30015421b87ddfbb130b4c0fda5ced7dd
8e474edd3954c4679061bb95970ba40e20c39c2d
/pre_analysis/observable_analysis/qtq0eff_mass_mc_intervals.py
83a06fd90bb8b0503b0d5ac9de8309a5479a28ad
[ "MIT" ]
permissive
JinKiwoog/LatticeAnalyser
c12f5c11f2777c343a2e1e1cd4e70e91471b4e79
6179263e30555d14192e80d94121f924a37704c9
refs/heads/master
2020-04-17T18:35:24.240467
2019-01-21T11:25:19
2019-01-21T11:25:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,597
py
from pre_analysis.observable_analysis import QtQ0EffectiveMassAnalyser import copy import numpy as np import os from tools.folderreadingtools import check_folder import statistics.parallel_tools as ptools class QtQ0EffectiveMassMCAnalyser(QtQ0EffectiveMassAnalyser): """Correlator of <QtQ0> in euclidean time analy...
[ "hmvege@ulrik.uio.no" ]
hmvege@ulrik.uio.no
455467f723018a27dbe6a7830158e27d70b9d9a8
7a915ae2c07c652cb3abffccd3b1b54c04fd2918
/main/views.py
26333397c360b25743f2035cebddc66815dfc322
[]
no_license
YUNKWANGYOU/healingWheel
410135bd21f9a4f6922051e63bc50fcf090edc3c
416434e5ee8f79b366cdee7b81d58382e073020e
refs/heads/master
2022-10-18T17:59:33.272890
2020-06-14T04:10:36
2020-06-14T04:10:36
264,862,011
0
0
null
null
null
null
UTF-8
Python
false
false
1,211
py
from django.shortcuts import render,redirect from .forms import DrivingTimeForm from django.contrib.auth.decorators import login_required from django.contrib.auth.models import User from datetime import timedelta def index(request): return render(request,'main/index.html',) def aboutus(request): return render...
[ "1996yyk@gmail.com" ]
1996yyk@gmail.com
abe9c326d87ac84ae84d1b1abc67baad6d8cd389
657d549ffa47c4ef599aa5e0f5760af8de77fec4
/src/runner/predictors/base_predictor.py
865569b96277b12446c2ca90d1e3595b99495a53
[]
no_license
Tung-I/Incremental_Learning
68357d3db5a646aa6b3df844b85e12fa45e3eb3e
95602f404ab8dd627c5dd5fcc94a4a071ad330ab
refs/heads/master
2021-01-14T15:18:21.941132
2020-03-30T04:04:13
2020-03-30T04:04:13
242,659,450
2
0
null
null
null
null
UTF-8
Python
false
false
2,531
py
import logging import torch from tqdm import tqdm from src.runner.utils import EpochLog LOGGER = logging.getLogger(__name__.split('.')[-1]) class BasePredictor: """The base class for all predictors. Args: device (torch.device): The device. test_dataloader (Dataloader): The testing dataloader...
[ "dong893610@gmail.com" ]
dong893610@gmail.com
c3771eaa61b07b3cd184d7bdca9ff13270cbd4b8
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2577/60660/296683.py
4283bd8bc19eca118b313934e87233f0cbfd48c0
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
668
py
def jobScheduling(startTime, endTime, profit): n = len(startTime) # 按结束时间排序 work = sorted(zip(startTime, endTime, profit)) # 计算OPT数组 dp = [0] * (n + 1) pos=0#记录与当前不重合的最大区间序号,减少循环量 s=0 for i in range(n): for j in range(pos, i+1): # 区间不重合 if work...
[ "1069583789@qq.com" ]
1069583789@qq.com
0569a5ee3ff6e13a8e55562b2dde689b330181d1
945b3c14b5a58f8d98955cdf27aef9469e21523c
/flod_matrikkel_address_restapi/matrikkel.py
370a48d6bcdd2bec075df00225106e533e8fb18f
[ "BSD-2-Clause-Views" ]
permissive
Trondheim-kommune/Bookingbasen
34e595e9c57ea6428406b2806559aab17e9a3031
58235a5a1fd6ad291cb237e6ec9a67bfe8c463c6
refs/heads/master
2022-11-29T00:20:18.681549
2017-05-29T19:33:43
2017-05-29T19:33:43
49,863,780
1
1
NOASSERTION
2022-11-22T00:27:34
2016-01-18T08:47:46
JavaScript
UTF-8
Python
false
false
6,031
py
#!/usr/bin/python # -*- coding: utf-8 -*- from suds.client import Client import suds import re import logging import httplib import ssl import urllib2 import socket import base64 logging.basicConfig(level=logging.INFO) class HTTPSConnectionV3(httplib.HTTPSConnection): def __init__(self, *args, **kwargs): ...
[ "teeejay@gmail.com" ]
teeejay@gmail.com
aa8b90ef142a6c6eab8212204d6d4306724706ae
19bc8a9343aa4120453abeff3deddda7d900f774
/ProgrammingInterviewQuestions/24_DynamicProgrammingFibonacci.py
da078e3a21ff91ec68517a6074e80e997e529813
[]
no_license
ArunkumarRamanan/CLRS-1
98643cde2f561d9960c26378ae29dd92b4c3fc89
f085db885bcee8d09c1e4f036517acdbd3a0918e
refs/heads/master
2020-06-28T08:30:44.029970
2016-11-19T15:27:55
2016-11-19T15:27:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
721
py
# -*- coding: utf-8 -*- """ Created on Sun Sep 25 10:29:52 2016 @author: Rahul Patni """ # Dynamic Programming Fibonacci def recursiveApproach(n): if n == 0 or n == 1: return 1 return recursiveApproach(n - 1) + recursiveApproach(n - 2) def iterativeApproach(n): x1 = 0 x2 = 1 for i in...
[ "rahul20patni@gmail.com" ]
rahul20patni@gmail.com
7bdbc7a11bdde9e5916deb7091b35bd212766c1d
08db28fa3836c36433aa105883a762396d4883c6
/spider/learning/day_01/01_url.py
1359c9c42a557bf47dfc6cf4ab93d3ca22994db6
[]
no_license
xieyipeng/FaceRecognition
1127aaff0dd121319a8652abcfe8a59a7beaaf43
dede5b181d6b70b87ccf00052df8056a912eff0f
refs/heads/master
2022-09-19T07:02:33.624410
2020-06-02T03:03:58
2020-06-02T03:03:58
246,464,586
2
0
null
null
null
null
UTF-8
Python
false
false
808
py
import urllib.request # 学习网址 https://www.bilibili.com/video/av68030937?p=26 def load_data(): url = "http://www.baidu.com/" # get请求 # http请求 # response:http相应对象 response = urllib.request.urlopen(url) print(response) # 读取内容 byte类型 data = response.read() print(data) # 将文件获取的内容转换成字符...
[ "3239202719@qq.com" ]
3239202719@qq.com
0d3a0639593a2f61d15a0d586b1eec308bd1662b
933a4f98b3ab1df987bce525d20ca904b225140f
/scripts/slave/recipe_modules/chromium/tests/run_gn.py
1fa3b5362367efa0f9276e1b2c2d605e9d943b9e
[ "BSD-3-Clause" ]
permissive
mcgreevy/chromium-build
3881c489b4d9be2f113da755487808b3593f8156
f8e42c70146c1b668421ee6358dc550a955770a3
refs/heads/master
2020-12-30T12:32:15.685191
2017-05-17T06:58:18
2017-05-17T06:58:18
91,419,271
0
2
NOASSERTION
2020-07-22T09:27:35
2017-05-16T05:52:45
Python
UTF-8
Python
false
false
1,002
py
# Copyright 2017 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. DEPS = [ 'chromium', 'recipe_engine/platform', 'recipe_engine/properties', ] def RunSteps(api): api.chromium.set_config( api.properties.get('...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
e146a9201f1636b25f025374ad8d9c41871ad505
f0581fa08ef790606ca019890a2233f91b1c42a7
/PythonSrc/Unused/Rotations/vector3d.py
23e7968dd55e8668927443f19b0b467adbd8ada3
[]
no_license
jaycoskey/IntroToPythonCourse
de758f0dd0a1b541edb2ef4dcc20950a8d8788bb
d1373ec6602584a6791fd48d37ae66ff5f104487
refs/heads/master
2023-02-22T16:32:50.533091
2021-01-27T08:22:14
2021-01-27T08:22:14
333,007,314
0
0
null
null
null
null
UTF-8
Python
false
false
1,986
py
package rotations import unittest class Vector3d: ZERO = Vector3d(0.0, 0.0, 0.0) XUNIT = Vector3d(1.0, 0.0, 0.0) YUNIT = Vector3d(0.0, 1.0, 0.0) ZUNIT = Vector3d(0.0, 0.0, 1.0) def __init__(self, *args): if len(args) == 0: self.x = self.y = self.z = 0.0 el...
[ "jay.coskey@gmail.com" ]
jay.coskey@gmail.com
7b8e5a0b99e1f8250761f4bebafb28c015e5515a
b47f2e3f3298388b1bcab3213bef42682985135e
/experiments/heat-3d/tmp_files/1618.py
79d9cc6c1db159c2a66cbdad061c4da75f285850
[ "BSD-2-Clause" ]
permissive
LoopTilingBenchmark/benchmark
29cc9f845d323431e3d40e878cbfc6d1aad1f260
52a3d2e70216552a498fd91de02a2fa9cb62122c
refs/heads/master
2020-09-25T09:45:31.299046
2019-12-04T23:25:06
2019-12-04T23:25:06
225,975,074
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
from chill import * source('/uufs/chpc.utah.edu/common/home/u1142914/lib/ytopt_vinu/polybench/polybench-code/stencils/heat-3d/kernel.c') destination('/uufs/chpc.utah.edu/common/home/u1142914/lib/ytopt_vinu/experiments/heat-3d/tmp_files/1618.c') procedure('kernel_heat_3d') loop(0) tile(0,2,16,2) tile(0,4,16,4) tile(0,...
[ "nashenruoyang@163.com" ]
nashenruoyang@163.com
9395a2ed51c260190fff3c4e43d459356f20f233
ce9d22c3e0e06d5543b404d0c254a582231a0f4b
/tensorflow_federated/python/aggregators/measurements.py
fbf0d5aae3e8289aff9de732e98c67698bdac830
[ "Apache-2.0" ]
permissive
stjordanis/federated
d9da8c68072a4eb7871f8e293dafebd7584a00c4
6819c65eb823dcb7f3f5666051529b9e2346cb28
refs/heads/master
2021-09-08T21:41:56.552453
2021-09-02T23:45:17
2021-09-02T23:46:21
191,418,366
0
0
Apache-2.0
2019-06-11T17:25:27
2019-06-11T17:25:26
null
UTF-8
Python
false
false
7,531
py
# Copyright 2021, The TensorFlow Federated Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "tensorflow.copybara@gmail.com" ]
tensorflow.copybara@gmail.com
9b029ba1462be18dcc18bfc84ccc15d1ca07a792
0c2583011200a5bed73315fde7ef30678075fce7
/modules/db/entities/US_TOIMP.py
c7bdec4c93c6cdf081aa1872ccff8557411b87aa
[]
no_license
enzococca/pyarchinit_3
3d3b5784a3b2e4b753581f28064748043f8c47fe
00626ba5c24d447fc54c267071f0584a2962182c
refs/heads/master
2020-03-09T16:59:21.853411
2018-03-12T14:49:51
2018-03-12T14:49:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,869
py
''' Created on 19 feb 2018 @author: Serena Sensini ''' class US_TOIMP(object): #def __init__" def __init__(self, id_us, sito, area, us, d_stratigrafica, d_interpretativa, descrizione, interpretazione, periodo_iniziale, fase...
[ "serena.sensini@gmail.com" ]
serena.sensini@gmail.com
4dffd211b37de445ce2265d53a8f960213309ae9
fc2d1f44ec35577b0e291f403907ccc8c7859edf
/docs/conf.py
d59a6ebf0dd656cf813d7cab8dbcd6f4446c78ff
[ "MIT" ]
permissive
sobolevn/python-humanfriendly
35403b4e611f0f95ad474de8e8efd354f12b5369
03d1db48e8ab4539403a58d7dea7ef0bd6672ae3
refs/heads/master
2020-04-26T10:52:16.294536
2019-02-21T20:21:43
2019-02-21T20:21:43
173,498,753
0
0
MIT
2019-03-02T21:04:23
2019-03-02T21:04:23
null
UTF-8
Python
false
false
2,325
py
# -*- coding: utf-8 -*- """Documentation build configuration file for the `humanfriendly` package.""" import os import sys # Add the 'humanfriendly' source distribution's root directory to the module path. sys.path.insert(0, os.path.abspath('..')) # -- General configuration -----------------------------------------...
[ "peter@peterodding.com" ]
peter@peterodding.com
cb7af099f940f5ba112e7f53d43e231bfca9550a
3b9b4049a8e7d38b49e07bb752780b2f1d792851
/src/third_party/catapult/tracing/bin/run_py_tests
d5cf781888af6fb4e715bae9e5e21c30164b2f3a
[ "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0" ]
permissive
webosce/chromium53
f8e745e91363586aee9620c609aacf15b3261540
9171447efcf0bb393d41d1dc877c7c13c46d8e38
refs/heads/webosce
2020-03-26T23:08:14.416858
2018-08-23T08:35:17
2018-09-20T14:25:18
145,513,343
0
2
Apache-2.0
2019-08-21T22:44:55
2018-08-21T05:52:31
null
UTF-8
Python
false
false
1,115
#!/usr/bin/env python # Copyright (c) 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import os import platform import sys _CATAPULT_PATH = os.path.abspath(os.path.join( os.path.dirname(__file__), os.path.pardir,...
[ "changhyeok.bae@lge.com" ]
changhyeok.bae@lge.com
ad40c75916ec2d3d84483c9477a39ee50804f258
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03089/s954098144.py
4781af4d76b7517d6d52dd675494067d64a378b7
[]
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
272
py
n = int(input()) B = [int(i) for i in input().split()] ans = [] while B: L = [] for i in range(len(B)): if B[i] == i+1: L.append(B[i]) if L: ans.append(L[-1]) B.pop(L[-1]-1) else: print(-1) exit() for i in ans[::-1]: print(i)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
75ca957fcc6b0ca47831ce5f73d697ab54cb8436
1d0a4750e216f301ec49a247bf7bf07cd61fa29f
/app/views/commuter/company_commuter_plan_view.py
ec9cd4dcec20664a89e39d135f1290141e2b2699
[]
no_license
smoothbenefits/BenefitMY_Python
52745a11db2cc9ab394c8de7954974e6d5a05e13
b7e8474a728bc22778fd24fe88d1918945a8cfc8
refs/heads/master
2021-03-27T15:57:34.798289
2018-04-29T19:04:04
2018-04-29T19:04:04
24,351,568
0
1
null
null
null
null
UTF-8
Python
false
false
2,178
py
from rest_framework.views import APIView from django.http import Http404 from rest_framework.response import Response from rest_framework import status from app.models.commuter.company_commuter_plan import CompanyCommuterPlan from app.serializers.commuter.company_commuter_plan_serializer import ( CompanyCommuterPl...
[ "jeffzhang_misc@hotmail.com" ]
jeffzhang_misc@hotmail.com
a4b03be3990b0a990a9b9b5921833e1949890b55
27b4d1b7723845812111a0c6c659ef87c8da2755
/PythonCookBook/1_数据结构和算法/查找最大或者最小的N个元素列表/03.py
de7b91bd9c47a32638d00d17ac4d93dab161ccb6
[]
no_license
NAMEs/Python_Note
59a6eff7b4287aaef04bd69fbd4af3faf56cccb4
f560e00af37c4f22546abc4c2756e7037adcc40c
refs/heads/master
2022-04-11T09:32:17.512962
2020-03-17T09:30:58
2020-03-17T09:30:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,882
py
''' 如果你想在一个集合中查找最小或最大的 N 个元素,并且 N 小于集合元素数量, 那么这些函数提供了很好的性能。因为在底层实现里面,首先会先将集合数据进行堆排 序后放入一个列表中 堆数据结构最重要的特征是 heap[0] 永远是最小的元素。并且剩余的元素可以很 容易的通过调用 heapq.heappop() 方法得到,该方法会先将第一个元素弹出来,然后 用下一个最小的元素来取代被弹出元素(这种操作时间复杂度仅仅是 O(log N),N 是 堆大小)。比如,如果想要查找最小的 3 个元素,你可以这样做: 当要查找的元素个数相对比较小的时候,函数 nlargest() 和 nsmallest() 是很 合...
[ "1558255789@qq.com" ]
1558255789@qq.com
c22b288eeec61c012ac1e9fb29b0cd92193615b1
1adc05008f0caa9a81cc4fc3a737fcbcebb68995
/hardhat/recipes/libsigc++.py
bd7663119f55fe29bf5236253c373c8e8888cf25
[ "MIT", "BSD-3-Clause" ]
permissive
stangelandcl/hardhat
4aa995518697d19b179c64751108963fa656cfca
1ad0c5dec16728c0243023acb9594f435ef18f9c
refs/heads/master
2021-01-11T17:19:41.988477
2019-03-22T22:18:44
2019-03-22T22:18:52
79,742,340
0
0
null
null
null
null
UTF-8
Python
false
false
541
py
from .base import GnuRecipe class LibSigCppRecipe(GnuRecipe): def __init__(self, *args, **kwargs): super(LibSigCppRecipe, self).__init__(*args, **kwargs) self.sha256 = '774980d027c52947cb9ee4fac6ffe2ca' \ '60cc2f753068a89dfd281c83dbff9651' self.name = 'libsigc++' ...
[ "clayton.stangeland@gmail.com" ]
clayton.stangeland@gmail.com
bdaca89a365a3445264646da386645b9b5fad002
03a2c1eb549a66cc0cff72857963eccb0a56031d
/acmicpc/14427.py
133779d5c5f1c126eba92eb72a510a05dea57127
[]
no_license
nobe0716/problem_solving
c56e24564dbe3a8b7093fb37cd60c9e0b25f8e59
cd43dc1eddb49d6b5965419e36db708c300dadf5
refs/heads/master
2023-01-21T14:05:54.170065
2023-01-15T16:36:30
2023-01-15T16:36:30
80,906,041
0
0
null
null
null
null
UTF-8
Python
false
false
1,103
py
import math import sys input = sys.stdin.readline _DEFAULT = (10 ** 9 + 1, 1) _GET = lambda x, y: min(x, y) _SET = lambda i, v: (v, i) n = int(input()) a = [int(x) for x in input().split()] a = [_SET(i, v) for i, v in enumerate(a, start=1)] m = int(input()) BASE = 2 ** math.ceil(math.log(n, 2)) st = [_DEFAULT] * BAS...
[ "sunghyo.jung@navercorp.com" ]
sunghyo.jung@navercorp.com
3e0fc28c46e9bd40233e17d0b10f99cee105f0c6
b2ed893d04f04eeaf7209187133de7431c476a96
/icc/merge_data.py
7e76b3267853a20f5be07f2f3caa9dc3cd1a9150
[]
no_license
liruikaiyao/workshop
4b5221259f59ad504d87d73c31f5fa0e58d4a1f0
6dbde74e35ef02f5e92c76dcdd1909f1d0afb89e
refs/heads/master
2021-01-17T16:09:13.248109
2015-08-05T09:43:21
2015-08-05T09:43:21
23,420,887
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
#coding:utf-8 from config.db import bda all_cluster=bda['all_cluster'] db_list=bda.collection_names() a=db_list db_list=[] for elem in a: if len(elem)==32: db_list.append(elem) for elem in db_list: db=bda[elem] for item in db.find(): all_cluster.insert(item)
[ "liruikaiyao@gmail.com" ]
liruikaiyao@gmail.com
aa63d3f03980b5759d81dab4f148f013d82a0cab
f62fd455e593a7ad203a5c268e23129473d968b6
/python-watcher-1.0.1/watcher/tests/decision_engine/model/faker_cluster_and_metrics.py
e0664158a07fed9442d6ba6ed109f10802e82eff
[ "Apache-2.0", "CC-BY-3.0" ]
permissive
MinbinGong/OpenStack-Ocata
5d17bcd47a46d48ff9e71e2055f667836174242f
8b7650128cfd2fdf5d6c8bc4613ac2e396fb2fb3
refs/heads/master
2021-06-23T05:24:37.799927
2017-08-14T04:33:05
2017-08-14T04:33:05
99,709,985
0
2
null
2020-07-22T22:06:22
2017-08-08T15:48:44
Python
UTF-8
Python
false
false
5,643
py
# -*- encoding: utf-8 -*- # # Authors: Vojtech CIMA <cima@zhaw.ch> # Bruno GRAZIOLI <gaea@zhaw.ch> # Sean MURPHY <murp@zhaw.ch> # # 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 ...
[ "gongwayne@hotmail.com" ]
gongwayne@hotmail.com
75508448eb04949efc0a5950f4ce7749c1dfc7fe
2b16a66bfc186b52ed585081ae987e97cab8223b
/script/document_classification/import_lr_wiki_classification_result.py
d1509efa93e4dbe0e8ffc75c8f82eb869f157495
[]
no_license
OldPickles/SKnowledgeGraph
d334000c7a41dd5014fd59154bbe070fcc754e4c
6d131ad6bf3a09a5ce6461fa03690117d703c9e8
refs/heads/master
2022-01-09T11:27:00.043712
2019-06-06T07:57:06
2019-06-06T07:57:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
from db_importer.wiki_classification_result import WikiClassificationResultDBImporter if __name__ == "__main__": importer = WikiClassificationResultDBImporter() importer.import_lr_wiki_classification_result(result_json_file_name="lr_result.v2.json")
[ "467701860@qq.com" ]
467701860@qq.com
b311deac9287395ba96912fa77bba8b7069189ba
1e1c85d0d74bc1b111e77f082cd24c94219d7eb0
/VE-Tests/tests/KD/test_device_logout.py
4fcd4b6840117995b378d5aa39690bbfe93167a1
[]
no_license
anshsaikia/GSSDeliverables-YesProject
b6f5e4de8d853ce21dfe7401c4b9179c40f32a89
ed786ccfd7b8c344802c7ff6d0cfd4afbffe015e
refs/heads/master
2020-04-06T04:07:49.034461
2017-02-24T13:39:48
2017-02-24T13:39:48
83,044,504
1
0
null
null
null
null
UTF-8
Python
false
false
1,896
py
import pytest __author__ = 'srevg' from tests_framework.ve_tests.ve_test import VeTestApi from vgw_test_utils.IHmarks import IHmark @IHmark.LV_L2 @IHmark.O_iOS @IHmark.O_Android @IHmark.MF1530 @IHmark.MF1342 @pytest.mark.commit @pytest.mark.MF1530_LogOut @pytest.mark.MF1342_LogOut @pytest.mark.level2 def test_log_out...
[ "anshuman.saikia@lnttechservices.com" ]
anshuman.saikia@lnttechservices.com
fd30b078e6d7cffb844e3d1190637df352e04368
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/able_hand_and_little_case/own_group.py
b3f4f5a358d913248b2a972a20c5acd10078ea22
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
201
py
#! /usr/bin/env python def be_point(str_arg): do_new_part(str_arg) print('right_case') def do_new_part(str_arg): print(str_arg) if __name__ == '__main__': be_point('eye_or_person')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
e07a8919ecdfb3638a538d4e5a1d875b6b48b2b3
bf20548c143fdaecc1d8b5746dab142414b27786
/galaxy-tool-BLAST/utilities/bold/add_taxonomy_bold.py
1f03eabf49e5f4c97606b6edbf03d50fbf3cf580
[]
no_license
zeromtmu/galaxy-tool-temp-2019
e9f58956b014e2e4e9260b028c14549f90756f05
704c3b850e8ddf5420dc458a0282717ab2268c40
refs/heads/master
2021-10-25T05:02:55.328975
2019-04-01T11:40:41
2019-04-01T11:40:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,294
py
""" """ from Bio import SeqIO import argparse parser = argparse.ArgumentParser(description='Add taxonomy to BOLD fasta file') parser.add_argument('-t', '--taxonomy', dest='taxonomy', type=str, required=True) parser.add_argument('-g', '--gbif_taxonomy', dest='gbif', type=str, required=True) parser.add_argument(...
[ "martenhoogeveen@gmail.com" ]
martenhoogeveen@gmail.com
a22cfb2be3ed7a20604c5c82392355d9e69ae696
008bc57ad937f0d76edbe29376220b33ff2fddc1
/CRC/crc_report_regression_testing.py
b48f74725a8653f7462fc73b88bfeed1032599aa
[]
no_license
chetandg123/cQubeTesting-2.0
f1b15d77401e677a6e4d2e9e497a364e3dd001b2
bd3ab2b6c8be65bfc1aef3a42585360d70483bd5
refs/heads/master
2023-07-12T22:10:51.705709
2021-08-11T11:20:51
2021-08-11T11:20:51
374,532,154
1
0
null
null
null
null
UTF-8
Python
false
false
5,482
py
import unittest from CRC.check_clusterwise_records import crc_schoolevel_records from CRC.check_crc_tabledata_by_selecting_districts import districtwise_tabledata from CRC.check_districtwise_records import test_crc_report_districtwise from CRC.check_homebtn import Homeicon from CRC.check_table_data_order import Check_...
[ "chetan.goudar@tibilsolutions.com" ]
chetan.goudar@tibilsolutions.com
1c6210564d19565b0fb0d19d5a16faa49512c900
f5c3841a08c3faa1818d3ee210c8b9921dc9499d
/parsing_JSON_1.py
e41a258c27dd0efb92e08a6fbfd4055cf60134e0
[]
no_license
villancikos/realpython-book2
a4e74b51fe1d3a8e5af206c2938ff4966ef00df6
6c9a2ef714531f1163f3c78c80fad335661dacf2
refs/heads/master
2016-09-06T10:06:49.227106
2014-09-22T18:56:58
2014-09-22T18:56:58
23,493,659
1
1
null
2014-09-19T23:35:40
2014-08-30T14:44:52
Python
UTF-8
Python
false
false
193
py
# JSON Parsing 1 import json # decodes the json file output = json.load(open('cars.json')) # display output screen print output print " " print json.dumps(output, indent=4, sort_keys=True)
[ "villancikos@gmail.com" ]
villancikos@gmail.com
681a5376528ffab913b8a88d30fc3a66a36752f2
5456502f97627278cbd6e16d002d50f1de3da7bb
/chrome/test/mini_installer/verifier_runner.py
9f3f99f54ca5533d699a6f03c95fc058d6f53633
[ "BSD-3-Clause" ]
permissive
TrellixVulnTeam/Chromium_7C66
72d108a413909eb3bd36c73a6c2f98de1573b6e5
c8649ab2a0f5a747369ed50351209a42f59672ee
refs/heads/master
2023-03-16T12:51:40.231959
2017-12-20T10:38:26
2017-12-20T10:38:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,389
py
# Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import file_verifier import process_verifier import registry_verifier class VerifierRunner: """Runs all Verifiers.""" def __init__(self): ...
[ "lixiaodonglove7@aliyun.com" ]
lixiaodonglove7@aliyun.com
e5d1941ea66a0350ed8fe6c0a7e0f6f1275e4f81
061c36c4b33dd0c47d9d62c2057559d4c5973681
/hdfs_find_replication_factor_1.py
8745848be2d4daa4237a72ad514a994daa990440
[ "MIT" ]
permissive
ashkankamyab/DevOps-Python-tools
0847f9e1b74d7864d17b0a9833beeef1f149e5a5
dc4b1ce2b2fbee3797b66501ba3918a900a79769
refs/heads/master
2022-10-09T15:23:31.108086
2022-09-01T14:32:56
2022-09-01T14:32:56
189,855,037
1
0
NOASSERTION
2019-06-02T14:15:18
2019-06-02T14:15:18
null
UTF-8
Python
false
false
5,894
py
#!/usr/bin/env python # coding=utf-8 # vim:ts=4:sts=4:sw=4:et # # Author: Hari Sekhon # Date: 2018-11-28 16:37:00 +0000 (Wed, 28 Nov 2018) # # https://github.com/HariSekhon/DevOps-Python-tools # # License: see accompanying Hari Sekhon LICENSE file # # If you're using my code you're welcome to connect with me on ...
[ "harisekhon@gmail.com" ]
harisekhon@gmail.com
d7b27284fcf8e687c0ce5cdc8fc1586f625817db
26aeec7c6571012e85cd6bdd42560988664dc845
/0x04-python-more_data_structures/1-search_replace.py
bf02407fb835033abc2ea61c84569a868d1e5c89
[]
no_license
KoeusIss/holbertonschool-higher_level_programming
3d6ac70d9630c516fa95fcd2d6209d8591bf4169
446ca491156ac93134e5c15f3568cb684079d67e
refs/heads/master
2022-12-11T15:22:58.164551
2020-09-24T09:51:45
2020-09-24T09:51:45
259,189,990
1
4
null
null
null
null
UTF-8
Python
false
false
210
py
#!/usr/bin/python3 def search_replace(my_list, search, replace): """ Replaces all occurences of an element by another in a new list """ return [(replace if x == search else x) for x in my_list]
[ "sebri.issam@gmail.com" ]
sebri.issam@gmail.com
ca1da8e85b269c0081f63c09d3201e66d15324ae
131921d5ed69ac5d470520a3fbb651d1374a668d
/accounts/models.py
e04dcc920bc257ac68ee4d62006da384f97c2532
[]
no_license
SyedMaazHassan/temporary-one
07fc31673b3eb8368014878a22c747d39b259cb3
cc67107cabcb2a092b79fbc7d8b5369592a15241
refs/heads/master
2023-03-02T11:28:08.813659
2021-02-10T10:02:52
2021-02-10T10:02:52
337,535,351
0
0
null
null
null
null
UTF-8
Python
false
false
2,924
py
import uuid from django.dispatch import receiver from django.db import models from django.contrib.auth.models import ( BaseUserManager, AbstractBaseUser ) from django.db.models.signals import post_save from saidatech_admin.models import saidatech_admin_profile class MyUserManager(BaseUserManager): def creat...
[ "hafizmaazhassan33@gmail.com" ]
hafizmaazhassan33@gmail.com
6ca67602d21d354937356280ae7d8a91c75c5990
26be9ea17640d29d6a8a576cbf306f71675bdfb1
/pyroprint/optedredger.py
c46bc80acf83ea548a2c338e430e1a6e746c1c47
[]
no_license
meredithhitchcock/wabio
076a69efa0e38da0cbba348114408e2354fdde76
f3de4b8ca6f98d6ec2fa3989214871c2a3781c37
refs/heads/master
2021-01-18T14:50:52.630167
2014-10-04T04:28:58
2014-10-04T04:28:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,812
py
import pymysql import string import sys primer = "CGTGAGGCTTAACCTT" revcomprimer = "AAGGTTAAGCCTCACG" seqFile1 = "" ratioSeq1 = "" seqFile2 = "" ratioSeq2 = "" fileDir = "./Genome Sequences/rDNA plasmid sequences/23-5" outfile = "" # A quick tool to dredge the opterons from .seq files # Takes in three params: # - th...
[ "elkingtonx@gmail.com" ]
elkingtonx@gmail.com
e3bb6cda196d50d9aa9a0366a7e535e4d6cbe821
9fb7bc79fc3e9224de8a63189515044812a1ff41
/scripts/general_utils.py
d490031b36efe0659d6834af14b5d1905f111691
[ "MIT" ]
permissive
dciborow/amlsdummy
2fb4c0ddb39ec40140d4811d23d832c009dee139
91d2732dd485002b16c28353263b62c674a69399
refs/heads/master
2022-06-19T11:28:46.961813
2020-02-09T20:51:15
2020-02-09T20:51:15
239,918,986
0
0
MIT
2020-02-12T03:30:20
2020-02-12T03:30:19
null
UTF-8
Python
false
false
3,210
py
import pickle import os from enum import Enum from datetime import datetime, timedelta class JobType(Enum): real_time_scoring = "RealTimeScoring" batch_scoring = "BatchScoring" class JobLog: step_start = "start" step_end = "end" logs_directory = "Logs" general_stats = "Overview.csv" def _...
[ "grecoe@microsoft.com" ]
grecoe@microsoft.com
b8e53160b6e640f632a827ac6a40be6f7edb9e58
16450d59c820298f8803fd40a1ffa2dd5887e103
/SWEA/2027_대각선출력.py
33b1e9b766ac8201bf9d5378fb3649f247886e87
[]
no_license
egyeasy/TIL_public
f78c11f81d159eedb420f5fa177c05d310c4a039
e2f40eda09cb0a65cc064d9ba9b0e2fa7cbbcb38
refs/heads/master
2021-06-21T01:22:16.516777
2021-02-02T13:16:21
2021-02-02T13:16:21
167,803,551
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
""" 주어진 텍스트를 그대로 출력하세요. > 입력 > 출력 #++++ +#+++ ++#++ +++#+ ++++# """ print("""#++++ +#+++ ++#++ +++#+ ++++#""") # 반성 # 1. multiline comment를 활용하는 방법 # 2. print()를 여러 방법으로 쓰는 법
[ "dz1120@gmail.com" ]
dz1120@gmail.com
c4f9837ca141aa95d0af984632f977212fccf8c7
ab0315bcded75c10c591076b22ed8ff664ee76af
/fig4/config_scf_10mods_200213.py
5a3c6829ca9d92207ab9ba95c94ca871a795916d
[]
no_license
mukamel-lab/BICCN-Mouse-MOp
389f62492986a2ffe4278ed16f59fc17dc75b767
8058ab8ae827c6e019fff719903b0ba5b400931d
refs/heads/master
2021-07-06T11:14:25.401628
2020-09-30T04:54:27
2020-09-30T04:54:27
189,758,115
1
0
null
null
null
null
UTF-8
Python
false
false
1,734
py
#!/usr/bin/env python3 """An example configuration file """ import sys import os # # Configs name = 'mop_10mods_200213' outdir = '/cndd/fangming/CEMBA/data/MOp_all/results' output_pcX_all = outdir + '/pcX_all_{}.npy'.format(name) output_cells_all = outdir + '/cells_all_{}.npy'.format(name) output_imputed_data_format...
[ "fmxie1993@gmail.com" ]
fmxie1993@gmail.com
23be186718ed310752b58249fce51092af45e1c1
85f5dff291acf1fe7ab59ca574ea9f4f45c33e3b
/api/tacticalrmm/agents/migrations/0054_alter_agent_goarch.py
d2f26e1c4156e7ec3053a815a89ca418cf2919a9
[ "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
sadnub/tacticalrmm
a4ecaf994abe39244a6d75ed2166222abb00d4f4
0af95aa9b1084973642da80e9b01a18dcacec74a
refs/heads/develop
2023-08-30T16:48:33.504137
2023-04-10T22:57:44
2023-04-10T22:57:44
243,405,684
0
2
MIT
2020-09-08T13:03:30
2020-02-27T01:43:56
Python
UTF-8
Python
false
false
498
py
# Generated by Django 4.0.4 on 2022-06-06 04:03 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('agents', '0053_remove_agenthistory_status'), ] operations = [ migrations.AlterField( model_name='agent', name='goarc...
[ "dcparsi@gmail.com" ]
dcparsi@gmail.com
bf9079fb3d60a76e417d01ad38efd6a8b18c6bd4
10ddfb2d43a8ec5d47ce35dc0b8acf4fd58dea94
/Python/count-number-of-distinct-integers-after-reverse-operations.py
24dbdf067e7e0c6f952bd0ae88007568b737487c
[ "MIT" ]
permissive
kamyu104/LeetCode-Solutions
f54822059405ef4df737d2e9898b024f051fd525
4dc4e6642dc92f1983c13564cc0fd99917cab358
refs/heads/master
2023-09-02T13:48:26.830566
2023-08-28T10:11:12
2023-08-28T10:11:12
152,631,182
4,549
1,651
MIT
2023-05-31T06:10:33
2018-10-11T17:38:35
C++
UTF-8
Python
false
false
707
py
# Time: O(nlogr), r = max(nums) # Space: O(n) # hash table class Solution(object): def countDistinctIntegers(self, nums): """ :type nums: List[int] :rtype: int """ def reverse(n): result = 0 while n: result = result*10 + n%10 ...
[ "noreply@github.com" ]
kamyu104.noreply@github.com
cb51b6fcc0d3bf4a8423b790d3e33d50c46cfa76
80907e3f9e998abc375afcc6e6546c88ee023252
/badgepad/cmdline.py
4fb20087f1865f5d46be5d1143852f084c2adcdb
[]
no_license
toolness/badgepad
5ac1eb21bf426335e81cb9400f5180b6542dea43
2c1e221efca12054b843aef066798dd03f6f2533
refs/heads/master
2021-01-10T20:03:45.630275
2013-04-08T19:46:43
2013-04-08T19:46:43
9,220,546
1
0
null
null
null
null
UTF-8
Python
false
false
4,051
py
import os import sys import shutil import argparse from . import pkg_path from .project import Project from .build import build_website from .server import start_auto_rebuild_server def nice_dir(path, cwd=None): if cwd is None: cwd = os.getcwd() path = os.path.realpath(path) cwd = os.path.realpath...
[ "varmaa@gmail.com" ]
varmaa@gmail.com
e2ee762af542c4e17ef39d01c46d47c5bbc7d2ab
3af9425f048876de388d2a5dc4f361132d03a387
/algorithms/source/최단경로/1.Shortest path(1753_Dijkstra).py
d4b5deea16f72a032b83b6eec204466c755aa8db
[]
no_license
hwanginbeom/TIL
6fab0d06db9cb9d78c03e3b3392dedcdaf799df6
933348f08e5bd58527dcb3732c092a83581e471b
refs/heads/master
2021-08-15T06:15:21.452951
2021-08-13T14:56:09
2021-08-13T14:56:09
146,391,739
0
0
null
null
null
null
UTF-8
Python
false
false
2,284
py
''' 문제 방향그래프가 주어지면 주어진 시작점에서 다른 모든 정점으로의 최단 경로를 구하는 프로그램을 작성하시오. 단, 모든 간선의 가중치는 10 이하의 자연수이다. 입력 첫째 줄에 정점의 개수 V와 간선의 개수 E가 주어진다. (1≤V≤20,000, 1≤E≤300,000) 모든 정점에는 1부터 V까지 번호가 매겨져 있다고 가정한다. 둘째 줄에는 시작 정점의 번호 K(1≤K≤V)가 주어진다. 셋째 줄부터 E개의 줄에 걸쳐 각 간선을 나타내는 세 개의 정수 (u, v, w)가 순서대로 주어진다. 이는 u에서 v로 가는 가중치 w인 간선이 존재한다는 뜻이다. u와 v...
[ "rydn2002@gmail.com" ]
rydn2002@gmail.com
f3bbe6e34b15c175b28daa543e9a87e025c79843
b647129cb448b4991059dcfb44d8279b4c8f18dd
/pyEX/commodities/commodities.py
cfcfbb6c68aaaf35f81c2bbf3438af9571a42525
[ "Apache-2.0" ]
permissive
jmailloux/pyEX
433a9aeab3429edb5af1c2f18dc533011ab15c92
2101e8c53a9080ea8b00b28a758be441095d5048
refs/heads/main
2023-03-24T06:36:43.544611
2021-03-17T03:30:40
2021-03-17T03:30:40
345,503,430
0
0
Apache-2.0
2021-03-08T02:06:50
2021-03-08T02:06:49
null
UTF-8
Python
false
false
2,944
py
# ***************************************************************************** # # Copyright (c) 2020, the pyEX authors. # # This file is part of the pyEX library, distributed under the terms of # the Apache License 2.0. The full license can be found in the LICENSE file. # from enum import Enum from functools import ...
[ "t.paine154@gmail.com" ]
t.paine154@gmail.com
19b3d339d591f72252203b511ed7e437a59647f3
5955ea34fd72c719f3cb78fbb3c7e802a2d9109a
/ITERATOR_GENERATOR/ITERATOR/Sample/factorial_iterated.py
cbbabe042f1a81d9ed66d5bdd9dd2ac8668ab5d6
[]
no_license
AndreySperansky/TUITION
3c90ac45f11c70dce04008adc1e9f9faad840b90
583d3a760d1f622689f6f4f482c905b065d6c732
refs/heads/master
2022-12-21T21:48:21.936988
2020-09-28T23:18:40
2020-09-28T23:18:40
299,452,924
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
"""Итеральное исчисление факториала работает быстрее рекурсивного""" def iterative_factorial(n): if n == 0 or n==1: res = 1 return res else: res = 1 for i in range(2, n+1): res = res * i return res num = abs(int(input("Введите целое число: "))) print("Фактор...
[ "andrey.speransky@gmail.com" ]
andrey.speransky@gmail.com
917574d4ba87f4c467e7867dc9e6650e93fc9a21
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2164/60606/306710.py
97804c69d658036e62e5f0f4c83a491771e81aae
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
147
py
test_num = int(input()) s = input() if s=="aaaab": print(3) print(7) elif test_num==3 and s=="aab": print(1) print(8) print(0)
[ "1069583789@qq.com" ]
1069583789@qq.com
caf2fecb194e07ce6842ae03cc70ae308b64a77b
6444622ad4a150993955a0c8fe260bae1af7f8ce
/djangoenv/lib/python2.7/site-packages/django/contrib/redirects/middleware.py
88bdfe488ab088fde0477ae06a0433d5a7196195
[]
no_license
jeremyrich/Lesson_RestAPI_jeremy
ca965ef017c53f919c0bf97a4a23841818e246f9
a44263e45b1cc1ba812059f6984c0f5be25cd234
refs/heads/master
2020-04-25T23:13:47.237188
2019-03-22T09:26:58
2019-03-22T09:26:58
173,138,073
0
0
null
2019-03-22T09:26:59
2019-02-28T15:34:19
Python
UTF-8
Python
false
false
1,961
py
from __future__ import unicode_literals from django import http from django.apps import apps from django.conf import settings from django.contrib.redirects.models import Redirect from django.contrib.sites.shortcuts import get_current_site from django.core.exceptions import ImproperlyConfigured from django.utils.deprec...
[ "jeremyrich@free.fr" ]
jeremyrich@free.fr
2575fcfda27f77fbd034558e815ed42659a70e22
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/pg_1711+564/sdB_pg_1711+564_coadd.py
a317f3971b126e1513af2c8cbe3cd9d5030ee583
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[258.155417,56.418942], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_pg_1711+564/sdB_pg_1711+564_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdB/sdB...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
b5653a6f9699da39d8c2d60fdac5941697f1abbc
afb2bdf8044e4c9ff09b1b8379efbc17867d8cc0
/2parts/challenge/challenge2.py
cf8359ef6d86b17dfe0a1b0bb22f142f4a785437
[]
no_license
ChenFu0420/leranpython
b2e364ff8d6730a3eb768b76f0369faa3367dfa2
52d0aa614d7fab19e17bbb696330a0330d3862b6
refs/heads/master
2020-05-29T19:46:24.020046
2019-09-25T09:17:10
2019-09-25T09:17:10
189,339,151
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
num1 = int(input("输入一个数")) num2 = int(input("再输一个数")) #两数之和 print("两个数的和是:", num1 + num2) #两数之差 print("两个数的差是:", num1 - num2) #两数乘积 print("两数乘积是:", num1 * num2)
[ "hiziying@hotmail.com" ]
hiziying@hotmail.com
f6799deed3adf5955c953244b8e21ad2a510e6ff
48b67d5a7149376b5949f12641fa14cb8404a359
/accounts/migrations/0005_auto_20181018_1754.py
b8183ba6fad46552feeae9eae696552ad9b89ceb
[]
no_license
mishaukr7/simple_blog
7f962dce438b9bab03b0ddabfc1ce47d57e9cb5b
c00aba56afe4caad77dfa5f058e3ab8e1e8919b1
refs/heads/master
2020-04-01T23:21:28.176890
2018-10-19T08:58:14
2018-10-19T08:58:14
153,754,245
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
# Generated by Django 2.1.2 on 2018-10-18 17:54 from django.db import migrations import django.db.models.deletion import smart_selects.db_fields class Migration(migrations.Migration): dependencies = [ ('accounts', '0004_auto_20181018_1712'), ] operations = [ migrations.AlterField( ...
[ "mishaukr22@gmail.com" ]
mishaukr22@gmail.com
629c520da224ca08d1b463ba82b88210faa9c090
7248b86a0a882badb20f83be57748fae89311c7d
/case01/migrations/0001_initial.py
b1c221b705f2a710eea22d9f679f6ea50702fa6f
[]
no_license
daiyeyue/daiyeDRF
2164ae4e6d611f577d1fac9e84dd8fcd83b3f909
884f0dcf4bbedf2c17842d7dc05dc3603cc95877
refs/heads/master
2020-12-03T12:48:02.551331
2020-01-02T06:38:12
2020-01-02T06:38:12
231,322,648
0
0
null
null
null
null
UTF-8
Python
false
false
1,263
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='ClassRoom', fields=[ ('id', models.AutoField(ve...
[ "150064328@qq.com" ]
150064328@qq.com
51605ef74b4cba3582dbd4a581b09e1dbf06ec52
d491c11dc87a955c95a4e14a2feea19fe1fa859e
/python/Arcade/Python/P32WordPower.py
8e59958099ab4e818bb696c758d23213474a33a7
[]
no_license
Vagacoder/Codesignal
0f6ea791b25716cad7c46ab7df73679fb18a9882
87eaf44555603dd5b8cf221fbcbae5421ae20727
refs/heads/master
2023-07-16T04:18:44.780821
2021-08-15T18:41:16
2021-08-15T18:41:16
294,745,195
1
0
null
null
null
null
UTF-8
Python
false
false
1,148
py
# # * Python 32, Word Power # * Easy # * You've heard somewhere that a word is more powerful than an action. You decided # * to put this statement at a test by assigning a power value to each action and # * each word. To begin somewhere, you defined a power of a word as the sum of # * powers of its characters, wher...
[ "qiruihu@gmail.com" ]
qiruihu@gmail.com
6bf9fe564297c104e2d4a8e7f00109a5ee57bd30
14ff5ca733ce92c14dd347e32c7ad262026c48cf
/typeshed/rdflib/exceptions.pyi
4066f6854d2ffd93b18fa4bd16a05f92764610bd
[ "Apache-2.0" ]
permissive
common-workflow-language/cwlprov-py
6040bd1ea18fb58909bba9874f65e4edcc4ecd92
9b719c687484d3f888eb5f807ec3270e9081078a
refs/heads/main
2023-08-17T06:03:39.274209
2022-07-19T18:09:15
2022-07-19T18:21:13
148,144,870
1
2
Apache-2.0
2023-08-02T18:35:35
2018-09-10T11:27:31
Python
UTF-8
Python
false
false
761
pyi
from typing import Any class Error(Exception): msg: Any def __init__(self, msg: Any | None = ...) -> None: ... class TypeCheckError(Error): type: Any node: Any def __init__(self, node) -> None: ... class SubjectTypeError(TypeCheckError): msg: Any def __init__(self, node) -> None: ... cla...
[ "1330696+mr-c@users.noreply.github.com" ]
1330696+mr-c@users.noreply.github.com
f3abfbb514fdc985c0c51949272f13c43a7c3730
b799c3e1fe5a50b2babcfb2960af210dec434f49
/354.russian-doll-envelopes.py
facf0e6c6903adc2cda1b3f18cbef9f6574cf968
[]
no_license
Joecth/leetcode_3rd_vscode
4619ef80632dec83cbcbcd090f74e043f436cc75
3c0943ee9b373e4297aa43a4813f0033c284a5b2
refs/heads/master
2022-12-02T19:30:34.572339
2020-08-18T15:21:15
2020-08-18T15:21:15
255,601,035
0
0
null
null
null
null
UTF-8
Python
false
false
3,605
py
# # @lc app=leetcode id=354 lang=python3 # # [354] Russian Doll Envelopes # # https://leetcode.com/problems/russian-doll-envelopes/description/ # # algorithms # Hard (34.98%) # Likes: 981 # Dislikes: 37 # Total Accepted: 62.8K # Total Submissions: 178.5K # Testcase Example: '[[5,4],[6,4],[6,7],[2,3]]' # # You ha...
[ "huangjiancong@aidigger.com" ]
huangjiancong@aidigger.com
9a042505df211682de5afa3eb04441642762d7ba
e402a0fbde47acb8903304a0fef11ec1de83b01f
/SecretColors/data/palettes/__init__.py
0424d070c31874e136fbe0f9ba306d437a31b594
[ "MIT" ]
permissive
Robinsondssantos/SecretColors
ad254a872d7bcc4ef1ac1914355d2f5c7ec73357
eb19b8a1805eba812032b450d644aa8fc5c257e5
refs/heads/master
2023-01-25T00:34:25.849346
2020-12-06T11:35:45
2020-12-06T11:35:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
702
py
# Copyright (c) SecretBiology 2020. # # Library Name: SecretColors # Author: Rohit Suratekar # Website: https://github.com/secretBiology/SecretColors # # Most of these palettes are derived from various design systems. Few # examples of such design systems can be found on following URL # https://designsystemsrep...
[ "rohitsuratekar@gmail.com" ]
rohitsuratekar@gmail.com
4973daa5f7033237dd93efc217a2a9c1532a74b5
90914b7d84d69a86652e69d1ad72888af363367b
/production_work_timesheet/timesheet.py
a4ebbc6d37d4d6bfb0c7cae074624939a479354c
[]
no_license
emperadorxp1/TrytonModules
754a3ca92c0ac7b2db9165208b1bc5fda5fe4a73
33ef61752e1c5f490e7ed4ee8a3f0cff63a8fc89
refs/heads/master
2020-12-19T18:41:05.260174
2020-01-23T15:32:57
2020-01-23T15:32:57
235,815,084
0
0
null
null
null
null
UTF-8
Python
false
false
714
py
# This file is part of Tryton. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. from trytond.pool import PoolMeta, Pool __all__ = ['TimesheetWork'] class TimesheetWork(metaclass=PoolMeta): __name__ = 'timesheet.work' @classmethod def _get_o...
[ "joxua.1995@gmail.com" ]
joxua.1995@gmail.com
0c8f151455b44f75723bef94d18ab3bf6b15805f
97bf1824e9b299ae0c9b99dc1bcf83db321b20a5
/secondProject/blog/models.py
59f871477b1d2416ee8921cee812eabb7f5807ae
[]
no_license
shinhaeran/likelion_class
f2ed68f245e25a89313834876f001c4b35f5ffaa
72c2d53cfedccde0062f46816449415131b2c332
refs/heads/master
2020-04-25T21:59:56.891042
2019-05-26T08:56:48
2019-05-26T08:56:48
173,097,515
0
0
null
null
null
null
UTF-8
Python
false
false
348
py
from django.db import models # Create your models here. class Blog(models.Model): title = models.CharField(max_length=200) pub_date = models.DateTimeField('date published') body = models.TextField() def __str__(self): return self.title def summary(self): return self.body[:100] #1...
[ "haeran97@naver.com" ]
haeran97@naver.com
f52b1ef6a6b56db0523211d934578ec0ef2a07e4
0377a4135f9e8940809a62186b229295bed9e9bc
/剑指offer/new2/判断一棵树是否为另一棵树的子结构.py
c14465c97106d88afb892a94b084094c2611b4b3
[]
no_license
neko-niko/leetcode
80f54a8ffa799cb026a7f60296de26d59a0826b0
311f19641d890772cc78d5aad9d4162dedfc20a0
refs/heads/master
2021-07-10T10:24:57.284226
2020-09-13T11:28:45
2020-09-13T11:28:45
198,792,951
0
0
null
null
null
null
UTF-8
Python
false
false
954
py
class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def HasSubtree(self, pRoot1, pRoot2): # write code here if pRoot1 == None or pRoot2 == None: return False else: return self.panduan(pRo...
[ "2361253285@qq.com" ]
2361253285@qq.com
321182ac1c784cfc94356d065684340d14c0b1a1
3073677476a918720fb24a13961d6e9f5143627b
/console.py
dcd93ec5ed4ac74a56b3bf6c3dc042853d32cbe2
[]
no_license
nemec/audibleMPD
960fe2c358ac875936ceb23c1c7b19d74940012a
d214ac44e2411583db3f6cab835138747b6df6b1
refs/heads/master
2021-01-01T05:40:25.894785
2011-01-24T23:48:52
2011-01-24T23:48:52
983,120
0
0
null
null
null
null
UTF-8
Python
false
false
3,193
py
from os import getuid import gobject from input_header import input_header if getuid() != 0: raise ImportError, "Must be root to get keypresses." from struct import unpack # Code 0 = Mouse x axis, val = mouse accel (with +/-) # Code 1 = Mouse y axis, val = mouse accel (with +/-) KEY_PRESS = 1 KEY_RELEASE = 2 cla...
[ "djnemec@gmail.com" ]
djnemec@gmail.com
e700a24a2a79345362880d9c61b0b979299289a8
086ff58e13978ef5fa771ffc44c3b002cfcf18cb
/froide/publicbody/widgets.py
0e89162ad29d102f0a13c6e53207916a598ada39
[ "MIT" ]
permissive
jdieg0/froide
70b0de85eff09886919a838fe46b776467824dfb
44a5d7e65b1678e0031e2cf01687c8834b2517e2
refs/heads/master
2020-04-27T22:51:45.343233
2019-03-09T16:46:34
2019-03-09T16:46:34
174,752,276
0
0
null
2019-03-09T22:19:20
2019-03-09T22:19:20
null
UTF-8
Python
false
false
2,348
py
import json from django import forms from django.urls import reverse from django.utils.translation import ugettext as _ from django.templatetags.static import static from froide.helper.content_urls import get_content_url from .models import PublicBody def get_widget_context(): return { 'url': { ...
[ "mail@stefanwehrmeyer.com" ]
mail@stefanwehrmeyer.com
fdb1438c63169f6ae42534f8c356819b6ced8614
3358f6fbfa39d4429f2a9fa3ba5416285fab5793
/第3章 Django/第3章 Django/3、Django中的视图/kaige/project/myApp/models.py
7128dbac959f269df33a0dddfa674349e6780c90
[]
no_license
kmxz2016/PycharmProjects
8ab79cd5ef87bba2a1af0fe9f035f87a18621407
631a792eb9b5f4121dc08849dded10c290ac2401
refs/heads/master
2020-03-13T18:21:11.364219
2018-05-16T10:06:42
2018-05-16T10:06:42
131,234,054
1
0
null
null
null
null
UTF-8
Python
false
false
735
py
from django.db import models # Create your models here. class Grades(models.Model): gname = models.CharField(max_length=20) gdate = models.DateTimeField() ggirlnum = models.IntegerField() gboynum = models.IntegerField() isDelete = models.BooleanField(default=False) def __str__(s...
[ "601985329@qq.com" ]
601985329@qq.com
055a0a056e4c316e4fb5425388900dc3ea5d47ba
47a3a59288792f654309bfc9ceb6cbfa890720ef
/ramda/omit_test.py
11fd6af8b845020962f91cbac8aa37846ca872a5
[ "MIT" ]
permissive
jakobkolb/ramda.py
9531d32b9036908df09107d2cc19c04bf9544564
982b2172f4bb95b9a5b09eff8077362d6f2f0920
refs/heads/master
2023-06-23T00:46:24.347144
2021-02-01T16:47:51
2021-02-01T16:48:25
388,051,418
0
0
MIT
2021-07-21T16:31:45
2021-07-21T08:40:22
null
UTF-8
Python
false
false
352
py
from .omit import omit from ramda.private.asserts import assert_dicts_equal def pick_nocurry_test(): assert_dicts_equal( omit(["a", "d"], {"a": 1, "b": 2, "c": 3, "d": 4}), {"b": 2, "c": 3} ) assert_dicts_equal( omit(["there_is_no_key"], {"a": 1, "b": 2, "c": 3, "d": 4}), {"a": 1,...
[ "slava.ganzin@gmail.com" ]
slava.ganzin@gmail.com
12b2601062b88a0764fe4605d06bd9c8dd80a3cc
1cb49fbe0e99d30869cd30e0ccec2c9477849374
/Face Detection/face_classifier/backup-17-May-2018/face_classifier.py
cf14b6b276b159ee1e6eeaa77a929a30eec826c7
[]
no_license
wuyx/Machine-Learning
ea0f5417669243a8d85cd8a5132dcffdc8e069e8
42a7c843289cc22592ad8e8331367f973ab0b7e4
refs/heads/master
2022-12-19T02:43:28.961837
2020-08-17T03:05:01
2020-08-17T03:05:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,431
py
import platform print("Platform is", platform.system()) if platform.system() == "Darwin": import matplotlib matplotlib.use("TkAgg") import matplotlib.pyplot as plt else: import matplotlib.pyplot as plt import numpy as np import cv2 import tensorflow as tf from tensorflow.contrib.layers import flatten...
[ "liprin1129@gmail.com" ]
liprin1129@gmail.com
9ba8cf12520d5f34fba58ef8cbe065bfe5b8a94b
4b24e80dc274353ff9bd5a8fe62c50cc57444aeb
/fmcapi/api_objects/object_services/urls.py
34c62846acb127a348bd1fd0054e7c645510516f
[ "BSD-3-Clause" ]
permissive
realvitya/fmcapi
ba4dede492238890fdfec1c3fd447906ffeab706
38fb9a8da2d9ebbadf4ed4cb559244646b3bf3be
refs/heads/master
2020-09-13T23:14:53.177902
2019-12-09T03:17:37
2019-12-09T03:17:37
222,935,028
0
0
BSD-3-Clause
2019-11-20T12:42:42
2019-11-20T12:42:41
null
UTF-8
Python
false
false
775
py
from fmcapi.api_objects.apiclasstemplate import APIClassTemplate import logging import warnings class URLs(APIClassTemplate): """ The URLs Object in the FMC. """ VALID_JSON_DATA = ["id", "name", "url", "description"] VALID_FOR_KWARGS = VALID_JSON_DATA + [] URL_SUFFIX = "/object/urls" REQU...
[ "dmickels@cisco.com" ]
dmickels@cisco.com
f811b9919ddd4e93906f3d2c8777defe2f814acb
7a3c5280f07ceb5eabbb7c38fe864c3288397a26
/pilgram/css/blending/tests/test_soft_light.py
a8da18c2c45f774217789bdcf8708c310e9ea4f7
[ "Apache-2.0" ]
permissive
asharpc/pilgram
17443db1bc4e51d07eb36680138806603cc1b839
c585ca4f7f08549842befdcd05dd7d9972f7b0a2
refs/heads/master
2023-08-30T03:45:33.196127
2021-10-12T04:58:58
2021-10-12T04:58:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,332
py
# Copyright 2019 Akiomi Kamakura # # 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 writi...
[ "akiomik@gmail.com" ]
akiomik@gmail.com
824eaef60b468f8583973a13aa291b47f2721308
e0597a144cfdcecc72e97b149ff5b1e4e90d1c6d
/src/metapack_build/package/__init__.py
9b22d2a38b3487f8e07fda168b906cabcab03408
[ "MIT" ]
permissive
Metatab/metapack-build
e7f684e924c732c1f25472d0b4ce70847260d154
5e47728c5fc41b9dd1d4d6ef82bbfb67a1d9f953
refs/heads/master
2022-11-13T17:09:44.338504
2022-11-10T21:10:07
2022-11-10T21:10:07
185,630,844
0
0
null
null
null
null
UTF-8
Python
false
false
487
py
# Copyright (c) 2017 Civic Knowledge. This file is licensed under the terms of the # MIT License, included in this distribution as LICENSE """ """ from metapack.package import Downloader, open_package # NOQA from .core import PackageBuilder # NOQA from .csv import CsvPackageBuilder # NOQA from .excel import Excel...
[ "eric@civicknowledge.com" ]
eric@civicknowledge.com
4bffd584589c2250a04486cee649559d807811e8
6e2487477765a38604cc94ca96af4774dbd88f58
/hc/api/tests/test_admin.py
86a7db1e3e00c9b71ff78700e6c3a8c088e52554
[ "BSD-3-Clause" ]
permissive
herbertUG/healthchecks
e247428012ef8e0c79fe3fe44567b6f9eaf9b298
1cdb6e6d1d1a5bed7026132ed316213e60cb6be1
refs/heads/master
2020-09-28T08:56:17.415441
2019-12-06T06:58:32
2019-12-06T06:58:32
226,740,247
4
0
BSD-3-Clause
2019-12-08T22:20:23
2019-12-08T22:20:21
null
UTF-8
Python
false
false
1,080
py
from hc.api.models import Channel, Check from hc.test import BaseTestCase class ApiAdminTestCase(BaseTestCase): def setUp(self): super(ApiAdminTestCase, self).setUp() self.check = Check.objects.create(project=self.project, tags="foo bar") self.alice.is_staff = True self.alice.is_s...
[ "cuu508@gmail.com" ]
cuu508@gmail.com
4f3c2f3566543195b8bf42f7c494580c1a518f9d
fb744d622b947cba3f167bf8b8da810c34ded83d
/run.py
5cbf62bfa20333878ba812ecfb2f043e28a24949
[]
no_license
petres/septupus
8f0f1e7ab7658ee03bd53d66c19db1a412ff1b0e
be83d3c5029ca6d2ce3f72a48c03114fb8535566
refs/heads/master
2023-05-28T20:52:09.223214
2023-02-23T22:46:03
2023-02-23T22:46:03
195,785,991
0
0
null
2023-05-24T01:31:32
2019-07-08T10:03:06
Python
UTF-8
Python
false
false
1,274
py
#!/usr/bin/env python from web import WebManager from flask import request import threading from lib.multiManager import MultiManager from lib.camera.cameraManager import CameraManager from lib.robot.robotManager import RobotManager from lib.robot.serialManager import SerialManager from lib.games.spaceInvadersManager i...
[ "peter.reschenhofer@gmail.com" ]
peter.reschenhofer@gmail.com
e8930236dbe18fffb17fe6b8fe61950997e6c864
26bd175ffb3bd204db5bcb70eec2e3dfd55fbe9f
/exercises/networking_selfpaced/networking-workshop/collections/ansible_collections/community/general/tests/unit/modules/network/ironware/test_ironware_facts.py
e29b4db64b06c1907d83fd2341f728677407fc96
[ "GPL-3.0-only", "MIT", "CC0-1.0", "GPL-1.0-or-later" ]
permissive
tr3ck3r/linklight
37814ed19173d893cdff161355d70a1cf538239b
5060f624c235ecf46cb62cefcc6bddc6bf8ca3e7
refs/heads/master
2021-04-11T04:33:02.727318
2020-03-25T17:38:41
2020-03-25T17:38:41
248,992,437
0
0
MIT
2020-03-21T14:26:25
2020-03-21T14:26:25
null
UTF-8
Python
false
false
4,806
py
# (c) 2016 Red Hat Inc. # # This file is part of Ansible # # Ansible 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 of the License, or # (at your option) any later version. # # Ansible is dis...
[ "joshuamadison+gh@gmail.com" ]
joshuamadison+gh@gmail.com
2e733eb8587c4253faf3b6e89cc778fd0e48feb9
8bccc05fcb3cfc6ed93991927a514a96f53f7ec0
/old_version/candidate_selection/tensorflow_models/components/vector_encoders/multilayer_perceptron.py
0ea714aca10a4f774d400220f89e347aca98eb8a
[ "MIT" ]
permissive
afcarl/QuestionAnsweringGCN
54101c38549405d65ef22e38fed9e5bd58122ada
e9c1987b40a553f0619fa796f692c8880de32846
refs/heads/master
2020-03-20T10:35:55.729170
2018-06-07T11:45:12
2018-06-07T11:45:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,082
py
import numpy as np import tensorflow as tf from candidate_selection.tensorflow_models.components.abstract_component import AbstractComponent class MultilayerPerceptron(AbstractComponent): transforms = None variable_prefix = None variables = None weights = None biases = None l2_scale = None ...
[ "michael.sejr@gmail.com" ]
michael.sejr@gmail.com
c2530ceda5d20dbbc5a7f5eb0707c0cf79756021
7ac2ba90f973f5230a046cc7b72ad3056554e6d4
/pyswagger/contrib/client/requests.py
8e877e11173c27eed403ecefc6924002f3e45f9e
[ "MIT" ]
permissive
larscwallin/pyswagger
1d38faef430dfc5c4ccb0e288541544248eb3326
1e07d52d0ce342b7183319ebc9c1ddc51a78577e
refs/heads/master
2020-02-26T13:27:51.525526
2014-10-22T11:01:26
2014-10-22T11:01:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,333
py
from __future__ import absolute_import from ...core import BaseClient from requests import Session, Request import six class Client(BaseClient): """ Client implementation based on requests """ def __init__(self, auth=None): """ """ super(Client, self).__init__(auth) self._...
[ "missionaryliao@gmail.com" ]
missionaryliao@gmail.com
3e299aab3601833fdc7272c15795f37dbf3e61b9
255021fadf9f739db042809ca95f5b9f75609ec5
/D3/3376 파도반 수열.py
f2c65b6a4faecf7ea3da169bf4c90873e1a40770
[]
no_license
unsung107/Algorithm_study
13bfff518fc1bd0e7a020bb006c88375c9ccacb2
fb3b8563bae7640c52dbe9324d329ca9ee981493
refs/heads/master
2022-12-13T02:10:31.173333
2020-09-13T11:32:10
2020-09-13T11:32:10
295,137,458
0
0
null
null
null
null
UTF-8
Python
false
false
340
py
padoban = [] for i in range(100): if i <= 2: padoban.append(1) elif i <= 4: padoban.append(2) else: padoban.append(padoban[i - 1] + padoban[i - 5]) results = [] for rounds in range(int(input())): num = int(input()) results.append(f'#{rounds + 1} {padoban[num - 1]}') print(...
[ "unsung102@naver.com" ]
unsung102@naver.com
8c588d45717f6bd6101922802c938990ea431eff
55a273347cb103fe2b2704cb9653956956d0dd34
/code/tmp_rtrip/test/test_pkgimport.py
792cf3d14675d94179d159006b840859501355be
[ "MIT" ]
permissive
emilyemorehouse/ast-and-me
4af1bc74fc967ea69ac1aed92664f6428acabe6a
3f58117512e125e1ecbe3c72f2f0d26adb80b7b3
refs/heads/master
2022-11-18T03:50:36.505882
2018-05-12T17:53:44
2018-05-12T17:53:44
115,035,148
25
1
MIT
2022-11-04T11:36:43
2017-12-21T18:27:19
Python
UTF-8
Python
false
false
2,404
py
import os import sys import shutil import string import random import tempfile import unittest from importlib.util import cache_from_source from test.support import create_empty_file class TestImport(unittest.TestCase): def __init__(self, *args, **kw): self.package_name = 'PACKAGE_' while self.pa...
[ "emily@cuttlesoft.com" ]
emily@cuttlesoft.com
d8c3c5cdd9933763803433ce5b76cc6d0c2c328f
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/education/azure-mgmt-education/azure/mgmt/education/aio/operations/_operations.py
369e23054c0cb208284134ebbe6f6929b0453fc8
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
4,564
py
# pylint: disable=too-many-lines # 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) AutoRe...
[ "noreply@github.com" ]
Azure.noreply@github.com
f8953b3dc628c752016e48ddd21004f39880c333
68f0fe638c9cab6fb01a21bbf5da9beb2833f9c7
/zfrobisher-installer/src/viewer/viewer.py
fad12f94addb7da6db3ed7640a1398de8dab2e48
[]
no_license
fedosu85nce/work
cd7a8545211cdeafba6ff820ce27cacdd52668d5
1c738fd5e6ee3f8fd4f47acf2207038f20868212
refs/heads/master
2021-01-15T17:45:31.878900
2015-04-09T10:02:55
2015-04-09T10:02:55
31,659,550
2
0
null
null
null
null
UTF-8
Python
false
false
6,280
py
# # Code # class Viewer(object): """ Base interface for KoP installer viewer """ def getMenu(self): """ Creates and returns a Menu screen object @rtype: Menu @returns: screen object """ raise NotImplementedError("getMenu not implemented") # getMenu...
[ "twu@gmail.com" ]
twu@gmail.com
c3264ac3ec8ee90688ca8d7c237485a05abdffa0
490ffe1023a601760ae7288e86723f0c6e366bba
/kolla-docker/zun-ui/zun_ui/api/rest_api_providerregion.py
057018392db5c00f90f8d641943c030ace74da17
[ "Apache-2.0" ]
permissive
bopopescu/Cloud-User-Management
89696a5ea5d2f95191327fbeab6c3e400bbfb2b8
390988bf4915a276c7bf8d96b62c3051c17d9e6e
refs/heads/master
2022-11-19T10:09:36.662906
2018-11-07T20:28:31
2018-11-07T20:28:31
281,786,345
0
0
null
2020-07-22T21:26:07
2020-07-22T21:26:06
null
UTF-8
Python
false
false
3,580
py
# 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, software # d...
[ "Mr.Qinlichao@hotmail.com" ]
Mr.Qinlichao@hotmail.com
cc965e537aaab0e3ead7413323732bd1789e1d8a
49cb44cfe9b4cd382d8a7d10e1719de69e356ed9
/scripts/ch6/doFindAnronovHopfBifucationPointINapIKLowThreshold.py
de1dca0d51e4920df4c52bdd56e6062cdca36559
[]
no_license
joacorapela/figsResultsAndErrorsFromIzhikevich2007
913a25ff10479b04fa657cea013226766bef730c
2c04cacbaa94485168926ddc7e343207beb033b9
refs/heads/master
2022-01-28T15:26:30.122964
2022-01-21T19:56:52
2022-01-21T19:56:52
150,012,910
2
0
null
null
null
null
UTF-8
Python
false
false
2,280
py
import sys import numpy as np import pdb import matplotlib.pyplot as plt from INapIKModel import INapIKModel def main(argv): i0 = 0 v0 = -70.0 vf = -50.0 dv = 1e-3 deltaAnnotate = 0.3 def i(t): return(i0) iNapIKModel = INapIKModel.getLowThresholdInstance(i=i) vs = np.arange(v0, vf, dv...
[ "joacorapela@gmail.com" ]
joacorapela@gmail.com
bd196701ca9cec3ecb32a2718c4300597e17e4ad
461d6e951b9904a3248f974842e70b01da464afb
/0x02-python-import_modules/3-infinite_add.py
ed89ea180217ad3aff0375dd7cb083f45dc11bfa
[]
no_license
diego0096/holbertonschool-higher_level_programming
76e27997aabb966488e8610837cbd39b2ee0ac8f
e89de4a988acac492670ada8c9c6d5f5d940a1d2
refs/heads/master
2020-09-29T00:58:11.432351
2020-05-15T02:15:08
2020-05-15T02:15:08
226,907,227
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
#!/usr/bin/python3 if __name__ == "__main__": from sys import argv sum = 0 for c in range(1, len(argv)): sum += int(argv[c]) print("{}".format(sum))
[ "dfqz93@hotmail.com" ]
dfqz93@hotmail.com
0cc835788b39e16f4c18709bb19ea70716d6eccf
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/response/MybankPaymentTradeNormalpayOrderRefundResponse.py
0704e0638c37464d8e3cb62748e4b75c1470ee65
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
1,651
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class MybankPaymentTradeNormalpayOrderRefundResponse(AlipayResponse): def __init__(self): super(MybankPaymentTradeNormalpayOrderRefundResponse, self).__init__() self._opera...
[ "jiandong.jd@antfin.com" ]
jiandong.jd@antfin.com
55601c8bb38d719b6102c5fb2c751d1dd5cd13d0
5bce1118b13289308d23510f323c79aa972ddc27
/src/modules/irisv2/message/testAndPreviewDBAssertion.py
4c27a9dcebe7eaf26d5833febc6fc2e93b8fee11
[]
no_license
anupsl/pyApps
62b64b90723de32684bbabee402220317a4fe817
2651d502c366b87449a0c977a9876cc32521c57c
refs/heads/master
2022-07-03T05:49:12.828630
2020-05-10T17:25:26
2020-05-10T17:25:26
255,157,123
0
0
null
null
null
null
UTF-8
Python
false
false
1,507
py
import time from src.dbCalls.campaignShard import list_Calls from src.dbCalls.messageInfo import message_calls from src.modules.irisv2.list.createAudienceDBAssertion import CreateAudienceDBAssertion from src.modules.irisv2.message.authorizeMessageDbAssertion import AuthorizeMessageDBAssertion class PreviewDBAssertio...
[ "anup@CAP-LAP-450.local" ]
anup@CAP-LAP-450.local
4721727fb57a7576274589538fe2043374a72c05
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_109/ch178_2020_08_14_14_36_55_463698.py
0fdcafae5574c8b94fafe555c0e97a93b5af8c7a
[]
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
409
py
def junta_nomes(homens, mulheres, sobrenomes): nomes_possiveis = [] for i in range(len(homens)): for p in range(len(sobrenomes)): nomes_possiveis.append(homens[i] + ' ' + sobrenomes[p]) for i in range(len(mulheres)): for p in range(len(sobrenomes)): ...
[ "you@example.com" ]
you@example.com