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
90c466cad7b8061bf88ac7aa1fc359fd1cb503a5
ea5e3f417a6d3f04cd9a41a072f4c26c0b3626c2
/autosklearn/pipeline/components/regression/adaboost.py
c6b06e99c852d7bb1841e36c8b71ce5280e6dd2a
[ "BSD-3-Clause" ]
permissive
ypeleg/auto-sklearn
34f5ed366f6c7e3af3a4f4a873e0776fed5f95dc
39974ba42c18506b1abd7b7efc51d58ba6258959
refs/heads/master
2020-12-28T19:33:38.471874
2015-12-22T16:46:59
2015-12-22T16:46:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,369
py
import numpy as np from HPOlibConfigSpace.configuration_space import ConfigurationSpace from HPOlibConfigSpace.hyperparameters import UniformFloatHyperparameter, \ UniformIntegerHyperparameter, CategoricalHyperparameter from autosklearn.pipeline.components.base import AutoSklearnRegressionAlgorithm from autosklea...
[ "feurerm@informatik.uni-freiburg.de" ]
feurerm@informatik.uni-freiburg.de
ae854b836cb0df8d3ca33ff4d878bbb81f3ea999
a48aaa4b69a120a059e3e59faed9a86e21a4295d
/1_prologue/utility.py
e5c46ab119f04411428fc6e9715746189510f402
[]
no_license
ryosuke071111/tensorflow_practice
4dcc916cfc36387af689c94ed9490eefad97b1e7
505190ae31004e549512c493a0ce9b4441f33c51
refs/heads/master
2020-03-27T22:03:29.524409
2018-09-03T12:17:35
2018-09-03T12:17:35
147,200,642
0
0
null
null
null
null
UTF-8
Python
false
false
858
py
import tensorflow as tf from sklearn.preprocessing import StandardScaler from sklearn.datasets import fetch_california_housing import numpy as np #dataset scaler = StandardScaler() #-housing_data housing = fetch_california_housing() m, n = housing.data.shape housing_data_plus_bias = np.c_[np.ones((m ,1)),housing.data]...
[ "ryosuke0711993@gmail.com" ]
ryosuke0711993@gmail.com
648d314a47beeeaee42418244f534ab3f00c264a
821ebcc8eb78013cff80d2569e5c21ab31eff6aa
/checkout/migrations/0001_initial.py
04c6038e436d0aa76f8d5d856cabd26b431edab2
[]
no_license
cgpalmer/anddigital
11fce49cca50958e9d5f1e1361634ae5e199dad3
deb587baf3db55dc44741fa393a0691d0ac3bca2
refs/heads/main
2023-04-16T22:14:03.441104
2021-05-04T07:52:38
2021-05-04T07:52:38
358,403,342
0
0
null
null
null
null
UTF-8
Python
false
false
3,348
py
# Generated by Django 3.2 on 2021-05-01 13:09 from django.db import migrations, models import django.db.models.deletion import django_countries.fields class Migration(migrations.Migration): initial = True dependencies = [ ('profiles', '0001_initial'), ('products', '0011_alter_product_qr_ret...
[ "cgpalmer91@gmail.com" ]
cgpalmer91@gmail.com
e6a795b0f87d3933c57c756ef488075ab7787128
4def15f541ab9f22dc8f60f81d384657d6f08748
/backend/manage.py
b41caea4d3ac1de4f32b575c9672d631be27420f
[]
no_license
crowdbotics-apps/mute-leaf-28688
6e0e9cc0f413ecc79fd484b91589fa176c79f687
1a3254bed158b5dc6b161972730faa3245bac775
refs/heads/master
2023-06-23T04:31:28.046455
2021-07-10T13:52:59
2021-07-10T13:52:59
384,709,452
0
0
null
null
null
null
UTF-8
Python
false
false
635
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', 'mute_leaf_28688.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: rais...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
01ace14ea943b4b1bba63d3ea0eca0b44f6fcc93
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03135/s577118538.py
2843abda7bf9a4ff8a369b5c089314a79ba08e63
[]
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
64
py
def main(): t,x = map(int,input().split()) print(t / x) main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b2fb4115ba5bbf2556f51192d19495eac436cc4f
feccf7588777becba68921c0bfade3e21f5210ce
/airflow/providers/google/ads/_vendor/googleads/v12/resources/types/ad_group_bid_modifier.py
dbbc030424db1b6da0f12fa53942ae0a47613447
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
francescomucio/airflow
f17ed9abd8b41d8a2227deca052508edf12f1cbf
c199b1a10563a11cf24436e38cb167ae82c01601
refs/heads/master
2023-04-14T17:44:53.438246
2023-04-06T06:44:23
2023-04-06T06:44:23
217,327,641
0
0
Apache-2.0
2020-09-09T13:26:47
2019-10-24T15:06:52
Python
UTF-8
Python
false
false
6,403
py
# -*- coding: utf-8 -*- # Copyright 2022 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...
[ "noreply@github.com" ]
francescomucio.noreply@github.com
77b206f8ca39707dfa18d1bcb1d8d5ad967fe768
2b776f6420af6400120bf08c801159870dbd1ec6
/raytheonurl.py
585ae3223f958a1778db31a907b35f3620fd4bf6
[]
no_license
ManojDjs/wescraping
b7dcd0423fa5ba44f38b332afc4540e49d309b75
fa3ae90f35e07b0ff06037673c50e47e42633900
refs/heads/master
2022-01-31T23:19:53.311009
2019-07-22T14:51:13
2019-07-22T14:51:13
191,214,784
1
0
null
null
null
null
UTF-8
Python
false
false
1,753
py
import time from selenium import webdriver import pymongo from selenium.webdriver.common.keys import Keys from pymongo import MongoClient, DESCENDING client = MongoClient("mongodb://localhost:27017/basics") if(client): print("connected") db = client.Appcast collections = db.takeda options = webdriver.Chro...
[ "noreply@github.com" ]
ManojDjs.noreply@github.com
6f76a570212404a8586a844f827a13f1e88eca0f
2f989d067213e7a1e19904d482a8f9c15590804c
/lib/python3.4/site-packages/allauth/socialaccount/providers/google/views.py
6e5617e7cb4fb8db8756528d1355256315f51768
[ "MIT" ]
permissive
levabd/smart4-portal
beb1cf8847134fdf169ab01c38eed7e874c66473
2c18ba593ce7e9a1e17c3559e6343a14a13ab88c
refs/heads/master
2023-02-18T05:49:40.612697
2022-08-02T09:35:34
2022-08-02T09:35:34
116,001,098
0
1
MIT
2023-02-15T21:34:01
2018-01-02T10:00:07
Roff
UTF-8
Python
false
false
1,145
py
import requests from allauth.socialaccount.providers.oauth2.views import (OAuth2Adapter, OAuth2LoginView, OAuth2CallbackView) from .provider import GoogleProvider class GoogleOAuth2Adapter(OAuth2Adapt...
[ "levabd@gmail.com" ]
levabd@gmail.com
ecd0764085e594bf2fedf06e437b3df4ff1debc5
2bcc6c45a28251dcde72bb8b003b5592350dc208
/exams/views/get_exams.py
f2faa39c0e3d8dafd266759b919bc51403d6cc63
[]
no_license
amanjhurani/university_dost
153d1a245df4338be60df3e9980e0238408e40ad
41f6119c88d36f0153fbf1a5be1913e2c45d9751
refs/heads/master
2021-10-08T22:23:42.252577
2018-12-18T11:22:10
2018-12-18T11:22:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
from django.http import JsonResponse, HttpResponse from exams.models import Exam def get_exams(request): """Handler to return JsonResponse of available exams""" if request.is_ajax(): subject_id = request.POST.get('si') if Exam.objects.filter(subject_id=subject_id).exists(): exams =...
[ "dhaval.savalia6@gmail.com" ]
dhaval.savalia6@gmail.com
1bc7469a0d24219c012fe00420bfcd2f73430d62
e70b678712a355a0b51632728c7781b0bdcf29f4
/Algorithms/Python/Reorder-List.py
0d847c06921d04595070d659bb6bd2531ba25663
[]
no_license
keyi/Leetcode_Solutions
b3e3c6835ed335d7d4ad53a1b37e59ac15fcf3af
69e4e969b435ff2796bd7c4b5dad9284a853ab54
refs/heads/master
2020-05-21T23:36:20.450053
2018-11-11T03:45:28
2018-11-11T03:45:28
33,714,612
0
0
null
null
null
null
UTF-8
Python
false
false
967
py
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def reorderList(self, head): """ :type head: ListNode :rtype: void Do not return anything, modify head in-place instead. ...
[ "yike921012@gmail.com" ]
yike921012@gmail.com
4cc01bd1a722834f92e6f3f4ac497c0effc54e7e
251c528f7f6d59bcb4a0f5d643f6e2b512ebaab9
/deepspeed/ops/transformer/__init__.py
28c8de68dd8b7999e1b141215f9e0de66a3bcf06
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
neevaco/DeepSpeed
0f857feb33da598804b53a7d5f8cbb425122beb8
880022a055cba2f719582e20a022803f70bf055d
refs/heads/neeva
2023-05-25T09:20:57.285058
2022-08-03T19:36:32
2022-08-03T19:36:32
520,281,047
2
1
MIT
2022-08-03T19:36:33
2022-08-01T22:39:30
Python
UTF-8
Python
false
false
268
py
from .transformer import DeepSpeedTransformerLayer, DeepSpeedTransformerConfig from .inference.transformer_inference import DeepSpeedTransformerInference, DeepSpeedInferenceConfig from .inference.moe_inference import DeepSpeedMoEInferenceConfig, DeepSpeedMoEInference
[ "noreply@github.com" ]
neevaco.noreply@github.com
dde1269179f77c78470cfbcb0c0645553b779f71
3ed8b5f7b4806ae99b604bab681492545945ccee
/binary_search.py
a66bd28b954bd915054143b7f88a45003a7689a5
[]
no_license
dongheelee1/leetcode_binary_search
3204e1b52e7a38c3adff645fd3c3f36ba2a438cd
1f91f2eaa85e1f07a49ffc2ca235f17a7897c448
refs/heads/master
2020-12-09T11:04:03.326544
2020-01-13T03:40:27
2020-01-13T03:40:27
233,285,393
0
0
null
null
null
null
UTF-8
Python
false
false
1,258
py
class Solution: def search(self, nums: List[int], target: int) -> int: ''' idea: evaluate mid index and see if the middle element is the target if middle element is the target return the mid index if middle element is smaller than ...
[ "noreply@github.com" ]
dongheelee1.noreply@github.com
f6cdfe57a91e066d5f723da2a3fbd8f5d5a19aab
a3acecc6808cdd205f91b5e2bb8f3f3aac79ceba
/viper/viper/settings/prod.py
3af3cb98b3a79ca5b01be602815dc1f5f2b2f5fb
[]
no_license
fjpagaragan/dj_viper
31c5e9ff068f4de8022482a27536b0294adc7786
e7e08bbe02027183877c8f764c92cd5dcd32ad89
refs/heads/master
2020-08-02T05:44:12.904166
2019-09-27T09:48:15
2019-09-27T09:48:15
211,252,733
0
0
null
2019-09-27T06:38:48
2019-09-27T06:38:45
null
UTF-8
Python
false
false
1,198
py
from .base import * # noqa # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = '84dfb51412774dcab2219d05a37a69fb)32=d21d&423$3221dfkkeQQssf?>' ALLOWED_HOSTS = [ 'viper.local', '192.168.56.114', ] # Database # https://docs.djangoproject.com/en/2.2/ref/settings/#databases DATABAS...
[ "matt@lebrun.org" ]
matt@lebrun.org
9e27f3e07760baf336e01973fc8e5a9778754c92
d47a22afd7210a9f8bcacf695256f2400fe4c225
/ltp/plugins/tune/__init__.py
8908345cdc030eb470f028911386878e691ad5c2
[]
no_license
RobotLiu2015/ltp
4d37c0526c588e39ad1c1026fbadba5757a6e6e3
b6782fac1c845170e1b5a380926e209ee0fceebc
refs/heads/master
2023-02-03T11:03:03.909515
2020-12-23T10:40:53
2020-12-23T10:40:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
124
py
from .tune_checkpoint_reporter import TuneReportCallback from .tune_checkpoint_reporter import TuneReportCheckpointCallback
[ "ylfeng@ir.hit.edu.cn" ]
ylfeng@ir.hit.edu.cn
91dbca55149487bee41d1845f1082ec825f9ba7e
ccbfc7818c0b75929a1dfae41dc061d5e0b78519
/aliyun-openapi-python-sdk-master/aliyun-python-sdk-vpc/aliyunsdkvpc/request/v20160428/DescribeIpv6GatewaysRequest.py
a3763f386baefa997e70ae2239243004672fc79c
[ "Apache-2.0" ]
permissive
P79N6A/dysms_python
44b634ffb2856b81d5f79f65889bfd5232a9b546
f44877b35817e103eed469a637813efffa1be3e4
refs/heads/master
2020-04-28T15:25:00.368913
2019-03-13T07:52:34
2019-03-13T07:52:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,502
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...
[ "1478458905@qq.com" ]
1478458905@qq.com
cacfc26968b9b665ef9f032aa70653a59849b144
7f79d095529b8b52a76c544940a641d00f4b630d
/polls/migrations/0001_initial.py
9263cd4a669a3beed26787de17e111b701eb304f
[]
no_license
felexkemboi/DjangoPoll
5f1ebb1680c766adf4ce8b8e20580f964a49609a
c65610a527018e3ba8a351db87bd35d129901e68
refs/heads/master
2021-03-30T21:10:39.970699
2018-03-11T22:10:39
2018-03-11T22:10:39
124,742,386
0
0
null
null
null
null
UTF-8
Python
false
false
1,230
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2018-03-07 19:36 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Crea...
[ "felokemboi10@gmail.com" ]
felokemboi10@gmail.com
3bf40d46b0266d288dba4070c0ae5ca4b3f51259
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/03_model_fitting/rfRecon/763-tideGauge.py
647950ae2e163d370fcc030f87a932471dabdb4c
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
10,696
py
# -*- coding: utf-8 -*- """ Created on Mon May 7 11:39:00 2020 This program is designed to reconstruct daily max surge using RF @author: Michael Tadesse """ def reconstructRF(): """ run KFOLD method for random forest regression """ #import packages import os import numpy as np import pan...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
ca9db0d20343c6827594b151ec4baf65a623b317
993ef8924418866f932396a58e3ad0c2a940ddd3
/Production/python/PrivateSamples/SVJ_2017_mZprime-3000_mDark-20_rinv-1_alpha-peak_n-1000_cff.py
656065c9733f625e03bd97f4c10480c5269cf5e1
[]
no_license
TreeMaker/TreeMaker
48d81f6c95a17828dbb599d29c15137cd6ef009a
15dd7fe9e9e6f97d9e52614c900c27d200a6c45f
refs/heads/Run2_UL
2023-07-07T15:04:56.672709
2023-07-03T16:43:17
2023-07-03T16:43:17
29,192,343
16
92
null
2023-07-03T16:43:28
2015-01-13T13:59:30
Python
UTF-8
Python
false
false
14,383
py
import FWCore.ParameterSet.Config as cms maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) readFiles = cms.untracked.vstring() secFiles = cms.untracked.vstring() source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles) readFiles.extend( [ '/store/user/lpcsusyhad/SV...
[ "kpedro88@gmail.com" ]
kpedro88@gmail.com
60edc263f1808cce9c1b006308f90cce80d6db18
466912406272829982f75854cf0104c6ce8c9814
/data/spider2/aggregator/import/patch_funding_card_ii.py
d9e19803bf73a9ff0882e6994c3601b7548df97f
[]
no_license
logonmy/Codes
9631fa103fc499663361fa7eeccd7cedb9bb08e4
92723efdeccfc193f9ee5d0ab77203c254f34bc2
refs/heads/master
2021-09-21T18:07:22.985184
2018-08-30T05:53:26
2018-08-30T05:53:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,128
py
# -*- coding: utf-8 -*- import datetime import os, sys import time,json from bson.objectid import ObjectId reload(sys) sys.setdefaultencoding("utf-8") sys.path.append(os.path.join(os.path.split(os.path.realpath(__file__))[0], '../../../util')) sys.path.append(os.path.join(os.path.split(os.path.realpath(__file__))[0], ...
[ "hush_guo@163.com" ]
hush_guo@163.com
19b94e15664ddf837c68ddbcdd911b99b3b07f13
615efa9d4dd383bcd81181f7cde7ae782aaf665d
/tagtest.py
4b900e10adb9c87603543026052bc64ee5352a7a
[ "MIT" ]
permissive
tgadf/mp3id
f043d428252ac59fc159c9035c85d2aca432ce14
26887eab784722a839b6a2b20c2706c627b69431
refs/heads/master
2023-05-25T23:45:38.632812
2023-05-15T12:37:01
2023-05-15T12:37:01
163,714,519
0
0
null
null
null
null
UTF-8
Python
false
false
7,593
py
import argparse from musicID import MusicID from fsUtils import mkDir, moveFile, setDir, moveDir from fileUtils import isFile, isDir, getDirname from searchUtils import findAll, findWalk from os import getcwd from musicPath import pathBasics from time import sleep import sys def fix(val): if val is None: r...
[ "tgadfort@gmail.com" ]
tgadfort@gmail.com
d784003a42e859636ea8e13368445b73baa2d992
113bfeda578324908963307670718c5545f30e8b
/booksite/booksite/tornado_wsgi.py
4b184743e25e141d697ddf66e4d5e8a7d03d17c5
[ "Apache-2.0" ]
permissive
tkliuxing/bookspider
f0989814716e38fa081cc300f92fc975ff8ac67d
bc7ba487f0ab6ea7782f5093bb1d074eac662bdf
refs/heads/master
2021-01-18T23:31:26.566892
2020-03-14T04:04:48
2020-03-14T04:04:48
21,845,464
40
36
null
2015-11-06T03:58:04
2014-07-15T03:51:01
CSS
UTF-8
Python
false
false
689
py
#!/usr/bin/env python import os import sys import django.core.handlers.wsgi import tornado.httpserver import tornado.ioloop import tornado.web import tornado.wsgi _HERE = os.path.dirname(os.path.abspath(__file__)) os.environ['DJANGO_SETTINGS_MODULE'] = "booksite.settings" def main(port): wsgi_app = tornado.wsgi....
[ "ouyanghongyu@gmail.com" ]
ouyanghongyu@gmail.com
cb48a2e985b35803b2443d7b32d0555515699239
2de9db8686b7f047fc2d0dfee344eed817f9b93a
/custom_components/sensor/HelpWeather.py
36b26d2a11c1b4cbb3725c98e943ca9bf4e8abc3
[]
no_license
wdxsbmc/ha
8daffe99562ae2bb59fd3cc1fc3ee3ee1ad258e9
4eeaa8cb5085c0ef4d469daf9210641a0b9eb71b
refs/heads/master
2020-03-21T20:36:32.125989
2018-07-22T23:55:16
2018-07-22T23:55:16
139,017,576
0
0
null
null
null
null
UTF-8
Python
false
false
38,899
py
import logging import voluptuous as vol from datetime import timedelta from homeassistant.const import TEMP_CELSIUS ,CONF_LATITUDE, CONF_LONGITUDE,CONF_API_KEY from homeassistant.helpers.entity import Entity from homeassistant.components.sensor import PLATFORM_SCHEMA import homeassistant.helpers.config_validation as c...
[ "you@example.com" ]
you@example.com
b4a0f2ad84ff14cf2fbb35e0ed90c6e5fbed3c4c
921aa4d0dddc868b61fe1ea3805cf15c36853bc0
/client/k8s_client/models/v1beta1_horizontal_pod_autoscaler_spec.py
502c16eb73dac5da424d14b4a6d6942fbd687aab
[]
no_license
mbohlool/k8s-python-client
56d569071326820ebb5e11319ca230a272282a56
e083a1991e03f05d69a39f43b02b9bd5ede0a2b7
refs/heads/master
2021-01-09T20:29:17.339112
2016-08-18T23:16:49
2016-08-18T23:16:49
65,772,328
0
0
null
null
null
null
UTF-8
Python
false
false
6,127
py
# coding: utf-8 """ Copyright 2016 SmartBear Software 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...
[ "mehdy@google.com" ]
mehdy@google.com
7037f2f4f718cf9d7f7f06d47208f3bbd5c56136
e722e3ef6bf041a71f2f3814fb8d9da42c36e4c9
/resources/bitcoin.py
e585161a82152e4bc187a05a585f07a1d6792f7c
[]
no_license
vincycode7/maistore-api
1dfa83f3be6390948971309cab517209e2e08820
29207505f463a2f28a03aa6cca21e58070b76975
refs/heads/master
2023-07-17T05:04:35.991141
2021-08-11T16:13:51
2021-08-11T16:13:51
295,108,899
0
1
null
null
null
null
UTF-8
Python
false
false
475
py
from flask_restful import Resource, reqparse from flask_jwt_extended import jwt_required from models.bitcoin import BitcoinPayModel class BitcoinList(Resource): @jwt_required def get(self): bitcoins = BitcoinPayModel.find_all() if bitcoins: return {"message": gettext("work_in_progr...
[ "akinwandegbengavincent@gmail.com" ]
akinwandegbengavincent@gmail.com
ff9880e2fb691b6e11f053133c467aafd607e58e
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/HaMCeHeJkaWvMg7LS_7.py
212657adbf0da37a7b5ead22a03da7a11a80411e
[]
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
744
py
def sun_loungers(beach): count = vacant = 0 empty = False if "1" not in beach: k = len(beach) if k > 1: k = (k + 1) // 2 return k left_1 = beach.index("1") count += left_1 // 2 right_1 = len(beach) - 1 while beach[right_1] != "1": right_1 -= 1 ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
198a31946ca2b4130c876f371b0473138eed0fd9
f4996d975ce705c1d09fdad168cd1225bbb99dd8
/chemex/experiments/cest/n_hn_cw/liouvillian.py
d358f2eb40f745a0836c061e19734bee895b5e21
[ "BSD-3-Clause" ]
permissive
chriswaudby/chemex
d0d39d834989d92f738f17de737167b7f9118884
c3424bb8891b05de43c969108311d3ea50ba3428
refs/heads/develop
2020-01-23T21:05:04.695331
2016-11-08T13:29:16
2016-11-08T13:29:16
74,578,043
0
1
null
2016-12-24T12:58:50
2016-11-23T13:11:30
Python
UTF-8
Python
false
false
3,632
py
from math import pi from scipy import zeros, cos, sin from scipy.linalg import expm2 as expm from chemex import caching from chemex.constants import scalar_couplings from chemex.bases.two_states.full import ( R_HXY, R_HZ, R_NXY_A, R_NXY_B, R_NZ, R_2HXYNZ, R_2HZNXY_A, R_2HZNXY_B, R_2HXYNXY, R_2HZNZ, CS_H_A, CS...
[ "gbouvignies@gmail.com" ]
gbouvignies@gmail.com
6b5fd7dcfa2dd56c9fa368ade8d848f2ceca9563
aa265e03e73f718d4008cfe30ada7ee32c852eec
/ABC_A/ABC191_A.py
857a9970b173f6bb7e37b76f31e9603199aab759
[ "MIT" ]
permissive
ryosuke0825/atcoder_python
4fb9de9733cd9ef41c2ad9ad38b3f190f49d3ad5
52d037d0bc9ef2c721bf2958c1c2ead558cb0cf5
refs/heads/master
2023-03-11T22:47:56.963089
2023-03-05T01:21:06
2023-03-05T01:21:06
181,768,029
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
V, T, S, D = map(int, input().split()) if V*T <= D <= V*S: print('No') else: print('Yes')
[ "ayakobon@gmail.com" ]
ayakobon@gmail.com
ce018b1e19d1c154e8dea6550c86f9f9568f2b38
f5f8cbfd167a1e16971a069b6b0f3ca9b9400e7f
/src/outpost/django/campusonline/migrations/0012_event.py
3004c162106702ea9db229697a05d00f12dacf94
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
medunigraz/outpost.django.campusonline
1f1ee0d2ee73ec52a9f0b62d56c6dc3f3db886fb
30ab6c5a724a8c90be4f705ba4bc0d7767600ec4
refs/heads/master
2023-06-01T10:05:12.833701
2023-05-17T16:33:08
2023-05-17T16:33:08
183,224,209
0
0
null
null
null
null
UTF-8
Python
false
false
1,022
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2018-03-08 18:12 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("campusonline", "0011_events")] operations = [ migrations.CreateModel( name=...
[ "michael@fladi.at" ]
michael@fladi.at
b1d26ca5e6d3dc64347f68f58a0e7acfa2ff4d0c
fc00b177802c49cf04dc6a8e430093bc14ae9b53
/venv/Lib/site-packages/mypy/plugins/common.py
536022a1e09e55e909bdd78eac0412195dcdb476
[]
permissive
artisakov/vigilant-journey
9c8264d36da5745374a0d08b0b0288a70f978a11
4fed9026071a64489d26422ba7cd1a9b9cb05e16
refs/heads/master
2022-11-16T03:10:06.418221
2020-07-16T07:33:06
2020-07-16T07:33:06
238,490,887
0
1
MIT
2020-03-01T10:12:22
2020-02-05T16:03:07
HTML
UTF-8
Python
false
false
5,605
py
from typing import List, Optional, Union from mypy.nodes import ( ARG_POS, MDEF, Argument, Block, CallExpr, ClassDef, Expression, SYMBOL_FUNCBASE_TYPES, FuncDef, PassStmt, RefExpr, SymbolTableNode, Var, JsonDict, ) from mypy.plugin import ClassDefContext, SemanticAnalyzerPluginInterface from mypy.semanal impor...
[ "60698561+artisakov@users.noreply.github.com" ]
60698561+artisakov@users.noreply.github.com
f382f6bfa1e36d3f104cfd1151609b5c45cf19f9
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-2/3bac9451475ec3136efd702b1db1defd84545840-<run>-bug.py
e15ebf510d9572ed63ab2b78bdfd538b3671ae9e
[]
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
8,080
py
def run(self, tmp=None, task_vars=None): ' handler for file transfer operations ' if (task_vars is None): task_vars = dict() result = super(ActionModule, self).run(tmp, task_vars) source = self._task.args.get('src', None) content = self._task.args.get('content', None) dest = self._task...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
173cc05daab1a54a126a23cf8a644e71d1d39131
8485fc3c53cf2fa541be4a5fee606d4958478c5d
/GUI/WfsGUI/ccd_gui_impl.py
582fb9ffb9dd4957fe85f3f8ceff042349ba3710
[]
no_license
jaredmales/MagAO
8c5a6136dedab9ce0de8d612a8f6cf31cfef6bbf
3d5b87d9e440831c7ede81fd70e74c335d630bbf
refs/heads/master
2021-01-21T22:21:48.942524
2017-09-01T19:10:45
2017-09-01T19:10:45
102,152,105
0
1
null
null
null
null
UTF-8
Python
false
false
13,287
py
#!/usr/bin/python from qt import * import sys from AdOpt import processControl, AOMsgCode, cfg, calib from AdOpt.AOConstants import * from AdOpt.QtDesigner.ccd_gui import * from AdOpt.wrappers import msglib class ccd_gui_impl(ccd_gui): ## aoGui is an EngineeringGui, the main gui connected to MsgD, wich wait...
[ "jaredmales@gmail.com" ]
jaredmales@gmail.com
a80d0d28a8f91cc906a9350630b6e9f74641a6d3
e7263026bd4f34bae664c37e57a299ce83c7f111
/03-Spider/scrapy-spider/qidianSpider/qidianSpider/pipelines.py
27c6c15909fb5c9b58ae061982e751d3a592f857
[]
no_license
Aries000004/grocery
34d0ad0648c6dff5c36f4a68abf9eeac59da214d
27492f4ac7ef66d544f853dd6686920bcb9dc663
refs/heads/master
2020-03-24T22:50:37.703257
2018-07-26T11:43:54
2018-07-26T11:43:54
143,105,389
1
0
null
2018-08-01T04:51:12
2018-08-01T04:51:12
null
UTF-8
Python
false
false
1,106
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html # 管道, 持久化, 存储数据库 import pymongo from scrapy.conf import settings class DoubanspiderPipeline(object): def __init__(sel...
[ "1367000465@qq.com" ]
1367000465@qq.com
9ca4abe9ee14dfcd4354c20e98ca4f3363771f13
573932f2fc40e94001a3659043b902db4d70a912
/4-Data-Visualization/dash/tests/integration/long_callback/app3.py
2f1debf5e262c5adc08606042cc6644507eae42b
[ "MIT" ]
permissive
BioInformatica-Labs/My-Data-Science-Journey
69f441f88e9e106975ec27de873d82af2dd351c7
92e04aa2e3612a198dc213f2dbd13b5df404bfbe
refs/heads/main
2023-08-28T05:22:56.970894
2021-11-08T20:05:10
2021-11-08T20:05:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,076
py
from dash import Dash, Input, Output, State, dcc, html import time from tests.integration.long_callback.utils import get_long_callback_manager long_callback_manager = get_long_callback_manager() handle = long_callback_manager.handle app = Dash(__name__) app.layout = html.Div( [ dcc.Input(id="i...
[ "viannaandresouza@gmail.com" ]
viannaandresouza@gmail.com
2a923bba49c9b72f7f704115db3d05be8121d5e2
ba78d67c366d213c54d7fd88cef0d0bc1d40b1cd
/ex001.py
88a3540bb87c05759fa558477072448d2b3abb53
[ "MIT" ]
permissive
thaisNY/GuanabaraPy
4de00dce606a729fe18936481d77b18efd5f6859
a0a3acbd9242a39491a365b07562037d7a936bba
refs/heads/main
2023-08-23T17:00:28.479117
2021-11-05T03:29:17
2021-11-05T03:29:17
424,429,967
0
0
null
null
null
null
UTF-8
Python
false
false
72
py
nome = input ('Qual é o seu nome ?') print ('Prazer te conhecer',nome)
[ "71556315+thaisNY@users.noreply.github.com" ]
71556315+thaisNY@users.noreply.github.com
8e181f4a2c968949bb54f081d795331297509a15
077c91b9d5cb1a6a724da47067483c622ce64be6
/new_pyretic_loop_mcs/interreplay_10_final_mcs_trace/interactive_replay_config.py
9325495cc6586153c247d3dd1a88fba489b0c1af
[]
no_license
Spencerx/experiments
0edd16398725f6fd9365ddbb1b773942e4878369
aaa98b0f67b0d0c0c826b8a1565916bf97ae3179
refs/heads/master
2020-04-03T10:11:40.671606
2014-06-11T23:55:11
2014-06-11T23:55:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,239
py
from config.experiment_config_lib import ControllerConfig from sts.topology import * from sts.control_flow import InteractiveReplayer from sts.simulation_state import SimulationConfig from sts.input_traces.input_logger import InputLogger simulation_config = SimulationConfig(controller_configs=[ControllerConfig(start_...
[ "cs@cs.berkeley.edu" ]
cs@cs.berkeley.edu
b9047a8c8b9fc1b28874dc3e7875752e804d3726
fafb89a3552e4dbb47d134966462ef5f3f37f576
/KEMP/v0.6_ovelap_ok/fdtd3d/gpu/test/pbc.py
77bbfee51730bfeec9c85b767f34bee29aea5620
[]
no_license
EMinsight/fdtd_accelerate
78fa1546df5264550d12fba3cf964838b560711d
a566c60753932eeb646c4a3dea7ed25c7b059256
refs/heads/master
2021-12-14T03:26:52.070069
2012-07-25T08:25:21
2012-07-25T08:25:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,514
py
import numpy as np import pyopencl as cl import sys, os sys.path.append( os.path.expanduser('~') ) from kemp.fdtd3d.util import common_gpu from kemp.fdtd3d.gpu import Fields, Core, Pbc, IncidentDirect, GetFields nx, ny, nz = 160, 140, 32 tmax, tgap = 150, 10 # instances gpu_devices = common_gpu.gpu_device_list(pr...
[ "kh.kim@kiaps.org" ]
kh.kim@kiaps.org
5f34b5ea1280d5fd4e8470852c067c09a7d0c0dd
7323b8039f47c0457ae90173c963549b7d1e6823
/sandbox/src/fitting_example_with_errors.py
a5b6fa35ac4a387472dbe0a527088afba924bd24
[ "BSD-2-Clause" ]
permissive
sniemi/SamPy
abce0fb941f011a3264a8d74c25b522d6732173d
e048756feca67197cf5f995afd7d75d8286e017b
refs/heads/master
2020-05-27T18:04:27.156194
2018-12-13T21:19:55
2018-12-13T21:19:55
31,713,784
5
2
null
null
null
null
UTF-8
Python
false
false
3,826
py
# Linear regression example # including confidence intervals for params from scipy import linspace, polyval, polyfit, sqrt, stats, randn from pylab import figure, plot, title, show , legend, xlabel, ylabel, grid from numpy import arange, linspace, mean, std, zeros, ones from numpy import loadtxt, array import scipy.int...
[ "niemi@stsci.edu" ]
niemi@stsci.edu
6796089723a6c86eef78ccd8b5f208100c2ff615
3784495ba55d26e22302a803861c4ba197fd82c7
/venv/lib/python3.6/site-packages/google/auth/_oauth2client.py
b14a382541910da4d61866a4456b194ea15247f3
[ "MIT" ]
permissive
databill86/HyperFoods
cf7c31f5a6eb5c0d0ddb250fd045ca68eb5e0789
9267937c8c70fd84017c0f153c241d2686a356dd
refs/heads/master
2021-01-06T17:08:48.736498
2020-02-11T05:02:18
2020-02-11T05:02:18
241,407,659
3
0
MIT
2020-02-18T16:15:48
2020-02-18T16:15:47
null
UTF-8
Python
false
false
5,848
py
# Copyright 2016 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
[ "luis20dr@gmail.com" ]
luis20dr@gmail.com
b3916d10bd3eb28143d47a92561539394e25ea8b
94eddcc57b9309befd9e562296841e9f86299526
/transcript/remove-ids.py
0e138bdfebd5e1c145f308a181ab8e9d74fbaae5
[ "Apache-2.0" ]
permissive
afcarl/asr-scripts
dd26ebda1834a95b5492cc207218b2010281342c
90a0980210882b62a5febc99bc77796aa2dc1307
refs/heads/master
2020-03-22T01:07:25.766763
2017-12-26T05:46:57
2017-12-26T05:46:57
139,284,495
1
0
null
null
null
null
UTF-8
Python
false
false
367
py
#!/usr/bin/python import sys import re if len(sys.argv) != 2: print "Usage: %s <transcript file>"%sys.argv[0] exit(-1) file = sys.argv[1] for line in open(file): line = line[:-1] first_paren = line.rfind("(") trans = line[:first_paren] id = line[first_paren:] trans = re.sub(' +',' ', tr...
[ "ben@benjaminlambert.com" ]
ben@benjaminlambert.com
53b857a1f8cd6bb4ea63e181a721580e9c45e788
236fb2e2998e0e79e440ea83b1ce1020563781d0
/mrio_common_metadata/conversion/exiobase_3_hybrid_su/datapackage.py
1178e02cb5607cb4a6911143d54fd977d510689e
[ "BSD-3-Clause" ]
permissive
brightway-lca/mrio_common_metadata
77ef56d36f09153476fc53215c7b2edca82ccfc5
56009fd6d404d0aefa0cca0023811c5713ceb1cc
refs/heads/master
2023-06-07T14:51:12.723268
2022-04-28T19:57:04
2022-04-28T19:57:04
217,256,767
0
1
BSD-3-Clause
2023-05-24T11:56:10
2019-10-24T09:03:31
Python
UTF-8
Python
false
false
6,997
py
DATAPACKAGE = { "name": "EXIOBASE 3.3.17 Hybrid", "id": "exiobase-3.3.17-hybrid", "licenses": [ { "name": "CC-BY-SA-4.0", "path": "https://creativecommons.org/licenses/by-sa/4.0/", "title": "Creative Commons Attribution Share-Alike 4.0", } ], "desc...
[ "cmutel@gmail.com" ]
cmutel@gmail.com
9b6a2f1325915008ab74e9f9723e5e32b26fa12d
f8a66f137d53306d1f05db6a2a6a0f4d0bd5acf1
/Cyber-Main/JSL_Threat_Intel_Framework_whodat/phase3_geowhois/GeoIP2-python-master/geoip2/webservice.py
dc617d2e719ffc722a566d0eaedd3a6dd3ad5c5b
[ "Apache-2.0" ]
permissive
sec-js/JSL-Cyber-ThreatIntelCore
5d9e63a5fca0b0d2e250d682332ad86286277205
a66c350b42c7ed95a4e3703e82983626fdab8ab7
refs/heads/master
2020-12-03T12:46:53.319750
2017-02-03T19:32:30
2017-02-03T19:32:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,498
py
""" ============================ WebServices Client API ============================ This class provides a client API for all the GeoIP2 Precision web service end points. The end points are Country, City, and Insights. Each end point returns a different set of data about an IP address, with Country returning the least...
[ "jonathan@johnsnowlabs.com" ]
jonathan@johnsnowlabs.com
0c814af8a56f964f0ee77e7a517c8d458fe7e2cb
3034cb06289f747066571c4ab54ca81996c22319
/module_utils/RubrikLib_Int/rubrik_lib_int/models/nutanix_vm_snapshot_detail.py
7323c520bfd1cad421b8ae17495e0501d0a5b1f4
[]
no_license
tarunactivity/ansible-rubrik
b2f644805f13a553bd0635e6ddc230257d125ef7
5d978c23902fd32d92cc90c75e48e5fe2209f8e0
refs/heads/master
2023-04-29T04:25:26.834701
2023-04-20T21:58:47
2023-04-20T21:58:47
116,251,368
0
0
null
2018-01-04T11:18:38
2018-01-04T11:18:37
null
UTF-8
Python
false
false
2,229
py
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
[ "tarun.activity+github@gmail.com" ]
tarun.activity+github@gmail.com
70d1c76cb8fb0344d7562ba735114a44960d7fa6
8fdcd12cfb91b2245da8b3c65fb937b1d72dd4c5
/tissuelab/omero/gateway_ome500_ice351/omero_model_PhotometricInterpretationI.py
31e74f69be3e946d16bd117984f64ddec766338e
[]
no_license
VirtualPlants/tissuelab
569a334deab0b73acc8b43f313efc3f4c4e552fd
8c064a34b91127806848f4992d1e4767574863cf
refs/heads/master
2021-01-11T01:32:19.830778
2017-05-04T09:42:53
2017-05-04T09:42:53
70,694,783
2
1
null
2017-01-05T14:21:50
2016-10-12T11:49:10
Python
UTF-8
Python
false
false
5,532
py
""" /* ** Generated by blitz/templates/resouces/combined.vm ** ** Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved. ** Use is subject to license terms supplied in LICENSE.txt ** */ """ import Ice import IceImport import omero IceImport.load("omero_model_DetailsI") IceImport.loa...
[ "guillaume.baty@inria.fr" ]
guillaume.baty@inria.fr
1180e095bf2b9b7dd402402c19cff8fdfc15e9c1
1635e722e7ede72f4877671f36bbbc4199abae81
/sqp-addons/boi/model/stock_invoice_onshipping.py
160594705b0b53a806a4a3ebdc6219ca2b9cc7e0
[]
no_license
ecosoft-odoo/sqp
7c09617048091ac6de4b25a33ad88127d36de452
7a7fc6b88087d98d536dd4ec39f9fb572918090e
refs/heads/master
2023-08-08T00:07:48.405000
2023-08-04T15:47:43
2023-08-04T15:47:43
40,047,976
3
9
null
2023-08-02T08:38:53
2015-08-01T13:48:54
Python
UTF-8
Python
false
false
1,845
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
[ "tharathip.chaweewongphan@gmail.com" ]
tharathip.chaweewongphan@gmail.com
0654c141af5556cc26a2097594e77f12caa926e3
2337351b228818e41be3002bd38f68f77c2aa074
/core/bioseg/policies/feed.py
7f0d3056257acb210868617266dfd3372ff27e2c
[ "BSD-3-Clause" ]
permissive
nocproject/noc
57d40c680a1499374463e472434f9595ed6d1374
6e6d71574e9b9d822bec572cc629a0ea73604a59
refs/heads/master
2023-08-31T01:11:33.544573
2023-08-30T17:31:11
2023-08-30T17:31:11
107,815,776
105
33
BSD-3-Clause
2023-07-31T07:57:45
2017-10-21T21:04:33
Python
UTF-8
Python
false
false
997
py
# ---------------------------------------------------------------------- # Feed Biosegmentation policy # ---------------------------------------------------------------------- # Copyright (C) 2007-2020 The NOC Project # See LICENSE for details # ---------------------------------------------------------------------- # ...
[ "aversanta@gmail.com" ]
aversanta@gmail.com
5d5614c6522d285078dd467b7ff02f76eb5a3709
8f32c4d31eb8fdc788cf38d8d7fb093f90e383aa
/tmpdemo.py
9ba0d0fc2552f123de038ef90ce3b9265a506ab2
[]
no_license
TJUNLP/ZeroShot_RE
9dd18f8169b505ca962b56055c97eb87857de601
c4a7f951bb1085b154677d5cff27f933ac35eb63
refs/heads/master
2021-07-07T19:13:36.487641
2020-10-12T07:23:50
2020-10-12T07:23:50
197,099,815
0
0
null
null
null
null
UTF-8
Python
false
false
2,626
py
def test_count_of_coupus(): f = '/Users/shengbinjia/Downloads/KRL_FB15K20K' fr1 = f + '/FB15K/relation2id.txt' fr2 = '/Users/shengbinjia/Downloads/SimpleQuestions_v2/annotated_fb_data_original.txt' fzeroshot = '/Users/shengbinjia/Downloads/SimpleQuestions_v2/annotated_fb_data_zeroshot.txt' fw = op...
[ "jiashengbin0501@163.com" ]
jiashengbin0501@163.com
750041ff70cddd0d29bcb7f84a0aa59e18bb07ee
cb29e3b6d2ece31c30187d66587eedc455dc81fc
/neurondm/setup.py
e9d54a2684a33f54adb77e7d694dd879c03e2d1c
[ "MIT" ]
permissive
MCSZ/pyontutils
47030353e9fc9441ff5ae8fbf75b069f88aa71e8
9180481e55f3eb52d79107c98c116ff9ad2a2821
refs/heads/master
2020-06-06T01:53:51.518832
2019-07-06T00:24:57
2019-07-06T00:24:57
192,605,715
0
1
MIT
2019-06-24T05:53:33
2019-06-18T20:09:02
Python
UTF-8
Python
false
false
1,524
py
import re from setuptools import setup def find_version(filename): _version_re = re.compile(r"__version__ = '(.*)'") for line in open(filename): version_match = _version_re.match(line) if version_match: return version_match.group(1) __version__ = find_version('neurondm/__init__.p...
[ "tgbugs@gmail.com" ]
tgbugs@gmail.com
2bf7ab53ab47fc1c228d9f3bc30991bb79948a79
e23a4f57ce5474d468258e5e63b9e23fb6011188
/140_gui/pyqt_pyside/_exercises/_templates/Advanced_Python_Scripting/011_Icons_and_Images/compileIcons.py
9ea06be6366ab0820970fbf1cf7cbb28fc6f9b2b
[]
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
2,234
py
_____ ___ _____ __ ____ ?.?C.. _____ _ ____ ?.?G.. _____ _ c_ fileListClass(?LW.. ___ - , parent s__(fileListClass, self). - (parent) setAcceptDrops(T..) pathList _ [] ___ appendImage , path path _ path.replace('/', '\\') __ no. path __ pathList: name _ __...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
5d6afd1af86c23017622cd2eae8fa4b71281a564
313fd492c0b3e3147f14b2db5d496f60445b1812
/freecodecamp practice/freecodecamp projects practice/project4.py
cb69e18181dd7f7a5fb9ded4dbcf3f5b718d6caa
[]
no_license
amiraHag/free-code-camp-python
e036cf5f8eade8a54f177cdfefba861e9906601b
85050d9de2ee008105e341a020ef4d95a1feb6c8
refs/heads/main
2023-05-16T03:21:29.524317
2021-06-06T00:13:43
2021-06-06T00:13:43
374,235,241
0
0
null
null
null
null
UTF-8
Python
false
false
1,605
py
class Rectangle: def __init__(self, width, height): self.width = width self.height = height def set_width(self, width): self.width = width def set_height(self, height): self.height = height def get_area(self): return self.width * self.height def get_perim...
[ "amira071846@feng.bu.edu.eg" ]
amira071846@feng.bu.edu.eg
75bae3f5066584d25fbec14944bc92d68c27d0d0
877f80f2a48a44ec0e0998bfd8c716d8c73f48a4
/blog_api/urls.py
6cc6765862cd7753fff020a36b7cd122f21e745f
[]
no_license
melardev/DjangoApiBlog
b83cd88549beb3dfa350f6b64414633dff183fa4
c77da38abaa9485ef7e903037aa1130fb7a4a2cf
refs/heads/master
2020-04-23T22:09:06.201273
2019-02-19T14:47:59
2019-02-19T14:47:59
171,491,706
1
0
null
null
null
null
UTF-8
Python
false
false
1,093
py
"""DjangoRestBlogApi URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/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') C...
[ "melardev@users.noreply.github.com" ]
melardev@users.noreply.github.com
520083af22bdd4451fb9f72f2913a26fbf9b83b3
d6135170e6156a12d4f64cff0373ee0b00ca644b
/third_party/toolchains/preconfig/ubuntu16.04/gcc7_manylinux2010-nvcc-cuda10.0/clang/bin/crosstool_wrapper_driver_is_not_gcc
8e01f1f1de20c4b19e1397e99a80c1d8a9fbac2a
[ "Apache-2.0" ]
permissive
eladeban/tensorflow
12499b0972b8aafde277b61da7bbdb1c59aa1d2a
0d4485677356a761f21ad7223759cd89bcc9034c
refs/heads/master
2020-06-04T03:28:24.373618
2019-06-13T22:37:52
2019-06-13T22:49:52
191,843,388
4
1
Apache-2.0
2019-06-13T22:54:36
2019-06-13T22:54:36
null
UTF-8
Python
false
false
9,074
#!/usr/bin/env python # Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unle...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
a4d36e67106456b128e7f6cc2784ddefc3756abf
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p3BR/R2/benchmark/startPyquil195.py
7ebb89ba6829278d9ca400f06056a0ee62c298f8
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
1,783
py
# qubit number=2 # total number=37 import pyquil from pyquil.api import local_forest_runtime, QVMConnection from pyquil import Program, get_qc from pyquil.gates import * import numpy as np conn = QVMConnection() def make_circuit()-> Program: prog = Program() # circuit begin prog += H(0) # number=1 pr...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
6a168f13c509dd09fe692ddf840ca3136f7065f2
ef0417a7ebe40e6c5b78df7e855405e85246f284
/platzi_intelligence_env/platzi_intelligence_agenty/platzi_intelligence_agenty/settings.py
c3beb537dde120770374a744b5b4187d811d4d35
[ "MIT" ]
permissive
INFINITY-RUBER/Curso_de_Scrapy_of_platzi
3619adb5f2cda2c8127fbe75eef109b6301e3475
f4ba3192f489bebd634ae7216e4d83676f1c1dd8
refs/heads/main
2023-03-28T16:04:43.400175
2021-03-24T03:03:47
2021-03-24T03:03:47
350,921,991
0
0
null
null
null
null
UTF-8
Python
false
false
3,271
py
# Scrapy settings for platzi_intelligence_agenty project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/latest/topics/do...
[ "ruberhenandez@gmail.com" ]
ruberhenandez@gmail.com
4d6cb77d005776428cdb504ade02b5ab035a2a58
cebf2e5276e6d064d0ec86beaf1129fe0d0fd582
/days001-010/day009/project/art.py
41a6c9efc49846fc6e732f0fdc0feea5a7c3eedb
[]
no_license
SheikhFahimFayasalSowrav/100days
532a71c5c790bc28b9fd93c936126a082bc415f5
0af9f2f16044facc0ee6bce96ae5e1b5f88977bc
refs/heads/master
2023-06-14T06:18:44.109685
2021-07-08T16:58:13
2021-07-08T16:58:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
logo = r''' ___________ \ / )_______( |"""""""|_.-._,.---------.,_.-._ | | | | | | ''-. | |_| |_ _| |_..-' ...
[ "pullynnhah@icloud.com" ]
pullynnhah@icloud.com
b0200f8d8e2108a5c60ed7f12a328594250bb7a2
c5e4a9a66f686de6eaca331f1ee3823ac925101b
/apps/management/migrations/0004_auto_20201020_1439.py
8b7357435164b7381c6ea9a8e4be16711c36f7ac
[]
no_license
Tiilon/Hospital_project
b1409be60f0d6daecb0e294bfbe81698d97b7c1f
6506218f4ad504f9031482999d9b33c92b350df8
refs/heads/main
2023-01-23T13:30:11.564836
2020-11-24T16:15:12
2020-11-24T16:15:12
303,461,057
0
1
null
null
null
null
UTF-8
Python
false
false
1,220
py
# Generated by Django 3.1.2 on 2020-10-20 13:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('management', '0003_auto_20201020_1330'), ] operations = [ migrations.AlterField( model_name='bed', name='number', ...
[ "tiilon42@gmail.com" ]
tiilon42@gmail.com
b69c46e0d9c5eae38ad0c219478bc83fc2ad0d5d
add366e2e5209dbe1d8a6f8730bdaefd13784260
/boa_test/example/demo/IteratorTest.py
1c2e717c8a47d6c7d51f81414765e9b73312c608
[ "MIT", "LicenseRef-scancode-free-unknown" ]
permissive
ontio/neo-boa
0601d446666f1e2d52d266fdc1b293294c74f79f
00c032e68fc8279d71617cbb28d15d8203cebaf7
refs/heads/master
2020-03-23T07:19:28.253505
2018-11-26T06:43:36
2018-11-26T06:43:36
141,263,761
4
12
MIT
2019-01-24T00:06:29
2018-07-17T09:12:55
Python
UTF-8
Python
false
false
940
py
from boa.interop.Neo.Iterator import * def Main(testNum): items = { 'a': 1, 'c': 4, 'f': 13 } vals = IterCreate(items) if testNum == 1: while IterNext(vals): print("next!") print("ok done") return True if testNum == 2: cou...
[ "tasaunders@gmail.com" ]
tasaunders@gmail.com
2638ce398a00d12a5f9fdc7895c6afb3e36ae979
274b743e47c08ac17afa96f4c76017e168c5793a
/torchsde/_core/methods/diagonal/milstein.py
37bfa15b784df7596245256ca77aad5a8455242f
[ "Apache-2.0" ]
permissive
patrick-kidger/torchsde
8cc6ea4ea75435fedb54a390be35d201b6a65265
4e6902b51bcf1c2f15c4c94027909c1162a6695c
refs/heads/master
2022-12-01T06:11:28.082318
2020-08-09T17:28:43
2020-08-09T17:28:43
286,237,250
3
2
Apache-2.0
2020-08-09T17:28:44
2020-08-09T12:56:51
null
UTF-8
Python
false
false
1,542
py
# 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 agreed to in writing, ...
[ "12689993+lxuechen@users.noreply.github.com" ]
12689993+lxuechen@users.noreply.github.com
118377db1020fc0b1b4978721dfd223d6b94e8f2
7da381cd7fa0520f686143560f334e5486317e88
/comments/views.py
50ee8974b7774718f32fb17d4589d4889eb27c5b
[]
no_license
dentemm/festival
05a8a0c93f27e18c65cf6775c0fbe16316382c8b
1d6793de172dd2d45099afdce8762e08d96b7bd2
refs/heads/master
2021-01-17T12:24:56.624245
2017-05-18T17:57:59
2017-05-18T17:57:59
52,222,653
1
0
null
null
null
null
UTF-8
Python
false
false
3,615
py
from django import http from django.conf import settings from django.shortcuts import render from django.utils.html import escape from django.apps import apps from django.http import HttpResponse, JsonResponse from django.template.response import TemplateResponse from django.views.decorators.csrf import csrf_protect fr...
[ "tim.claes@me.com" ]
tim.claes@me.com
33822cabdcd4718ac1f1f0acea8c39ab26ab63cb
d30aba490a9527e7fc1f31e178b5f1c3067ae84d
/build/forward_command_controller/catkin_generated/pkg.installspace.context.pc.py
4e3d0273090a6bbb08098bfecfa1d4e6ce56df1d
[]
no_license
weetinygit/tart
130845b9c0e7b01d0a5a5177b056c85495e4e5cc
339344cb9ef0561655f73f4609f340974113785a
refs/heads/master
2021-09-13T07:38:39.706301
2018-04-26T21:18:19
2018-04-26T21:18:19
111,699,891
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/weety/tart5/install/include".split(';') if "/home/weety/tart5/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "controller_interface;hardware_interface;std_msgs;realtime_tools".replace(';'...
[ "weetingyit36@gmail.com" ]
weetingyit36@gmail.com
076be9d4edd312dea2afa44759a1e3299340b6a2
bc68b28995103a45c5050a418a009f5f0c075bdc
/Rosalind1/Prob56/cycleToChromosome.py
485332d48197d33065c0132c6af482b503f40706
[]
no_license
kedarpujara/BioinformaticsAlgorithms
71ca191c18ff8260d9edcd594c337b282b2a7188
4a8919d03af767704525e8a5610af5b811d5c873
refs/heads/master
2020-03-13T08:41:45.361941
2018-04-25T18:39:00
2018-04-25T18:39:00
131,048,693
0
0
null
null
null
null
UTF-8
Python
false
false
1,238
py
def cycleToChromosome(Nodes): list1 = [] listR = [] for i in range(len(Nodes)/2): if Nodes[2*i] < Nodes[2*i+1]: val = i+1 else: val = -(i+1) list1.append(val) for i in list1: if i >0: listR.append("+"+str(i)) if i<0: listR.append(str(i)) print "(" + " ".join(listR) + ")" return list1 def r...
[ "kedarpujara@gmail.com" ]
kedarpujara@gmail.com
07b55979f20433e18871f04e4bb8ecfba6455fac
1fe8d4133981e53e88abf633046060b56fae883e
/venv/lib/python3.8/site-packages/scipy/linalg/decomp_qr.py
892e0a6472ce78f571f713b8670c944d6b29e504
[]
no_license
Akira331/flask-cifar10
6c49db8485038731ce67d23f0972b9574746c7a7
283e7a2867c77d4b6aba7aea9013bf241d35d76c
refs/heads/master
2023-06-14T16:35:06.384755
2021-07-05T14:09:15
2021-07-05T14:09:15
382,864,970
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:61d24fbf0d4d859c90e86ceb5b9d1e96edf2d64186bfda5532ab2dd254afe0ea size 13497
[ "business030301@gmail.com" ]
business030301@gmail.com
828078a0d7212200f23deb2c2baca7923d4b3a57
52b5773617a1b972a905de4d692540d26ff74926
/.history/valid_20200616220040.py
55ef307b02a9ccf6ae31555cf968dbb1c8862560
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,094
py
# Ipv4 --> 4 decimal numbers,between 0 to 255 # leading zero's is invalid # check whethere its a digit between 0 to 255 import string def valid(str): if str[len(str)-1] == ":" or str[len(str)-1] == ".": return "Neither" address = str.split(".") numbers = range(0,256) result = None ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
c47c58091f88ddb5c677f6e148896172ba612143
7f8d655ea213a420cf1c31cb389f93e323342d61
/nlp_tasks/absa/utils/predict_probability_to_result.py
76b9548b30088781b3d13eddb51c839d0438059d
[]
no_license
abclzy193/ASMOTE
e1bd49d321c7ace44dcfd14a11f689eafe9f7cf4
88754bc0a3e13dbcd268c0a1f43cbdadaa4d0b4b
refs/heads/main
2023-08-28T13:09:26.327784
2021-10-28T07:57:44
2021-10-28T07:57:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,844
py
# -*- coding: utf-8 -*- from nlp_tasks.absa.conf import task_conf from nlp_tasks.absa.utils import evaluate_utils from nlp_tasks.absa.preprocess import label_mapping def acaoa_predict_probability_to_result(predict_probability): """ :return: """ y_aspect = predict_probability[:task_conf.subject_clas...
[ "yuncongli@tencent.com" ]
yuncongli@tencent.com
f8facff28c02e9f652c819727a6814e4e9359e56
fea44d5ca4e6c9b2c7950234718a4531d453849e
/sktime/_contrib/classification_examples.py
de4d73a948f403fb5fb1a2493bc3c51bd5a4626d
[ "BSD-3-Clause" ]
permissive
mlgig/sktime
288069ab8c9b0743113877032dfca8cf1c2db3fb
19618df351a27b77e3979efc191e53987dbd99ae
refs/heads/master
2023-03-07T20:22:48.553615
2023-02-19T18:09:12
2023-02-19T18:09:12
234,604,691
1
0
BSD-3-Clause
2020-01-17T17:50:12
2020-01-17T17:50:11
null
UTF-8
Python
false
false
3,373
py
# -*- coding: utf-8 -*- """Classifier Examples: some use case examples for building and assessing classifiers. This will become a note book once complete. """ __author__ = ["TonyBagnall"] import numpy as np import pandas as pd from sklearn.ensemble import RandomForestClassifier from sktime.classification.dictionary...
[ "noreply@github.com" ]
mlgig.noreply@github.com
ec37d8363b5dee67a7b2f5c75d974d32148b9f64
e4602b1f21cb5375c4805a929dc9dc88f35a0dc0
/music/models.py
483af80db30eae7f180ab479005a8723d7f06851
[]
no_license
petersoh414/15-2nd-we_ro-backend
405aec5c154eef9e1fce60e1586de732fe698f29
f438b53f0e0c28d0ee51650be3526989d9b835be
refs/heads/main
2023-02-19T00:54:20.620573
2021-01-11T10:08:47
2021-01-11T10:08:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,812
py
from django.db import models class AlbumType(models.Model): name = models.CharField(max_length=10) class Meta: db_table = 'album_types' class Country(models.Model): name = models.CharField(max_length=10) class Meta: db_table = 'countries' class ArtistType(models.Model): name...
[ "fergith@naver.com" ]
fergith@naver.com
049c54710f9632e9e0ebaf7c05bae0f3f5631d75
ddddaa700e4642f46a2c1e1e0271a7c8ea62ba0f
/harness/tests/fixtures/import_from_path/b/data.py
6c84570f05caa5e680e06e47f0e55a92d07beaca
[ "Apache-2.0" ]
permissive
determined-ai/determined
9d563cb5ffd074c88ee5edc9bf22ab9c3cb78c7e
8239b1993f4f44390f4e88901ffaf3b12429b83c
refs/heads/main
2023-08-21T12:13:36.651298
2023-08-21T08:34:16
2023-08-21T08:34:16
253,846,879
2,531
330
Apache-2.0
2023-09-14T21:54:17
2020-04-07T16:12:29
Go
UTF-8
Python
false
false
10
py
val = "b"
[ "noreply@github.com" ]
determined-ai.noreply@github.com
df4ac1939c572426a645c3796055f080a0d63c79
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p3BR/R1/benchmark/startQiskit_Class104.py
7f7e0af1be65ed34aeb649c02c4ce124d4e6ca0d
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
5,188
py
# qubit number=3 # total number=18 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collections import Counter from...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
df2f41df8f68459c90e14946d01e2f1c57c18088
f27e26f95f4254dc42868ccb070ade856be9ab7e
/fvserver/urls.py
92a3626842d885d6f347ca52096d3888dfe85c3f
[ "Apache-2.0" ]
permissive
eahrold/Crypt-Server
499827e04fe67788275e0b38d115ad4d27ba4009
482d2fee583156251c42ed0869858a4b49d22a0a
refs/heads/master
2020-12-25T17:01:27.572060
2013-05-21T14:02:59
2013-05-21T14:02:59
8,509,966
0
0
null
null
null
null
UTF-8
Python
false
false
884
py
from django.conf.urls import patterns, include, url # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Examples: # url(r'^macnamer/', include('macnamer.foo.urls')), url(r'^login/$', 'django.contrib.auth.views.login'),...
[ "graham@grahamgilbert.com" ]
graham@grahamgilbert.com
73dced0a8e68724816174bb22b1dca0e36eebc4f
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/atomic/gDay/Schema+Instance/NISTXML-SV-IV-atomic-gDay-maxInclusive-2-4.py
3c2d2176e31c8d41548e72f50ad0a9cea2392a83
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
322
py
from output.models.nist_data.atomic.g_day.schema_instance.nistschema_sv_iv_atomic_g_day_max_inclusive_2_xsd.nistschema_sv_iv_atomic_g_day_max_inclusive_2 import NistschemaSvIvAtomicGDayMaxInclusive2 from xsdata.models.datatype import XmlPeriod obj = NistschemaSvIvAtomicGDayMaxInclusive2( value=XmlPeriod("---02") ...
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
234de15dec89c183fb135e0332b35cce3d062c0e
64e50763dc7142d45d9e2ae7f5debaa1bb8d6ccc
/arelle/plugin/validate/ESEF/DTS.py
9b994cfc49a6e3f5a6ddfd0505e8b2fc74bb7580
[ "Apache-2.0" ]
permissive
WertND/Arelle
f87647f90b7084ba436d4c245d9d358239babc5b
6e172bafa11fc120492e5cb8b7a3ca09186e44ff
refs/heads/master
2022-04-09T23:42:34.300369
2020-02-14T01:27:49
2020-02-14T01:27:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,997
py
''' Created on June 6, 2018 Filer Guidelines: ESMA_ESEF Manula 2019.pdf Taxonomy Architecture: Taxonomy package expected to be installed: @author: Mark V Systems Limited (c) Copyright 2018 Mark V Systems Limited, All rights reserved. ''' import unicodedata try: import regex as re except ImportError: impo...
[ "fischer@markv.com" ]
fischer@markv.com
208236b583995b0019f5f4640af096bd1d7f0db4
7fb469e93ff89b1c697d5a53a39188127e50d272
/utils/request_proxy.py
6b19bc96e89214dcf38b3459206b1d02ff58e400
[]
no_license
seekplum/seekplum
fde98f93145a78fc030032a4499090583aba154a
9e66f5e62214e566528003d434ef2b74877419fd
refs/heads/master
2023-02-13T19:00:49.866130
2023-01-31T08:55:19
2023-02-02T04:33:45
182,075,292
2
1
null
null
null
null
UTF-8
Python
false
false
1,158
py
# -*- coding: utf-8 -*- import requests # 1.在 url 中指定用户名密码 proxies = { "http": "http://10.0.0.7:8850", # "https": "http://10.0.0.7:8850", # "http": "http://test:ceshi@test5.goodtp.com:8700", "https": "http://test:ceshi@test5.goodtp.com:8700", } # 2.通过 HTTPProxyAuth 指定用户名密码 # from requests.auth impor...
[ "1131909224@qq.com" ]
1131909224@qq.com
9f3c6f4fe31a7d1b690348c86cbe27552dfc28df
102a33464fd3a16ceedd134e9c64fea554ca5273
/apps/shop/migrations/0002_auto_20181113_1103.py
07ff88f8a9b1ebdb5e799770f03ab2cc17535b6a
[]
no_license
pythonguru101/django-ecommerce
b688bbe2b1a53c906aa80f86f764cf9787e6c2fe
f94de9c21223716db5ffcb86ba87219da88d2ff4
refs/heads/master
2020-07-24T14:57:02.047702
2020-06-10T06:06:23
2020-06-10T06:06:23
207,961,132
1
0
null
null
null
null
UTF-8
Python
false
false
574
py
# Generated by Django 2.1.3 on 2018-11-13 11:03 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('shop', '0001_initial'), ] operations = [ migrations.AddField( model_name='product', name='sku', field=mo...
[ "pythonguru101@gmail.com" ]
pythonguru101@gmail.com
0243742f191b2fe5a18a509fddc2bb2e21c5fb33
fb5ec592c02138ba21c50c703b396b0d5e64f0a1
/vXGRxUQIjPa3bk45/46RM7DtBlCOTayZm.py
ba365747748a750fcf49e6e861084049228dccd4
[]
no_license
urlib/N56TKH
94cc5a800c1ab489ba7d2efc4314994682b97508
a6e01beeeafcd2d157cf18ebd0491c91035a8f0d
refs/heads/master
2021-05-19T18:22:44.833979
2020-04-15T05:40:36
2020-04-15T05:40:36
252,056,889
0
0
null
null
null
null
UTF-8
Python
false
false
29,734
py
ꢟ𣦀𧌒䁝𥜁ौ𭧨𥲾湰裿𝁳𮖴𧒆𪃽踤𣹻𠴿𩂲㎈𖡏𨸮𭤨籋🤈🜛𩆯𡺖𩙷𝖝놢𭼷柜𖬜🤭🤫슎儢𣛏𤿷쵾Ῠ检鰦𓁾𑖌窐橰𠚿𦡃潏𬜈𢯎𐑠𫚬꿎𠬕𡌞䅨蹊ᛦﰛ𗗸䵴𫿺𝢸𫣲𥝛뒉抗䅅ꖬ𮮽𦘖𣥗㶹𩦴𡓜炰𣑭𨕿㐬𦼫𓈾ꌄ𝄢𥋯ᰵ汩豏𣝼𬿄쳊냈𖠙㾳𐐴𨦉𑌯ퟪ𮫣㽐옖㮫ᙊ𪜀鬳𘎮𧟯𥅽󠆡𦍸轸뭁𥌟𦹭镭𢩖𝧱𞱵開𘢔斔豪𒀄𦣹𠬊𞄦𬄮ꌷ🀅𢬒𢵗诠𥦢𨟎𫏱䪺ⷚ𢀁㢾㫃ᜄ㪯酊𛰚𤢣譪𪄿焼靴𡶧𝕥誖⌖호𮙯𦉔𮑏𤂦藅㙀𤩄𥷻𗆡넮𠢫𪲫砨笒𩡥奅ᕀ𣍅ʥꚛ𫂰𡅤𠭢咻젦💈圦𡦉𩗣𫎵𪒢僌𓁆║𡂣𮀞𥋾𫖾٤똨邇橻🈂恢쒉𝒸𪼣ॕ...
[ "45290401+vmlankub@users.noreply.github.com" ]
45290401+vmlankub@users.noreply.github.com
3c02491700b41ebbffa321ab28bc3a3ff9f5f2e3
e30615df2fcb15cf41c42c6911cd33b5fb61316c
/ejercicios/clase10/blog_flask/blog/applications/blog/__init__.py
ce125ce770fb2300cc5b464f26c56dae82c0c9b2
[]
no_license
escueladevhack/curso-python
2e11ba2d637a3fcf37d1da1977e15406179a0941
35e4801cf4f13872a4a4c1f0bee43ee3194d73bd
refs/heads/master
2021-08-27T20:50:58.262405
2021-08-11T21:13:38
2021-08-11T21:13:38
168,049,269
2
0
null
null
null
null
UTF-8
Python
false
false
425
py
import functools import os from flask.blueprints import Blueprint bp = Blueprint( 'blog', __name__, url_prefix='/', template_folder=os.path.join( os.path.abspath(os.path.dirname(__file__)), "templates" ) ) # flask does not load our inner schema so we need to tell flask # to consi...
[ "ma0@contraslash.com" ]
ma0@contraslash.com
7d35ed21178cd3b2718eb13e5db1f8b56550a663
aed31882cb884ae936d61e2300607e1b91cb19f1
/python/test/viewPendingJustifications.py
447f4de360bd48856b3f6e634a2d6242344ac03e
[]
no_license
pablodanielrey/angular
a34c48a1d5f929cf9b04defa76af2221b45c8582
75c05dd467ac686dd5e7ea0d8204a9362f49a2b2
refs/heads/master
2020-04-04T01:21:10.081705
2016-10-31T17:27:17
2016-10-31T17:27:17
27,824,636
1
1
null
null
null
null
UTF-8
Python
false
false
1,143
py
import sys sys.path.append('../../python') import inject inject.configure() import uuid import json import datetime import logging from model.registry import Registry from model.connection.connection import Connection from model.assistance.justifications.status import Status from model.assistance.justifications impor...
[ "pablodanielrey@gmail.com" ]
pablodanielrey@gmail.com
0e863fc83ae62b134df6ca386fe94b2caaa420e5
ee8c4c954b7c1711899b6d2527bdb12b5c79c9be
/assessment2/amazon/run/core/controllers/madly.py
164bd00ec522f48a46058943fe64e50d26d23f32
[]
no_license
sqlconsult/byte
02ac9899aebea4475614969b594bfe2992ffe29a
548f6cb5038e927b54adca29caf02c981fdcecfc
refs/heads/master
2021-01-25T14:45:42.120220
2018-08-11T23:45:31
2018-08-11T23:45:31
117,135,069
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
#!/usr/bin/env python3 from flask import Blueprint, Flask, render_template, request, url_for controller = Blueprint('madly', __name__, url_prefix='/madly') # @controller.route('/<string:title>', methods=['GET']) # def lookup(title): # if title == 'Republic': # TODO 2 # return render_template('republic....
[ "sqlconsult@hotmail.com" ]
sqlconsult@hotmail.com
ae72c1c4ef06266f61752dabb07cf4214846ace3
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/benchmarks/tree-169.py
9dab5da2e3b44decf0b27dd3aac3bab30bf46909
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
1,447
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: return self.left.insert(x) elif x > self.value: if self....
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
1ab765949745b7c00967b7cfc0ccb6fbed753f56
5945903ff7b3c0be799d8b228aa96309e8d6b68a
/PTA_2020_4.py
aeebd625485aedfe4f46ae33f6f3ae27c7744359
[]
no_license
freesan44/LeetCode
44fd01fa37e2d7e729ae947da2350b1649c163ae
2ed9f1955c527d43fe1a02e5bebf5a6f981ef388
refs/heads/master
2021-12-07T20:07:02.308097
2021-11-01T23:58:11
2021-11-01T23:58:11
245,178,582
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
N = int(input()) # N = int("305") isChaoguo = False resList = [0,1] while isChaoguo == False: next = resList[-1]+ resList[-2] resList.append(next) # print(resList) if next >= N: isChaoguo = True if abs(resList[-1]-N) >= abs(resList[-2]-N): print(resList[-2]) else: print(re...
[ "freesan44@163.com" ]
freesan44@163.com
c78d91ad33390fe9af9345e19f4091eb7cbd2a28
519a27de1e55d639fefaa86f11b7f7fb8582736a
/launchdarkly_api/models/relay_proxy_configs.py
624ffa681ad6dac0176d21650d9f7774535f8a1b
[ "Apache-2.0" ]
permissive
isabella232/api-client-python
fa3aec6633dc8effffbf9719d777a432492b9afd
36de745c54091357bbfc0a938d537f249c12ad73
refs/heads/master
2023-01-13T08:02:51.811493
2020-11-20T01:07:03
2020-11-20T01:07:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,228
py
# coding: utf-8 """ LaunchDarkly REST API Build custom integrations with the LaunchDarkly REST API # noqa: E501 OpenAPI spec version: 3.9.0 Contact: support@launchdarkly.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six ...
[ "team@launchdarkly.com" ]
team@launchdarkly.com
9cbad239f3f3a928602d7d15dd70716522f7e356
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/crypto-square/84ba5b88c8bf4fa9b10b7c27f0078f74.py
7aaa106cd0e777356c85e7716e499f0b48c3cf99
[]
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
914
py
__author__ = 'Flavio Miranda' import math import re def encode(text): ## Remove all non alphanumeric chars [^a-zA-Z0-9] is the negation text = re.sub(r'([^a-zA-Z0-9])', '', text) if not text: # Empty string after the trimming return encoded matrix = root(len(text)) mapp = squar...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
5957ced10a636401023eb13e3fb13a4170d2985e
1e9c9f2a9639db7cdb032aae69cb4d99aef1d3a5
/hackerRank/tracks/tutorials/crackingTheCodingInterview/dataStructures/linkedLists/detectACycle.py
55fc17b7609049074ccf82b200471afac76cb57f
[ "MIT" ]
permissive
sagarnikam123/learnNPractice
f0da3f8acf653e56c591353ab342765a6831698c
1b3b0cb2cff2f478006626a4c37a99102acbb628
refs/heads/master
2023-02-04T11:21:18.211654
2023-01-24T14:47:52
2023-01-24T14:47:52
61,184,927
2
1
MIT
2022-03-06T11:07:18
2016-06-15T06:57:19
Python
UTF-8
Python
false
false
1,799
py
# Detect a Cycle ####################################################################################################################### A linked list is said to contain a cycle if any node is visited more than once while traversing the list. Complete the function provided in the editor below. It has one parameter: a...
[ "sagarnikam123@gmail.com" ]
sagarnikam123@gmail.com
7c532ea22ae8ed77f2ef5ce12e7fd8db4681f61a
3f01eb21ce140e6e8d6e9f6c037a0ed3acfd0e1b
/home/migrations/0006_private_project_report_snippet.py
52f0020beb498b24385935c56c26d9365534698d
[ "MIT" ]
permissive
manushah17/Capstone_2019
01d45e3d8f925dac88c1911d853ec1b8762d5b1f
381094fc778906810e13d7611bfdb2c74cac326e
refs/heads/master
2022-12-16T21:08:29.385969
2019-09-07T15:08:42
2019-09-07T15:08:42
206,984,224
0
0
MIT
2022-12-08T01:22:56
2019-09-07T15:04:22
HTML
UTF-8
Python
false
false
649
py
# Generated by Django 2.1.1 on 2019-04-01 23:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0005_public_project_report_snippet'), ] operations = [ migrations.CreateModel( name='Private_Project_Report_Snippet', ...
[ "manushah@unomaha.edu" ]
manushah@unomaha.edu
913f38801a8f26dabf033b94516904748fc6818c
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/auLEvdvBT5PRnALvn_0.py
235fa9616650a3142f5fb6af2f04d7c17b60a41d
[]
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
130
py
def mirror_cipher(message, key="abcdefghijklmnopqrstuvwxyz"): return message.lower().translate(str.maketrans(key, key[::-1]))
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
1fabf78cf03964cfe3ff0b47915cfb1cfa0733c3
de8843384ed111a88909cd85b42d10e3ef7f25c0
/socialdiva/items.py
9c9055603921175f23b71782630bbbc7c394cba8
[]
no_license
daniel-kanchev/socialdiva
8e488220dea2c563e676c15a442443508b9b2f6d
9ebfbe49323e9d66f507a3edf1bd3f40b6cf8bb6
refs/heads/main
2023-02-21T16:51:30.402389
2021-01-25T09:39:40
2021-01-25T09:39:40
332,689,055
0
0
null
null
null
null
UTF-8
Python
false
false
212
py
import scrapy class Article(scrapy.Item): title = scrapy.Field() date = scrapy.Field() author = scrapy.Field() categories = scrapy.Field() link = scrapy.Field() content = scrapy.Field()
[ "daniel.kanchev@adata.pro" ]
daniel.kanchev@adata.pro
a5f2dd1a405c84895c422c2ee728e6a5f67b28d5
611872a5b3091d3d368a4e60a94731b64b6a8dbb
/model architecture/cnn1D_individual_model.py
6163f187b82f7b5777d1710c17513caecb045de7
[]
no_license
thepritam/Motor-Imagery-Using-Image-
91da77486144bc41191abdb37330a3fd4db70961
d49af21562f9d0f08b20a331252b40ece7bf0dc2
refs/heads/main
2023-03-31T22:56:56.847185
2021-04-05T14:10:44
2021-04-05T14:10:44
354,827,529
0
0
null
null
null
null
UTF-8
Python
false
false
4,868
py
import numpy as np import boto3 import os import pickle import numpy as np bucketname = 'motorimageryusingeeg' s3 = boto3.resource('s3') fname1 = 'mod_data_set/X_Train' fname2 = 'mod_data_set/Y_Train' dname1 = 'X_Train' dname2 = 'Y_Train' s3.Bucket(bucketname).download_file(fname1, dname1) s3.Bucket(bucketname).down...
[ "you@example.com" ]
you@example.com
8e28863e385d8be8c07b8a891bb556b030bc1311
214dde26c268d1d0b7991318c5e2d43aa27af89b
/algotrade/strategy/pair_trading.py
8e859e204dd6598c45fede4c1f4018bfbf73ee50
[]
no_license
hellobiek/smart_deal_tool
f1846903ac402257bbe92bd23f9552970937d50e
ba8aad0a37843362f5833526921c6f700fb881f1
refs/heads/master
2022-09-04T04:41:34.598164
2022-08-04T22:04:09
2022-08-04T22:04:09
88,258,362
36
14
null
null
null
null
UTF-8
Python
false
false
9,041
py
# -*- coding: utf-8 -*- import sys from os.path import abspath, dirname sys.path.insert(0, dirname(dirname(dirname(abspath(__file__))))) import time import traceback import const as ct import tushare as ts from pandas import DataFrame from algotrade.feed import dataFramefeed from common import add_suffix, get_tushare_...
[ "hellobiek@gmail.com" ]
hellobiek@gmail.com
454306e4ecb01447609440164c61ce672975a921
859913a3d299b8d07192348c76ca102dac6caab7
/dspider/dspider/spiders/indexCollector.py
ff6ea9cc30d6ae33ee15a351d5558a44d00df3f8
[]
no_license
piaoxue85/smart_deal_tool
29e4cfdb4e13b7d1f83ff95a0a518ff8726de38e
0307bbbaf2b33b9cb565f6cf6f0056353dff8930
refs/heads/master
2020-04-23T02:18:34.405090
2019-02-10T14:11:00
2019-02-10T14:11:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,737
py
# -*- coding: utf-8 -*- import scrapy import json import datetime from dspider.items import IndexCollectorItem #定义键值的映射关系 kvmaping={ 'index_name':'name', 'open_value':'7', 'higest_value':'8', 'lowest_value':'9', 'close_value':'10', 'fluctuation':'526792', 'transaction_amount':'19', 'tot...
[ "hellobiek@gmail.com" ]
hellobiek@gmail.com
58e71c2c1c19701eeb8d4856f839dfba289a5f64
31596558d227ca10911a776023aeef1a7eb0d2c9
/Other groups/matheousse/higehiro_06.py
cee41c3717b5cb0d71ee1a70debc00deb7b3d46a
[ "MIT" ]
permissive
Ichunjo/encode-scripts
914a113093670f7d07e652ef50f6f04d09cc58b1
389a9f497e637eaade6f99acee816636856961d4
refs/heads/master
2022-05-03T00:48:54.543905
2022-03-17T17:43:02
2022-03-17T17:43:02
220,536,158
45
8
null
2019-11-08T21:25:59
2019-11-08T19:41:14
Python
UTF-8
Python
false
false
5,820
py
"""HigeHiro script""" __author__ = 'Vardë' from pathlib import Path from typing import Any, Dict, List, NamedTuple, Optional, Tuple, Union, cast import G41Fun as gf import havsfunc as hvf import kagefunc as kgf import lvsfunc as lvf import vardefunc as vdf from vardautomation import (BasicTool, FileInfo, PresetAAC, ...
[ "ichunjo.le.terrible@gmail.com" ]
ichunjo.le.terrible@gmail.com
d4f8476cd2792d59b989e3e815109df75ae243df
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/django-1.2/django/contrib/localflavor/sk/forms.py
775909984e1a961bd31f8618897ae3685cc9c949
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
104
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.2/django/contrib/localflavor/sk/forms.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
058dc9bb9b942367f7f6cacbf60b2194af20d533
65abfb2bda48e3a5c8180f28f102e37010a06d63
/app/wordbook/objects_page/flash_card_page.py
cbc5553f904b41f680c3faf26f23f1fb752ae897
[]
no_license
vectorhuztt/study_center_copy
1365c7bf55f8c8353f9343044528485f44bacfc3
1abdb20d7e975b779ad44703842f42c7b7835ecf
refs/heads/master
2023-05-08T22:52:17.286726
2020-06-05T01:35:52
2020-06-05T01:35:52
269,502,981
0
0
null
2021-06-02T02:02:22
2020-06-05T01:32:23
Python
UTF-8
Python
false
false
7,940
py
# @Author : Vector # @Email : vectorztt@163.com # @Time : 2019/8/28 16:24 # ----------------------------------------- import datetime import time import numpy as np from selenium.webdriver.common.by import By from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected...
[ "vectorztt@163.com" ]
vectorztt@163.com
3273b78fa895e0cc03c7151c24bcaa5f35a45fbc
4cafb8b0c3a227f5407e6b82e18c2eab94ad51fb
/env/walker_env_wrapper.py
90ff8994445c31853f011a00688936d262ede87b
[ "MIT" ]
permissive
WilsonWangTHU/neural_graph_evolution
d733c560490c4eaa76eaf9ac9f23a961d8aea89d
9142b7f1c32c476aa44c83da38d3f0bacc276d73
refs/heads/master
2023-04-03T02:22:36.835291
2019-11-19T22:42:17
2019-11-19T22:42:17
190,471,838
44
15
MIT
2023-03-24T22:29:35
2019-06-05T21:35:03
Python
UTF-8
Python
false
false
8,433
py
''' ''' import init_path from util import dm_control_util from util import model_gen_util import os import numpy as np from env.dm_env_wrapper import dm_env_wrapper import collections # from env.dm_env_wrapper import NUM_EPISODE_RECORED class dm_walker_wrapper(dm_env_wrapper): ''' ''' def __init__(self,...
[ "wode406@hotmail.com" ]
wode406@hotmail.com
373d9fc132b6c2d2f844ca17ffe182db171fce5f
deea7739afb049c550c0c5e6517df2192ff10bec
/services/exercises/project/__init__.py
e1f626521b2895b20478075acb196cf4380c0230
[]
no_license
nickvandewiele/testdriven-microservices
875e3a80cd43cde2c25dc26e6d417c69bcf79080
20fa9295047fcf165cba7cd3fa79b7965e2fb0f6
refs/heads/master
2021-05-11T14:40:27.682320
2018-07-31T23:26:00
2018-08-01T15:54:32
117,706,955
0
0
null
2018-07-23T21:47:04
2018-01-16T16:08:31
Python
UTF-8
Python
false
false
886
py
# project/__init__.py import os from flask import Flask from flask_cors import CORS from flask_debugtoolbar import DebugToolbarExtension from flask_sqlalchemy import SQLAlchemy from flask_migrate import Migrate # instantiate db db = SQLAlchemy() migrate = Migrate() # instantiate the extensions toolbar = DebugToolb...
[ "nickvandewiele@gmail.com" ]
nickvandewiele@gmail.com
65058b28ee8a681275df3b2a352f0af5c34932dc
a24ab720f4d86aa964d8a18b41a15a14d6b0c3d7
/regex_07.py
5fade5dd78df71e6853a61862c1059a6e019cf8b
[]
no_license
A-Alexander-code/Python-OneLiners--Soutions
26bc911a8d4864c086c9574ad8df2722f0c8cb7e
622ad5f88879176090806e0ab323026e952c8b29
refs/heads/master
2023-07-10T01:03:06.026564
2021-08-15T19:44:09
2021-08-15T19:44:09
396,471,685
0
0
null
null
null
null
UTF-8
Python
false
false
236
py
# Dependencies import re # Data inputs = ['18:29', '23:55', '123', 'ab:cd', '18:299', '99:99'] # One-liner input_ok = lambda x: re.fullmatch('([01][0-9]|2[0-3]):[0-5][0-9]', x) != None # Result for x in inputs: print(input_ok(x))
[ "b_alx_arboleda@outlook.com" ]
b_alx_arboleda@outlook.com
581af59d9648b80f67343ad558ac06b2a7110a8b
e2168ccd649a834238414c3569947e3086656d33
/app/abbr/tests.py
901119dbc297debf76333563f44f61b9df67c6b6
[ "Apache-2.0" ]
permissive
Tjorriemorrie/abbr
023cd0483efed5f1d547360a23251021d48aef4b
a4a3017a6694eacf6c11e95e76cec6d260750438
refs/heads/master
2021-01-10T15:16:13.474165
2016-02-13T08:19:09
2016-02-13T08:19:09
51,496,621
0
0
null
null
null
null
UTF-8
Python
false
false
2,454
py
from django.test import TestCase from .classifier import Classifier from profilehooks import profile class ClassifierTests(TestCase): def setUp(self): self.data = [ { 'abbr': 'RADIUS', 'long_form': 'Remote Authentication Dial In User Service', 'simple': True, 'complex': True, 'substring': True, }, ...
[ "jacoj82@gmail.com" ]
jacoj82@gmail.com
14e737b004657abf6540d9cf36ee21cd830fee3f
009f8e81d8a2b4bdcf3255f10a105c5a9534ced9
/backend/home/migrations/0002_load_initial_data.py
a9d7e4f91a5d3c76ed850f531e380e1aec3f4cc3
[]
no_license
crowdbotics-apps/skittles1012345-17939
4132b1fed6a5d829fda4fd27c9aa523eec4e316b
941385843d3f8d430edcb36e0ab843092a11e58a
refs/heads/master
2022-11-07T02:36:35.259684
2020-06-08T18:05:59
2020-06-08T18:05:59
270,772,692
0
0
null
null
null
null
UTF-8
Python
false
false
1,314
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "skittles1012345" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
feec29f9ae9c11233f955ea3d0d5c9aa0fa13d45
c26dc7928b1facac2c0912f6532076d35c19e835
/devel/lib/python2.7/dist-packages/haf_grasping/msg/_CalcGraspPointsServerActionResult.py
246d11949ef35fe6dc5d3924472b9b747b945577
[]
no_license
mattedminster/inmoov_ros
33c29a2ea711f61f15ad5e2c53dd9db65ef6437f
e063a90b61418c3612b8df7876a633bc0dc2c428
refs/heads/master
2021-01-23T02:39:36.090746
2017-08-09T02:56:42
2017-08-09T02:56:42
85,995,826
0
0
null
2017-03-23T20:45:32
2017-03-23T20:45:32
null
UTF-8
Python
false
false
17,670
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from haf_grasping/CalcGraspPointsServerActionResult.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import haf_grasping.msg import geometry_msgs.msg import genpy import ac...
[ "mattedminster@gmail.com" ]
mattedminster@gmail.com
fb83abcd501a03abe86ea3b5978dd22058c71e8e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02616/s004871868.py
3cc2a2497e9d1387351738c8c400e79f925c148d
[]
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
864
py
n,k=map(int,input().split()) A=list(map(int,input().split())) mod=10**9+7 count=k B,C=[],[] for i in A: if i<=0:B.append(i) else:C.append(i) B.sort(key=lambda x:abs(x)) C.sort() ans,flag=1,1 while k!=0: if k>=2: if len(B)>=2 and len(C)>=2: if B[-1]*B[-2]>C[-1]*C[-2]: an...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
54eb1e3cb5d725c9ed0188484130aff4d805bfda
808966d5fb84ddfd4860ff73fc250a24be9dbeb4
/110_Balanced_Binary_Tree.py
22b34c12ae07eb2cc3f52e994a917be0f6ed1f25
[]
no_license
chloetop/leetcode-1
1f1940137a73f74eb94812b997339bf856319bd1
8453cf66afbd948a5fbdc492aa697e23b6c9a944
refs/heads/master
2021-01-22T08:52:35.817984
2017-05-28T00:39:53
2017-05-28T00:39:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,200
py
_author_ = 'jake' _project_ = 'leetcode' # https://leetcode.com/problems/balanced-binary-tree/ # Given a binary tree, determine if it is height-balanced. # A height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node never differ by more than 1. # Calculate the depth ...
[ "jake_hoare@hotmail.com" ]
jake_hoare@hotmail.com
451782b7a1fa12982520a7930655870cd36ddbd8
30150c7f6ed7a10ac50eee3f40101bc3165ebf9e
/src/leveleditor/SuitPointObj.py
b31f1b9d4aa5abf86ebaae57967aee1fdc12a726
[]
no_license
toontown-restoration-project/toontown
c2ad0d552cb9d5d3232ae6941e28f00c11ca3aa8
9bef6d9f823b2c12a176b33518eaa51ddbe3fd2f
refs/heads/master
2022-12-23T19:46:16.697036
2020-10-02T20:17:09
2020-10-02T20:17:09
300,672,330
0
0
null
null
null
null
UTF-8
Python
false
false
1,183
py
from toontown.toonbase.ToontownModules import * class SuitPointObj(NodePath): def __init__(self, editor, dna=None): NodePath.__init__(self) self.editor = editor if dna: self.spDna = dna else: self.spDna = DNASTORE.storeSuitPoint(0, Point3(0)) np = l...
[ "brianlach72@gmail.com" ]
brianlach72@gmail.com
de1c7fd860b7d66be47b20459bb2cf21ffef6ad8
e2081f2f873825a3cc8b529614eb784f5cf5e8c5
/mutiplystring.py
3261f7ac709cc02b5968a54fe171552fe4bba370
[]
no_license
yilinanyu/Leetcode-with-Python
17b454058c673381dbafa5a2a154c4e84b449399
a55d2a3e383f858477170effbf8f6454e5dfd218
refs/heads/master
2021-01-21T04:55:31.025194
2016-07-11T20:10:18
2016-07-11T20:10:18
36,630,923
5
1
null
null
null
null
UTF-8
Python
false
false
674
py
class Solution: # @param num1, a string # @param num2, a string # @return a string def multiply(self, num1, num2): num1 = num1[::-1]; num2 = num2[::-1] arr = [0 for i in range(len(num1)+len(num2))] for i in range(len(num1)): for j in range(len(num2)): ...
[ "ly783@nyu.edu" ]
ly783@nyu.edu