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
b3d5550787eafcce70b6c013a60c3addba132b6a
868ac4e558cf5fe945e8b557564f34f79b3ad01e
/purity_fb/purity_fb_1dot9/models/performance_replication.py
2dd94f750a014ed351c5e8cc6f2586638c60cdb7
[ "Apache-2.0" ]
permissive
mabdelhafez/purity_fb_python_client
f4253ce8497fb3cff648e0a0cd1e567f48129fa7
a9856875b3df43b4302a2e4addd1a6b71f51f5ce
refs/heads/master
2022-04-20T09:24:22.031408
2020-04-20T22:11:32
2020-04-20T22:15:44
257,372,596
0
0
NOASSERTION
2020-04-20T18:40:24
2020-04-20T18:40:23
null
UTF-8
Python
false
false
5,485
py
# coding: utf-8 """ Pure Storage FlashBlade REST 1.9 Python SDK Pure Storage FlashBlade REST 1.9 Python SDK, developed by [Pure Storage, Inc](http://www.purestorage.com/). Documentations can be found at [purity-fb.readthedocs.io](http://purity-fb.readthedocs.io/). OpenAPI spec version: 1.9 Contact: i...
[ "tlewis@purestorage.com" ]
tlewis@purestorage.com
26d6e764c83b9940f52037c85278078b103d4cef
61f38a2e01908bd5cf2351071ad846706a642bde
/tensorflow/compiler/tests/image_ops_test.py
68fdb5caf4c2a496b5058cdda40ca650484a6e0e
[ "Apache-2.0" ]
permissive
agataszcz/tensorflow
f22b2db4504d9094b4a8b00c72576601ae3e53c5
05973093a4716f861db2490dab2bcb8b9a6ee557
refs/heads/master
2020-03-30T14:49:48.233844
2018-10-02T23:36:45
2018-10-02T23:36:45
151,337,678
2
0
Apache-2.0
2018-10-02T23:37:15
2018-10-02T23:37:23
null
UTF-8
Python
false
false
30,666
py
# Copyright 2017 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
0ee5d88c4493ae82e2ba4d75a2291c14833aabad
a7e7c64bbff5030393114a25cee0f088e61f0635
/accounts/forms.py
de434d1bb94ad54e0e068b088ed3c7c2f487c048
[]
no_license
Vaishnavi-Gajinkar/ChatApplication
8a9562e803e2db0cf18a53049e1aef01e7771ffa
046759d89be21b2ded93c605d7d6ea6adeda5fad
refs/heads/master
2022-10-03T14:00:30.335018
2020-04-13T03:58:44
2020-04-13T03:58:44
251,224,467
0
0
null
2022-09-16T18:20:42
2020-03-30T06:49:00
Python
UTF-8
Python
false
false
341
py
from django.forms import ModelForm from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User from django import forms class CreateUserForm(UserCreationForm): email = forms.EmailField() class Meta: model = User fields = ['username', 'email', 'pas...
[ "vaishnavi.gajinkar@gmail.com" ]
vaishnavi.gajinkar@gmail.com
91247e92c0563da06c591bed2afbd098eccf2069
aa0270b351402e421631ebc8b51e528448302fab
/sdk/resources/azure-mgmt-resource/azure/mgmt/resource/resources/v2021_01_01/_configuration.py
528605133943a441dffaec1668d4b6ef560a2c58
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
fangchen0601/azure-sdk-for-python
d04a22109d0ff8ff209c82e4154b7169b6cb2e53
c2e11d6682e368b2f062e714490d2de42e1fed36
refs/heads/master
2023-05-11T16:53:26.317418
2023-05-04T20:02:16
2023-05-04T20:02:16
300,440,803
0
0
MIT
2020-10-16T18:45:29
2020-10-01T22:27:56
null
UTF-8
Python
false
false
3,742
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
fangchen0601.noreply@github.com
e1d967ebdca96816c61def3972b2db06d242911d
ddcb80a615ce083ef923bf62c7cc0f3bcfd3a632
/lc/prob_123.py
58a23fb5e5082e7439a0c20493d352fce37316ab
[]
no_license
Stanleyli1984/myscratch
eb8e00a5e0bdcdf2c022edb053c0d20220f9367c
04e57c7e8a4e5a03ba13ac07c64fa1715c183922
refs/heads/master
2021-01-19T04:13:00.331345
2016-06-24T22:16:34
2016-06-24T22:16:34
61,744,845
0
0
null
null
null
null
UTF-8
Python
false
false
1,253
py
class Solution: # @param prices, a list of integer # @return an integer buys = [] sells = [] def __init__(self): self.buys = [] self.sells = [] def maxProfit(self, prices): last_idx = len(prices) - 1 max_profit = 0 for idx, price in enumerate(prices): ...
[ "Zhongqi Li" ]
Zhongqi Li
ff3fbe966461ffe6484c6eda28bd9501f270b723
68bad4b3d92872bb5b77b4ee503e588d20511a27
/python/scripts_inhibition/old_script/simulate_inhibition_ZZZ25.py
4b1fd6c12617474f13e29bacb68656645c63975d
[]
no_license
mickelindahl/bgmodel
647be626a7311a8f08f3dfc897c6dd4466fc0a92
78e6f2b73bbcbecd0dba25caf99f835313c914ee
refs/heads/master
2023-08-29T13:57:04.122115
2022-02-11T14:28:23
2022-02-11T14:28:23
17,148,386
7
3
null
null
null
null
UTF-8
Python
false
false
2,485
py
''' Created on Aug 12, 2013 @author: lindahlm ''' from core.network.manager import Builder_striatum as Builder from core.parallel_excecution import loop from core.network import default_params from scripts_inhibition.base_simulate import (get_path_logs, get_args_list_inhibition, ...
[ "mickelindahl@gmail.com" ]
mickelindahl@gmail.com
660670d5b55bea96851a0e5f016960bd7ecac189
ece0b9273677246ec49809cc7c49eaa570064422
/pbd/util.py
56e7ee2257d4cc045ff46ed00c9900cac8e9c09e
[ "Apache-2.0" ]
permissive
matthagy/pbd
da6cda1bf9fb68c6368f8d6c5221a8eedde3d4bf
787a80065291ac76b3b14f25d9e8cd59f0cf9c10
refs/heads/master
2020-12-02T05:09:16.853890
2013-04-03T18:29:03
2013-04-03T18:29:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,250
py
##-*- Mode: python -*- ## util.py - Assorted utilities ## -------------------------------------------------------------------------- ## Copyright (C) 2009, Matthew Hagy (hagy@gatech.edu) ## All rights reserved. ## ## This program is free software: you can redistribute it and/or modify ## it under the terms of the GNU G...
[ "hagy@gatech.edu" ]
hagy@gatech.edu
783067f03b8a5d855d7df85ca164185fbf82a4a6
e80393d0e32358d68e60b5119406c654d2373e1f
/encoding/models/psp3.py
335f9ce5f98c299e22c0841261c2ad72e584295b
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
yougoforward/Fast_psaa
3e333fb31743bda7684cc0bdae378bf40d839f63
68e99cd5bcf3bf5ab45ea604c3898fabc458c020
refs/heads/master
2022-11-04T02:01:03.694010
2019-11-30T07:53:01
2019-11-30T07:53:01
224,800,023
1
1
NOASSERTION
2022-10-26T23:53:43
2019-11-29T07:27:43
Python
UTF-8
Python
false
false
6,103
py
from __future__ import division import torch import torch.nn as nn import torch.nn.functional as F from .mask_softmax import Mask_Softmax from .fcn import FCNHead from .base import BaseNet __all__ = ['psp3Net', 'get_psp3net'] class psp3Net(BaseNet): def __init__(self, nclass, backbone, aux=True, se_loss=False,...
[ "908865817@qq.com" ]
908865817@qq.com
9b9774249240e29a43e4003bbb1b646fa4cf7ed0
fd0b8ba37235120a71a86519f56693c203188cc9
/python_study/TestApi0509(1)/scripts/handle_request.py
0dfbfd032a35f128fbd410165f7e424599b8404c
[]
no_license
shiqi0128/My_scripts
cc6e2e0c23a08344ddfb967061eb1629f6804391
0ebaae335de2f1633e31c4fc3f60e556220a8bfb
refs/heads/master
2021-04-08T00:24:59.918924
2020-06-11T03:37:12
2020-06-11T03:37:12
248,652,267
0
0
null
null
null
null
UTF-8
Python
false
false
2,439
py
import json import requests class HandleRequest: def __init__(self): # 创建会话对象 self.session = requests.Session() def send(self, method, url, **kwargs): """ 发送请求的方法 :param method: 请求方法 :param url: 请求url :param kwargs: headers请求头字典, data、json、files ...
[ "1941816343@qq.com" ]
1941816343@qq.com
01003860d39631e025c944926d3342fdfdf66e89
44600adf1731a449ff2dd5c84ce92c7f8b567fa4
/colour_down/utilities/data_structures.py
b74c1d4bfe26c4b697624c806d04fb925cf86350
[]
no_license
ajun73/Work_Code
b6a3581c5be4ccde93bd4632d8aaaa9ecc782b43
017d12361f7f9419d4b45b23ed81f9856278e849
refs/heads/master
2020-04-11T23:16:43.994397
2019-12-28T07:48:44
2019-12-28T07:48:44
162,161,852
0
1
null
null
null
null
UTF-8
Python
false
false
10,247
py
# -*- coding: utf-8 -*- """ Data Structures =============== Defines various data structures classes: - :class:`colour.utilities.Structure`: An object similar to C/C++ structured type. - :class:`colour.utilities.Lookup`: A *dict* sub-class acting as a lookup to retrieve keys by values. - :class:`colour.u...
[ "ajun73@gmail.com" ]
ajun73@gmail.com
d7177fedd749c32894ce6a22bbfbce09b4158fd4
6b95f96e00e77f78f0919c10b2c90f116c0b295d
/TelstraTPN/models/inline_response_200_14_endpoints.py
bf9a6c766e8696800e814764e51992ad7f41816f
[]
no_license
telstra/Programmable-Network-SDK-python
0522b54dcba48e16837c6c58b16dabde83b477d5
d1c19c0383af53a5f09a6f5046da466ae6e1d97a
refs/heads/master
2021-09-19T17:09:06.831233
2018-07-30T03:22:26
2018-07-30T03:22:26
113,531,312
3
1
null
2018-07-30T03:22:27
2017-12-08T04:23:15
Python
UTF-8
Python
false
false
4,528
py
# coding: utf-8 """ Telstra Programmable Network API Telstra Programmable Network is a self-provisioning platform that allows its users to create on-demand connectivity services between multiple end-points and add various network functions to those services. Programmable Network enables to connectivity to a g...
[ "steven@developersteve.com" ]
steven@developersteve.com
b28e95338db042d965224027379d8228b3f8bbfe
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/web/v20210101/web_app_private_endpoint_connection_slot.py
0a51a697dc1d40a5ef66bfc341d55197d48ef731
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
12,525
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 fro...
[ "noreply@github.com" ]
morrell.noreply@github.com
864a18b36df15eabbdc3e01630578fafda0fcb53
740af83394e19b1e68c08dc0fdbec8c44ac6216e
/jesse/indicators/sar.py
1310dc5bf2aa2c807f022e5c1069d02326d996f7
[ "MIT" ]
permissive
dinet/jesse
9a6b60c48b4f51a09e7092bf66df446763dd7b21
e6f59fba3f56b01b12bf6c1adf9829afe8dcd2df
refs/heads/master
2022-06-22T21:06:42.348993
2020-05-09T19:45:35
2020-05-09T19:45:35
262,654,825
1
0
MIT
2020-05-09T20:38:11
2020-05-09T20:38:10
null
UTF-8
Python
false
false
622
py
import numpy as np import talib from typing import Union def sar(candles: np.ndarray, acceleration=0.02, maximum=0.2, sequential=False) -> Union[float, np.ndarray]: """ SAR - Parabolic SAR :param candles: np.ndarray :param acceleration: float - default: 0.02 :param maximum: float - default: 0.2 ...
[ "fischersully@gmail.com" ]
fischersully@gmail.com
c5d9f13823354ccc19d825cf4e61ad4bd6b3359b
4139d4283c383582b8cdbcfd6373a4e30109b03b
/minipcs/urls.py
cac53832b39089328d910f6f0316e1fb08d8e242
[]
no_license
dbeley/django-minipcs
b44c482392a3565bc25dc37401bba4b309331c7a
a3736df52f18860e106c35e852fecf605b199582
refs/heads/master
2022-11-28T13:15:48.907117
2020-03-31T14:46:29
2020-03-31T14:46:29
246,965,236
0
0
null
2022-11-22T05:24:14
2020-03-13T01:39:16
JavaScript
UTF-8
Python
false
false
793
py
"""minipcs URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "6568955+dbeley@users.noreply.github.com" ]
6568955+dbeley@users.noreply.github.com
2d1362a74c3fac591a11c4f62bdee0b5a8075bab
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/sdssj_204438.63+162337.9/sdB_sdssj_204438.63+162337.9_coadd.py
e987ce5aa550aa5050023e0964410d822e414866
[]
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
482
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[311.160958,16.393861], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_sdssj_204438.63+162337.9/sdB_sdssj_204438.63+162337.9_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
47599656d679cd9b5a7737ef89984bbea4ff09ed
93c989bc7fb8bea3c555e30198bafeddaf79eba3
/src/HoneyMalt/transforms/kipposearchip.py
3cc36fd3bde7e54424c8e8a121018be1ff69149c
[ "Apache-2.0" ]
permissive
Sts0mrg0/HoneyMalt
a32728642e5fe2c92d9d3d4e49c0d15f543b990d
017e1f9e6ab976a747a60a9f847c297361d05519
refs/heads/master
2020-06-12T19:45:47.458444
2014-12-15T20:03:06
2014-12-15T20:03:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,915
py
#!/usr/bin/env python from canari.maltego.message import Field, UIMessage from canari.easygui import multenterbox from canari.framework import configure from common.dbconnect import db_connect from common.entities import KippoHoneypot, KippoSession __author__ = 'catalyst256' __copyright__ = 'Copyright 2014, Honeyma...
[ "catalyst256@gmail.com" ]
catalyst256@gmail.com
23624665001829ec5da57cd2d06179b34622ef6b
b422fc4f7f336d084e1a3282addb103ab2e50f34
/uf3/wsgi.py
81e7393790eb0ac502502947c62acb9e5ca5f989
[ "MIT" ]
permissive
sirmmo/UF3
afea5ad71dad12a810b9d275713b2398cd3cff15
7ec82af20d4a2d27d7dadb0ed3be39da6cad9dfe
refs/heads/master
2016-09-06T04:12:17.669274
2014-10-23T22:11:25
2014-10-23T22:11:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
""" WSGI config for uf3 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "uf3.settings") from django.core.wsgi impo...
[ "sirmmo@gmail.com" ]
sirmmo@gmail.com
67a625cb3eb22cf871daf6ce509a54a8976a6c3d
848c9e45e303c7327b435fe65102bb69f0d8e358
/tests/test_version.py
e0182b0542c566d635be7f3ec009c5085b7fcf88
[ "MIT" ]
permissive
Cloudxtreme/vitrine
e02c15eaab62989eabe4ce1f6fefc3fe0b322d88
61b44e8452db62d9067369950567e1b6cd888919
refs/heads/master
2021-05-29T10:23:10.944170
2015-06-19T18:46:44
2015-06-19T19:06:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # This file is part of vitrine. # https://github.com/globocom/vitrine # Licensed under the MIT license: # http://www.opensource.org/licenses/MIT-license # Copyright (c) 2015, Globo.com <talentos@corp.globo.com> from preggy import expect from vitrine import __version__ f...
[ "scorphus@gmail.com" ]
scorphus@gmail.com
8d8a7df293ce4fd87dcb35ff7d4421ba66746ff9
10100b64d5a37bbb12851823f716e84d1b5b93a7
/carpyncho2/webproject/static/Brython/Lib/base64.py
932fafeff149109ed5bd5b72bf9fe682d81b1724
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
carpyncho/yeolde_carpyncho
5a45e969466f234a7d36c3228990beb1dc5c51f2
fba72ebf9d4a3e4e4ea18160310058c6812a0457
refs/heads/master
2021-07-13T12:54:41.964810
2020-04-20T00:59:00
2020-04-20T00:59:00
156,037,861
0
0
BSD-3-Clause
2020-06-05T19:40:39
2018-11-04T01:08:00
Python
UTF-8
Python
false
false
14,385
py
#! /usr/bin/env python3 """RFC 3548: Base16, Base32, Base64 Data Encodings""" # Modified 04-Oct-1995 by Jack Jansen to use binascii module # Modified 30-Dec-2003 by Barry Warsaw to add full RFC 3548 support # Modified 22-May-2007 by Guido van Rossum to use bytes everywhere import re import struct import bi...
[ "jbc.develop@gmail.com" ]
jbc.develop@gmail.com
3f77aece8ba12abf20702dc6beb5e808a95969fd
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/xG2KB9T7mHgycGCSz_12.py
128a729feaf3094d4532c1daf0c375b319d0ee43
[]
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
499
py
""" Create a function to test if a string is a valid pin or not. A valid pin has: * Exactly 4 or 6 characters. * Only numerical characters (0-9). * No whitespace. ### Examples valid("1234") ➞ True valid("45135") ➞ False valid("89abc1") ➞ False valid("900876") ➞ True ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
4daefd33550f6409929e57e283d6e21cab8cb73b
9d0195aa83cc594a8c61f334b90375961e62d4fe
/JTTest/SL7/CMSSW_10_2_15/src/dataRunA/nano3588.py
4cda399d160a151b115f80077112c6753ecaf6c4
[]
no_license
rsk146/CMS
4e49592fc64f6438051544c5de18598db36ed985
5f8dab8c59ae556598b9747b52b88205fffc4dbe
refs/heads/master
2022-12-01T03:57:12.126113
2020-08-04T03:29:27
2020-08-04T03:29:27
284,863,383
0
0
null
null
null
null
UTF-8
Python
false
false
4,292
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: nanoAOD_jetToolbox_cff -s NANO --data --eventcontent NANOAOD --datatier NANOAOD --no_exec --conditions 102X_dataRun2_Sep2018Rereco_v1 --era...
[ "rsk146@scarletmail.rutgers.edu" ]
rsk146@scarletmail.rutgers.edu
121d3aebe6785a081ccd84e13a599a302787df55
3df98e7d4551220e3b09d122e8d6897ca572d9f3
/string/join_method.py
3954fd9cc8f79363352065749f3ac90a6c624a51
[]
no_license
Madhav2108/Python-
2e4bf778348786d8dd082e3e1cdd7acb41d9f559
fdfdf944a96d83352979bc23c3b65aac7bd41d26
refs/heads/master
2023-03-30T21:37:26.326980
2021-03-31T17:40:49
2021-03-31T17:40:49
273,668,175
1
0
null
null
null
null
UTF-8
Python
false
false
656
py
numList = ['1', '2', '3', '4'] seperator = ', ' print(seperator.join(numList)) numTuple = ('1', '2', '3', '4') print(seperator.join(numTuple)) s1 = 'abc' s2 = '123' """ Each character of s2 is concatenated to the front of s1""" print('s1.join(s2):', s1.join(s2)) """ Each character of s1 is concatenate...
[ "noreply@github.com" ]
Madhav2108.noreply@github.com
45a7187f646f12f758cd5f8ab7267a3bb614d1fd
e1861db3358e660ef6b5c8daa743e8aa2a0eca5a
/scripts/concat_fisher.py
32382d683d927e5e102ce76541f9c5642b16a80f
[]
no_license
EthanHolleman/metasnake
5ed9288adb586aed5e4339506c5174f556c5693a
9af2fd5b2b0c463c58521072dd43fad45a242b81
refs/heads/main
2023-05-12T00:44:00.671654
2021-06-04T14:19:38
2021-06-04T14:19:38
364,414,399
0
0
null
2021-05-26T21:31:19
2021-05-04T23:41:22
Python
UTF-8
Python
false
false
1,042
py
# Concatenate processed fisher files into one tsv file # that can easily be read by R as a dataframe def concatenate(filepaths, output_path): ref_header = [] with open(output_path, "w") as handle: for i, fp in enumerate(filepaths): with open(fp) as fp_handle: content = fp_h...
[ "etholleman@ucdavis.edu" ]
etholleman@ucdavis.edu
716ffacef8771db4ec1453e221b041e1ba775192
3c88e65e76d8a41fca5bc469eb99117b996711f2
/pgadmin_old/pgadmin4-1.2/web/pgadmin/browser/server_groups/servers/databases/schemas/functions/tests/test_trigger_func_delete.py
4bd28ebebec0e0beedadd3be64974df16bd99780
[ "PostgreSQL" ]
permissive
luvres/alpine
85591b77f0dbc328d89e028c22ef1479be33ffbe
05dc3e77cc8c454143525fed79e38bc38fc390f7
refs/heads/master
2021-01-11T15:48:48.478244
2017-10-31T15:30:32
2017-10-31T15:30:32
79,933,463
1
0
null
null
null
null
UTF-8
Python
false
false
2,855
py
# ################################################################# # # pgAdmin 4 - PostgreSQL Tools # # Copyright (C) 2013 - 2017, The pgAdmin Development Team # This software is released under the PostgreSQL Licence # # ################################################################## import uuid from regression im...
[ "luvres@hotmail.com" ]
luvres@hotmail.com
2ed8f206292760655a36ba7d579fe53f911f43bf
c7a6f8ed434c86b4cdae9c6144b9dd557e594f78
/ECE364/.PyCharm40/system/python_stubs/348993582/atk/Image.py
b8e9b5416294416a2ca884385309945484860639
[]
no_license
ArbalestV/Purdue-Coursework
75d979bbe72106975812b1d46b7d854e16e8e15e
ee7f86145edb41c17aefcd442fa42353a9e1b5d1
refs/heads/master
2020-08-29T05:27:52.342264
2018-04-03T17:59:01
2018-04-03T17:59:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
965
py
# encoding: utf-8 # module atk # from /usr/lib64/python2.6/site-packages/gtk-2.0/atk.so # by generator 1.136 # no doc # imports import gobject as __gobject import gobject._gobject as __gobject__gobject class Image(__gobject.GInterface): # no doc @classmethod def do_get_image_description(cls, *args, **kwa...
[ "pkalita@princeton.edu" ]
pkalita@princeton.edu
c3111df2482164c0a10145393c9152b25646ad6b
da229938296bff6c49fcc25cd75e3bb41dd0711b
/TF_Basics_Aladdin_YouTube/Lesson_17_2A_TB_Custom_Loop.py
1d75c8436e1e044b92462f0db2f5c799ab8add12
[]
no_license
benjaminmace/Tensorflow_git
c88c8103458fc25b441da848e50ce0735cb25c6c
8ed218233f61b56d1e5f20b29c35c920af496e5e
refs/heads/main
2023-04-08T19:59:55.903288
2021-04-17T02:30:49
2021-04-17T02:30:49
358,766,682
0
0
null
null
null
null
UTF-8
Python
false
false
3,250
py
import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' import io import matplotlib.pyplot as plt import numpy as np import tensorflow_datasets as tfds import tensorflow as tf from tensorflow import keras from tensorflow.keras import layers physical_device = tf.config.list_physical_devices('GPU') tf.config.experimental.s...
[ "mace.benjamin.e@gmail.com" ]
mace.benjamin.e@gmail.com
539e1283cc8d8fff793f75cac7f51505d940313f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02747/s769323868.py
eee4e7c8c75e2152659db47efd46b45d2d09083c
[]
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
90
py
S = input () S = S.replace('hi', '') if len (S) == 0: print ('Yes') else: print ('No')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3f4409b7c70fa0a8239ae1a276c941cab966a072
d14193a5d565c4f8ad9d69a975ae24e62c26943a
/easystack_dashboard/dashboards/admin/invcode/urls.py
34eb04cc5ba6755f3a6650fd3472fd5057d1d7ed
[ "Apache-2.0" ]
permissive
oksbsb/horizon-acc
b84783c5a81a2678195c45d31a24ca214b69562f
9524f1952461c83db485d5d1702c350b158d7ce0
refs/heads/master
2020-03-19T03:20:52.007840
2017-11-14T09:17:04
2017-11-14T09:17:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
from django.conf.urls import patterns # noqa from django.conf.urls import url # noqa from django.views.generic import TemplateView as template urlpatterns = patterns( '', url(r'^$', template.as_view(template_name="admin/invcode/table.html"), name='index'), url(r'^form/$', templat...
[ "zhoub1986@aliyun.com" ]
zhoub1986@aliyun.com
9cc1512fcdbfda900329e1c31886cafa34453e8b
bf75aedabf54078049c488cd262ef827186dd17c
/tests/web/test_bookmark_server.py
83f5d4ace5b15910b0c2d4fdbfb7f4623692ff5a
[ "MIT", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
JASTYN/pythonmaster
ed1b2059ad923032c1cef43094b2a012e518b65b
46638ab09d28b65ce5431cd0759fe6df272fb85d
refs/heads/master
2023-07-12T17:32:45.611277
2021-09-02T19:21:43
2021-09-02T19:21:43
402,536,831
0
0
null
null
null
null
UTF-8
Python
false
false
6,858
py
#!/usr/bin/env python3 # # Test script for the Bookmark Server. # # The server should be listening on port 8000, answer a GET request to / # with an HTML document, answer a POST request by testing the provided URI # and responding accordingly, and answer a GET request to /name depending # on whether the name was previo...
[ "jastynmanya@gmail.com" ]
jastynmanya@gmail.com
79bb1dd166c03f8352c4d77a8de5be26cc5b281f
b2f8c41358f6c6f4ce78328695a7b4f96adf806b
/crm/urls.py
c5d91af1c7435abd25ce2ee2586ec0306b577fb2
[]
no_license
funsojoba/staff_management_api
6f472ea0a53095b6860969cf88f87b50fea69729
792bc652ec61e3f0d16bab1ff36cf72643161dbe
refs/heads/main
2023-05-24T04:45:20.895495
2021-06-13T19:45:07
2021-06-13T19:45:07
373,336,004
0
0
null
null
null
null
UTF-8
Python
false
false
842
py
"""crm URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vie...
[ "42432746+funsojoba@users.noreply.github.com" ]
42432746+funsojoba@users.noreply.github.com
5f8ec07e8e61c83a3f6c8d2a92768f1a0edbc745
c5744c2fda48ae6a79c155c641fe98021a0cb7f3
/PyQtExamples/examples/mainwindows/sdi/sdi.py
67ed214c4d0018ff0b47e7e8a812160ece297f6d
[]
no_license
skinkie/Scripts
e0fd3d3f767612ade111f28bc7af3e1b25fc2947
80a1ba71ddf9a0c5ff33866832cb5c42aca0c0b1
refs/heads/master
2021-05-31T16:57:21.100919
2016-05-23T09:58:59
2016-05-23T09:58:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,479
py
#!/usr/bin/env python ############################################################################# ## ## Copyright (C) 2013 Riverbank Computing Limited. ## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ## All rights reserved. ## ## This file is part of the examples of PyQtExamples. ## ## $QT_BEGI...
[ "death_finger@sina.com" ]
death_finger@sina.com
88a9d048ef4fd699b379e6b9b28649ac41c309b6
63243e1ee2895d4bb5299d3be78d6055ca8852fd
/examples/htmlStripper.py
1d7a0f0ab33a99040196915705682340d22dcc8f
[ "MIT" ]
permissive
xecgr/pyparsing
f0638983d6c1015fe43d52a7281e368ab2bb657f
179b75fbb948d17e1a94e9d143d0a18fbd08dd89
refs/heads/master
2020-03-26T06:22:09.039727
2019-08-16T04:33:52
2019-08-16T04:33:52
144,601,565
1
1
MIT
2018-08-13T15:52:12
2018-08-13T15:52:11
null
UTF-8
Python
false
false
1,212
py
# # htmlStripper.py # # Sample code for stripping HTML markup tags and scripts from # HTML source files. # # Copyright (c) 2006, 2016, Paul McGuire # from contextlib import closing import urllib.request, urllib.parse, urllib.error from pyparsing import (makeHTMLTags, SkipTo, commonHTMLEntity, replaceHTMLEn...
[ "ptmcg@austin.rr.com" ]
ptmcg@austin.rr.com
58f294fb7c2e6ff3f6baad369d47cb3d7f5ebfdf
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/difference-of-squares/5296cffbd8cb4106b90a8c151835207a.py
58590c4ded48845b1c5792cfdf8fc22350792e2c
[]
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
230
py
def difference(number): return square_of_sum(number) - sum_of_squares(number) def square_of_sum(number): return sum(range(number + 1)) ** 2 def sum_of_squares(number): return sum([x ** 2 for x in range(number + 1)])
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
3c95ddb0d0cfeabb0a6f0f8f0374552bddd9deee
2509936d814fb6cdd283c2549c518c8dfad9450c
/api/organisations/tests/test_endpoint_response_organisations.py
4b8a017b90d801d5635bcc2f3274855e32a14a76
[ "MIT" ]
permissive
uktrade/lite-api
19f829119fa96de3f4862eb233845508b0fef7eb
b35792fc981220285ed9a7b3659aba460f1b207a
refs/heads/dev
2023-08-25T10:11:17.594001
2023-08-24T14:24:43
2023-08-24T14:24:43
172,914,199
4
3
MIT
2023-09-14T17:36:47
2019-02-27T12:46:22
Python
UTF-8
Python
false
false
1,699
py
from test_helpers.test_endpoints.test_endpoint_response_time import EndPointTests class OrganisationResponseTests(EndPointTests): url = "/organisations/" def test_organisation_users_list(self): self.call_endpoint( self.get_exporter_headers(), self.url + self.get_exporter_headers()["ORGANI...
[ "noreply@github.com" ]
uktrade.noreply@github.com
0e10bd6e5b388812ebfa70b6fa14e17e27fa6470
30613ad089e7b7ebe1d7bc943e59993461888a4b
/learnPythonHardWay/ex33.py
0cfe8884797ac7db5bbd3e8a7161f434afeadda1
[]
no_license
zylhub/python-notes
bee7e38a7af779257cbe1389dafc40f0d0bddb74
8be7ce9943a38c2789487b23b1aa596632e87510
refs/heads/master
2021-09-18T15:21:26.937424
2018-07-16T10:19:55
2018-07-16T10:19:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
270
py
#!/usr/bin/env python # coding=utf-8 i = 0 numbers = [] while i < 6: print "At the top i is %d"%i numbers.append(i) i = i + 1 print "Numbers now: ", numbers print "At the bottom i is %d"% i print "The numbers: " for num in numbers: print num
[ "seezhouyunli@gmail.com" ]
seezhouyunli@gmail.com
5e2d7f041d48760cb42d9c3cb48a94480d583a28
da052c0bbf811dc4c29a83d1b1bffffd41becaab
/core/res_zone/models/res_zone.py
429769c92397d13a875035775cdbae9ca8be8daa
[]
no_license
Muhammad-SF/Test
ef76a45ad28ac8054a4844f5b3826040a222fb6e
46e15330b5d642053da61754247f3fbf9d02717e
refs/heads/main
2023-03-13T10:03:50.146152
2021-03-07T20:28:36
2021-03-07T20:28:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,321
py
# -*- coding: utf-8 -*- from odoo import fields, models, api, _ class ResZone(models.Model): _name = 'res.zone' _description = 'Res Zone' name = fields.Char('Zone') company_id = fields.Many2one('res.company','Company') branch_ids = fields.Many2many('res.branch', id1='user_id', id2='branch_id', str...
[ "jbalu2801@gmail.com" ]
jbalu2801@gmail.com
386480b8109a9ee140898611757bf71d5705f932
c39ea9a5a081bc262a226bc1d8681d5d5428b71d
/4. Sets/Set_Discard_Remove_Pop.py
3b996ba92f31f711cc76249c9f897b454bfda729
[]
no_license
Avani18/Hackerrank-Python
234acbdfeb3036f4c479e6bee8e6db371a2ee1bb
cefb7dcbc5c59e4082d2954ca2f9fae0b3cbb495
refs/heads/master
2021-01-08T08:11:13.041289
2020-12-07T20:27:35
2020-12-07T20:27:35
241,966,775
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
n = int(input()) s = set(map(int, input().split())) o = int(input()) for i in range(0,o): string= input().split() if (string[0]=="pop"): s.pop() elif (string[0]=="remove"): num= int(string[1]) s.remove(num) else: num= int(string[1]) s.discard(num) print (sum(s))...
[ "noreply@github.com" ]
Avani18.noreply@github.com
6655833c22ca7b94f8ebb5d5168cd49fc9080ac6
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2954/60605/286024.py
74b324d69db039649a5ab0788522c14ce619d6c4
[]
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
14
py
print("noway")
[ "1069583789@qq.com" ]
1069583789@qq.com
69db1b8ff75a6ed06634b0650af33160f179cf60
f4826fd610c1163a2afe1a3c7283bc34696fe1c9
/filtering/ml.py
b5a25b6b73121fcb3f097bbf76fe91d13eb78e4f
[]
no_license
gdmurray/ml-scoreboard-extraction
19db271a1157a2534d727238fc06bee55d7fa2c2
0e76791a8c0dc94cc64a5f557c02635eb20a3915
refs/heads/master
2022-12-15T18:22:41.865471
2019-12-02T15:55:30
2019-12-02T15:55:30
225,286,901
0
0
null
2022-12-08T03:15:11
2019-12-02T04:41:58
Python
UTF-8
Python
false
false
11,261
py
import os from keras.models import Sequential import pickle from keras.layers import * from keras.models import Model from keras import backend as K import pandas as pd from cv2 import imread from filtering.functions import resize_image import numpy as np from sklearn.preprocessing import LabelBinarizer from filtering....
[ "gd-murray@hotmail.com" ]
gd-murray@hotmail.com
127600aab6325711e94ccf8ca9fb99a57c598d08
3e9cdcc8847da5a2ea8391639ad8fd95592475b1
/1221.py
0a9b1ebdded41d4ba580ca6fd1f3a96400149994
[]
no_license
mindentropy/leetcode
ec790ed671a2224411133af127e605438bbbbe52
4a24edca5926c0b10d1a4786262dd403b12d1aee
refs/heads/master
2023-01-27T11:26:07.949478
2023-01-25T19:08:18
2023-01-25T19:08:18
233,759,165
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
#!/usr/bin/env python class Solution(object): def balancedStringSplit(self, s): bal = 0 bal_cnt = 0 start_ch = None for ch in s: if start_ch == None: bal += 1 start_ch = ch else: if start_ch != ch: bal -= 1 else: bal += 1 if bal == 0: bal_cnt += 1 start_ch = Non...
[ "mindentropy@gmail.com" ]
mindentropy@gmail.com
66241895c9bbfc0b1bdd4af098c1860b0deb4c2f
a93018f00de92caf0e369e98a03a8f9c5bb80d5b
/src/lib/framat/fem/properties.py
e7fe83709ef03c9289e5732a61407f5731404497
[ "Apache-2.0" ]
permissive
zhaoweisonake/framat
dcdabdb4eadd447ba6544c4db5201bf99c439f62
c469f0742e3358062cc0b73ccb1e9564bcaaaaf4
refs/heads/master
2022-04-10T21:44:12.155469
2020-01-08T18:28:42
2020-01-08T18:28:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,777
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # ---------------------------------------------------------------------- # Copyright 2019-2020 Airinnova AB and the FramAT authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You ...
[ "dettmann@kth.se" ]
dettmann@kth.se
c17c67300c62d5a6c5e0086531c2fef1caf2720e
5725d7bcf8aca2c234de171ed5b7ead906c2e9c9
/src/correction.py
b01689ea01f25dc9c20040f4832a961b53c63805
[]
no_license
youichiro/gec-classifier
93a8bf823b2c80a5765ea2e97594ccacfb3d3d15
ff45a1a3e7affef155395b93637b27333b73f42a
refs/heads/master
2022-10-13T17:57:12.966984
2020-01-24T12:34:42
2020-01-24T12:34:42
148,181,968
0
0
null
2022-09-23T22:19:12
2018-09-10T16:02:30
Python
UTF-8
Python
false
false
11,485
py
# -*- coding: utf-8 -*- import json import argparse import chainer from nets import CNNEncoder, Classifier, ContextClassifier, AttnContextClassifier from mecab import Mecab from utils import make_dataset, clean_text, convert_to_kana from .train import seq_convert class Checker: def __init__(self, mecab_dict_file,...
[ "cinnamon416@gmail.com" ]
cinnamon416@gmail.com
26af603d3c7056e193ec24c519421e6ff703c1dd
4d51aa09c7b65d2c54212a3004794a50f36a7a89
/leetcode/array/2.addTwoNumbers/2addTwoNumbers.py
90d588a6ca1a5f651f97b92920467a590354586d
[]
no_license
letterbeezps/leetcode-algorithm
30bd7335e96fdcca3c3ec1269c1c6fa78afd2f3b
b6211b1bfd699e45164a8cb5a8fbf2b4ec9756f9
refs/heads/master
2021-07-06T18:29:18.666607
2020-08-06T17:52:50
2020-08-06T17:52:50
158,728,987
10
2
null
2020-08-06T17:50:17
2018-11-22T16:56:13
JavaScript
UTF-8
Python
false
false
890
py
# Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: def addTwoNumbers(self, l1: ListNode, l2: ListNode) -> ListNode: dummyHead = ListNode(0) p = l1 q = l2 currentNode = dummyHead carry ...
[ "unlimitedzazp@outlook.com" ]
unlimitedzazp@outlook.com
06bd24df8581bd076775f351b713f4511d41b690
e3d9592ff05f225433e1689ec70253043a360ee2
/hackerrank/python/numpy/array_math.py
a797e61679a79ae9f162c9a8516fb5c917e01b65
[]
no_license
jreiher2003/code_challenges
cad28cac57b6e14ffd30d2b7fe00abdba8b3fa47
ac03c868b28e1cfa22d8257366e7a0f8f757ad8c
refs/heads/master
2020-04-16T02:25:26.267418
2016-12-12T01:23:56
2016-12-12T01:23:56
58,969,218
1
0
null
null
null
null
UTF-8
Python
false
false
906
py
import numpy a = numpy.array([1,2,3,4], float) b = numpy.array([5,6,7,8], float) print a + b #[ 6. 8. 10. 12.] print numpy.add(a, b) #[ 6. 8. 10. 12.] print a - b #[-4. -4. -4. -4.] print numpy.subtract(a, b) #[-4. -4. -4. -4.] print a * b ...
[ "jreiher2003@yahoo.com" ]
jreiher2003@yahoo.com
5e06836d31adb3e79fea938f727323bfad03d750
4619aca6b85f79bf05d3a2ac6ffe9e8bf78b3e48
/graphs.py
a34cf613a9cdfe6de0301ab0dc5219ef6ef77c67
[]
no_license
c24b/kraken_data
03e72b3f641d3dbbf49aac3c8add81def3040ca3
d08a3f791c814ba838360d1ebeab37304867d99f
refs/heads/master
2021-01-11T20:09:33.404678
2017-04-30T15:10:51
2017-04-30T15:10:51
79,054,457
2
1
null
null
null
null
UTF-8
Python
false
false
2,391
py
#/usr/bin/env python3 #coding: utf-8 ''' filename: graphs.py Scripts to build and draw graphs ''' import networkx as nx import matplotlib.pyplot as plt from itertools import chain def build_graph_cotypes(resources, types): '''Show the graph of common types predicates are shown as **nodes** ''' co_types...
[ "4barbes@gmail.com" ]
4barbes@gmail.com
9782904ad0f04cbe3ebb1623f73ff4e0e8b7b5cf
ff3dd334ac551c10bcc6b001006f79a4a5624623
/packages/fetchai/skills/yoti_user/behaviours.py
811468fc173b528101b7470f224a23bcf8387f91
[ "Apache-2.0" ]
permissive
fetchai/agents-yoti
8df8bbaf158196899c09016eea21d1df92db16df
d71d57508079e5cd3854037bc3c473e24915af6f
refs/heads/main
2023-02-13T22:39:19.201876
2021-01-15T15:12:53
2021-01-15T15:12:53
312,335,969
4
0
null
null
null
null
UTF-8
Python
false
false
1,413
py
# -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # # Copyright 2018-2019 Fetch.AI Limited # # 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 ...
[ "david.minarsch@googlemail.com" ]
david.minarsch@googlemail.com
d352eb5219c39d38076d2d46690e9853bf1ea574
4dbaea97b6b6ba4f94f8996b60734888b163f69a
/LeetCode/21.py
fada5ba7057211d6cef9ecc0af634d5cc3200fda
[]
no_license
Ph0en1xGSeek/ACM
099954dedfccd6e87767acb5d39780d04932fc63
b6730843ab0455ac72b857c0dff1094df0ae40f5
refs/heads/master
2022-10-25T09:15:41.614817
2022-10-04T12:17:11
2022-10-04T12:17:11
63,936,497
2
0
null
null
null
null
UTF-8
Python
false
false
848
py
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def mergeTwoLists(self, l1, l2): """ :type l1: ListNode :type l2: ListNode :rtype: ListNode """ ...
[ "54panguosheng@gmail.com" ]
54panguosheng@gmail.com
491cdfe91f1defa3a10017a1c855f610deb74fea
1cb0cc435061b6a0156b37813343ae46b1f7346e
/1_learn_step/try_third/zero-Adam-512.py
32c4fcf32357a17ef85595886fb621c81287f6e7
[]
no_license
youthliuxi/keras
6370a9de11e152d8ba96e68e9ff02337203b7e66
60a367442f74313d0bd9af01f76068d56e23bec0
refs/heads/master
2020-04-30T19:54:16.628943
2019-08-21T09:47:13
2019-08-21T09:47:13
177,051,874
0
0
null
null
null
null
UTF-8
Python
false
false
1,660
py
# -*- coding:utf-8 -*- from keras import backend as K K.set_image_dim_ordering('th') import numpy as np np.random.seed(123) from keras.layers import * from keras.models import Sequential from keras.utils import np_utils from keras.datasets import mnist # (X_train, y_train), (X_test, y_test) = mnist.load_data() path = "...
[ "lx_einstein@sina.com" ]
lx_einstein@sina.com
14fb9d3f217e7bbabea921e73334e558e970a619
a121722217c4eb002ac2d0217f911bb29960cbaa
/flavio/physics/edms/test_neutronedm.py
348401a9950c6a068dfc2b4ae75b6d88187ba53c
[ "MIT" ]
permissive
Varamatango/flavio
4970c889ec2ba6fca3443cf1c82b37e8e4fd79a4
6eded9d7c77f3bb95c291ab4d8409642f76ca0ce
refs/heads/master
2020-03-24T06:22:48.668065
2018-07-09T15:00:51
2018-07-09T15:34:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,451
py
import unittest import flavio import wcxf par = flavio.default_parameters.get_central_all() class TestNeutronEDM(unittest.TestCase): def test_nedm_sm(self): self.assertEqual(flavio.sm_prediction('d_n'), 0) def test_nedm_jms_G(self): wc = wcxf.WC('WET', 'JMS', 160, {'Gtilde': 1e-6}) ...
[ "david.straub@tum.de" ]
david.straub@tum.de
213a0db0f25cf99757506fdcd072556d5e897679
f11add3b2359a1a91617a708a3f2d77983ef2d4b
/backend/test_22399/settings.py
28eeaf774eb1daca66278d067cb378f0eed87562
[]
no_license
crowdbotics-apps/test-22399
e4248056a3fd3fcd5cadde84a80c42e6a476ab3a
ec8560bf921001d40b5e140dc4644c5218272950
refs/heads/master
2023-01-18T19:55:08.666745
2020-11-08T10:52:32
2020-11-08T10:52:32
311,040,955
0
0
null
null
null
null
UTF-8
Python
false
false
6,080
py
""" Django settings for test_22399 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
1eef1ed13179a2f10c6dfd2a49bbc7c06649088e
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/cloud/sql/v1beta4/sql-v1beta4-py/tests/unit/gapic/sql_v1beta4/test_sql_databases_service.py
5d02e7a907cb7ce111e2ecaa8eaa9d0bb16c84d6
[ "Apache-2.0" ]
permissive
oltoco/googleapis-gen
bf40cfad61b4217aca07068bd4922a86e3bbd2d5
00ca50bdde80906d6f62314ef4f7630b8cdb6e15
refs/heads/master
2023-07-17T22:11:47.848185
2021-08-29T20:39:47
2021-08-29T20:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
67,750
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
1ef64ac4ac2c1c16fef4408f189c22633eb3117e
ea84b1228e1a5fda5d846c24ee605e7eb9778897
/MyCodes/ps04/ps4b.py
28afb993dd753798c4bb33bcf0b121e732d24760
[]
no_license
Chaeguevara/6-0001-fall-2016
2ffe6fa7280bfa80d625f1ec6d8dc2e07d16dedc
ac58dbf7c25ae032b65c3dfa4912c1865964d0f8
refs/heads/master
2023-04-05T17:59:16.659524
2021-05-08T11:00:14
2021-05-08T11:00:14
296,310,671
1
0
null
null
null
null
UTF-8
Python
false
false
10,407
py
# Problem Set 4B # Name: <your name here> # Collaborators: # Time Spent: x:xx import string ### HELPER CODE ### def load_words(file_name): ''' file_name (string): the name of the file containing the list of words to load Returns: a list of valid words. Words are strings of lower...
[ "dfso2@naver.com" ]
dfso2@naver.com
110975d0bcf60d00d56c726aa299bdaf5bdac0ba
7b4cbaa1e7bab897e34acba06f73ac17760d394a
/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_azure_artifact.py
14e02c5a4ce0909daa1c929de3d1b9e0a2cfb42d
[ "Apache-2.0" ]
permissive
nHurD/argo
0fab7f56179c848ad8a77a9f8981cb62b4a71d09
f4a65b11a184f7429d0615a6fa65bc2cea4cc425
refs/heads/master
2023-01-13T04:39:54.793473
2022-12-18T04:48:37
2022-12-18T04:48:37
227,931,854
0
2
Apache-2.0
2019-12-13T22:24:19
2019-12-13T22:24:18
null
UTF-8
Python
false
false
13,114
py
""" Argo Workflows API Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ # noqa: E501 The version of the OpenAPI document: VERSION Generated by: https://openapi-g...
[ "noreply@github.com" ]
nHurD.noreply@github.com
8d5bcc71cd5e64d75a64018271bbeaceedeb946a
a2ab6c23253badb3be54b19ba061e1aeaac6a8cd
/demos/retail_analytics/TEST.py
3426b67a9fd54fee960bc6296c0421c1a95549af
[]
no_license
vivek09pathak/ImageDetection_RealTime
0720fb4a6f35a81591f401a04ae44aa3bbea013f
d9e376b41a1216aecaacc9626cee59d45001695c
refs/heads/master
2022-12-26T22:04:18.328476
2020-09-30T10:20:15
2020-09-30T10:20:15
152,729,896
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
from flask import request,jsonify from flask_cors import CORS from flask import Flask, render_template, Response app = Flask(__name__) CORS(app) @app.route('/roi_points',methods=["POST"]) def roi_points(): global dict dict=request.get_json() print(dict) return "ok" app.run(host='0.0.0.0', debug=True, ...
[ "anupamb266@gmail.com" ]
anupamb266@gmail.com
9215922762e6c2f03801991defd2ae8b837d440e
2e23286fd6bbb26cf2262ac8588040ffd207f372
/app/app/settings.py
acdb13bda07e11ec0935325125ea16c0b77c4cfa
[ "MIT" ]
permissive
Zoki92/Vue-recipe-api-frontend
470a8ba0fc96f0788fddd9e24c9e86d6e393ab5c
96a3505f3a451e5a9402b20c10261e4d7e3effcb
refs/heads/master
2020-05-19T23:12:44.846021
2019-05-17T19:04:54
2019-05-17T19:04:54
185,262,656
1
0
null
null
null
null
UTF-8
Python
false
false
3,487
py
""" Django settings for app project. Generated by 'django-admin startproject' using Django 2.1.7. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # Bui...
[ "zoranstoilov@yahoo.com" ]
zoranstoilov@yahoo.com
19e0b3d3896fa44fc553219b37a99f308115d7bd
727f1bc2205c88577b419cf0036c029b8c6f7766
/out-bin/py/google/fhir/models/model_test.runfiles/com_google_fhir/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/examples/tutorials/mnist/mnist.py
8cd962baa3bc4027e527c50b812531db6342d1a1
[ "Apache-2.0" ]
permissive
rasalt/fhir
55cf78feed3596a3101b86f9e9bbf6652c6ed4ad
d49883cc4d4986e11ca66058d5a327691e6e048a
refs/heads/master
2020-04-13T00:16:54.050913
2019-01-15T14:22:15
2019-01-15T14:22:15
160,260,223
0
0
Apache-2.0
2018-12-03T22:07:01
2018-12-03T22:07:01
null
UTF-8
Python
false
false
185
py
/home/rkharwar/.cache/bazel/_bazel_rkharwar/c4bcd65252c8f8250f091ba96375f9a5/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/examples/tutorials/mnist/mnist.py
[ "ruchika.kharwar@gmail.com" ]
ruchika.kharwar@gmail.com
741c25e98ebbfa4557efb24aa4bfd166d9506cd4
fed6c6bdb6276d195bc565e527c3f19369d22b74
/selection_bias/bias_check/selection_bias_images.py
c8288c7b95cc782954ee154668eb82e26e816e8e
[]
no_license
hekunlie/astrophy-research
edbe12d8dde83e0896e982f08b463fdcd3279bab
7b2b7ada7e7421585e8993192f6111282c9cbb38
refs/heads/master
2021-11-15T05:08:51.271669
2021-11-13T08:53:33
2021-11-13T08:53:33
85,927,798
0
0
null
null
null
null
UTF-8
Python
false
false
6,689
py
import os my_home = os.popen("echo $MYWORK_DIR").readlines()[0][:-1] from sys import path, argv path.append('%s/work/mylib/' % my_home) import numpy import galsim from astropy.io import fits from Fourier_Quad import Fourier_Quad import time from mpi4py import MPI import h5py import tool_box import shutil comm = MPI.CO...
[ "hekun_lee@sjtu.edu.cn" ]
hekun_lee@sjtu.edu.cn
0dbe66d7b7d7c9b6b23812e91dd791605d0afa96
40b0fed776272a841b0c003b79c4da99e8d9096f
/tests/test_api.py
bae2ea12d1647d4d1bed442da48c0c0ccffb4836
[ "MIT" ]
permissive
winbotscript/pyne
355252e2f8c1f438927c92fdbe1fe7bb86940197
689fa5d8135b711b480a4200873ba3b32c8d735c
refs/heads/master
2020-09-03T03:30:24.911470
2019-11-03T09:11:38
2019-11-03T09:11:38
219,374,991
1
0
MIT
2019-11-03T22:36:30
2019-11-03T22:36:30
null
UTF-8
Python
false
false
909
py
""" test_api.py """ # pylint: disable=redefined-outer-name, invalid-name import pytest from frugal.context import FContext from pyne.api import TalkApi, TalkApiFactory pytestmark = pytest.mark.asyncio @pytest.fixture def api(): """ `TalkApi`を生成するフィクスチャ """ return TalkApiFactory("legy-jp-addr.line....
[ "in9lude@gmail.com" ]
in9lude@gmail.com
62fc3fd810553b2b085ef5742c0d15c29bd5be7f
18430833920b3193d2f26ed526ca8f6d7e3df4c8
/src/dashboards/fields.py
c899d4f54f911b194ffe50afec2fe5ac05388e85
[ "MIT" ]
permissive
providenz/phase
ed8b48ea51d4b359f8012e603b328adf13d5e535
b0c46a5468eda6d4eae7b2b959c6210c8d1bbc60
refs/heads/master
2021-01-17T06:56:07.842719
2016-06-28T11:17:53
2016-06-28T11:17:53
47,676,508
0
0
null
2015-12-09T07:45:19
2015-12-09T07:45:18
null
UTF-8
Python
false
false
3,132
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals, absolute_import from importlib import import_module from django.db import models from django.core.exceptions import ValidationError from django.utils.six import string_types from django.utils.module_loading import import_string from django.conf import s...
[ "thibault@miximum.fr" ]
thibault@miximum.fr
1465f356e6ade269dc94c015c87d05cbb9e6a3d7
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/qujNfKFH9JkpwzuLt_0.py
51863c328e43546ac801b31ffc1c0cab6de23743
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
109
py
def first_index(hex_txt, needle): return ''.join(chr(int(i, 16)) for i in hex_txt.split()).index(needle)
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
5933b8fdf83cf5c1cabcae20d50b9d3b66276a00
bfd41fc543f6dbfc821341522cf8e7a9d2e34ce8
/venv/lib/python2.7/site-packages/pylint/checkers/similar.py
013f1b0f698b4cc0e4e1a3c8e7b8be7bfaa6290f
[]
no_license
MaraKovalcik/Flask
783243560ead637a381f76d3893da2b212eff898
1ff8413f3551b051f8e6c76db6cf402fc7428188
refs/heads/master
2021-01-22T09:09:16.165734
2015-02-24T16:57:14
2015-02-24T16:57:14
31,268,626
1
0
null
null
null
null
UTF-8
Python
false
false
14,109
py
# pylint: disable=W0622 # Copyright (c) 2004-2013 LOGILAB S.A. (Paris, FRANCE). # http://www.logilab.fr/ -- mailto:contact@logilab.fr # # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; either ver...
[ "mara.kovalcik@gmail.com" ]
mara.kovalcik@gmail.com
48aa7776a646570e4f87fb8cea26ab919a6ee8b6
bbe6f37f7347cb83f08846d505ac4aa6bc0031e6
/purity_fb/purity_fb_1dot9/models/array_s3_performance_response.py
ceb5cb911083909eade18c6f5de0c0cfd7629d48
[ "Apache-2.0" ]
permissive
bsamz-ps/purity_fb_python_client
02ff7213075cf1948e2db7b0835cc5fcc56f328a
11f27ef0c72d8aac1fc4e1ed036cca038b85dfa4
refs/heads/master
2021-02-19T08:11:04.042758
2020-02-12T23:56:08
2020-02-12T23:56:08
245,294,511
0
0
NOASSERTION
2020-03-06T00:14:27
2020-03-06T00:14:26
null
UTF-8
Python
false
false
4,379
py
# coding: utf-8 """ Pure Storage FlashBlade REST 1.9 Python SDK Pure Storage FlashBlade REST 1.9 Python SDK. Compatible with REST API versions 1.0 - 1.9. Developed by [Pure Storage, Inc](http://www.purestorage.com/). Documentations can be found at [purity-fb.readthedocs.io](http://purity-fb.readthedocs.io/). ...
[ "tlewis@purestorage.com" ]
tlewis@purestorage.com
5a1b5222cd525c176564afc3c16e223acbbb6410
9ce4292954000fd66bcdbd0797a280c306308d08
/quizzes/codejam/2019/02.you_can_go_your_own_way/solution.py
9839062fa93a7b3e0e8f806a3570cc1edc0b69b5
[ "MIT" ]
permissive
JiniousChoi/encyclopedia-in-code
0c786f2405bfc1d33291715d9574cae625ae45be
77bc551a03a2a3e3808e50016ece14adb5cfbd96
refs/heads/master
2021-06-27T07:50:10.789732
2020-05-29T12:50:46
2020-05-29T12:50:46
137,426,553
2
0
MIT
2020-10-13T08:56:12
2018-06-15T01:29:31
Python
UTF-8
Python
false
false
358
py
#!/usr/bin/env python3 def solve(n, her_path): return ''.join(['E' if c=='S' else 'S' for c in her_path]) def main(): t = int(input()) for i in range(1, t+1): n = int(input()) her_path = input().strip() my_path = solve(n, her_path) print("Case #{}: {}".format(i, my_path)) ...
[ "jinchoiseoul@gmail.com" ]
jinchoiseoul@gmail.com
143d12067dde2a179687cf80550b40ab5b4aa4e6
3a642fa1fc158d3289358b53770cdb39e5893711
/src/xlsxwriter/test/worksheet/test_worksheet05.py
c6bd9cdea5f2c1b41ce56101f88af5c98fe14575
[]
no_license
andbar-ru/traceyourself.appspot.com
d461277a3e6f8c27a651a1435f3206d7b9307d9f
5f0af16ba2727faceb6b7e1b98073cd7d3c60d4c
refs/heads/master
2020-07-23T14:58:21.511328
2016-12-26T22:03:01
2016-12-26T22:03:01
73,806,841
1
1
null
null
null
null
UTF-8
Python
false
false
2,257
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013, John McNamara, jmcnamara@cpan.org # import unittest from ...compatibility import StringIO from ..helperfunctions import _xml_to_list from ...worksheet import Worksheet from ...sharedstring...
[ "andrey@voktd-andbar.int.kronshtadt.ru" ]
andrey@voktd-andbar.int.kronshtadt.ru
067f9630e9afe1494bbc9ea42a676af6d2a80722
bc14b7d58665f813ec4ff160f63d972989bd9d33
/Hackerrank/Day_Of_Programmer.py
d3d88614b7715e7bf195132c960092faaf8817c2
[]
no_license
Dhrumil-Zion/Competitive-Programming-Basics
4f2a7dba7740c2b11c0739fa541d3f2fc651c01e
31d52f35ade0a99e32f933b37712654e025cb584
refs/heads/main
2023-05-31T23:19:58.159508
2021-07-05T17:45:32
2021-07-05T17:45:32
343,542,404
2
0
null
2021-05-26T14:13:50
2021-03-01T20:06:52
Python
UTF-8
Python
false
false
215
py
def dayOfProgrammer(year): if year == 1918: return "26.09.1918" if year % 4 == 0 and (year < 1918 or year % 400 == 0 or year % 100 != 0): return "12.09.%s" % year return "13.09.%s" % year
[ "dhrumilg699@gmail.com" ]
dhrumilg699@gmail.com
f58fa49b7d45ac35a88c368add5aa874d2521fca
734f04086455d2f6a7441f763a502f0a52f66de8
/code/util.py
9bb6c559f7b8b40d7650558ca6ca93afbe6317a3
[]
no_license
Sandy4321/MissenseClassificationUsingAdaBoost
102df2bf022eedcaf47080ac4bddaf81568cee95
66a109cdaa69ae46aa0fe51f5511d9f8a3655959
refs/heads/master
2020-03-15T01:17:47.727040
2017-12-28T12:33:46
2017-12-28T12:33:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,495
py
'''Contains commonly used methods. created on: 18th Sept, 2015 author: Rashmi Balasubramyam <rashmi.bmanyam@gmail.com> ''' # required packages and modules import os import sys import json import uniquify_alignments from operator import itemgetter from itertools import chain def unique(arr): '''returns unique e...
[ "noreply@github.com" ]
Sandy4321.noreply@github.com
f6ebc61b5bc87d90b92da582a0c696771d1d157b
43847ba6059b4e505b1a4569c99c72c4b002acad
/Python/08_편리한자료형/집합연습01.py
f1de4f4ed1252051c863c9e3338bc91600faa690
[]
no_license
PresentJay/Study_Languages
0ace57fa2e0eea8c2d03d42e5e0e9bc672fc4d82
8aa157ab51639a06fab01883f2eab16e28ab9406
refs/heads/master
2022-12-22T00:24:52.311172
2020-04-01T14:47:21
2020-04-01T14:47:21
185,522,444
0
0
null
2022-12-10T21:40:12
2019-05-08T03:37:17
JavaScript
UTF-8
Python
false
false
115
py
#set : 순서X, 중복X, 집합연산 제공 st1 = {"eng","math",1982,2020} st2 = {1,1,2,3,5} print(st1) print(st2)
[ "presentj94@gmail.com" ]
presentj94@gmail.com
9669298ad58778639203e12e3b8be69df7696ff0
21bf726bf895569a41a8b8d2db6772dc51f46cfd
/OTHERS/mean_forecasting.py
18b1d2740ffbe90215b0733bdbdbca79d674fd1a
[]
no_license
jeffsnguyen/Python-1
dd924d25337cd6ac21e321d7b2c5ac17c065d94b
463d32a61a760d076656c73c9f8c9fadf262438d
refs/heads/master
2022-03-23T09:50:04.476094
2019-12-23T12:32:49
2019-12-23T12:32:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,580
py
import pandas as pd import scipy as sp import numpy as np from matplotlib.finance import quotes_historical_yahoo_ohlc ticker='IBM' begtime = (2015,1,1) endtime = (2015,12,31) def month_ret(ticker,begtime,endtime): prices = quotes_historical_yahoo_ohlc(ticker,begtime,endtime,asobject=True, a...
[ "jerryxyx@163.com" ]
jerryxyx@163.com
58b62b1e810b07073d63ebdefd777e6856b94e4c
f3b233e5053e28fa95c549017bd75a30456eb50c
/p38a_input/L2Z/2Z-3FK_MD_NVT_rerun/set_5.py
a1c663ff84d1ebf9579498169462b417504bd310
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
741
py
import os dir = '/mnt/scratch/songlin3/run/p38a/L2Z/MD_NVT_rerun/ti_one-step/2Z_3FK/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_5.in' temp_pbs = filesdir + 'temp_5.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in la...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
ef2f916cadd79a547999d1febb8453c3fb5d8e49
bf93fbf5e7d18b4e496574c568b3bc96966e5079
/bk21022020/Project23022020/tests/convert_ansible/convert_ansible_task_yml_to_api_yml.py
2f68569a00bfadcb88d6e78a692ce52635c18a1c
[]
no_license
lamtov/lamtv10_ops
a9f8fc1313e87bc4ead587294e542fb894c91709
82b1686e23ad7f202516a9ff0a968f12b806ff7e
refs/heads/master
2022-12-31T11:46:55.575045
2020-10-21T09:15:25
2020-10-21T09:15:25
299,534,382
0
0
null
null
null
null
UTF-8
Python
false
false
4,270
py
import time import requests import os import json import oyaml as yaml from yaml.resolver import Resolver import re yaml.preserve_quotes = True # not necessary for your current input from collections import OrderedDict def load_yml_file(file_path): # remove resolver entries for On/Off/Yes/No for ch in "O...
[ "tovanlam20132223@gmail.com" ]
tovanlam20132223@gmail.com
04eaa35a29a213afa9ec3ad81fb15280de409197
a2f3f921f5f5533483b9f3cb8f1f00e6155863ef
/config/settings/local.py
d438aa084c61276f0287ce2f31414107e1775ba7
[ "MIT" ]
permissive
creimers/so-reproduce
effbde6b76eae3219da6a5ea535fefe142cfb286
259eda2d004a9406bfb3ea8d06c27253eff70784
refs/heads/master
2020-08-04T06:28:41.873059
2019-10-01T07:50:00
2019-10-01T07:50:00
212,038,752
0
0
MIT
2019-10-01T07:43:28
2019-10-01T07:40:21
Python
UTF-8
Python
false
false
2,358
py
from .base import * # noqa from .base import env # GENERAL # ------------------------------------------------------------------------------ # https://docs.djangoproject.com/en/dev/ref/settings/#debug DEBUG = True # https://docs.djangoproject.com/en/dev/ref/settings/#secret-key SECRET_KEY = env( "DJANGO_SECRET_KEY...
[ "christoph@superservice-international.com" ]
christoph@superservice-international.com
2b4f536d31cca0cc5e2395e120caabf9b35c6b5e
db3bb5d6013e91624a821e1f30251cb7bf1d294c
/python/ThermalImpedances.py
f26eacb3e88d93460d28b712591501b75079e418
[]
no_license
brendlin/StripsThermalModel
91f981e97075ec56bc073cbec8158038056d45be
9ff03fcc1262db1152f8b798a0022976ebd17eb1
refs/heads/master
2020-08-12T19:22:45.483218
2020-07-15T16:25:44
2020-07-15T16:25:44
214,827,676
0
0
null
null
null
null
UTF-8
Python
false
false
2,089
py
# # ThermalImpedances # import Config import SafetyFactors # Thermal impedances in Kelvin/Watt from FEA by Graham Beck # This is the function they use. I do not think we need it here, and instead we should # rewrite this in a series of TF1 objects to rederive rabc, rhcc, rfeast, rcm for the petals. # def Rfit(Rabc,Rh...
[ "kurt.brendlinger@cern.ch" ]
kurt.brendlinger@cern.ch
144bbd5b48d58bac28ab74673d07687973831c1e
a51eef4ae158e40fb6f86b1f48a7510ddc748002
/env/bin/celery
34798af4fbd451a8fd3ae694ee1957fd249a45dc
[]
no_license
sinanuozdemir/iris_calculator
ac07cc99106599f8339c109f91a08068e179f609
d4f014f8452a50e7ae16df732636797a9538e522
refs/heads/master
2021-01-16T20:52:23.955269
2016-04-26T18:17:39
2016-04-26T18:17:39
40,774,539
2
2
null
2015-08-15T17:35:35
2015-08-15T17:35:35
null
UTF-8
Python
false
false
262
#!/Users/sinanozdemir/Dropbox/Code/web_analytics/env/bin/python # -*- coding: utf-8 -*- import re import sys from celery.__main__ import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "sinan.u.ozdemir@gmail.com" ]
sinan.u.ozdemir@gmail.com
bf51ca19d0085248e938d217f009d816393bb688
6559d2c69ddcd73df844f9e26470c8ea06d92a6c
/xnr_0429/xnr/weibo_social_sensing_mappings.py
783506d26702004280b9315de6ccc066ebedf899
[]
no_license
yuanhuiru/xnr2
cc4199fbb136fa5bdf18d879bb77ceb5155627f3
b37ec9beccf7332efcda9bdff0c34fa3198b816c
refs/heads/master
2020-03-21T12:22:17.392966
2020-01-14T06:40:55
2020-01-14T06:40:55
138,549,389
2
4
null
null
null
null
UTF-8
Python
false
false
5,237
py
# -*- coding:utf-8 -*- import sys import json from global_utils import es_xnr as es from global_utils import weibo_social_sensing_task_index_name,weibo_social_sensing_task_index_type,\ weibo_social_sensing_results_index_name,weibo_social_sensing_results_index_type def social_sensing_task...
[ "bingqulee@gmail.com" ]
bingqulee@gmail.com
4a290abd5b4e29cc84ba2b8d81c75c5670186321
36cc809c771c581b8cf9ab6b42e7172bc023f403
/10.py
e73eb7491bd3eac32bd4524d684f705444529149
[]
no_license
Deepakdk7/python-programming
1e42535013ad2defc580fba7bd4918932e906012
8b7853b666d8ae151a3767c8cee1ff340ff48a5c
refs/heads/master
2020-05-30T06:28:11.499107
2019-06-10T07:27:27
2019-06-10T07:27:27
189,580,256
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
ax=int(input()) r=0;s=0; while ax!=0: r=ax%10 s=s+1 ax=ax//10 print(s)
[ "noreply@github.com" ]
Deepakdk7.noreply@github.com
42b75b2803ffbaf4bc0c790a02df9e4b3ebca3ca
f82757475ea13965581c2147ff57123b361c5d62
/gi-stubs/repository/GstGL/GLDisplayWaylandClass.py
342ce5fa4180215b66b238daeab3d59468b0105e
[]
no_license
ttys3/pygobject-stubs
9b15d1b473db06f47e5ffba5ad0a31d6d1becb57
d0e6e93399212aada4386d2ce80344eb9a31db48
refs/heads/master
2022-09-23T12:58:44.526554
2020-06-06T04:15:00
2020-06-06T04:15:00
269,693,287
8
2
null
2020-06-05T15:57:54
2020-06-05T15:57:54
null
UTF-8
Python
false
false
4,747
py
# encoding: utf-8 # module gi.repository.GstGL # from /usr/lib64/girepository-1.0/GstGL-1.0.typelib # by generator 1.147 """ An object which wraps an introspection typelib. This wrapping creates a python module like representation of the typelib using gi repository as a foundation. Accessing attributes of the ...
[ "ttys3@outlook.com" ]
ttys3@outlook.com
777f11f2ec4986c9a3c8dc46b802c0f7b925fdf0
faf2b052e7f8cd79467ad34fbc173f3bf4b1a21d
/msu_scholars_api/apis/applications_api.py
c7d39c43efcd74423d27f38c33e7126dc4fa3cac
[]
no_license
atbe/MSU-Scholar-Api-Client-Python
5d39577ce07ab285f0df9ee58a1ed7ff8ab08d2a
31b263e5ad848fc6593c4662fbf2828ab9e2594c
refs/heads/master
2021-05-04T00:51:46.720474
2018-03-12T23:52:17
2018-03-12T23:52:17
120,354,270
0
0
null
null
null
null
UTF-8
Python
false
false
35,699
py
# coding: utf-8 """ PURE API 510 This is the Pure Web Service. Listed below are all available endpoints, along with a short description.<br/>In order to use the Pure Web Service, you must enter an API key. These are generated in the Administrator tab of Pure, and issues with a given set of available endpoints...
[ "abeahmed2@gmail.com" ]
abeahmed2@gmail.com
38cc90fae2cbdab10d5ec7600f2f489457a226f2
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02949/s374947619.py
65a1d1ec465371e7af00500bf489b990eeedc3bb
[]
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
1,373
py
import sys sys.setrecursionlimit(10 ** 7) read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines N, M, P = map(int, readline().split()) EDGES = [] TO = [[] for _ in range(N + 1)] RTO = [[] for _ in range(N + 1)] for _ in range(M): a, b, c = map(int, readline()....
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
23bb4062abf3f2d6903a2ad3802f765880c9baa2
b952d297a1fc672a0cafe427c49d5a970414f6bd
/tencentcloud/btoe/v20210303/btoe_client.py
e0e8dda05552571c2eb30b65f830a749a71c863f
[ "Apache-2.0" ]
permissive
WANGMUXIAN/tencentcloud-sdk-python
7f53ffe90f1a14bbc4832c0f67792636f2e924c2
baed8b8e84ed0e8dd19600225796a75405cb922c
refs/heads/master
2023-08-18T07:25:07.439968
2021-09-22T03:02:46
2021-09-22T03:02:46
276,638,917
0
0
Apache-2.0
2020-07-02T12:21:44
2020-07-02T12:21:43
null
UTF-8
Python
false
false
18,020
py
# -*- coding: utf8 -*- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. 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...
[ "tencentcloudapi@tenent.com" ]
tencentcloudapi@tenent.com
8baed9c196edecdf2e0448816a138470075f5941
eb191a4eb16c5f1753c13bfd5b0b8a6b1e7d23f1
/Session 3 - Conditional Statements part 2/07_opening_hours.py
c1502dd28671437ddc98dd0475a2519994a0d8df
[ "MIT" ]
permissive
solomonsh/Crack-the-Code
efadb130d584522e073a2dde2f4cc41722a0faad
5eee7f59292315c724dd173f321bb95925c3023e
refs/heads/main
2023-09-04T09:46:29.477958
2021-10-13T10:45:59
2021-10-13T10:45:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
hour = int(input()) day = input() if 10 <= hour < 18 and (day == "Monday" or day == "Tuesday" or day == "Wednesday" or day == "Thursday" or day == "Friday" or day == "Saturday"): print("open") elif hour < 10 or hour >= 18 or day == "Sunday": print("closed")
[ "elenaborrisova@gmail.com" ]
elenaborrisova@gmail.com
8b58c33ccca6d23fcc3960a2e37cebe9ed49b72a
b63142e8540cb30bb0c663332e29a4112721073e
/980_basic_calculator_II.py
2e6fa0024b9820c9661851e4ff088966e3a2678d
[]
no_license
HaydenInEdinburgh/LintCode
025bb2f0d75686097061de324c0fd292536dbb14
dbeae2bf631e57667d1415164d452d5ca2df7447
refs/heads/master
2023-08-18T19:52:54.561623
2021-10-06T21:46:50
2021-10-06T21:46:50
370,733,548
0
0
null
null
null
null
UTF-8
Python
false
false
914
py
class Solution: """ @param s: the given expression @return: the result of expression """ def calculate(self, s): # Write your code here if not s: return 0 stack = [] num = 0 sign = '+' for i, c in enumerate(s): if c.isdigit():...
[ "bony960323@gmail.com" ]
bony960323@gmail.com
169c3bbe9c96cd616b17a086d5d3e259b0c19059
8ebc2491a33e4746d683b1b16513655ffc1b727c
/CombinationWithReplacement.py
26d4fdd0918b3a94b87583c25197099e7567802b
[]
no_license
vpc20/python-combinatorics
66e8b9be0fa95a4f83f85ec7b73d87a14069ef7b
b7ecf261d0e97950aaf15a2a3aa690344e262b6a
refs/heads/master
2023-04-09T20:39:42.802380
2021-04-17T04:55:32
2021-04-17T04:55:32
255,434,903
0
0
null
null
null
null
UTF-8
Python
false
false
2,235
py
def combination_with_replacement(arr, r): if r == 1: for e in arr: yield (e,) return for i, e in enumerate(arr): for c in combination_with_replacement(arr[i:], r - 1): yield (e,) + c # def combination_with_replacement(arr, r): # for i, e in enumerate(arr): #...
[ "cuevasvp@gmail.com" ]
cuevasvp@gmail.com
8fd2eea1e142cded88f4a35ec5aff0eb3e18a38f
b85c8edaf0d4edbc4ce820f19c9ecc7abcb2e3bc
/CSCI220/Week 05/Lab 05/dotAlign.py
dfa6af978ff27d19cd7e779b4238a1d0c2d6fd6b
[ "Apache-2.0" ]
permissive
itsallvoodoo/csci-school
3eba3390c595b281f3f94750b8b787ca3f8c9f29
ecf0c737d31c077e54ddd24ddab50d73d8eb5b17
refs/heads/master
2020-05-24T15:37:46.999396
2014-03-24T16:19:17
2014-03-24T16:19:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
# dotAlign.py # An program that aligns a set of numbers by it's period. # <Chad Hobbs> t = eval(input("How many numbers would you like to align?: ")) n = [] for i in range(t): numbers = input("Please enter number "+str(i+1)+": ") n.append(numbers) for i in range(t): piece = n[i] part...
[ "chaddhobbs@gmail.com" ]
chaddhobbs@gmail.com
bf967ab8a28c1d79cefb7d92858bd4653fc2bfe9
f2dcaad9d8a4be86ab619c651aca3899c20317ca
/security/Penetration/arp_fake_reply.py
6c3aa015f2722ac82729d3b2e1f107316eb1de3a
[]
no_license
recuraki/PythonJunkScript
c459da4afdd2a3d3851715c1b469458084c89d34
f60398e66b2cd74b1d287362dd4d7f8997a442fd
refs/heads/master
2023-04-16T12:22:28.193035
2023-04-01T14:51:56
2023-04-01T14:51:56
13,789,672
0
1
null
2018-01-16T12:43:54
2013-10-23T00:30:04
Python
UTF-8
Python
false
false
336
py
#!/usr/local/bin/python """ このプログラムはFakeのARPリプライを送ります """ from scapy.all import * for i in range(10): srcmac = RandMAC() dstmac = RandMAC() # shuld ff:ff:ff:ff:ff:ff? sendp(Ether(src=srcmac,dst=dstmac)/ARP(op=2, psrc="192.168.10.200", hwsrc=srcmac, hwdst=dstmac)/Padding(load="X"*18))
[ "kanai@wide.ad.jp" ]
kanai@wide.ad.jp
84591e4e66e36f45a85b15760922abdfd4d062be
1577e1cf4e89584a125cffb855ca50a9654c6d55
/pyobjc/pyobjc/pyobjc-framework-Cocoa-2.5.1/PyObjCTest/test_nsopengl.py
9a1baa9c6f3e6fbee28b8ea04b3a05d7d210e791
[ "MIT" ]
permissive
apple-open-source/macos
a4188b5c2ef113d90281d03cd1b14e5ee52ebffb
2d2b15f13487673de33297e49f00ef94af743a9a
refs/heads/master
2023-08-01T11:03:26.870408
2023-03-27T00:00:00
2023-03-27T00:00:00
180,595,052
124
24
null
2022-12-27T14:54:09
2019-04-10T14:06:23
null
UTF-8
Python
false
false
4,831
py
from PyObjCTools.TestSupport import * from AppKit import * try: long except NameError: long = int class TestNSOpenGL (TestCase): def testConstants(self): self.assertEqual(NSOpenGLGOFormatCacheSize, 501) self.assertEqual(NSOpenGLGOClearFormatCache, 502) self.assertEqual(NSOpenGLGO...
[ "opensource@apple.com" ]
opensource@apple.com
7b51b6140e0a81eb9d9e6d4861d3173ebd8df7b2
16a98441e128d8f2bf32057824521e9028597005
/data_process/word_frequent_patterns.py
26d589569c089861b1f439181d27ef27b25a576e
[]
no_license
Smily1984/Causal_event
ae29e27cd58a5fbd73ec9b3aec66f6a70a25b775
a23004053bbaf688e0bddbbc3e4fd160956e5e49
refs/heads/master
2022-04-08T11:47:48.098913
2020-03-16T05:34:39
2020-03-16T05:34:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,165
py
# -*- coding: utf-8 -*- ''' Created on 2019年6月4日 @author: Zhukun Luo Jiangxi university of finance and economics ''' #词语频繁模式挖掘 根据词性 import os import codecs import re import pandas as pd import sentence_parser from mlxtend.preprocessing import TransactionEncoder from mlxtend.frequent_patterns import aprio...
[ "luozhukun@163.com" ]
luozhukun@163.com
f25e375cbd86ab77c63fee521bdd5352706ed071
44064ed79f173ddca96174913910c1610992b7cb
/Second_Processing_app/temboo/Library/Salesforce/Objects/__init__.py
2b6130b792ac1a636a6ae90b338b062e0e011ecc
[]
no_license
dattasaurabh82/Final_thesis
440fb5e29ebc28dd64fe59ecd87f01494ed6d4e5
8edaea62f5987db026adfffb6b52b59b119f6375
refs/heads/master
2021-01-20T22:25:48.999100
2014-10-14T18:58:00
2014-10-14T18:58:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
from DeleteRecord import * from GetRecordByExternalID import * from ListObjectTypes import * from CreateRecord import * from GetRecord import * from DescribeObjectMetadata import * from GetObjectMetadata import * from DeleteRecordFields import *
[ "dattasaurabh82@gmail.com" ]
dattasaurabh82@gmail.com
cf87fe7aeb28ad86d09c75346a82b0634c92793e
98d61512fdf7f8426d4634a86edd25669944ab9e
/algorithms/LongestWordInDictionary/solution.py
1303dc53fe708b3be013c35da973398086fa9a0f
[]
no_license
P-ppc/leetcode
145102804320c6283fa653fc4a7ae89bf745b2fb
0d90db3f0ca02743ee7d5e959ac7c83cdb435b92
refs/heads/master
2021-07-12T02:49:15.369119
2018-11-13T05:34:51
2018-11-24T12:34:07
132,237,265
0
2
null
null
null
null
UTF-8
Python
false
false
515
py
class Solution(object): def longestWord(self, words): """ :type words: List[str] :rtype: str """ words.sort() longest_word = None words_map = {} for word in words: if len(word) == 1 or words_map.get(word[:-1]) != None: ...
[ "ppc-user@foxmail.com" ]
ppc-user@foxmail.com
291050364bc5d960010f9d29a6cc7adf585e0658
32bbbd6dbd100bbb9a2282f69ac3b7b34516347f
/Study/ml/m27_XGB_RandomSearch3_wine.py
36a64250b17bed92851af1db33802050e0a48365
[]
no_license
kimjh1753/AIA_Academy_Study
2162d4d4f1a6b8ca1870f86d540df45a8742f359
6022718ae7f9e5170a19c4786d096c8042894ead
refs/heads/master
2023-05-07T12:29:12.920693
2021-06-05T01:09:33
2021-06-05T01:09:33
324,136,796
0
0
null
null
null
null
UTF-8
Python
false
false
2,230
py
# 모델 : RandomForestClassfier from inspect import Parameter import numpy as np from sklearn.datasets import load_iris, load_breast_cancer, load_wine from sklearn.preprocessing import MinMaxScaler, StandardScaler from sklearn.model_selection import train_test_split, KFold, cross_val_score from sklearn.model_selection im...
[ "kimjh1753@naver.com" ]
kimjh1753@naver.com
9542227b0b57aa95f42679ade7fe13fffab99f04
6044266e775c87afed99397c8bb88366fbbca0e7
/scrapy_projt/soup_scrapy/b_soup_tr_table.py
75ec0eeb5b6acce1a99cfb903861c75b3c688ea6
[]
no_license
ranafge/all-documnent-projects
e4434b821354076f486639419598fd54039fb5bd
c9d65ddea291c53b8e101357547ac63a36406ed9
refs/heads/main
2023-05-08T20:01:20.343856
2021-05-30T10:44:28
2021-05-30T10:44:28
372,186,355
0
1
null
null
null
null
UTF-8
Python
false
false
265
py
from bs4 import BeautifulSoup import requests url = 'https://www.yugiohcardguide.com/archetype/abyss-actor.html' r = requests.get(url) soup = BeautifulSoup(r.text, 'lxml') print([t for sub in tr.find_all('tr') in soup.find('tbody').find_all('tr') for t in sub])
[ "ranafge@gmail.com" ]
ranafge@gmail.com
62abb6b6ba43a950157e1569df17122824fd9ad0
553fb249e513eadf6ad7444fba0babc0e5dd50f9
/graphgallery/functional/graph_level/__init__.py
2a917ad311d8ed62a4db793ed355a570220bb51a
[ "MIT" ]
permissive
gsn-180/GraphGallery
4b1a7c9f9ba82f4bf577972007af6653a83ad60c
104ee3aff80fa44bbc519dd6f984c1a8486cfb70
refs/heads/master
2023-01-30T16:19:44.840433
2020-12-11T08:32:39
2020-12-11T08:32:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
58
py
from .generate_attr import * from .standardize import *
[ "cnljt@outlook.com" ]
cnljt@outlook.com
f31b2bbdf601d5996f5aa21c9f89cf47b678fe9d
717751601929e660772e6a623563f4ef559d4624
/DQN-FlappyBird/test_env.py
5f884a0f54a37f4dde8b6534996cebfb96fbad08
[ "Apache-2.0" ]
permissive
GT-AcerZhang/ReinforcementLearning
3ed69415c5f798428d783150b2091c610394110b
77347af3202051e8661a22cf2f955cbbca1472af
refs/heads/main
2023-03-13T10:13:21.561242
2021-03-09T02:57:31
2021-03-09T02:57:31
345,864,673
0
0
Apache-2.0
2021-03-09T02:57:05
2021-03-09T02:57:04
null
UTF-8
Python
false
false
686
py
import flappy_bird.wrapped_flappy_bird as flappyBird def main(): # 初始化游戏 env = flappyBird.GameState() # 开始游戏 obs = env.reset() # 游戏未结束执行一直执行游戏 while True: # 游戏生成的随机动作,int类型数值 action = env.action_space() # 执行游戏 obs, reward, done, info = env.step(action, is_train...
[ "yeyupiaoling@foxmail.com" ]
yeyupiaoling@foxmail.com
16cd0eaf1ada153e0529e39b493383ecf73b566e
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/leetcode/LeetCode_with_solution/645 Set Mismatch.py
056e0532171fdbb6d4a66edaa246265cfd0ef213
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,641
py
#!/usr/bin/python3 """ The set S originally contains numbers from 1 to n. But unfortunately, due to the data error, one of the numbers in the set got duplicated to another number in the set, which results in repetition of one number and loss of another number. Given an array nums representing the data status of this s...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
4929d1357c176072616dbee21e4ab8225cf01b01
eef86d5773d4492e0566ec4e1ee809d17e5d0ca9
/MAST/structopt/switches/fitness_switch.py
41913b6bd895590f32f14b6b56c9e67d5b040fe4
[ "MIT" ]
permissive
uw-cmg/MAST
7b3a269a5ae5bb77136bd1ec40c25ad819f70a48
399c320c79b954126a2741c47a32e10fd12b2e7e
refs/heads/dev
2020-04-12T08:16:19.925314
2018-01-05T03:58:53
2018-01-05T03:58:53
8,782,093
20
8
null
2016-02-25T05:07:18
2013-03-14T18:15:46
Python
UTF-8
Python
false
false
1,636
py
from MAST.structopt.tools import rattle import logging try: from mpi4py import MPI except ImportError: pass import pdb def fitness_switch(input): """Performs fitness evaluation on individual""" if input[0]==None: indiv=0 rank = MPI.COMM_WORLD.Get_rank() stro='Evaluated none indi...
[ "mayeshiba@wisc.edu" ]
mayeshiba@wisc.edu
8a1cd3b07f6c73c1258b3fb34c1aa6e96bd3f4bb
171179bbef63781fa55ffe94bd33868578272db0
/prog/romberg.py
450c2efa512f16002eab20cfd3c921f8f623592a
[]
no_license
nineties/math-seminar
9a038a4fb88bbcb2fbc2456860a3bd88b99ca10e
51bbc071aa46418abf525969391a502312867c08
refs/heads/master
2020-04-16T16:36:22.207459
2018-09-12T22:41:08
2018-09-12T22:41:08
12,613,664
14
7
null
2019-11-08T12:10:17
2013-09-05T09:06:37
HTML
UTF-8
Python
false
false
429
py
from numpy import * def f(x): return 1.0/(1+x*x) a = 0.0 b = 1.0 N = 10 T = zeros( (N+1, N+1) ) T[0,0] = (f(a) + f(b))*(b-a)/2 for i in range(1, N+1): n = 2**i dx = (b-a)/n s = 0.0 for j in range(n): s += f(a + j*dx) + f(a + (j+1)*dx) T[i,0] = s*dx/2 for j in range(1, i+1): ...
[ "nineties48@gmail.com" ]
nineties48@gmail.com
50ddcf37eaa92764b5057e738089c6ed86467fde
37c3d003d030725bdae3e1a13343db9f278e1ddd
/bikeshed/lint/brokenLinks.py
e709bb0eeda35ab888ef3011e28be8bbc910faeb
[ "CC0-1.0" ]
permissive
agl/bikeshed
ac1e3814e95d509a5377926282a3548011ae613d
3886cea8be0fd6ea6d74a66a90e1799a3aa192af
refs/heads/master
2023-01-27T23:19:16.381511
2020-12-02T23:53:33
2020-12-02T23:53:33
319,127,143
1
0
CC0-1.0
2020-12-06T20:41:13
2020-12-06T20:41:12
null
UTF-8
Python
false
false
1,093
py
# -*- coding: utf-8 -*- import logging from ..h import * from ..messages import * def brokenLinks(doc): ''' Check every external link in the document to make sure it returns a 2XX or 3XX response. Auto-skips mailto: links. ''' if not doc.md.complainAbout['broken-links']: return import ...
[ "jackalmage@gmail.com" ]
jackalmage@gmail.com
44aec7ef27f194617d012f1eb25bc2d5e03afb1a
5c21385968fd4b06251b05fafbcc9bdfb0f8fcc3
/notebooks_n_scripts/train_Kclassifiers.py
38a2a738fff700dc89ff018cbfdf6bfaed5a8cfb
[]
no_license
Demfier/program_synthesis
a744185433db965b40a0820b2f144b8c9830e0c7
af37f793072ac6619c0c225de9ed9df125bc0c71
refs/heads/master
2021-01-21T13:33:29.417498
2017-11-10T14:18:17
2017-11-10T14:18:17
102,132,929
0
0
null
null
null
null
UTF-8
Python
false
false
449
py
import pandas as pd import numpy as np from PSyn import matrix_functions from PSyn import brain import os import time SOURCE_DATA_PATH = 'data/task1/train/' source_files = os.listdir(SOURCE_DATA_PATH) source_files = ['polish-train-medium'] start = time.time() print('Training started') for source in source_files: ...
[ "sahu.gaurav719@gmail.com" ]
sahu.gaurav719@gmail.com
9bf722656dbb616b8cbb675669749853f6d02ef1
0e1940ec6af8fb52775acb60dd18e81ee627e441
/myenv/bin/pip3.8
c2423045273138029c1658aeb90da9474ae4e523
[]
no_license
santoshgawande/DjangoProject
bd50d5ff796b2ddb959413831d44e1ec5deb71bc
a93c299e60813f29beec3c7bedbabfb415e13437
refs/heads/master
2023-05-01T15:55:31.940899
2022-07-27T15:29:03
2022-07-27T15:29:03
207,622,422
0
0
null
null
null
null
UTF-8
Python
false
false
270
8
#!/home/santosh/learning/git/github/DjangoProject/myenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "gawandesantos@gmail.com" ]
gawandesantos@gmail.com
762366c5b7ca6509f3d87899601dba8cd5070e05
c4fef3126c59d22384b249c1ad4032550fff95a1
/Game/Universe.py
d8c49909f143e1631d152917c6aaf740ddb9beee
[ "MIT" ]
permissive
NoNotCar/SpaceX
93b44ba7a1db2262a8202e9e68da92ab0afb3d36
803390fdf0ed3deee18d8f0d101ae575cf9b55e1
refs/heads/master
2020-03-21T20:18:28.735380
2018-08-28T08:47:55
2018-08-28T08:47:55
138,999,522
0
0
null
null
null
null
UTF-8
Python
false
false
3,835
py
from .Player import Player from . import Area from Lib import Img,Vector from . import Generators,Boxes,Registry,Gamemodes,Research from Engine import Items from Objects import Transport,Special from Objects.Machines import Production,Basic from random import shuffle import pickle,pygame Registry.add_recipe({"Iron":2},...
[ "13haslat@gmail.com" ]
13haslat@gmail.com
da18e55354648b1a4e7966e3ff6c38bbe4d5ca0f
52cb25dca22292fce4d3907cc370098d7a57fcc2
/Programmers/Level1/정수_제곱근_판별.py
af4e51f32f2b3064be58c8dbabd4ba1b3106027b
[]
no_license
shjang1013/Algorithm
c4fc4c52cbbd3b7ecf063c716f600d1dbfc40d1a
33f2caa6339afc6fc53ea872691145effbce0309
refs/heads/master
2022-09-16T12:02:53.146884
2022-08-31T16:29:04
2022-08-31T16:29:04
227,843,135
1
0
null
null
null
null
UTF-8
Python
false
false
467
py
# 나의 코드 def solution(n): k = 1 answer = 0 while k * k < n: k += 1 if k * k == n: answer = (k+1)*(k+1) else: answer = -1 return answer # 다른 사람의 코드 def solution(n): sqrt = n** (1/2) if sqrt % 1 == 0: # sqrt이 양의 정수라면 return (sqrt + 1) ** 2 return -1...
[ "shjang113@gmail.com" ]
shjang113@gmail.com