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
ba481849f965390fabf10847601ba3c76504f727
d83fde3c891f44014f5339572dc72ebf62c38663
/_bin/google-cloud-sdk/lib/surface/auth/git_helper.py
a6de47988f9275251814caa2adbdd0f03ea1bbf4
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
gyaresu/dotfiles
047cc3ca70f4b405ba272856c69ee491a79d2ebe
e5e533b3a081b42e9492b228f308f6833b670cfe
refs/heads/master
2022-11-24T01:12:49.435037
2022-11-01T16:58:13
2022-11-01T16:58:13
17,139,657
1
1
null
2020-07-25T14:11:43
2014-02-24T14:59:59
Python
UTF-8
Python
false
false
7,848
py
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "me@gareth.codes" ]
me@gareth.codes
73ed73e44e73439d953db9d8d3334a723e946c93
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5690574640250880_0/Python/Happyhobo/CodeJam3.py
fe5fdd5190ca94a238e7b72e0ea17a400cf4d3f6
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
2,406
py
import numpy def read_words(afile): words = [] for line in afile: words.append(line.strip()) return words filename = open('test3.txt' , 'r') T = filename.readline() #num test cases aList = read_words(filename) # array where each element is a line of text for i in range(int(T)): DatBool =...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
50f968620da3bb69ec9ff59baa71aa542d668235
ebd5c4632bb5f85c9e3311fd70f6f1bf92fae53f
/PORMain/pirates/minigame/LegendaryFishingGameGUI.py
1b9bffa381197471b8c011b498eefdbcb8d710c7
[]
no_license
BrandonAlex/Pirates-Online-Retribution
7f881a64ec74e595aaf62e78a39375d2d51f4d2e
980b7448f798e255eecfb6bd2ebb67b299b27dd7
refs/heads/master
2020-04-02T14:22:28.626453
2018-10-24T15:33:17
2018-10-24T15:33:17
154,521,816
2
1
null
null
null
null
UTF-8
Python
false
false
17,881
py
from panda3d.core import NodePath, Point3, TextNode, TransparencyAttrib # File: L (Python 2.4) from direct.gui.DirectGui import DGG from pirates.piratesgui.GuiButton import GuiButton from direct.gui.DirectGui import * from direct.gui.OnscreenImage import OnscreenImage from direct.interval.IntervalGlobal import Sequenc...
[ "brandoncarden12345@gmail.com" ]
brandoncarden12345@gmail.com
27bce40eb00843c6f791dc8adf01ae91b3eeee8a
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/hand/feel_number.py
9afaf5fa9d6f81f5b729c8617739ec9961ab3214
[]
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
231
py
#! /usr/bin/env python def first_woman(str_arg): old_company_and_old_person(str_arg) print('large_part') def old_company_and_old_person(str_arg): print(str_arg) if __name__ == '__main__': first_woman('company')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
6a1e0d8c09d12eef9a7b587992ab35cc802c6aac
e4b683644435aaf83ab8fe7693b97f1e105fa64d
/Escritorio/PCM raspberry - python/primer lab/logo1.py
2de57d5658dd28cc0daa6711a111029e3964585f
[]
no_license
brayanjav28/brayanjav28.github.com
138afed08f79c131ae43f25ac117df687354d04f
9bb40c24e1b4ef38654b3b144a49de9a84641efd
refs/heads/main
2023-07-14T13:40:09.865405
2021-08-27T19:38:47
2021-08-27T19:38:47
334,521,700
0
0
null
null
null
null
UTF-8
Python
false
false
87,847
py
# -*- coding: utf-8 -*- # Resource object code # # Created by: The Resource Compiler for PyQt5 (Qt v5.12.3) # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore qt_resource_data = b"\ \x00\x00\x51\xd0\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x02\x58\x...
[ "brayan.saldarriaga@unillanos.edu.co" ]
brayan.saldarriaga@unillanos.edu.co
a93e4abe550ba336b0cdf4e7b99e7c15650f6699
c2471dcf74c5fd1ccf56d19ce856cf7e7e396b80
/chap18/7.py
85f6866c5e65a7135fffd437e19b223b3aebc982
[]
no_license
oc0de/pythonEpi
eaeef2cf748e6834375be6bc710132b572fc2934
fb7b9e06bb39023e881de1a3d370807b955b5cc0
refs/heads/master
2021-06-18T05:33:19.518652
2017-07-07T04:34:52
2017-07-07T04:34:52
73,049,450
0
0
null
null
null
null
UTF-8
Python
false
false
555
py
def getMaxTrappedWater(heights): area, leftSide, rightSide = 0, 0, len(heights)-1 while leftSide < rightSide: area = max(area, (rightSide - leftSide) * min(heights[leftSide], heights[rightSide])) if heights[leftSide] == heights[rightSide]: leftSide += 1 rightSide -= 1 ...
[ "valizade@mail.gvsu.edu" ]
valizade@mail.gvsu.edu
a04bf390873d12346090bcdfc646ee211bab7aba
b0885fde23fff880927c3a6248c7b5a33df670f1
/models/im_vev/main.py
0b15b743f659dcb7a2b8c0f1b5b760da910f9d0f
[]
no_license
mrsalehi/paraphrase-generation
ceb68200e9016c5f26036af565fafa2d736dc96b
3e8bd36bd9416999b93ed8e8529bfdf83cf4dcdd
refs/heads/master
2020-07-22T03:50:40.343595
2019-08-26T11:29:08
2019-08-26T11:29:08
207,065,580
7
0
null
null
null
null
UTF-8
Python
false
false
181
py
import fire from models import im_vev from models.neural_editor.main import ModelRunner if __name__ == '__main__': cls = ModelRunner cls.model = im_vev fire.Fire(cls)
[ "ub.maka@gmail.com" ]
ub.maka@gmail.com
0de082a9ee3fba6fa27326ee1526cdb560e9aca6
ac2539764372920ca4b020d614113a6b1a0b3ee4
/tests/test_signals.py
d9ce62546a5960ec2d78e6048c105001aed2ed0c
[ "MIT" ]
permissive
vint21h/django-read-only-admin
15f16643b242983fa9895c7ac03777eb7c52a2d1
e3edebb2081a50b9da708e06d3cbd5fb953cf66c
refs/heads/master
2022-10-22T23:25:31.237026
2022-02-19T20:29:19
2022-02-19T20:29:19
92,436,831
31
3
MIT
2023-09-05T06:49:28
2017-05-25T19:23:19
Python
UTF-8
Python
false
false
1,261
py
# -*- coding: utf-8 -*- # django-read-only-admin # tests/test_signals.py from typing import List from django.conf import settings from django.test import TestCase from django.contrib.auth.models import Permission __all__: List[str] = ["AddReadOnlyPermissionsSignalTest"] class AddReadOnlyPermissionsSignalTest(Te...
[ "vint21h@vint21h.pp.ua" ]
vint21h@vint21h.pp.ua
24671efa7e3468d3798e40da790f8d1a264cf66d
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/redreader/testcase/firstcases/testcase5_009.py
288f69cb7bbc2f5180dbb679b3cd09b65cfe78cb
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
3,526
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
39657f18a60d6a07a7a1e0bfb3a58854408a6032
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/scripts/client/gui/impl/gen/view_models/views/lobby/tank_setup/sub_views/battle_ability_by_rank_model.py
87375e758b4042c2f99e94cf2b6b6b3daa6b9bcb
[]
no_license
StranikS-Scan/WorldOfTanks-Decompiled
999c9567de38c32c760ab72c21c00ea7bc20990c
d2fe9c195825ececc728e87a02983908b7ea9199
refs/heads/1.18
2023-08-25T17:39:27.718097
2022-09-22T06:49:44
2022-09-22T06:49:44
148,696,315
103
39
null
2022-09-14T17:50:03
2018-09-13T20:49:11
Python
UTF-8
Python
false
false
970
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/impl/gen/view_models/views/lobby/tank_setup/sub_views/battle_ability_by_rank_model.py from frameworks.wulf import Array from frameworks.wulf import ViewModel class BattleAbilityByRankModel(ViewModel): __slots__ = () de...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
bce95d31c8695ad1fa989acb3e2073da221c378f
1876bd32763cf34b2856067a3efc513043d4c7c8
/test_graph/test_ping_an.py
d8f0c7e4d2f55a909c09abcdc0820536f3f395e1
[]
no_license
chntylz/a_stock
fdc40b7ab71551246c47636a0c3e81de03b46bb6
ed6e627941c580e353c0255027b18ebd9a8b7367
refs/heads/master
2023-09-01T17:32:32.427766
2020-04-30T08:11:32
2020-04-30T08:11:32
181,991,066
0
0
null
null
null
null
UTF-8
Python
false
false
1,508
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import matplotlib as mpl mpl.use('Agg') import matplotlib.pyplot as plt import numpy as np import sys reload(sys) #sys.setdefaultencoding('utf-8') sys.setdefaultencoding("ISO-8859-1") #先引入后面分析、可视化等可能用到的库 import tushare as ts import pandas as pd import matplotlib.pyp...
[ "you@example.com" ]
you@example.com
cd87bbf2f41c52e0d7fb748c7b2ab38248071680
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/togeth.py
c7b87096b528673b038eb8d729d0786b8fdf3ece
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
3,010
py
ii = [('BentJDO2.py', 8), ('EmerRN.py', 2), ('CookGHP3.py', 29), ('LyelCPG2.py', 25), ('MarrFDI.py', 16), ('RogePAV2.py', 68), ('CoolWHM2.py', 31), ('KembFFF.py', 6), ('GodwWSL2.py', 53), ('ChanWS.py', 15), ('RogePAV.py', 110), ('SadlMLP.py', 39), ('FerrSDO3.py', 17), ('WilbRLW.py', 26), ('WilbRLW4.py', 23), ('RennJIT....
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
1cccddc5d4e189acca30eb11613f38f6b8432298
1435fbd464173836c20127041de90cba0d80c98d
/tests/test_cli.py
8996f738ccb552db12c5e7e518becf0d8d1ffd33
[ "BSD-2-Clause" ]
permissive
pkuyangchao/redash
871b88eaea74c6cc31c50a9f82fd6d3aaf8508ca
1640b1e927a4d10ce9ae5c24b2d015734c696b08
refs/heads/master
2023-02-06T09:58:45.547843
2020-03-26T16:36:00
2020-03-26T16:36:00
249,176,715
0
0
null
2023-02-02T02:19:24
2020-03-22T12:17:44
Python
UTF-8
Python
false
false
19,318
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import mock import textwrap from click.testing import CliRunner from tests import BaseTestCase from redash.utils.configuration import ConfigurationContainer from redash.query_runner import query_runners from redash.cli import manager from redash.models import DataSource, G...
[ "hexiaomeng@foxmail.com" ]
hexiaomeng@foxmail.com
de256567ccbf150b172472ffc6149f20b4a0731a
98b63e3dc79c75048163512c3d1b71d4b6987493
/tensorflow/compiler/mlir/tfr/define_op_template.py
c0db2981d2d94a0038a84163cbce6046af8101db
[ "Apache-2.0" ]
permissive
galeone/tensorflow
11a4e4a3f42f4f61a65b432c429ace00401c9cc4
1b6f13331f4d8e7fccc66bfeb0b066e77a2b7206
refs/heads/master
2022-11-13T11:56:56.143276
2020-11-10T14:35:01
2020-11-10T14:35:01
310,642,488
21
12
Apache-2.0
2020-11-06T16:01:03
2020-11-06T16:01:02
null
UTF-8
Python
false
false
2,035
py
# Copyright 2020 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
251b5275354616a26f43a0708768174bcecb4e68
e6aace98e7b21cbdd1019b7323c11ebc41217af7
/Django/api1203/lxzapi/serializers.py
cdaaaad110bd8b4480a6ce5ae9f48bf2633a2495
[]
no_license
robinlxz/Python_excercise
8f61e41614755c01b0a523db4caa1b78e31f28e2
db0daf0da5b45067d70daf285271a3f7c2d4f55f
refs/heads/master
2021-06-29T16:59:35.902048
2020-10-05T07:38:03
2020-10-05T07:38:03
152,209,939
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
from rest_framework import serializers from lxzapi.models import Lead class LeadSerializer(serializers.ModelSerializer): class Meta: model = Lead fields = ('id', 'name', 'email')
[ "linxz@garena.com" ]
linxz@garena.com
30c57638693393a4e5cb09367880791d16209c9a
2b54b1fb1540ab73d6c83cae3acd5fdd58bdead5
/Platinum_clusters_Project/BE_Vs_diffstructures_Pt10_Pt10CO/bin/Ptoxides_arrangestru_Vs_energyorder_extra.py
3ae442dc73ad12fc2bcb30c1e4147b7bd73e952d
[]
no_license
sivachiriki/GOFEE_Pt_V_supported
5787d44294262870075f35f2d31c096021b7ce20
6bd700dac1f3e7c58394b758d75246ac6e07eade
refs/heads/master
2022-04-08T11:38:13.038455
2020-03-09T10:48:31
2020-03-09T10:48:31
226,359,812
0
0
null
null
null
null
UTF-8
Python
false
false
16,583
py
from __future__ import division import matplotlib #matplotlib.use('Agg') # Can also use 'tkagg' or 'webagg' #from plot_neb_tio2 import * from matplotlib.offsetbox import TextArea, VPacker, AnnotationBbox import matplotlib.patches as patches from math import ceil, floor import matplotlib.pyplot as plt from ase.io impor...
[ "sivachiriki@phys.au.dk" ]
sivachiriki@phys.au.dk
f3410b1a32f31f521ac07230f9185f5d98a9d39c
195cdab2f180ced13b0e4c097ab75a565a5eb1d7
/fhir/resources/basic.py
9c0718f03af5b134957b7eecd6549684507676be
[ "BSD-3-Clause" ]
permissive
chgl/fhir.resources
18166d7297a23ef0c144023fb5ba1d46b7bd2527
35b22314642640c0b25960ab5b2855e7c51749ef
refs/heads/master
2023-03-09T08:16:38.287970
2021-02-13T11:10:03
2021-02-13T11:10:03
341,916,191
0
0
NOASSERTION
2021-02-24T13:52:58
2021-02-24T13:52:58
null
UTF-8
Python
false
false
3,007
py
# -*- coding: utf-8 -*- """ Profile: http://hl7.org/fhir/StructureDefinition/Basic Release: R4 Version: 4.0.1 Build ID: 9346c8cc45 Last updated: 2019-11-01T09:29:23.356+11:00 """ import typing from pydantic import Field from . import domainresource, fhirtypes class Basic(domainresource.DomainResource): """Discl...
[ "connect2nazrul@gmail.com" ]
connect2nazrul@gmail.com
189b517adaf6ebba2d2200dec87b89e935717efe
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/e4ea999e6dc842e98c29787cac4b7c7c24a565ee-<what_provides>-fix.py
0b8464873610e33bcb099043f535f690142b8227
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,856
py
def what_provides(module, repoq, req_spec, conf_file, qf=def_qf, en_repos=None, dis_repos=None, installroot='/'): if (en_repos is None): en_repos = [] if (dis_repos is None): dis_repos = [] if (not repoq): pkgs = [] try: my = yum_base(conf_file, installroot) ...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
783c66a504296f0e148ed98d17a930adf823cb84
7d6f540559d3d0438c980b688439553ca67c5d33
/esrgan_pytorch/loss.py
420f965eba05ca17fb82e013ac9dfebe25c65118
[ "Apache-2.0" ]
permissive
RheaStrike/ESRGAN-PyTorch
0b62d4f2268bb072024080b534d1f1651f2c6054
2fd02431e88cbcec533c9c1794ec0980cb2d3084
refs/heads/master
2023-07-06T08:10:15.803935
2021-08-13T07:43:51
2021-08-13T07:43:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,456
py
# Copyright 2021 Dakewe Biotech 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.apache.org/licenses/LICENSE-2.0 # # Unless required by...
[ "liuchangyu1111@gmail.com" ]
liuchangyu1111@gmail.com
ca84877336a32ce13eaf58fb125401a9b9585a26
2186fdd8350d6dc72340a65c2cc1d345c2c51377
/Python/Flask_MySQL/Friends/server.py
c6d0d7572c413d617edf8c5558b82bb6a7236a32
[]
no_license
umanav/Lab206
2b494712b59585493e74c51089223696729eb716
31f0b098aa6722bbf7d2ad6e619fa38f29cab4d5
refs/heads/master
2020-03-10T07:54:25.904503
2018-04-12T15:37:20
2018-04-12T15:37:20
129,273,399
0
0
null
null
null
null
UTF-8
Python
false
false
2,727
py
from flask import Flask, request, redirect, render_template, session, flash from mysqlconnection import MySQLConnector app = Flask(__name__) mysql = MySQLConnector(app,'friendsdb') # PRINT THE RESULTS # @app.route('/') # def index(): # friends = mysql.query_db("SELECT * FROM friends") # print friends # retu...
[ "umanav@amazon.com" ]
umanav@amazon.com
3b2b7ab047d9c7dcc6d3ab362ce8dfa58a724910
ca8dc4d5b6168648cf8a842fc27191fec3597a09
/venv/lib/python3.6/site-packages/pykalman/sqrt/cholesky.py
e7abceb688758e850131901bdfe5a2810928b2e9
[ "MIT" ]
permissive
iefuzzer/vnpy_crypto
293a7eeceec18b934680dafc37381d1f5726dc89
d7eed63cd39b1639058474cb724a8f64adbf6f97
refs/heads/master
2020-03-26T20:13:38.780107
2018-09-10T06:09:16
2018-09-10T06:09:16
145,311,871
3
0
MIT
2018-09-10T06:09:18
2018-08-19T14:48:32
Python
UTF-8
Python
false
false
29,721
py
""" ===================================== Inference for Linear-Gaussian Systems ===================================== This module implements the Kalman Filter in "Square Root" form (Cholesky factorization). """ import warnings import numpy as np from scipy import linalg from ..standard import _arg_or_default, _deter...
[ "panwei303031816@gmail.com" ]
panwei303031816@gmail.com
5440258e4b5db4b0b2b20ec4bdc62cac15833350
ba8e9235d5385d49d94be4347283e1a9550dc4ee
/progressivedme/commands/__init__.py
7fdfa3e2ebc21ab14900a8fccf89f89516dd6239
[ "Apache-2.0" ]
permissive
navdeepghai1/progressivedme
2e29340d782d6cc610fd42c13307b0328db0dfa4
092dc6581739d8c2a603a27f144f7849f44b7f6c
refs/heads/master
2020-10-02T03:39:57.746107
2020-01-09T19:57:43
2020-01-09T19:57:43
227,692,994
0
0
NOASSERTION
2019-12-12T20:47:11
2019-12-12T20:43:36
Python
UTF-8
Python
false
false
2,063
py
''' Developer Navdeep Email navdeepghai1@gmail.com ''' import frappe import click from frappe.commands import pass_context def connect_to_default_site(context): flag = False if(context.get("sites")): for site in context.get("sites") or []: if site == "progressivedme.com": frappe.init(site) frappe.conn...
[ "navdeepghai1@gmail.com" ]
navdeepghai1@gmail.com
0d60371386e984a6cd363da62cd98a73a2c2f095
d514a015b100c4c3a663056661e9c3c223c1c2a8
/common/models/food/FoodCat.py
e1be778c082c98e9bee7e8d49b5de60e261a3b54
[]
no_license
462548187/order
63f3c8f570a241772c3dcf003c811044a6f5ed9d
a62f386e7661bfd7e01253203f324da48c52a331
refs/heads/master
2022-07-31T00:52:38.225530
2020-05-20T17:01:14
2020-05-20T17:01:14
263,845,065
0
0
null
null
null
null
UTF-8
Python
false
false
940
py
# coding: utf-8 from sqlalchemy import Column, DateTime, Integer, String from sqlalchemy.schema import FetchedValue from application import app, db class FoodCat(db.Model): __tablename__ = 'food_cat' id = db.Column(db.Integer, primary_key=True, unique=True) name = db.Column(db.String(50), nullable=False...
[ "462548187@qq.com" ]
462548187@qq.com
2f177f50a154a64f9e8b9dd45774e284acd54425
e82b761f53d6a3ae023ee65a219eea38e66946a0
/All_In_One/addons/kk_bullet_constraints_builder/tools.py
d2d45cb6c8fd1ca8f2a872b2a17a43c5d15f35c0
[]
no_license
2434325680/Learnbgame
f3a050c28df588cbb3b14e1067a58221252e2e40
7b796d30dfd22b7706a93e4419ed913d18d29a44
refs/heads/master
2023-08-22T23:59:55.711050
2021-10-17T07:26:07
2021-10-17T07:26:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
99,785
py
############################## # Bullet Constraints Builder # ############################## # # Written within the scope of Inachus FP7 Project (607522): # "Technological and Methodological Solutions for Integrated # Wide Area Situation Awareness and Survivor Localisation to # Support Search and Rescue (USaR) Teams" #...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
1dafd61647db62c55f7cab3f7b2b67df9151ca73
e3b9aa9b17ebb55e53dbc4fa9d1f49c3a56c6488
/sentinelone/komand_sentinelone/actions/create_ioc_threat/action.py
f7fa82914edb59417d74e5642644ea47ef481e01
[ "MIT" ]
permissive
OSSSP/insightconnect-plugins
ab7c77f91c46bd66b10db9da1cd7571dfc048ab7
846758dab745170cf1a8c146211a8bea9592e8ff
refs/heads/master
2023-04-06T23:57:28.449617
2020-03-18T01:24:28
2020-03-18T01:24:28
248,185,529
1
0
MIT
2023-04-04T00:12:18
2020-03-18T09:14:53
null
UTF-8
Python
false
false
903
py
import komand from .schema import CreateIocThreatInput, CreateIocThreatOutput, Input, Output # Custom imports below class CreateIocThreat(komand.Action): def __init__(self): super(self.__class__, self).__init__( name='create_ioc_threat', description='Create an IOC threat',...
[ "jonschipp@gmail.com" ]
jonschipp@gmail.com
6976e20d3a730322403f2a2a6ea9fee47588b3b0
72db92bc7f1794495c2bb4ed5451e9cb693b6489
/final_graduation/controller/__init__.py
6b18c921173f238552d4e84b7a56d72ace3b6060
[]
no_license
susautw/flask_restful
fcb00fdcfe2d2117c7da0d0c770c7241a26917b5
e75a8055178dc87a581530a815849d665ed7fda2
refs/heads/master
2022-12-27T13:45:29.533184
2020-05-24T17:22:37
2020-05-24T17:22:37
303,327,955
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
__all__ = [ 'HelloWorld', 'CategoryController', 'CategoryItemController', 'JudgeController', 'JudgeItemController', 'ReportController', 'ReportItemController', 'ReportItemGetByIdController' ] from .hello_world import HelloWorld from .category import CategoryController, CategoryItemController from .judg...
[ "susautw@gmail.com" ]
susautw@gmail.com
4574101f29caeb4dfa9c8e02ea2cdb5c70071e7e
28bb1dda3010ab719ec537bcc63a5ed1491d148d
/modules training/pytest module/skip/test_operations.py
b959ac0ad729f7f434aa21162803736394df2bd3
[]
no_license
dawidsielski/Python-learning
86db2ff782aab13ff6dc44b1ce9295fc7c186e20
4aabf4d63906fb1d2379bbd401e9ac7484766198
refs/heads/master
2021-01-13T10:35:20.913601
2018-02-24T11:52:06
2018-02-24T11:52:06
76,497,517
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
import operations import pytest import sys def test_multiplication(): result = operations.multiplication(3, 6) assert result == 18 @pytest.mark.skipif(sys.version_info > (3,0), reason = "No reason.") def test_subtraction(): result = operations.subtraction(3, 6) assert result == -3 @pytest.mark.skip(r...
[ "dawid.sielski@outlook.com" ]
dawid.sielski@outlook.com
1b6d3309f1e02c969ec09a153c9f69930c87b997
4cca59f941adce8a2d71c00c0be5c06857f88dcc
/snisi_malaria/management/commands/fill_weekly_malaria_routine_cluster.py
3ba75446236dbd2e57ba4626718d7942092526bc
[ "MIT" ]
permissive
brahimmade/snisi
7e4ce8e35150f601dd7b800bc422edec2d13063d
b4d0292b3314023ec9c984b776eaa63a0a0a266f
refs/heads/master
2023-05-07T19:04:04.895987
2017-12-29T18:58:22
2017-12-29T18:58:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,042
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # vim: ai ts=4 sts=4 et sw=4 nu from __future__ import (unicode_literals, absolute_import, division, print_function) import logging from django.core.management.base import BaseCommand from snisi_core.models.Entities import Entity from snisi_core.m...
[ "rgaudin@gmail.com" ]
rgaudin@gmail.com
2e321e21034ad3f0f4e81b8f9b084ca31166a941
e8a50e2e9f103fbf334b098fb6553c02f5516c4a
/computational_problems_for_physics/original_scripts/LaplaceLineClassic.py
093788247d2f8e49c7eef78d09b66e687a579607
[]
no_license
tomasderner97/pythonPlayground
f31f08caf690bb36d8424d3537412c767813d632
9fd8e3e77d40a46e1b103cd81a884add7e2edacf
refs/heads/master
2022-06-19T05:23:34.097485
2019-11-16T17:37:36
2019-11-16T17:37:36
205,404,983
0
0
null
null
null
null
UTF-8
Python
false
false
1,611
py
""" From "COMPUTATIONAL PHYSICS" & "COMPUTER PROBLEMS in PHYSICS" by RH Landau, MJ Paez, and CC Bordeianu (deceased) Copyright R Landau, Oregon State Unv, MJ Paez, Univ Antioquia, C Bordeianu, Univ Bucharest, 2018. Please respect copyright & acknowledge our work.""" # LaplaceLine.py: Solve Laplac...
[ "tomasderner97@gmail.com" ]
tomasderner97@gmail.com
a1852688f61c1149cc14259fdd666306fea85d7c
8dcaee30fc5dd0c8982c324e88ede5dd693b0a76
/main.py
02682ad146df31b6a9a68eb2945c101f8df98aff
[]
no_license
hristo-grudev/fcbanking
5de88d058a8274d5510a74b1bc0ab15d390bc7f2
22ff439bec0e5480e6577eff0903947be53adc08
refs/heads/main
2023-04-06T20:05:54.629491
2021-04-06T09:25:32
2021-04-06T09:25:32
355,130,684
0
0
null
null
null
null
UTF-8
Python
false
false
76
py
from scrapy import cmdline cmdline.execute("scrapy crawl fcbanking".split())
[ "hr.grudev@gmail.com" ]
hr.grudev@gmail.com
fa929497b064b9f9f3f57c5241da5dfd48cf522a
e06ff08424324ac5d6c567ae9cd6954290ff9bd4
/Yudi TANG/axe/test.py
da887d8005b51052b5cd4f52c00ac472daa0fb3a
[ "Apache-2.0" ]
permissive
JKChang2015/Machine_Learning
b1bdfcf9ea43a98fc7efd5c0624bbaf5d9dbf495
f8b46bf23e4d1972de6bd652dd4286e9322ed62f
refs/heads/master
2021-06-06T19:18:16.596549
2020-05-03T22:28:18
2020-05-03T22:28:18
119,390,891
1
1
null
null
null
null
UTF-8
Python
false
false
865
py
# test # Created by JKChang # 27/01/2020, 15:58 # Tag: # Description: from numpy import * import operator from os import listdir import matplotlib.pyplot as plt # simulating a pandas df['type'] column types = ['apple', 'orange', 'apple', 'pear', 'apple', 'orange', 'apple', 'pear'] x_coords = [10, 10, 5, 4, 3, 20, ...
[ "jkchang2015@gmail.com" ]
jkchang2015@gmail.com
9304fb73892afe0c84d3f342cf34ecb6c5b2d312
d66818f4b951943553826a5f64413e90120e1fae
/hackerearth/Algorithms/Explosion/test.py
7f78871afb936c2a532f802823073955ecf4efd1
[ "MIT" ]
permissive
HBinhCT/Q-project
0f80cd15c9945c43e2e17072416ddb6e4745e7fa
19923cbaa3c83c670527899ece5c3ad31bcebe65
refs/heads/master
2023-08-30T08:59:16.006567
2023-08-29T15:30:21
2023-08-29T15:30:21
247,630,603
8
1
MIT
2020-07-22T01:20:23
2020-03-16T06:48:02
Python
UTF-8
Python
false
false
581
py
import io import unittest from contextlib import redirect_stdout from unittest.mock import patch class TestQ(unittest.TestCase): @patch('builtins.input', side_effect=[ '2', '2', '2 1', '3', '2 1', '2 3', ]) def test_case_0(self, input_mock=None): tex...
[ "hbinhct@gmail.com" ]
hbinhct@gmail.com
0e220f57e549f2acbf6ade6fbf1671507ebdaed0
108e221a0220c9124af9407bc2541e44cbca10d0
/website/app/backstage/sidebar/forms.py
a91af70ca7fc54545daf72b4bd0b331409f1869f
[]
no_license
yatengLG/website
a7cf50f85d320d4985c665bb6422d4b1ac1ec273
41bff84577db5ba927c47cd96e0b42672be05974
refs/heads/master
2023-02-01T01:27:11.763924
2020-12-10T07:55:52
2020-12-10T07:55:52
320,195,848
2
0
null
null
null
null
UTF-8
Python
false
false
795
py
# -*- coding: utf-8 -*- # @Author : LG from flask_wtf import FlaskForm from wtforms import TextField, TextAreaField, SubmitField, SelectField from wtforms.validators import Required, Length class SidebarEditForm(FlaskForm): title =TextField('侧栏头', validators=[Required(message='标题为空'), Length(1, 40, message='1-...
[ "767624851@qq.com" ]
767624851@qq.com
e7ddcc04a4cd02a12969fb3821668ff2565a8b0b
ea71ac18939e99c1295506d3e3808bb76daabc84
/.venv35/Lib/site-packages/PyInstaller/hooks/hook-eth_keyfile.py
8d6cebc7f73c6c906d985694f476769f8b991c5e
[ "GPL-1.0-or-later", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
ndaley7/BodySlide-Group-Generator
543ef48b4dfe58953b0694b2941c9131d5f4caef
3ed7b78c5f5ccec103b6bf06bc24398cfb6ad014
refs/heads/master
2020-08-26T17:44:38.768274
2019-12-10T19:01:23
2019-12-10T19:01:23
217,089,038
2
0
BSD-3-Clause
2019-12-10T19:02:29
2019-10-23T15:18:10
Python
UTF-8
Python
false
false
497
py
#----------------------------------------------------------------------------- # Copyright (c) 2018-2019, PyInstaller Development Team. # # Distributed under the terms of the GNU General Public License with exception # for distributing bootloader. # # The full license is in the file COPYING.txt, distributed with this s...
[ "ndaley7@gatech.edu" ]
ndaley7@gatech.edu
e9c9645fd7e37b0628d58973343ce1191da676e8
3b3b86495f9db3f6ff5ded987cf7ed26c32baea2
/Atividade 6 e 8/libraryon_api/books/migrations/0001_initial.py
edf594ee019fc7cccb708ac8c42629414c9014a1
[]
no_license
Akijunior/Top_Especiais_APIs
445b9e324588d1ea1806232bde39219da0cd8606
92434bb7f7aea300c6e6081502bb3dc672136ecb
refs/heads/master
2022-12-11T16:59:57.318030
2018-09-04T17:22:58
2018-09-04T17:22:58
131,898,317
0
0
null
2022-12-08T02:23:26
2018-05-02T19:44:22
Python
UTF-8
Python
false
false
2,157
py
# Generated by Django 2.0.3 on 2018-06-22 19:59 import django.core.validators from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Book', ...
[ "suitsu19@gmail.com" ]
suitsu19@gmail.com
d345e2d11c7636f9ad4ce919478b7a3066a5efda
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/1d0bab0bfd77edcf1228d45bf654457a8ff1890d-<constant_time_compare>-fix.py
9b1c685835c714b8498ff31c245947c99850f822
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
def constant_time_compare(val1, val2): 'Return True if the two strings are equal, False otherwise.' return secrets.compare_digest(force_bytes(val1), force_bytes(val2))
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
f8eec7478f8d5f48879bc662741b59a3fae2838e
4e710abfd764090c9f04156d0c6f6014144b13a8
/asv_bench/benchmarks/commit_and_checkout.py
859280bbf87e55a31726d3d68e5cc8aa17938b99
[ "Apache-2.0" ]
permissive
hhsecond/hangar-py
2bbb7834e24620fcf13039165846f7f1a00c5253
f335834c784ba6419e8cddd0f1b48ac317270747
refs/heads/master
2021-07-07T19:48:32.796724
2020-09-01T21:16:20
2020-09-01T21:16:20
183,601,108
0
0
Apache-2.0
2019-04-26T09:35:17
2019-04-26T09:35:16
null
UTF-8
Python
false
false
2,707
py
from tempfile import mkdtemp from shutil import rmtree import numpy as np from hangar import Repository class MakeCommit(object): params = (5_000, 20_000, 50_000) param_names = ['num_samples'] processes = 2 repeat = (2, 4, 20) number = 1 warmup_time = 0 def setup(self, num_samples): ...
[ "rizzo242@gmail.com" ]
rizzo242@gmail.com
665e9938694a57e885a85eef83a2d23819f66f99
8a94de4c3cf8725e7a5a627777d31f43e4ad73f2
/easy/subtree-of-another-tree.py
d1abaeee86a0e1188631eb55ba0830a046a3d2f9
[]
no_license
zhangzhao156/Basic-Algorithm
a873101fae8e8c750cdab41c60ce4734348bab27
c7f6d176b22cdbd66635d437b4bda8eb36412da3
refs/heads/master
2023-02-10T01:14:12.599898
2021-01-05T14:09:27
2021-01-05T14:09:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,467
py
# encoding:utf-8 """ 问题描述: s= 3 / \ 4 5 / \ 1 2 t= 4 / \ 1 2 解决方案: 辅助函数isMatch是判断两个树结构是否完全一致,可以判断s和t是否完全一致, 判断的条件是: s.val == t.val and self.isMatch(s.left, t.left) and self.isMatch(s.right, t.right) 或者判断s的子树(左右)是否和t一致 """ # Definition for a binary tree node. class TreeNode(object): def __init...
[ "congyingTech@163.com" ]
congyingTech@163.com
e45353acbf97e93eed682637eebfc676ada85ca1
bc4688c02d16c4f786f0ea835f9e1a7e45272090
/cnn/keras/full_scan/train3.py
0def1b864d221fbe894d89a03581e7a3e02c49ec
[]
no_license
mhubrich/adni-python
4e3fb24e216fb908eb2426b2fc90482431f3494d
21e14e4cb5ab8edf33deff7fbe2494bbc396ea35
refs/heads/master
2021-06-15T02:04:00.435915
2017-02-28T14:25:23
2017-02-28T14:25:23
69,449,927
1
0
null
null
null
null
UTF-8
Python
false
false
2,854
py
############################################################## # Set seed for determinisitc behaviour between different runs. # Especially fresh weights will be initialized the same way. # Caution: CudNN might not be deterministic after all. SEED = 0 import numpy as np np.random.seed(SEED) #############################...
[ "mhubrich@students.uni-mainz.de" ]
mhubrich@students.uni-mainz.de
84caab557c5fac7436bf9d9ddb18f9e229944dcb
1b19103c7781c31b4042e5404eea46fa90014a70
/cenit_admin_reports_api_reports_v1/__openerp__.py
d82da022f0a193cef1f12719b5f329e4a29d3dac
[]
no_license
andhit-r/odoo-integrations
c209797d57320f9e49271967297d3a199bc82ff5
dee7edc4e9cdcc92e2a8a3e9c34fac94921d32c0
refs/heads/8.0
2021-01-12T05:52:26.101701
2016-12-22T03:06:52
2016-12-22T03:06:52
77,223,257
0
1
null
2016-12-23T12:11:08
2016-12-23T12:11:08
null
UTF-8
Python
false
false
1,582
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010, 2014 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of t...
[ "sanchocuba@gmail.com" ]
sanchocuba@gmail.com
34ec68688143315b7b0922ddf27fd74908760a67
38855188ec752e7e012cd5d3f8aec8ec0a1645a0
/betse/util/type/iterable/set/setcls.py
67b102f6fcdef9a8cfe4df1c4d1eead32ea92fc3
[]
no_license
R-Stefano/betse-ml
660a35ff587e649a7758e6af0766f5c1c7694544
dd03ff5e3df3ef48d887a6566a6286fcd168880b
refs/heads/master
2023-05-01T01:42:14.452140
2021-05-10T09:58:14
2021-05-10T09:58:14
343,448,365
0
0
null
null
null
null
UTF-8
Python
false
false
14,366
py
#!/usr/bin/env python3 # --------------------( LICENSE )-------------------- # Copyright 2014-2019 by Alexis Pietak & Cecil Curry. # See "LICENSE" for further details. ''' Low-level **set classes** (i.e., classes implementing set-like functionality, typically by subclassing the builtin :class...
[ "stefano.bane@gmail.com" ]
stefano.bane@gmail.com
7ac13b1a6697470865d91e38fa08dbd5db14ff75
451548e5ec5d84606b0769efc7c6b619e5a8dd68
/encryptor/__init__.py
f741f62be6fff85804947257abbfdb12e15408d1
[]
no_license
nttlong/lv-open-edx
085309886e2196dd975bd2900016af334dad9987
b676f2438ce7658a8a3f515fb9d071a66b30ee6f
refs/heads/master
2021-04-09T16:32:27.572555
2018-08-10T11:21:16
2018-08-10T11:21:16
125,824,191
0
0
null
null
null
null
UTF-8
Python
false
false
3,375
py
""" The encryptor packahe support encrypt an decrypt text with mongodb sync collection """ _cache={} _cache_revert={} import re from pymongo import MongoClient import datetime import logging import threading import uuid logger = logging.getLogger(__name__) global lock lock = threading.Lock() _coll=None _...
[ "zugeliang2000@gmail.com" ]
zugeliang2000@gmail.com
c44b51acd0f486c876360fc6069cc0791d35725e
cda43bf6a84f7e55fab26aa70cda934683a51fe5
/nikNdNikNdNd/foForTrain.py
8eaf08daef4eab7f98e00f42bb1e7c97f8cba527
[]
no_license
nikolaosdionelis/NeuralNetworksNNs
abb55622882e31c8d130a8986868b3d19ede186f
8a217490ad5bb3f7fccf4002c6b43a06c1e562fc
refs/heads/master
2022-11-13T00:50:23.578197
2020-07-12T18:52:20
2020-07-12T18:52:20
279,042,013
5
1
null
null
null
null
UTF-8
Python
false
false
326,875
py
import torch import torch.nn as nn import torch.optim as optim import torch.nn.functional as F import torchvision.utils as vutils import seaborn as sns import os import pickle import math import utils #import hmc #import hmc #import hmc #import hmc import hmc #import hmc2 #import hmc #import hmc import dat...
[ "noreply@github.com" ]
nikolaosdionelis.noreply@github.com
116a3f5ee6972a6174312c9ea4de119d8fafd7df
054bc8696bdd429e2b3ba706feb72c0fb604047f
/python/stats/mannWhitneyUtest/mannWhitneyUtestR.py
8405d8624914a2465d6189145231c9e18e7ba2ee
[]
no_license
wavefancy/WallaceBroad
076ea9257cec8a3e1c8f53151ccfc7c5c0d7200f
fbd00e6f60e54140ed5b4e470a8bdd5edeffae21
refs/heads/master
2022-02-22T04:56:49.943595
2022-02-05T12:15:23
2022-02-05T12:15:23
116,978,485
2
3
null
null
null
null
UTF-8
Python
false
false
3,194
py
#!/usr/bin/env python3 """ Calculate pvalue for Mann-Whitney U test. Call wilcox.test function from R by rpy2. @Author: wavefancy@gmail.com Usage: mannWhitneyUtestR.py [-a int] [-l] mannWhitneyUtestR.py -h | --help | -v | --version | -f | --format Notes: 1. Read from stdin an...
[ "wavefancy@gmail.com" ]
wavefancy@gmail.com
cf2e66b07d0dec695057b2fb07ef059c124665e7
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/powerplatform/get_account.py
68e5c4b045b92179f9f40ef87ac0faa7823dab35
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,422
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
094bebf70679ab6093d3d484990855e2cd4954da
148072ce210ca4754ea4a37d83057e2cf2fdc5a1
/src/core/w3af/w3af/plugins/attack/db/sqlmap/thirdparty/beautifulsoup/beautifulsoup.py
04834015a37a77409fafa53c5007326e1673309c
[]
no_license
ycc1746582381/webfuzzer
8d42fceb55c8682d6c18416b8e7b23f5e430c45f
0d9aa35c3218dc58f81c429cae0196e4c8b7d51b
refs/heads/master
2021-06-14T18:46:59.470232
2017-03-14T08:49:27
2017-03-14T08:49:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
79,811
py
"""Beautiful Soup Elixir and Tonic "The Screen-Scraper's Friend" http://www.crummy.com/software/BeautifulSoup/ Beautiful Soup parses a (possibly invalid) XML or HTML document into a tree representation. It provides methods and Pythonic idioms that make it easy to navigate, search, and modify the tree. A well-formed X...
[ "everping@outlook.com" ]
everping@outlook.com
15b643b0ba8b80b79c540d2b68b12c8a7f7d8957
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/pjgDmRqh2fbBBwo77_2.py
8349b8c857630e56110c374ff13f0fd25b56b1de
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
882
py
""" **Syncopation** means an emphasis on a weak beat of a bar of music; most commonly, **beats 2 and 4** (and all other _even-numbered_ beats if applicable). `s` is a line of music, represented as a string, where hashtags `#` represent emphasized beats. Create a function that returns if the line of music contains ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
7b70d361dfa5b1d7f0753c1436e01740802666c9
3fccf8a309c1db9b7df4686f740e2415386532f4
/Tests/test_CodonAlign.py
f9b3801d22d776ab7b235950c21b9f1d270d3f5c
[ "LicenseRef-scancode-biopython" ]
permissive
AkiOhtani/biopython
96aebd4cb46d6ba90d604f6970e750af1b652088
45311b0b549b49578cf1e7eb9dc0c05ac1dabb61
refs/heads/master
2021-01-15T08:08:47.567671
2014-04-28T07:37:40
2014-04-28T07:41:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,678
py
# Copyright (C) 2013 by Zheng Ruan (zruan1991@gmail.com) # This code is part of the Biopython distribution and governed by its # license. Please see the LICENSE file that should have been included # as part of this package. """Unit tests for the CodonAlign modules. """ import sys import warnings import tempfile import...
[ "eric.talevich@gmail.com" ]
eric.talevich@gmail.com
5d9b97f9fa7cdeb46c91744e8e2f17732ef4e97c
b34d460115f9bccb4af7d3c06f163812a0499216
/scripts/figures/figure9/pipeswitch_resnet152/remote_run_data.py
3df103abceee1a1bd4fbca4c1bb7ad88e22b164a
[ "Apache-2.0" ]
permissive
Murphy-OrangeMud/PipeSwitch
1df00aea7ea572dfc9dc633b081dec17002b266c
1ef75ccf5d425bd8cb11c3ae5fe63d2f25423031
refs/heads/main
2023-09-05T20:06:37.606573
2021-10-29T02:45:30
2021-10-29T02:45:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
import os import sys from scripts.common.util import RunDocker def main(): with RunDocker('pipeswitch:pipeswitch', 'figure9_pipeswitch_resnet152') as rd: # Start the server: pipeswitch rd.run('python PipeSwitch/scripts/run_data.py') # Get and return the data point if __name__ == ...
[ "zbai1@jhu.edu" ]
zbai1@jhu.edu
23b7ab17ff53b4c12b8eaa3c9051d83c2552f6cf
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03400/s805475463.py
0f3c9a2c6dda3abb3a2be61f406ecf962cfc19ef
[]
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
135
py
N = int(input()) D,X = map(int, input().split()) A = [int(input()) for _ in range(N)] ans = X + sum([-(-D//a) for a in A]) print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
ce6f2463dce6e2d2cca901bee58d7f51d1f13fad
9163d7b7f9301b4a334ced0a91e28348fdaa8882
/code/common_chinese_captcha.py
06d2cf1347f942369eaad11b6240e747317aaedf
[ "Apache-2.0" ]
permissive
frankiegu/generate_click_captcha
2c9c551bec69d5c40e6a1354ec6f7dbef18e6447
7fdb2cafe4c2b5d0245b9b8c4fc9a8b8dee5f3a9
refs/heads/master
2021-03-03T14:56:30.486088
2019-01-03T16:03:00
2019-01-03T16:03:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,490
py
#!/usr/bin/python # -*- coding: UTF-8 -*- """ 根据此文编写:https://www.cnblogs.com/whu-zeng/p/4855480.html """ import random from PIL import Image, ImageDraw, ImageFont import codecs class RandomChar(object): @staticmethod def tran_unicode(): val = random.randint(0x4E00, 0x9FBF) return chr(val) ...
[ "nickliqian@outlook.com" ]
nickliqian@outlook.com
531922b7b5f5b4e54ef8043de90d4b28968c32b9
7b065a6b01905a2da6ad2d00b6398aad150dc6c3
/基础知识/4.文件操作/7.os常用函数.py
d06953232ecbd2f1df1bbb92114763ae31cff50e
[]
no_license
ylwctyt/python3-1
f4b0d8d6d0a7947170186b27bf51bc2f6e291ac7
ca92e2dc9abc61265e48b7809cb12c3e572b5b6f
refs/heads/master
2021-04-18T18:56:46.047193
2018-03-25T04:35:11
2018-03-25T04:35:11
126,699,773
2
0
null
null
null
null
UTF-8
Python
false
false
1,368
py
import os print(os.getcwd()) # 当前工作目录 os.chdir("E:\\python3.6") # 改变工作目录 print(os.getcwd()) # os.rmdir("E:\\a") # 删除空文件夹 print("路径分隔符",os.sep) print("操作系统",os.name) # 操作系统的名称,对于Windows返回'nt',而对于Linux/Unix用户,它是'posix' print("环境变量-->path",os.getenv("path")) # path print(os.listdir("E:\\python3.6")) # 返回指定目录下的所有文件和目录名(...
[ "359405466@qq.com" ]
359405466@qq.com
62e8a2dcd0549ab4d5f4a35d8c8309b2269f8da5
f023692f73992354a0b7823d9c49ae730c95ab52
/AtCoderBeginnerContest/1XX/168/B.py
f426b00aef6d2cb99e99ef54bcfb89c771769656
[]
no_license
corutopi/AtCorder_python
a959e733f9a3549fab7162023e414ac2c99c4abe
a2c78cc647076071549e354c398155a65d5e331a
refs/heads/master
2023-08-31T09:40:35.929155
2023-08-20T06:19:35
2023-08-20T06:19:35
197,030,129
1
0
null
2022-06-22T04:06:28
2019-07-15T15:57:34
Python
UTF-8
Python
false
false
169
py
def solve(): K = int(input()) S = input() if len(S) <= K: print(S) else: print(S[:K] + '...') if __name__ == '__main__': solve()
[ "39874652+corutopi@users.noreply.github.com" ]
39874652+corutopi@users.noreply.github.com
8a857035aeaade92bffc555d7d5b170b35ac26c6
d02009dd0a0e7ecd9ff056551c8dd821c943e76e
/gen_captcha.py
0f33e1018133aeb365e859895c999198a75bab20
[]
no_license
budaLi/Captcha_recognition
a525aac7e2957b7a8b92db3965bd458c7696fd6c
dfcc690b22e65f754c5badd184e80dd5eb539665
refs/heads/master
2022-07-29T07:18:10.679213
2020-05-25T03:04:29
2020-05-25T03:04:29
265,818,745
3
0
null
null
null
null
UTF-8
Python
false
false
1,399
py
# @Time : 2020/5/21 16:33 # @Author : Libuda # @FileName: gen_captcha.py # @Software: PyCharm # 生成验证码数据 from captcha.image import ImageCaptcha from PIL import Image import random import time import os # 验证码长度 MAX_CAPTCHA = 4 # 图像大小 IMAGE_HEIGHT = 60 IMAGE_WIDTH = 160 def random_captcha(captcha_lenght,fliepath)...
[ "1364826576@qq.com" ]
1364826576@qq.com
a316805c601c01ba1475af2f540d1fc2dea04ba3
a2ac73af04a07bb070cd85c88778608b561dd3e4
/addons/stock/wizard/stock_return_picking.py
ea50dd936aabfeaec618184c3cdde50284ae95c0
[]
no_license
sannareddy/openerp-heimai
c849586d6099cc7548dec8b3f1cc7ba8be49594a
58255ecbcea7bf9780948287cf4551ed6494832a
refs/heads/master
2021-01-15T21:34:46.162550
2014-05-13T09:20:37
2014-05-13T09:20:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
/usr/share/pyshared/openerp/addons/stock/wizard/stock_return_picking.py
[ "549636719@qq.com" ]
549636719@qq.com
ad15fbb0175a19f70be3192e077cd87715f6cd31
ac91ee2f10f428315f80134447794de370726c22
/python/main_test_LMN_synchrony_control.py
e5fabef65b134dcfb593285bbfce6ddcca39c3d8
[]
no_license
gviejo/LMNphysio
c34a49719e7094fb79b07b55980e186ac95b4fc2
24c9466d6a8a1deaf6b30f38388e90212af07c1e
refs/heads/master
2023-09-01T08:05:02.240143
2023-08-18T19:29:01
2023-08-18T19:29:01
170,920,340
0
0
null
null
null
null
UTF-8
Python
false
false
17,141
py
import numpy as np import pandas as pd import neuroseries as nts from pylab import * from wrappers import * from functions import * import sys from matplotlib.colors import hsv_to_rgb import hsluv from pycircstat.descriptive import mean as circmean from sklearn.manifold import SpectralEmbedding, Isomap from sklearn.dec...
[ "guillaume.viejo@gmail.com" ]
guillaume.viejo@gmail.com
79d86aa973ab368a540fbf805ddd5bcb0facfb2a
a4ded6a73551bcb7cb3d70679f07a8f31a165465
/tests/test_samples.py
65cee7d0963d823d05c73b218e9ac25549cb99c0
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
GoogleCloudPlatform/functions-framework-python
d324c4d99f0bb59bda3b930872f1294417e6cf93
45aed538b5e39655318c7841457399fa3376ceaf
refs/heads/main
2023-09-05T08:05:03.935120
2023-08-28T23:28:46
2023-08-28T23:28:46
231,433,569
740
136
Apache-2.0
2023-09-08T00:40:30
2020-01-02T18:01:56
Python
UTF-8
Python
false
false
1,207
py
import pathlib import sys import time import docker import pytest import requests EXAMPLES_DIR = pathlib.Path(__file__).resolve().parent.parent / "examples" @pytest.mark.skipif( sys.platform != "linux", reason="docker only works on linux in GH actions" ) class TestSamples: def stop_all_containers(self, dock...
[ "noreply@github.com" ]
GoogleCloudPlatform.noreply@github.com
2e5a41831be5bcd476269e148502dfbfb23eafe9
30b97efb2f36f81aa684d16d19e0e2db17f2967d
/Prgrammers/lv1/이상한 문자 만들기.py
14cb256604ba05710c49093c0f080f76a9906a2f
[]
no_license
jmseb3/bakjoon
0a784a74c6476ef51864e2ada9d2551c7c7979eb
a38db54e851372059b0e45add92e43e556835e62
refs/heads/main
2023-08-25T08:43:04.579785
2021-10-01T08:40:37
2021-10-01T08:40:37
362,287,450
2
0
null
null
null
null
UTF-8
Python
false
false
243
py
def solution(s): answer = '' words = s.split(' ') for word in words: for idx in range(len(word)): answer += word[idx].upper() if idx % 2 == 0 else word[idx].lower() answer += ' ' return answer[:-1]
[ "jmseb3@naver.com" ]
jmseb3@naver.com
929e819d58911ac8f7ad7ac3441073ed4416aa42
3a936488af265597778d47f78e174fb863d21a03
/Retraining_bot.py
52c7218172accbf686183ccbff9983a8ca4a0257
[]
no_license
santoshikalaskar/chatbot_report_generation_google_App_script
155380f56ec93b48d3c4571fb22a1f8373e0a09a
35ebeac0188bfb2b5b9af42efe488c8e660bd6db
refs/heads/master
2022-12-15T21:24:21.031256
2020-09-20T08:37:22
2020-09-20T08:37:22
283,967,214
0
0
null
null
null
null
UTF-8
Python
false
false
4,444
py
from datetime import date from datetime import timedelta import pandas as pd from google_sheet_handler import Google_sheet_handler import logger_hander class ReTrain_bot: # initialize RASA API def __init__(self): pass def fetch_data(self, google_sheet, yesterday): """ This fun...
[ "kalaskars1996@gmail.com" ]
kalaskars1996@gmail.com
10214df3984e72f40b025793a185ab5814abdbd0
ebae2c3875553d04fd9acb84b904a2398ce3dbf6
/manage.py
d6be32874916eb98549eb60d36f7955c965d79af
[]
no_license
mwesterhof/coolsearch
7e871dabd9cd8943eb7657011f16c10d566a927e
fad5a29148fa2e61d655e7081d5c9756c5a79fa9
refs/heads/master
2021-10-21T18:29:44.333046
2021-10-18T15:53:12
2021-10-18T15:53:12
201,944,243
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'coolsearch.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Imp...
[ "m.westerhof@lukkien.com" ]
m.westerhof@lukkien.com
b705e1a6f3000beb26188c35cc496059ffe9eb63
24118fcc6a867028e175df143a66b0f61b85d873
/leetcode/203-Remove_Linked_List_Elements.py
6fed902bb9b7460905c54ca49271f3955605b328
[]
no_license
JFluo2011/leetcode
eea93c5bf66cadd5cd91970ad6f6fdad489275bf
7bdb0ddd042fab4c7f615cd8630de78275c175d9
refs/heads/master
2021-01-12T17:22:23.360035
2019-01-31T15:01:21
2019-01-31T15:01:21
71,550,793
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
# Definition for singly-linked list. class ListNode(object): def __init__(self, x): self.val = x self.next = None class Solution(object): def removeElements(self, head, val): """ :type head: ListNode :type val: int :rtype: ListNode """ prev_head ...
[ "luojianfeng2011@163.com" ]
luojianfeng2011@163.com
cce75ac8e26a424ae764a1622580dbadc6a5b3f4
2581fbdc72887143376a8f9d8f0da0f1508b9cdf
/Flask/09-REST-APIs-with-Flask/03-REST-API-Database/user.py
d10ad52f8dc11b94eb9970639b8ba08649f51e0c
[ "Apache-2.0" ]
permissive
Sandy1811/python-for-all
6e8a554a336b6244af127c7bcd51d36018b047d9
fdb6878d93502773ba8da809c2de1b33c96fb9a0
refs/heads/master
2022-05-16T02:36:47.676560
2019-08-16T08:35:42
2019-08-16T08:35:42
198,479,841
1
0
Apache-2.0
2022-03-11T23:56:32
2019-07-23T17:39:38
Jupyter Notebook
UTF-8
Python
false
false
209
py
class User(): def __init__(self,id,username,password): self.id = id self.username = username self.password = password def __str__(self): return f"User ID: {self.id}"
[ "sndp1811@gmail.com" ]
sndp1811@gmail.com
1d2caafbe0e44e853ea684766920eaa9a2692830
6e3cf63bef81b0a80ea229c55ac196de3730ac3f
/08 Recursion and Dynamic Programming/Recursion and DP book problems/03.py
3a691ff7203225fed8356a62b755e9396e76c7fd
[]
no_license
AsadullahFarooqi/CTCI
8e32bfa9d5f990e435c38e49f22fb5a98e3352fb
7ea8c62b65607d8888529cc1de84a2b4a7249d98
refs/heads/master
2020-05-30T17:18:45.938270
2019-11-06T07:31:01
2019-11-06T07:31:01
189,868,300
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
# Recently I helped with Algorithms/DS a guy from Boston and got an internship in Twitter. def shortest_path()
[ "asadullah.itcgcs@gmail.com" ]
asadullah.itcgcs@gmail.com
b9f6799d725b3dee5d5ae670a3d4577b1c2c4140
89d29bf07f7203107f8b99fa1effd384c59b23cf
/Python/Python Learning/Built-in Constants.py
985807c2b21440d4afb85a0fa30321ffb15d7744
[]
no_license
OryxLib/Oxyx.Portal
7ebd894d5e3790d18623aa1fb4d14ecb1aea1db6
b7eed6165f685d939aab881cdef4fc2ff77a03d4
refs/heads/master
2022-07-17T21:04:50.360342
2020-04-15T15:47:48
2020-04-15T15:47:48
255,511,971
0
0
null
2022-06-22T23:05:39
2020-04-14T04:43:40
JavaScript
UTF-8
Python
false
false
86
py
#内置常量 True False None NotImplemented Ellipsis #The same as ... , __debug__ #
[ "407815932@qq.com" ]
407815932@qq.com
664752fa8f26a7b94e39a5405b9cf8f6576ea0fa
a7f855efff14e0b15cffb3f035d8dc9f7f102afe
/mfb/binWin/2.69/python/lib/numpy/lib/function_base.py
f1cfc55b9314348fa65a1a6f5f0c60af195fb122
[]
no_license
BlenderCN-Org/FlipbookApp
76fcd92644c4e18dd90885eeb49e5aecae28f6f0
0df2acebf76b40105812d2e3af8f0ef4784ab74c
refs/heads/master
2020-05-27T14:33:25.330291
2014-07-10T17:47:29
2014-07-10T17:47:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
119,019
py
__docformat__ = "restructuredtext en" __all__ = ['select', 'piecewise', 'trim_zeros', 'copy', 'iterable', 'percentile', 'diff', 'gradient', 'angle', 'unwrap', 'sort_complex', 'disp', 'extract', 'place', 'nansum', 'nanmax', 'nanargmax', 'nanargmin', 'nanmin', 'vectorize', 'asarray_ch...
[ "mike.c.pan@gmail.com" ]
mike.c.pan@gmail.com
db3dbe19c36d768d96797a648c754a1d0c1730fa
f28871603ca0b0ed78e0adeac6b81c1fdaaced27
/part3/server/perusable/settings.py
e63b3beb29da6bd9afbc2f8911ced16f28dc5497
[]
no_license
yanggautier/django-postgres-elasticsearch
d3afe4b3098fd08bc74b881369bee0e4cf631d56
94a7aff134f90f677fcd8bd78419495f4fc42ffd
refs/heads/main
2023-04-03T06:44:24.041855
2021-04-03T00:25:33
2021-04-03T00:25:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,147
py
""" Django settings for perusable project. Generated by 'django-admin startproject' using Django 3.1.7. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ import os ...
[ "jason.a.parent@gmail.com" ]
jason.a.parent@gmail.com
e1810ab1d950c456518f09bb98ca8c921fadd600
e8bf00dba3e81081adb37f53a0192bb0ea2ca309
/domains/fetch/problems/auto/problem74_fetch.py
5192b367576bf62c01f5a733763aadf1b96305aa
[ "BSD-3-Clause" ]
permissive
patras91/rae_release
1e6585ee34fe7dbb117b084df982ca8a8aed6795
0e5faffb7eb732fdb8e3bbf2c6d2f2cbd520aa30
refs/heads/master
2023-07-13T20:09:41.762982
2021-08-11T17:02:58
2021-08-11T17:02:58
394,797,515
2
1
null
null
null
null
UTF-8
Python
false
false
1,149
py
__author__ = 'patras' from domains.fetch.domain_fetch import * from shared.timer import DURATION DURATION.TIME = { 'put': 5, 'take': 5, 'perceive': 3, 'charge': 10, 'move': 10, 'moveToEmergency': 20, 'moveCharger': 15, 'addressEmergency': 20, 'wait': 10, } DURATION.COUNTER = { ...
[ "patras@umd.edu" ]
patras@umd.edu
5329df6f207648ef77430d13b10821e8d88e0806
4e30d990963870478ed248567e432795f519e1cc
/tests/models/validators/v3_1_patch_1/jsd_c578ef80918b5d038024d126cd6e3b8d.py
61557b57c00decf4f3c87b7a6434ba8e68807f71
[ "MIT" ]
permissive
CiscoISE/ciscoisesdk
84074a57bf1042a735e3fc6eb7876555150d2b51
f468c54998ec1ad85435ea28988922f0573bfee8
refs/heads/main
2023-09-04T23:56:32.232035
2023-08-25T17:31:49
2023-08-25T17:31:49
365,359,531
48
9
MIT
2023-08-25T17:31:51
2021-05-07T21:43:52
Python
UTF-8
Python
false
false
2,467
py
# -*- coding: utf-8 -*- """Identity Services Engine deleteTrustedCertificateById data model. Copyright (c) 2021 Cisco and/or its affiliates. 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 withou...
[ "bvargas@altus.cr" ]
bvargas@altus.cr
9d1d674761fb8eda0425f9cd60d16121a9a8a394
bb5d587afdf7fb455972889b1453b48371b55c25
/my_projects/social_project/feed/models.py
4a833b72617d1291cec8e576e7afc5f5bc6a1239
[]
no_license
nilldiggonto/projects_dj3_vue3_js
e8a98019c1e5ec65724c09733054afbacfb22ead
6ce52c29c3560a25ed36ba074fc6c2a60191ebe4
refs/heads/main
2023-05-30T06:00:06.558789
2021-05-29T10:06:02
2021-05-29T10:06:02
342,195,694
0
0
null
null
null
null
UTF-8
Python
false
false
706
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Social(models.Model): body = models.CharField(max_length=300) created_by = models.ForeignKey(User,on_delete=models.CASCADE,related_name='socials') created_at = models.DateTimeField(auto_now_add...
[ "nilldiggonto@gmail.com" ]
nilldiggonto@gmail.com
f78d2f001a3664fdc1075338a140d5a12ab0ecfd
beb2041e5431c8258440abbafc8b1851cf07d729
/provy/__init__.py
d4ab9d758e0964f6821b1a31f3b9d91c48278f41
[]
no_license
renatogp/provy
9301ccc29f58b1de4ff178ba3d79ba30b5fa55f3
80f1585a6b7d7428b2b1129cedb538778f7e2e4c
refs/heads/master
2022-09-08T00:52:52.002066
2012-03-04T20:42:32
2012-03-04T20:42:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
#!/usr/bin/python # -*- coding: utf-8 -*- ''' This is provy's main namespace. All built-in roles start from this namespace. ''' __version__ = '0.4.7a' version = __version__ Version = __version__
[ "heynemann@gmail.com" ]
heynemann@gmail.com
579f4a6a13afab68dc710a78296d8ff0da4b0159
1c790b0adc648ff466913cf4aed28ace905357ff
/python/lbann/contrib/nersc/paths.py
a3e88aea77def05eb7d636428d2dcee5d0e89f63
[ "Apache-2.0" ]
permissive
LLNL/lbann
04d5fdf443d6b467be4fa91446d40b620eade765
e8cf85eed2acbd3383892bf7cb2d88b44c194f4f
refs/heads/develop
2023-08-23T18:59:29.075981
2023-08-22T22:16:48
2023-08-22T22:16:48
58,576,874
225
87
NOASSERTION
2023-09-11T22:43:32
2016-05-11T20:04:20
C++
UTF-8
Python
false
false
1,487
py
"""Useful file paths on NERSC systems.""" import os.path from lbann.contrib.nersc.systems import system # ============================================== # Data sets # ============================================== def parallel_file_system_path(system = system()): """Base path to parallel file system.""" if sy...
[ "noreply@github.com" ]
LLNL.noreply@github.com
1b4af94032def76f0197f7f2dde94a6c718803cb
780b01976dad99c7c2ed948b8473aa4e2d0404ba
/scripts/alphas_archive/zc_putspread/alpha_ichimokucloud_long_bearish_dec13_2.py
48a72775191fbcd01bef9ad7fe4a56a3c30cd421
[]
no_license
trendmanagement/tmqrexo_alexveden
a8ad699c2c3df4ce283346d287aff4364059a351
4d92e2ee2bc97ea2fcf075382d4a5f80ce3d72e4
refs/heads/master
2021-03-16T08:38:00.518593
2019-01-23T08:30:18
2019-01-23T08:30:18
56,336,692
1
1
null
2019-01-22T14:21:03
2016-04-15T17:05:53
Python
UTF-8
Python
false
false
1,426
py
# # # Automatically generated file # Created at: 2016-12-13 12:12:00.944996 # from backtester.swarms.rebalancing import SwarmRebalance from backtester.strategy import OptParamArray from backtester.strategy import OptParam from backtester.costs import CostsManagerEXOFixed from strategies.strategy_ichimokucloud ...
[ "i@alexveden.com" ]
i@alexveden.com
76819f6d650af65aa503c0554ed2bca666d5f50d
96b09352a009e4dfd9133d1b3066a99493b4a1aa
/main.py
14a8dc13cb97bc0c006e29e64bd0127f4faf679a
[ "MIT" ]
permissive
xiaojieluo/yygame
ad21ccf6a46003f1b4a9e9bcda2aff86713bb32a
ba896528ab7f4e97e2edc491daf403a6f9a78b08
refs/heads/master
2022-12-04T15:51:42.307778
2017-03-23T05:48:22
2017-03-23T05:48:22
85,648,132
0
0
MIT
2022-11-22T01:29:40
2017-03-21T02:08:05
Python
UTF-8
Python
false
false
599
py
#!/usr/bin/env python # coding=utf-8 import tornado.ioloop import tornado.web import tornado.httpserver from tornado.options import define, options from app import route from app.setting import config define("port", default=8888, help="run on the given port", type=int) def make_app(): return tornado.web.Applicat...
[ "xiaojieluoff@gmail.com" ]
xiaojieluoff@gmail.com
a877aa4d5db67efe651c2f79da431bbe5d32d113
cf7ec3cccb7419bd5dcb8dcb533a9cccdab4294c
/week 10/Informatics/2_uslovnye_operations/d.py
3e7d872c9b2830599f22a04facff695a619faec8
[]
no_license
Yeldarmt/webdev2019
cbb632e77f288f3a33569883a5d6b4301c11d3bd
f5f4b0ddf2d5d4d2dc51c1ee157474505db770f2
refs/heads/master
2020-04-18T07:58:33.947609
2019-05-07T09:24:09
2019-05-07T09:24:09
167,379,368
0
0
null
null
null
null
UTF-8
Python
false
false
74
py
a = int(input()) if a>0: print(1) elif a<0: print(-1) else: print(0)
[ "eldarmukhametkazin@gmail.com" ]
eldarmukhametkazin@gmail.com
545f5f77e6ddb5ed285d4c234a3c88ba02b5b3f0
33976fddb32feae0b6b5d38b0a8994490fc4b1db
/contributed/faq7.3_fig1/Redo_Grose_figure.py
30cc4b484cd6b36468a85a63a60ac3cfe7af9d47
[ "MIT" ]
permissive
chrisroadmap/ar6
e72e4bad8d1c1fa2751513dbecddb8508711859c
2f948c862dbc158182ba47b863395ec1a4aa7998
refs/heads/main
2023-04-16T22:57:02.280787
2022-09-27T13:31:38
2022-09-27T13:31:38
305,981,969
27
20
MIT
2022-09-27T13:31:38
2020-10-21T10:02:03
Jupyter Notebook
UTF-8
Python
false
false
3,997
py
import matplotlib.pyplot as plt from matplotlib.patches import Rectangle import numpy as np import pandas as pd from netCDF4 import Dataset import os.path df = pd.read_excel (r'ecs_for_faq.xlsx') dt = pd.read_excel (r'tcr_for_faq.xlsx') nCMIP5 = df[df['project'] == "CMIP5"]['dataset'].size nCMIP6 = df[df['project'] =...
[ "chrisroadmap@gmail.com" ]
chrisroadmap@gmail.com
b5c0bf2ce4ad20f7a22df7a94e08fe639a363a0b
592498a0e22897dcc460c165b4c330b94808b714
/9000번/9251_LCS.py
1ddf32c1d8c8fb3df57eecc9dacc82da329e778a
[]
no_license
atom015/py_boj
abb3850469b39d0004f996e04aa7aa449b71b1d6
42b737c7c9d7ec59d8abedf2918e4ab4c86cb01d
refs/heads/master
2022-12-18T08:14:51.277802
2020-09-24T15:44:52
2020-09-24T15:44:52
179,933,927
0
0
null
null
null
null
UTF-8
Python
false
false
340
py
n = ["0"]+list(input()) m = ["0"]+list(input()) d = [[0 for i in range(len(n))] for i in range(len(m))] for i in range(1,len(m)): for j in range(1,len(n)): if m[i] == n[j]: d[i][j] = d[i-1][j-1]+1 else: d[i][j] = max(d[i][j-1],d[i-1][j]) ans = 0 for i in d: ans = max(ans,...
[ "zeezlelove@gmail.com" ]
zeezlelove@gmail.com
e7c34f2cc8c35442b57661cafbac6014af7d6a72
0abc546a1442cae56ddcdc43f85497b37fc89036
/CGATPipelines/pipeline_docs/pipeline_cpg/trackers/macs_annotations.py
016ee5328d9775681bcafff43cc0d22efda04ae1
[]
no_license
yangjl/cgat
01a535531f381ace0afb9ed8dc3a0fcff6290446
01758b19aa1b0883f0e648f495b570f1b6159be4
refs/heads/master
2021-01-18T03:55:14.250603
2014-02-24T10:32:45
2014-02-24T10:32:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,261
py
import os, sys, re, types, itertools import matplotlib.pyplot as plt import numpy import numpy.ma import Stats import Histogram import cpgReport from SphinxReport.Tracker import * from SphinxReport.odict import OrderedDict as odict ################################################################################## cla...
[ "none@none" ]
none@none
be9dbee2ce3d869d863600dbdfd9dbfd90f990af
7a972475c542ed96c78f8ab5eece0ea3d58fd4be
/ukraine_tiktok/video_comments.py
2be21074f9b823bb586cdfa524fca97c1eafffe5
[]
no_license
networkdynamics/data-and-code
ea0251a2be71e28cde04cd1d04b11f0da078bbe7
57929c855efdfe5023a05a6bb8af81d16ba6a60c
refs/heads/master
2023-05-25T20:52:30.412765
2023-05-11T20:00:06
2023-05-11T20:00:06
85,779,252
1
0
null
null
null
null
UTF-8
Python
false
false
2,189
py
import argparse import json import os import random import time import tqdm from pytok import PyTok from pytok import exceptions def main(args): this_dir_path = os.path.dirname(os.path.abspath(__file__)) data_dir_path = os.path.join(this_dir_path, 'data') videos_dir_path = os.path.join(data_dir_path, 'v...
[ "bendavidsteel@gmail.com" ]
bendavidsteel@gmail.com
d5040dfed31a24f13d87e28b54ad97a7c520d3dd
242f1dafae18d3c597b51067e2a8622c600d6df2
/src/1000-1099/1058.min.round.error.py
29d28d588860f788eb7518d53a49421eb031f1cd
[]
no_license
gyang274/leetcode
a873adaa083270eb05ddcdd3db225025533e0dfe
6043134736452a6f4704b62857d0aed2e9571164
refs/heads/master
2021-08-07T15:15:01.885679
2020-12-22T20:57:19
2020-12-22T20:57:19
233,179,192
1
0
null
null
null
null
UTF-8
Python
false
false
1,017
py
from typing import List import math class Solution: def minimizeError(self, prices: List[str], target: int) -> str: prices = list(map(float, prices)) # xmin <= target <= xmax xmin, xmax = sum(map(math.floor, prices)), sum(map(math.ceil, prices)) if not (xmin <= target <= xmax): return "-1" ...
[ "gyang274@gmail.com" ]
gyang274@gmail.com
76bf0ac20e68273f77c1dd634f5b6cf0b77c5a90
ed06ef44c944707276a2fca16d61e7820596f51c
/Python/pacific-atlantic-water-flow.py
6741e47a7b04c847d500c803094c225c758df2a3
[]
no_license
sm2774us/leetcode_interview_prep_2021
15842bef80637c6ff43542ed7988ec4b2d03e82c
33b41bea66c266b733372d9a8b9d2965cd88bf8c
refs/heads/master
2023-05-29T14:14:49.074939
2021-06-12T19:52:07
2021-06-12T19:52:07
374,725,760
0
0
null
null
null
null
UTF-8
Python
false
false
1,432
py
# Time: O(m * n) # Space: O(m * n) class Solution(object): def pacificAtlantic(self, matrix): """ :type matrix: List[List[int]] :rtype: List[List[int]] """ PACIFIC, ATLANTIC = 1, 2 def pacificAtlanticHelper(matrix, x, y, prev_height, prev_val, visited, res): ...
[ "sm2774us@gmail.com" ]
sm2774us@gmail.com
5443291f0a2b59b7366f0298f45f51d868e48de7
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2088/49405/293699.py
f3c8220e7235a3f1ef873c4d3177d19bf1a10b03
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
1,566
py
s = input() + input() if s == '1020 4 1 5 3 5 4 6 1 6 2 6 4 7 1 7 2 7 3 8 1 8 3 8 4 9 2 9 5 9 7 10 2 10 5 10 6 10 7 10 8': print(198097773) exit() if s == '814 3 1 3 2 4 1 4 2 5 3 6 3 6 5 7 3 7 4 7 5 8 3 8 4 8 5 8 6': print(18315558) exit() if s == '56 3 2 4 2 5 1 5 2 5 3 5 4': print(363) exit()...
[ "1069583789@qq.com" ]
1069583789@qq.com
f387e56c0b56738e07ab19c9d939b985ab35f905
c6a6588b89344345cb5ed67e3cd401838ba9eaff
/generate.py
4fa2577423b9f68e8f12086f517f1348df872f6b
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
joachimesque/join-bookwyrm
1900f2d705feff6ae136eefc4155bba68b69b396
c56e818994c8048cf6a8dfa3ff530129e38d92e3
refs/heads/main
2023-07-12T18:28:19.148662
2021-08-07T17:41:07
2021-08-07T17:41:07
394,066,378
0
0
NOASSERTION
2021-08-08T20:44:17
2021-08-08T20:44:17
null
UTF-8
Python
false
false
2,946
py
""" generate html files """ from jinja2 import Environment, FileSystemLoader import requests env = Environment( loader=FileSystemLoader("templates/") ) def load_instances(): """update the list of instances""" # TODO: get this properly instances = [ { "name": "bookwyrm.social", ...
[ "mousereeve@riseup.net" ]
mousereeve@riseup.net
562dca742cb5a87f7ca3fff9a368c7cae2ac1f84
f4b60f5e49baf60976987946c20a8ebca4880602
/lib/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/isis/treecalcstats5min.py
5ddac9a6cfe67a5a335cf7addb99b50881a2ad46
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
28,459
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
c86c90fb6dbe674e8494448360f70baf4e909de3
ba602dc67ad7bb50133aeb312f3c6c54627b3dec
/data/3930/AC_py/518819.py
c21183804db10489c2d532649ba391d1395fbdc9
[]
no_license
Dearyyyyy/TCG
0d21d89275906157372d775f33309ce337e6bc95
7b80de16de2d3f5d95a7c4ed95d45a9e38882e67
refs/heads/master
2020-12-27T23:19:44.845918
2020-02-04T01:59:23
2020-02-04T01:59:23
238,101,032
0
0
null
null
null
null
UTF-8
Python
false
false
493
py
# coding=utf-8 n=int(input()) for i in range(n): s=int(input()) x1=0 x2=0 x5=0 x10=0 x20=0 x50=0 x100=0 x100=s//100 x50=(s-(x100*100))//50 x20=(s-(x100*100)-(x50*50))//20 x10=(s-(x100*100)-(x50*50)-(x20*20))//10 x5=(s-(x100*100)-(x50*50)-(x20*20)-(x10*10))//5 x2=(...
[ "543271544@qq.com" ]
543271544@qq.com
eede9caf4b6cfef1cdb5aab7f82eae8b1b4ae5e9
42825fc6de4afe2a63d3f0da3358db469f2fdcc4
/CenterBackground/GoodsManagement/EmptyBarrel/test_emptyLabel.py
f22733eb37fe64eec98963d6b1336de898896812
[]
no_license
namexiaohuihui/operating
1783de772117c49267801483f34bed6f97d7774b
4df8ce960721407a20d89de47faad0df0de063a1
refs/heads/master
2021-12-03T11:31:06.429705
2021-11-11T01:41:54
2021-11-11T01:41:54
94,872,019
0
0
null
null
null
null
UTF-8
Python
false
false
4,128
py
# -*- coding: utf-8 -*- """ _oo0oo_ o8888888o 88" . "88 (| -_- |) 0\ = /0 ___/`---'\___ .' \\| |// '. / \\||| : |||// \ / _||||| -...
[ "704866169@qq.com" ]
704866169@qq.com
1b5558f55d882058e8242f2f1b8bc04db0fd625b
de702e4f4a2344c891d396bb8332a90d042b0971
/Back-End/Django/Building Django 2.0 Web Applications/Source Code/Chapter08/solr/django/cueeneh/factories.py
485daa5a6920b84026c75753ef240646a740516d
[ "MIT" ]
permissive
ScarletMcLearn/Web-Development
3bf093a261ddad4e83c3ebc6e724e87876f2541f
db68620ee11cd524ba4e244d746d11429f8b55c4
refs/heads/master
2022-12-17T10:56:56.238037
2021-01-18T14:13:33
2021-01-18T14:13:33
88,884,955
0
0
null
2022-12-08T06:47:35
2017-04-20T16:03:19
HTML
UTF-8
Python
false
false
1,177
py
from unittest.mock import patch import factory from elasticsearch import Elasticsearch from cueeneh.models import Question from user.factories import UserFactory DEFAULT_BODY_MARKDOWN = '''This is a question with lots of markdown in it. This is a new paragraph with *italics* and **bold**. for foo in bar: ...
[ "noreply@github.com" ]
ScarletMcLearn.noreply@github.com
f845aa89c67a98e38f51148deac618114975fedb
5f67c696967456c063e5f8a0d14cf18cf845ad38
/omz/evernote-sdk/thrift/transport/TTwisted.py
3666330131e1168543cff470a673787c924bbdd6
[]
no_license
wuxi20/Pythonista
3f2abf8c40fd6554a4d7596982c510e6ba3d6d38
acf12d264615749f605a0a6b6ea7ab72442e049c
refs/heads/master
2020-04-02T01:17:39.264328
2019-04-16T18:26:59
2019-04-16T18:26:59
153,848,116
1
0
null
null
null
null
UTF-8
Python
false
false
6,544
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "22399993@qq.com" ]
22399993@qq.com
9cd36e8d7dadf9bf85aeea06d0a3b5c0cf6bcabd
06f7ffdae684ac3cc258c45c3daabce98243f64f
/vsts/vsts/dashboard/v4_0/models/widget_metadata.py
d6dd1f503f0da260d91e428c00b39d3097d9c4af
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
kenkuo/azure-devops-python-api
7dbfb35f1c9637c9db10207824dd535c4d6861e8
9ac38a97a06ee9e0ee56530de170154f6ed39c98
refs/heads/master
2020-04-03T17:47:29.526104
2018-10-25T17:46:09
2018-10-25T17:46:09
155,459,045
0
0
MIT
2018-10-30T21:32:43
2018-10-30T21:32:42
null
UTF-8
Python
false
false
7,044
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "tedchamb@microsoft.com" ]
tedchamb@microsoft.com
b20403fa3113743352707972c521c717f6e495ac
bd55c7d73a95caed5f47b0031264ec05fd6ff60a
/apps/core/migrations/0137_auto_20190501_1812.py
6aa195c72b2b4f002538049eb82188fb8fc26420
[]
no_license
phonehtetpaing/ebdjango
3c8610e2d96318aff3b1db89480b2f298ad91b57
1b77d7662ec2bce9a6377690082a656c8e46608c
refs/heads/main
2023-06-26T13:14:55.319687
2021-07-21T06:04:58
2021-07-21T06:04:58
381,564,118
0
0
null
null
null
null
UTF-8
Python
false
false
1,661
py
# Generated by Django 2.0.5 on 2019-05-01 09:12 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0136_auto_20190501_1807'), ] operations = [ migrations.AlterField( model_name='automess...
[ "phonehtetpaing1221@gmail.com" ]
phonehtetpaing1221@gmail.com
fc128958a0e19aa2919113d07f7f68a69dc4c422
428989cb9837b6fedeb95e4fcc0a89f705542b24
/erle/ros_catkin_ws/build_isolated/angles/catkin_generated/pkg.develspace.context.pc.py
fc935f825d75463e5d6fbece3bb4049f48a37fb3
[]
no_license
swift-nav/ros_rover
70406572cfcf413ce13cf6e6b47a43d5298d64fc
308f10114b35c70b933ee2a47be342e6c2f2887a
refs/heads/master
2020-04-14T22:51:38.911378
2016-07-08T21:44:22
2016-07-08T21:44:22
60,873,336
1
2
null
null
null
null
UTF-8
Python
false
false
487
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/erle/ros_catkin_ws/src/angles/angles/include".split(';') if "/home/erle/ros_catkin_ws/src/angles/angles/include" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_W...
[ "igdoty@swiftnav.com" ]
igdoty@swiftnav.com
b3940d6a0ad2cc879a979ba30c64ab5b02fe3b37
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5646553574277120_0/Python/BlackGammon/money.py
824effe1358de7f4c95957fff091a8874559678d
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
777
py
from sys import * import numpy as np def readval(fi, ty): return ty(fi.readline()) def readtab(fi, ty): return tuple(map(ty, fi.readline().split())) fi = open(argv[1], 'r') T = readval(fi, int) for k in range(T): _, D, V = readtab(fi, int) coins = map(int, fi.readline().split()) s = set() s.add(0)...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
27637b07683868d333625fb1fc78b7e83f8b0395
9e3ca838b1009a23b9bf2d1459b2b04e70295748
/baselines/imagenet/ensemble.py
79171fd5f5ecdcd5cbbefc52c0e0f41200f4f995
[ "Apache-2.0" ]
permissive
mhavasi/edward2
0d33d2e562edcf8eab34f5f4cc004714e9537566
b630fea94386f7a6413f7d33ce75bb1dbe413d2d
refs/heads/master
2022-06-20T19:54:48.838078
2020-05-11T17:56:53
2020-05-11T17:57:41
260,263,251
0
0
Apache-2.0
2020-04-30T16:33:47
2020-04-30T16:33:47
null
UTF-8
Python
false
false
10,015
py
# coding=utf-8 # Copyright 2020 The Edward2 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...
[ "edward-dev@google.com" ]
edward-dev@google.com
a701a7bf81999b097bc8df559e9e603c6528822a
1c5f4a13a5d67201b3a21c6e61392be2d9071f86
/.VirtualEnv/Lib/site-packages/influxdb_client/domain/user.py
c5bd079cd5d13004096794cab8917bcab9f208fb
[]
no_license
ArmenFirman/FastAPI-InfluxDB
19e3867c2ec5657a9428a05ca98818ca7fde5fd0
b815509c89b5420f72abf514562e7f46dcd65436
refs/heads/main
2023-06-24T20:55:08.361089
2021-07-29T00:11:18
2021-07-29T00:11:18
390,462,832
2
0
null
null
null
null
UTF-8
Python
false
false
4,664
py
# coding: utf-8 """ Influx OSS API Service. No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 OpenAPI spec version: 2.0.0 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six class User(object): ...
[ "42990136+ArmenFirman@users.noreply.github.com" ]
42990136+ArmenFirman@users.noreply.github.com
1291433add40002eac65d0652be12aadc8073103
5781bda84c1af759e7b0284f0489d50e68044c89
/unit_testing/test_api_networks.py
2e6ae18d2d6267e7ad15fc75e8fda4797bfb7ab7
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
Stanford-PERTS/triton
43306a582630ac6ef8d2d14c8b2a56279335a7fb
5a4f401fc7019d59ce4c41eafa6c5bda822fae0a
refs/heads/master
2022-10-17T11:51:10.220048
2020-06-14T17:37:54
2020-06-14T17:37:54
272,251,410
0
0
null
null
null
null
UTF-8
Python
false
false
11,197
py
"""Test endpoints /api/networks/X and /api/users/X/networks. Indirectly tests RestHandler with SqlModel. Other api suites may be less comprehensive because they naively inherit from RestHandler and wouldn't benefit from extra coverage. """ import datetime import logging import unittest import webapp2 import webtest ...
[ "chris@perts.net" ]
chris@perts.net
cd60c8befe7afd3f8beadc2528f3da95ecffea0f
3ed227f5c04257779c7d2461c16b951d4173112e
/pyngfm/tests/test_service.py
42d21a28001680dfac823e8e1faa868ec25342ec
[]
no_license
andreagrandi/pyngfm
622041184c9b273ac15536168650e3f5fe9e8c8c
016c02d16a7628d75d342aac0f79b6b137ca8aa4
refs/heads/master
2021-01-10T13:45:05.429870
2013-03-05T17:30:41
2013-03-05T17:30:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,002
py
from twisted.trial.unittest import TestCase from pyngfm.service import SystemService, UserService class ServiceTestCase(TestCase): def test_creation(self): service = SystemService(id="id1", name="name") self.assertEquals(service.id, "id1") self.assertEquals(service.name, "name") class ...
[ "a.grandi@gmail.com" ]
a.grandi@gmail.com
e4ea0e1334b3603a8b78df959cf94ab33c7a39c3
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_retook.py
0c590cb034b114003673e6e7ff8e92254df6ec3d
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
236
py
from xai.brain.wordbase.nouns._retake import _RETAKE #calss header class _RETOOK(_RETAKE, ): def __init__(self,): _RETAKE.__init__(self) self.name = "RETOOK" self.specie = 'nouns' self.basic = "retake" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
5086141bbae8578a767af9598fb8ceb8d69a7d1b
723ea3f47a45fe756c4a77809eb2a4d6b98bc733
/crackfun/65. Valid Number.py
8a160cae53c0ede77db9f6f75bdf7ba671ffc30a
[]
no_license
JoyiS/Leetcode
a625e7191bcb80d246328121669a37ac81e30343
5510ef424135783f6dc40d3f5e85c4c42677c211
refs/heads/master
2021-10-21T05:41:00.706086
2019-03-03T06:29:14
2019-03-03T06:29:14
110,296,869
0
0
null
null
null
null
UTF-8
Python
false
false
1,175
py
# TEST SHOWS: ok for 00, 7.e3 # This is not a very difficult problem if understand the state machine idea # define states and understand the valid jumps. # If this problem is asked during an interview, need to know how to set the transitions and also discuss corner cases. class Solution(object): def isNumber(self, s)...
[ "california.sjy@gmail.com" ]
california.sjy@gmail.com
b27789d091410a1f28e25b8460c147896874710d
e86364b36b82c24596dd71f9fa2221d036e8defc
/collections/ansible_collections/cisco/nxos/plugins/modules/nxos_acl.py
3fa12492b7f2a3062590a2083b52cc6d4a420b67
[]
no_license
ganeshrn/network_collections_migration
b3f11be5ecb9557787bcd12ca01b227379c7c102
8f56b60bfde606b291627665a1218bf7ce15f3a1
refs/heads/master
2020-09-12T12:10:58.189645
2019-11-18T11:44:48
2019-11-18T11:44:48
222,419,125
1
0
null
null
null
null
UTF-8
Python
false
false
17,900
py
#!/usr/bin/python # # 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 distribut...
[ "ganesh634@gmail.com" ]
ganesh634@gmail.com
e6542d62bcb016919a85ecd03d75e4c444f6faf5
16385e10f6ad05b8147517daf2f40dbdda02617c
/site-packages/cs.web-15.3.0.6-py2.7.egg/cs/web/components/storybook/__init__.py
c98f69026839d0ad084387a737455e9acafc05c1
[]
no_license
prachipainuly-rbei/devops-poc
308d6cab02c14ffd23a0998ff88d9ed0420f513a
6bc932c67bc8d93b873838ae6d9fb8d33c72234d
refs/heads/master
2020-04-18T01:26:10.152844
2019-02-01T12:25:19
2019-02-01T12:25:19
167,118,611
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
#!/usr/bin/env python # -*- mode: python; coding: utf-8 -*- # # Copyright (C) 1990 - 2017 CONTACT Software GmbH # All rights reserved. # http://www.contact.de/ # """ """ __docformat__ = "restructuredtext en" __revision__ = "$Id: __init__.py 152037 2017-01-18 12:20:23Z yzh $"
[ "PPR4COB@rbeigcn.com" ]
PPR4COB@rbeigcn.com
37ed5de77008b4ae4274965e56c9d809630988c7
35fc3136ca3f4af52ebeb36cedcd30b41d685146
/RNASeq/pipelines_ds/RNASeq_MDD69.py
30d1de29b381a51dc269030e8f8a7eba0ade0127
[]
no_license
stockedge/tpot-fss
cf260d9fd90fdd4b3d50da168f8b780bb2430fd1
d1ee616b7552ef254eb3832743c49a32e1203d6a
refs/heads/master
2022-09-19T13:10:30.479297
2020-06-02T15:43:16
2020-06-02T15:43:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,103
py
import numpy as np import pandas as pd from sklearn.ensemble import RandomForestClassifier from sklearn.model_selection import train_test_split from sklearn.pipeline import make_pipeline from sklearn.preprocessing import Normalizer from tpot.builtins import DatasetSelector # NOTE: Make sure that the class is labeled '...
[ "grixor@gmail.com" ]
grixor@gmail.com