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
8c9b56693f13db2f1ba821fef4af4ed03ba7bbc8
ba854e267bede78e2aab78dd33b3e0332d666b13
/lambda/sfr-oclc-classify/helpers/configHelpers.py
3ac7ebcd3e22d933e057ee46fabc03faeb2948d0
[]
no_license
NYPL/sfr-ingest-pipeline
968dde45abafca25c2a570f469da25ef2bbfce6c
07d4116405f202d254f4b3121d4d0580c4147969
refs/heads/development
2023-03-03T11:59:15.827611
2021-02-11T18:50:42
2021-02-11T18:50:42
245,267,219
1
0
null
2021-02-11T18:50:43
2020-03-05T21:02:55
Python
UTF-8
Python
false
false
3,430
py
import yaml import shutil import os import configparser from helpers.logHelpers import createLog from helpers.errorHelpers import InvalidExecutionType logger = createLog('configHelpers') def loadEnvFile(runType, fileString): envDict = None fileLines = [] if fileString: openFile = fileString.for...
[ "mwbenowitz@gmail.com" ]
mwbenowitz@gmail.com
984781a94a2bb918ca131365c9bd5bd00ebf5a5c
aa4aa51465d79e0447cbe22281f0402ca95bdaa2
/python/lstmPre10/pro1/my.py
23f2c89cbdc537038f70f5de9b59cbfb45ba0715
[]
no_license
zuozuo12/usualProject
2ca06bb7a1ff6f99343f1997053ba8d5a48e00a7
335bcef5d76d6cf0c84dd3209176089b3b07fbba
refs/heads/master
2020-11-27T17:02:33.252884
2019-10-22T06:46:32
2019-10-22T06:46:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,124
py
import os import shutil import random def split(path,train,test): if os.path.exists(train): shutil.rmtree(train) os.mkdir(train) if os.path.exists(test): shutil.rmtree(test) os.mkdir(test) counts=[108,466,368,451,230,455,86,392,488,166,46,185,349] cnt=0 for i in os.listdir(...
[ "llfwyyx@163.com" ]
llfwyyx@163.com
ce3fbae3988d8b716211b154cfcedba31af43634
c034c477800376fa14bd215f5b9c18ffb58b50d3
/examples-09-flask/myApp-01/main.py
7b23c066a3481e81edd2f3ba730d929a265db6a6
[ "MIT" ]
permissive
nataristizabalf/Python-for-data-products
ee16f1735763e8193fe160c98f75c40655e88f2d
f84fbfdd47f1962f8340efcc8dd59701720d3bd3
refs/heads/master
2020-03-27T19:35:41.247442
2018-09-01T12:52:04
2018-09-01T12:52:04
146,999,412
0
1
MIT
2018-09-01T13:11:45
2018-09-01T13:11:45
null
UTF-8
Python
false
false
185
py
# coding:utf-8 from flask import Flask app = Flask(__name__) @app.route('/') @app.route('/index') def hello(): return "Hola Mundo Cruel!" if __name__ == "__main__": app.run()
[ "jdvelasq@unal.edu.co" ]
jdvelasq@unal.edu.co
db7515b40bbd38e97587811c24ed40d0750bfd2d
63dc2b63afa8848842470c52f10b9066445f239c
/hospital/commons.py
f01537f1b980b1ef3548485e9bfc35f5e7444aff
[]
no_license
wanderchan/hospital
724a5e03ef8d9d2fea8ef3da80646aefe9bdbd73
887a668f7d93f8271908facb37b4c6fef67e9700
refs/heads/master
2020-03-18T23:39:11.071002
2018-05-30T09:09:24
2018-05-30T09:09:24
129,866,541
0
0
null
null
null
null
UTF-8
Python
false
false
4,839
py
# encoding: utf-8 import os import random import io from django.http import JsonResponse from django.http import HttpResponse from PIL import Image, ImageDraw, ImageFont from math import ceil current_path = os.path.normpath(os.path.dirname(__file__)) class Captcha(object): def __init__(self,request): s...
[ "you@example.com" ]
you@example.com
fc6df518fc1233b9b4d0cf057f4716132f11d336
fe19d2fac4580d463132e61509bd6e3cc2cf958d
/toontown/estate/DistributedGardenBox.py
4c86cbcc258a2e9d71e66e5d869a7c8fd7341a61
[]
no_license
t00nt0wn1dk/c0d3
3e6db6dd42c3aa36ad77709cf9016176a3f3a44f
7de105d7f3de0f8704b020e32fd063ee2fad8d0d
refs/heads/master
2021-01-01T16:00:15.367822
2015-03-21T21:25:52
2015-03-21T21:25:55
32,647,654
3
5
null
null
null
null
UTF-8
Python
false
false
2,496
py
# 2013.08.22 22:20:08 Pacific Daylight Time # Embedded file name: toontown.estate.DistributedGardenBox import DistributedLawnDecor from direct.directnotify import DirectNotifyGlobal from direct.showbase.ShowBase import * import GardenGlobals from toontown.toonbase import TTLocalizer from toontown.estate import Planting...
[ "anonymoustoontown@gmail.com" ]
anonymoustoontown@gmail.com
990825b030a8183e6b8bc6bd866d6f1095f90843
c9a222631e4a0b827ee4efbd4e362d00b7cc6d48
/myblog/myblogvenv/Scripts/easy_install-script.py
e1e5e0079ccf102a9c97fa2c9e01a34955c59aba
[]
no_license
enticejin/python
d86b1727048bae24bce0fedc911953a20d11947c
09dea6c62e6be8389fb23f472a1f02896a74c696
refs/heads/master
2023-03-12T18:00:06.322335
2021-11-09T01:38:13
2021-11-09T01:38:13
234,876,815
3
1
null
2023-03-04T01:24:08
2020-01-19T09:54:07
Python
UTF-8
Python
false
false
434
py
#!D:\python\myblog\myblogvenv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys...
[ "www.403367632@qq.com" ]
www.403367632@qq.com
77e8b1066c124c4be2ec997eb2c3a2fcb9cbd0f3
bede13ba6e7f8c2750815df29bb2217228e91ca5
/event_management/reports/event_management_pdf_report.py
a741707ee87c660a938690199e29e10a05c7b543
[]
no_license
CybroOdoo/CybroAddons
f44c1c43df1aad348409924603e538aa3abc7319
4b1bcb8f17aad44fe9c80a8180eb0128e6bb2c14
refs/heads/16.0
2023-09-01T17:52:04.418982
2023-09-01T11:43:47
2023-09-01T11:43:47
47,947,919
209
561
null
2023-09-14T01:47:59
2015-12-14T02:38:57
HTML
UTF-8
Python
false
false
3,255
py
# -*- coding: utf-8 -*- """Module for pdf data fetching and carry off pdf report data""" ################################################################################ # # Cybrosys Technologies Pvt. Ltd. # Copyright (C) 2017-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). # This program is free soft...
[ "ajmal@cybrosys.in" ]
ajmal@cybrosys.in
d90debd46266eba631e14ccb61721ac6afbc7e02
47170a28e22a5cf60df6ad0d864a006e48005d56
/py-codelab/leetcode/26.remove-duplicates-from-sorted-array.py
332bcba6d61108b75c5440760baa942edfc7f3ea
[ "MIT" ]
permissive
Nahid-Hassan/software-development
c8165d2739fa807100b69b7c0ccbafc41acacbab
c2157bc6a93fa9fdf2e86de2e6f51876ff46b83f
refs/heads/main
2023-05-26T22:33:16.792467
2021-06-11T04:26:45
2021-06-11T04:26:45
320,472,398
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
class Solution: def removeDuplicates(self, nums: list[int]) -> int: if nums == []: return 0 res = 0 for i in range(1, len(nums)): if nums[i] != nums[res]: res += 1 nums[res] = nums[i] return res + 1
[ "nahid.cseru@gmail.com" ]
nahid.cseru@gmail.com
6e23eed68427f67cd8adc5bcbfdab2993c6b627c
7ef5cfc73c838747113d5c76a27c9a1a9a0e35d0
/tests/nlu_core_tests/component_tests/chunker_tests/ngram_tests.py
c3afe5d823f944110d45ce0e0e3082127dadb644
[ "Apache-2.0" ]
permissive
sumanthratna/nlu
a07a923e9bd1331fb674c1079fb5f8164ca92d1a
acde6879d776116051d4cbe909268ab8946989b5
refs/heads/master
2022-12-18T21:34:22.746009
2020-09-23T23:32:22
2020-09-23T23:32:22
298,695,500
1
0
Apache-2.0
2020-09-25T22:58:57
2020-09-25T22:55:11
null
UTF-8
Python
false
false
1,323
py
import unittest from tests.test_utils import get_sample_pdf_with_labels, get_sample_pdf, get_sample_sdf, get_sample_pdf_with_extra_cols, get_sample_pdf_with_no_text_col ,get_sample_spark_dataframe from nlu import * class TestNGram(unittest.TestCase): def test_ngram(self): example_text = ["A person like Ji...
[ "christian.kasim.loan@gmail.com" ]
christian.kasim.loan@gmail.com
ebc7cfbc26b68ab0e3c33f1ca7024d6fc9f4e98a
96b4b1339e745fe15d898f301a65a002898d7a70
/Project4/alt_solns/Final/inference_funcs.py
5e2440c707dd6edc5e5bda19c98cba80e37a0a81
[]
no_license
abusa1101/AI-coding-problems
8ace849ec236a059278d684bba644471f99d1979
d4bfa45ddc2fa1aecbf15161fcea4cb92db8dec1
refs/heads/master
2023-08-25T19:28:56.851217
2021-10-06T20:39:51
2021-10-06T20:39:51
235,749,527
0
0
null
null
null
null
UTF-8
Python
false
false
2,331
py
import copy as cp def probability(y_var, e_dict, bayes_net): parents = bayes_net[y_var][0] if not parents: #If y_var is a parent node (with no parents) prob = bayes_net[y_var][2][0] else: #If y_var does have parent/s p_vals_list = [] for parent in parents: p_vals_list.a...
[ "abusa@umich.edu" ]
abusa@umich.edu
7baa6e40c86fa9516bef3eb4fe974df622e03514
8c81d7460aaf42dedc4c3997a7d47a6e414c0a88
/postgresqleu/confreg/pdfschedule.py
a4453ade44f99ffe742e3cac9cc54db996a50818
[]
no_license
louiseGrandjonc/pgeu-website
3605ab86d161ce144043ae825f4e448d6ce6e542
5108a93d2d0752ae02f4e180dc22b0239ea79e77
refs/heads/master
2020-12-27T04:40:16.354882
2015-05-19T16:04:49
2015-05-19T16:04:49
35,892,950
0
0
null
2015-05-19T16:03:00
2015-05-19T16:03:00
null
UTF-8
Python
false
false
14,808
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from django.contrib.auth.decorators import login_required from django.shortcuts import get_object_or_404 from django import forms from django.http import HttpResponse from django.db.models import Q from datetime import timedelta from collections import defaultdict import c...
[ "magnus@hagander.net" ]
magnus@hagander.net
6a51b1b497fa8f48dfcfef396a366db2d4a0cc35
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DY2JetsToLL_M-50_TuneZ2Star_8TeV-madgraph/Summer12_DR53X-PU_S10_START53_V7C-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544840/HTT_24Jul_newTES_manzoni_Up_Jobs/Job_258/run_cfg.py
b491e1c00c429cbbf0f39a7d83e7d1a919d2f885
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,500
py
import FWCore.ParameterSet.Config as cms import os,sys sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DY2JetsToLL_M-50_TuneZ2Star_8TeV-madgraph/Summer12_DR53X-PU_S10_START53_V7C-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544840/HTT_24Jul_newTES_manzoni_...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
0ac377fcfcca9214bd29464a9ab444e2fd9658f5
d13215e2cff8eaeabde1242c9e23c309d7be2036
/backendgroovebug 1.2.7/artist/SocialWork.py
06d5e5872e6c5ef84d24f6747596b8c0f79c7e65
[]
no_license
bbcawodu/groovebug_backend
182bf0ce8a5285c3870bfac6b7f3cd4190ef19bb
4ddf8a2c60747775a01ad1b4f4d6bf50d3e065b6
refs/heads/master
2020-03-29T17:23:03.158385
2018-09-24T19:47:47
2018-09-24T19:47:47
150,159,311
0
0
null
null
null
null
UTF-8
Python
false
false
6,702
py
""" This Handler is responsible for making the API calls, parsing the json data for a given artist, creating our own html document for social media info using the data, and returning it when queried using our internal API the wrapper for news will be http://backendgroovebug.appspot.com/artist/social...
[ "awodubradley@gmail.com" ]
awodubradley@gmail.com
d41aad0c69e791a98cfae21ffedf4a8a593b2046
73f09d06295ae4cf949b4b18a8dced861d3067f2
/cli/almond_cloud/cmd/__init__.py
90de365a5e4d21b95f23ee1df37723e4e75b62ab
[ "Apache-2.0" ]
permissive
tribe-health/almond-cloud
b7d8f6aeca83e047dfc28e5f84bb441f7b9646a7
95744da7aec789359093689704f4e2a989de1600
refs/heads/master
2023-06-28T02:39:32.162066
2022-12-20T03:24:54
2022-12-20T03:24:54
269,748,762
0
0
NOASSERTION
2020-06-05T19:12:45
2020-06-05T19:12:44
null
UTF-8
Python
false
false
102
py
from clavier import dyn def add_parser(subparsers): subparsers.add_children(__name__, __path__)
[ "neil@neilsouza.com" ]
neil@neilsouza.com
c8097fc42ee3868654ffc4fa5c07b839b84b4a4e
9cbab916088192af67a19aaee25fe7d6e5d27a31
/OOP.d/poly2.py
8e7843d9980201e9bf43b8d3ead777a1423cfc75
[]
no_license
ddayzzz/Pythonlearning
806c75304d7d954f2c935031d4d7516be7ce7300
54e92aa5282da97b6d4bd2355a668a16c272ee68
refs/heads/master
2020-12-30T12:44:49.465356
2017-05-25T15:12:53
2017-05-25T15:12:53
91,356,527
0
0
null
null
null
null
UTF-8
Python
false
false
27
py
#coding=utf-8 #多重继承
[ "wangshu214@live.cn" ]
wangshu214@live.cn
cf52758515b63f1f2f7a08d33ff89710cbb25a5d
3a0430831f3f9fc551ce02f625318754c17a5357
/app/routers/__init__.py
57b9c36668dceba1d646683e589532351a80574d
[ "Apache-2.0", "MIT" ]
permissive
victor-iyi/heart-disease
8589409388495029a2219c08fad57e0941bfbff1
06540b582e8752d2bb6a32366077872d32d7c0e4
refs/heads/master
2023-08-03T11:18:37.711933
2021-09-19T16:30:05
2021-09-19T16:30:05
363,746,469
2
1
null
null
null
null
UTF-8
Python
false
false
582
py
# Copyright 2021 Victor I. Afolabi # # 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 wri...
[ "javafolabi@gmail.com" ]
javafolabi@gmail.com
e1250443487ebce03ed81ab2bac66414a1d457c6
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/cloud/vision/v1/vision-v1-py/google/cloud/vision_v1/services/product_search/pagers.py
df927b26f5440d9ee8121bbeb012ffc53ce3db20
[ "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
21,663
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
da150df882b76043deebf0c94ba758e64b680400
1b3ed8b5b474e8346cf19279e3cec33ea5dc9c94
/quick_start4/receive_logs_direct.py
927eb1d1bdeb402e23a4e6e0d167e2f5c30cad4b
[]
no_license
valerydmitrieva/rabbitmq_quick-start
4b1d94b1fbe521b80adfd17dfdaf8afb7935548a
8d9e46b96379b0957d9b85097d028d9162d1595e
refs/heads/master
2020-04-19T04:46:45.405471
2019-01-28T13:57:45
2019-01-28T13:57:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
911
py
import pika import sys connection = pika.BlockingConnection(pika.ConnectionParameters( host='localhost' )) channel = connection.channel() channel.exchange_declare(exchange='direct_logs', exchange_type='direct') result = channel.queue_declare(exclusive=True) queue_name = result.method.qu...
[ "test@example.com" ]
test@example.com
ac9480f797b8b29d69df3f73e927ef8fe842f5bb
e3840576e475c42160e914487ba91c1defc0b42f
/abc_061_C.py
92a81cbad1519700836c14cbf8a90264ceedfa50
[]
no_license
Kuroboo100/atcoder
35f92e1a6001430bd96535799594573add78f5db
280562ef3f963b24f79b56204ba5a1b35ce84b69
refs/heads/master
2022-11-25T13:17:02.280672
2020-08-03T13:36:40
2020-08-03T13:36:40
269,625,592
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
S=list(input()) N=len(S)-1 all_sum=0 def dfs(l,N,S): X=[[] for n in range(N+1)] X[0]=[S[0]] cnt=0 temp=0 if len(l)==N: global all_sum for n in range(N): if l[n]==0: X[cnt].append(S[n+1]) else: cnt+=1 X[cnt].appe...
[ "yuki.kubota.0223@gmail.com" ]
yuki.kubota.0223@gmail.com
43eaec13eac145e8a966a522bb6ef0d7ace814c5
41e57fc5a59200a6734418be363b15a3c3cd47a5
/Fabio_06/f6_q04_duplica_caractere.py
72db95e41e846cf84c61c28ecbce4ff5a5b8dff5
[]
no_license
dapazjunior/ifpi-ads-algoritmos2020
cae6f95c10beed488d09bd03f2487cbbc040cf08
a6f03b13595d527fe9759f62f216f671e57d8552
refs/heads/master
2023-01-08T04:39:17.200152
2020-11-03T12:16:45
2020-11-03T12:16:45
245,900,901
2
0
null
null
null
null
UTF-8
Python
false
false
238
py
def main(): frase = input('Digite a frase:\n>> ') print_sem_espaco(frase) def print_sem_espaco(string): nova_string = '' for c in string: nova_string += 2 * c print(nova_string) main()
[ "dapazjunior@users.noreply.github.com" ]
dapazjunior@users.noreply.github.com
f36cf963bc0a7dc8811c07eba5f60603b31194c0
1d172a60ccbee1a68b1e4e84611afbad366b27a6
/tests/test_dict.py
8a8436f4a69c907c0ef7f5fc1c629e9e7288f76c
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
loriab/pylibefp
85ae6b78269848784458b8c3ce12d6cccd6076d6
b3da48ffd97c1d6ba8f63fe82a3f355b499c2383
refs/heads/master
2023-08-15T00:42:07.309110
2023-07-25T23:01:25
2023-07-25T23:01:25
98,702,378
2
1
BSD-3-Clause
2023-02-17T04:06:43
2017-07-29T02:20:06
Python
UTF-8
Python
false
false
2,740
py
import sys import pytest import pprint import pylibefp from systems import * from qcelemental.testing import compare, compare_values def test_dict_1(): sys1 = system_1() dict1 = sys1.to_dict() print('DICT1') pprint.pprint(dict1) sys1p = pylibefp.from_dict(dict1) sys1p.set_opts({'elec': True...
[ "lori.burns@gmail.com" ]
lori.burns@gmail.com
dd01316543928f24d25c326a882cee0803840e9c
3a298c93b67386392d3dee243671f2c101decf01
/leetcode/learn-cards/recursion-1/01_reverse_string.py
cc817378098f00df74dd215a7db740dd1e9de4c6
[]
no_license
Zahidsqldba07/coding-problems-2
ffbc8408e4408fc846c828af2ec50a9d72e799bc
020bffbd14ca9993f1e678181ee7df761f1533de
refs/heads/master
2023-06-26T11:05:34.089697
2021-07-21T15:16:10
2021-07-21T15:16:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
class Solution: def reverseString(self, s: List[str]) -> None: """ Do not return anything, modify s in-place instead. """ def helper(l_idx, r_idx): if l_idx >= r_idx: return s[l_idx], s[r_idx] = s[r_idx], s[l_idx] retur...
[ "alvee.akand@outlook.com" ]
alvee.akand@outlook.com
b7f2700cb148ca0979d81944c1d581b64619f1b2
347569ec4be307e9ae78286da0280e95f2689d27
/accounts/api/serializers.py
66c10d535646b2ef957c9764931982a740675e2b
[]
no_license
rahulsayon/Django-api
f45763330e91ffb9ccb12b686b9c0cb2af7d6fbb
f7d042086ad34f59a6ae92d920f2426b91ddda7b
refs/heads/master
2022-12-11T01:33:48.193457
2020-09-19T19:26:14
2020-09-19T19:26:14
296,937,330
0
0
null
null
null
null
UTF-8
Python
false
false
3,450
py
from django.contrib.auth import get_user_model from rest_framework import serializers from rest_framework_jwt.settings import api_settings import datetime from django.utils import timezone jwt_payload_handler = api_settings.JWT_PAYLOAD_HANDLER jwt_encode_handler = api_settings.JWT_ENCODE_HANDLER jwt_response_payload...
[ "rahulsayon95@gmail.com" ]
rahulsayon95@gmail.com
ae2bb70cdfd775954bccb8a0f1a663d1442fb15e
474525154a4e1d48ef5242d1f44164d05399b145
/tensorflow_probability/python/optimizer/convergence_criteria/successive_gradients_are_uncorrelated_test.py
ee0923186d065d1fdf55b6d9a9470d0a10a8dc7a
[ "Apache-2.0" ]
permissive
svshivapuja/probability
9855737790f74a39169688fbfec9671deef804d9
af7ccb22d972329633530c3b754ed1f49472f6a7
refs/heads/main
2023-07-17T04:14:53.703622
2021-08-30T17:47:06
2021-08-30T17:47:06
400,983,015
1
0
Apache-2.0
2021-08-29T07:51:29
2021-08-29T07:51:29
null
UTF-8
Python
false
false
3,868
py
# Copyright 2019 The TensorFlow Probability Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
d70f1bc6ec97b6d9151c4a4f7fa75708ac20960e
1316cd6763e784811c769c1de577235c921af0de
/Procedures/RFConditioning/old/test.py
c13a913cf01ef73eae309b514efacbd24d9a4b22
[]
no_license
VELA-CLARA-software/Software
a6fb6b848584e5893fd6939a447d23134ce636cc
2e2a88ac0b2b03a495c868d2e11e6481e05097c3
refs/heads/master
2023-02-05T07:40:58.260798
2023-01-27T09:39:09
2023-01-27T09:39:09
69,860,536
7
3
null
2021-04-07T14:17:07
2016-10-03T10:20:46
Mathematica
UTF-8
Python
false
false
431
py
# Instructions for logging scope values to EPICS: # Use the script lecroy.py on the velascope02 desktop - # just double click and it should log the following values to EPICS: # WCM - EBT-INJ-SCOPE-01:P1 # ICT - EBT-INJ-SCOPE-01:P2 import epics import numpy import time while True: start = time.clock() wcmQ=[1]*2...
[ "tim.price@stfc.ac.uk" ]
tim.price@stfc.ac.uk
99005932b14078d854acb43ee7ccb84375ad897a
1d96db84225301d972f07cad95c2a13f4fbafa84
/PyROOT/RooFit_testDatasetFill/template.py
7a7a3aaf345ac14d65d56f11e33cff3697b275d5
[]
no_license
mattbellis/matts-work-environment
9eb9b25040dd8fb4a444819b01a80c2d5342b150
41988f3c310f497223445f16e2537e8d1a3f71bc
refs/heads/master
2023-08-23T09:02:37.193619
2023-08-09T05:36:32
2023-08-09T05:36:32
32,194,439
0
0
null
null
null
null
UTF-8
Python
false
false
1,347
py
#!/usr/bin/env python import sys from ROOT import gSystem gSystem.Load('libRooFit') from ROOT import * #### Command line variables #### batchMode = False last_argument = len(sys.argv) - 1 if (sys.argv[last_argument] == "batch"): batchMode = True ########################################################## #########...
[ "matthew.bellis@gmail.com" ]
matthew.bellis@gmail.com
ca5593742e8d460fd1e0f954e2c6a1cac5c490e7
25ebf226893b44dd8a6b1b85cf80864579372892
/find-peak-element/Accepted/5-24-2021, 12:03:28 AM/Solution.py
59ad42a40e66862d9a1c2b58e7d4fd218d0aefd3
[]
no_license
TianrunCheng/LeetcodeSubmissions
db15f5a1a8e1bbecefc45cb0b2b5fbaa036aa6f5
00a5403f1950e039ccc370cb266b752faebb8e79
refs/heads/main
2023-06-29T21:51:43.029300
2021-07-22T03:12:15
2021-07-22T03:12:15
388,305,775
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
// https://leetcode.com/problems/find-peak-element class Solution: def findPeakElement(self, nums: List[int]) -> int: left = 0 right = len(nums) - 1 if right < 1: return 0 while( left < right ): mid = left + (right - left) // 2 if nums[mi...
[ "tc905@georgetown.edu" ]
tc905@georgetown.edu
906acf46d5956ef6436ee41acfbeaf42538c02ae
d83118503614bb83ad8edb72dda7f449a1226f8b
/src/dprj/platinumegg/app/cabaret/kpi/csv/battleeventjoin.py
03a3e7104ce53c01c2794b34efd29f814229d94c
[]
no_license
hitandaway100/caba
686fe4390e182e158cd9714c90024a082deb8c69
492bf477ac00c380f2b2758c86b46aa7e58bbad9
refs/heads/master
2021-08-23T05:59:28.910129
2017-12-03T19:03:15
2017-12-03T19:03:15
112,512,044
0
0
null
null
null
null
UTF-8
Python
false
false
1,358
py
# -*- coding: utf-8 -*- import settings from platinumegg.app.cabaret.util.db_util import ModelRequestMgr from platinumegg.app.cabaret.util.api import BackendApi from platinumegg.app.cabaret.kpi.models.battleevent import BattleEventMemberCount,\ BattleEventJoin from platinumegg.app.cabaret.kpi.csv.battleevent import...
[ "shangye@mail.com" ]
shangye@mail.com
a86c61d02cfd124b1f374277501d94a88dcc118f
22f57701df31b3182f3bcb83da729ecc584f8fb6
/December-02/python_MaddyDinesh_similarTriangles.py.py
0375571e856146f1de3422555a5fa7b6a1b7300d
[]
no_license
Prashant-Bharaj/A-December-of-Algorithms
e88640c711abbe2e6cac71cb4652dac243984484
7bbd56572f4ddc9648e90615ee810765544c56e4
refs/heads/master
2023-08-05T15:37:20.362561
2021-09-19T05:51:53
2021-09-19T05:51:53
287,055,360
0
0
null
2020-08-12T15:53:05
2020-08-12T15:53:04
null
UTF-8
Python
false
false
1,227
py
def fun_aaa(angle1,angle2): angle1.sort() angle2.sort() if angle1[0]==angle2[0] and angle1[1]==angle2[1] and angle1[2]==angle2[2]: return 1 else: return 0 def fun_sas(side1,side2,angle1,angle2): side1.sort() side2.sort() angle1.sort() angle2.sort() if side...
[ "noreply@github.com" ]
Prashant-Bharaj.noreply@github.com
c4d56adeaa336b9201426c3db610e37c14800050
414239752b2bfc4cb3a947474f2662af7588b6eb
/ protobufeditor/Tests/Marathon3Tests/ProtocolBufferEditor_3/TestCases/SaveAsSinglePnl/SaveAsFixedTree5.py
105049fb7421cd857016eb38cdd4c1fe17b52382
[]
no_license
dtracers/protobufeditor
8c7f9671c3b3a7d1cd3094321d030f6e6afcc7e8
b65d06bce93165eebf9798c533e2447a5992d384
refs/heads/master
2020-12-24T19:28:22.486207
2016-04-19T23:41:57
2016-04-19T23:41:57
56,340,712
0
0
null
null
null
null
UTF-8
Python
false
false
25,451
py
#{{{ Marathon from default import * #}}} Marathon from Modules import commonBits def test(): set_java_recorded_version("1.6.0_22") if frame(' - Open File:0'): select('File', commonBits.sampleDir() + 'DTAR020_tst1.bin') click('Edit') close() if window('Protocol Buffer Ed...
[ "bm_tas@yahoo.com.au" ]
bm_tas@yahoo.com.au
fa3b616b1aaff988376daebb2cbb653f7d5a67e2
1f40a08ee85ef6f78384e6f6f53bcf3f86b8c44b
/shorten/game/serializers.py
db979ba9c123e6a92f57c1f83142f2681a09a235
[]
no_license
infsolution/EncurtUrl
bff4543fb17f3c2a6853c64abc24d307abcd04bf
0f6d8aa23a2498a8bf5575797db9a5a8eb855403
refs/heads/master
2020-05-14T09:31:39.265337
2019-09-28T17:44:25
2019-09-28T17:44:25
181,741,563
0
0
null
null
null
null
UTF-8
Python
false
false
589
py
from django.contrib.auth.models import User from rest_framework import serializers from .models import * class UserSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = User fields = ('url','id','username','email', 'password') class PlayerSerializer(serializers.HyperlinkedModelSer...
[ "clsinfsolution@gmail.com" ]
clsinfsolution@gmail.com
a01767a63396273fcc4ca65fec3d7d5ed4e2d686
2aa58497bfb1ac767037950f765e75531747fed6
/akshare/stock_feature/stock_em_hist.py
0641f438e5497640714be2b40077cb58b1b6a331
[ "MIT" ]
permissive
QiusWang/akshare
f435e55e8a070dbd5f8b4998e93aa1929fcef6df
b753e99c7db453193d5b16ee114f08e19ad3f283
refs/heads/master
2023-07-23T04:43:56.828426
2021-08-28T09:13:28
2021-08-28T09:13:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,450
py
# -*- coding:utf-8 -*- # /usr/bin/env python """ Date: 2021/8/28 21:26 Desc: 东方财富网-行情首页-上证 A 股-每日行情 """ import requests import pandas as pd def stock_zh_a_spot_em() -> pd.DataFrame: """ 东方财富-A股-实时行情 http://quote.eastmoney.com/center/gridlist.html#hs_a_board :return: 实时行情 :rtype: pandas.DataFrame ...
[ "jindaxiang@163.com" ]
jindaxiang@163.com
4c80e5952a81d4548047186fb3a4e61da5178d03
0bf183f870d39037a254695b163c833512a826f8
/wapps/factories/tag.py
8483d8798ba0fd5d75623bc7c8c034521dbbbbdd
[ "MIT" ]
permissive
apihackers/wapps
47c57a762aec89bc398a152763a2b26005d8ffdc
e8158747aa3d77246d41142580faf9a5f2b0d968
refs/heads/master
2022-06-19T19:40:28.615502
2018-05-02T12:42:51
2018-05-02T12:42:51
59,942,417
7
2
MIT
2022-05-21T21:45:25
2016-05-29T12:40:01
Python
UTF-8
Python
false
false
190
py
import factory from taggit.models import Tag class TagFactory(factory.DjangoModelFactory): name = factory.Sequence(lambda n: "Tag {0}".format(n)) class Meta: model = Tag
[ "noirbizarre@gmail.com" ]
noirbizarre@gmail.com
14c300bd185fc38a6aa78c3662ca0b53f4ba8dc2
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_documented.py
511b82051d8540d3e54ac1c5491fea94bbedce5b
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
from xai.brain.wordbase.nouns._document import _DOCUMENT #calss header class _DOCUMENTED(_DOCUMENT, ): def __init__(self,): _DOCUMENT.__init__(self) self.name = "DOCUMENTED" self.specie = 'nouns' self.basic = "document" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
106e58ca9fdef47b62e53f9075be2397fc7997fb
61d98d1d390dce66f53c59b4e733109f9a41d185
/msghandler.py
d635bbf6ddedb80c2bf9de3cea1572ec18810d65
[]
no_license
ZhihaoJun/pyweixin
75049a015f3e3b7ed7f986c3c30afa1e4e97bc4c
b3bced1ad5a73eb5aa4406a2c780ed670d5f4e14
refs/heads/master
2021-05-30T23:03:38.455159
2015-09-24T02:46:21
2015-09-24T02:46:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
class MsgHandler(object): def __init__(self): super(MsgHandler, self) def match(self, msg): raise NotImplementedError() def handle(self, msg): raise NotImplementedError() def handle_not_match(self, msg): raise NotImplementedError()
[ "zhao11fs@gmail.com" ]
zhao11fs@gmail.com
24ad73b7df8be7232124403bd35f530eff1338d2
70b339d0b2638a7914d0d56c5edf8a2637c9f4b0
/check.py
84f5b3957dcbad2f5523b63f7491d802fd7984e5
[]
no_license
pflun/advancedAlgorithms
9991da7514024e18ba08de8688966b9220e12571
5520dbcd26999b98e1229bf03c2f62dd690a2ddc
refs/heads/master
2023-02-19T12:05:26.902535
2023-02-14T06:08:54
2023-02-14T06:08:54
189,055,701
4
0
null
null
null
null
UTF-8
Python
false
false
942
py
class Solution(object): def check(self, nums): minVal = min(nums) maxVal = max(nums) idx = 0 max_idx = 0 for i in range(len(nums)): if nums[i] == minVal: idx = i break if idx == 0: if nums == sorted(nums): ...
[ "tango7down@icloud.com" ]
tango7down@icloud.com
c2c41cf4d75ca4c39446cf9ed205123db22799b9
091aa0151c1eadecd868a8872e2676ec76dda7ea
/keras/keras121_embedding2.py
fd1dea7a0e478aab8bb1f6448375fc3b8070f6cc
[]
no_license
suki0331/bc2020
f7e67c9eaaa7b3c85ef6a8cf5af892309b77ecfd
37d9e0ea64fae358f7273ea866a37cce18ac231e
refs/heads/master
2022-12-15T07:17:32.799462
2020-09-15T04:01:42
2020-09-15T04:01:42
263,270,728
2
0
null
null
null
null
UTF-8
Python
false
false
7,677
py
# from keras.preprocessing.text import Tokenizer # import numpy as np # docs = ["너무 재밌어요", "참 최고에요", "참 잘 만든 영화에요", '추천하고 싶은 영화입니다', '한번 더 보고 싶네요', # '글쎄요', '별로에요', '생각보다 지루해요', '연기가 어색해요', '재미없어요', '너무 재미없다', '참 재밌네요'] # # 긍정1, 부정0 # labels = np.array([1,1,1,1,1,0,0,0,0,0,0,1]) # # 토큰화 # token = Tokenizer(...
[ "suki0331@colorado.edu" ]
suki0331@colorado.edu
f9e6fbdd14cfd50a5deea560e8764295d92b0d8c
630fe47bb5aa5e49b45ab101d87c2dd2c53d180f
/venv/Lib/site-packages/com/vmware/nsx/migration/migration_unit_groups_client.py
9c6594d14b5ce422859d961aa6aa18cb5ce7ad14
[]
no_license
shrivastava-himanshu/Leetcode_practice
467497a58d82ff3ae2569d5e610dc6f27a1f31d6
4c59799947c2b17bfd22ca2a08707ef85e84a913
refs/heads/main
2023-06-12T13:14:45.381839
2021-07-05T04:09:05
2021-07-05T04:09:05
367,546,005
0
0
null
null
null
null
UTF-8
Python
false
false
18,513
py
# -*- coding: utf-8 -*- #--------------------------------------------------------------------------- # Copyright 2021 VMware, Inc. All rights reserved. # AUTO GENERATED FILE -- DO NOT MODIFY! # # vAPI stub file for package com.vmware.nsx.migration.migration_unit_groups. #----------------------------------------------...
[ "Himanshu.Shrivastava@vce.com" ]
Himanshu.Shrivastava@vce.com
0823c3991b4cf34d8fa607c3e21924bb5f007467
3b281d7c8a2097dda21d056706b03c24aec858db
/index.py
b7d86bcaea7e52456a2d913556e9b1128ab016dc
[]
no_license
TH3ForU/botnetTG
289f4b222056d3676377b1b1380f5bcb84142169
b8cd2ea8cd329a8b8290db6eb678103ddea11724
refs/heads/master
2023-05-26T15:16:18.540290
2020-04-06T15:49:38
2020-04-06T15:49:38
205,674,118
3
1
null
null
null
null
UTF-8
Python
false
false
38,833
py
from pytransform import pyarmor_runtime pyarmor_runtime() __pyarmor__(__name__, __file__, b'\x50\x59\x41\x52\x4d\x4f\x52\x00\x00\x03\x08\x00\x55\x0d\x0d\x0a\x02\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x40\x00\x00\x00\x94\x25\x00\x00\x00\x00\x00\x18\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...
[ "you@example.com" ]
you@example.com
9af9ccf342690ff605d65e1f13c09547907ed9c1
70ea14fffbc459ad61aea1d546475ca2a358c838
/leetcode/28. Implement strStr() Easy.py
ef1cbe459e0569e3283980f705af49f3d2306cc0
[]
no_license
rgrishigajra/Competitive-Problems
adb0494314978f909c1718e8622e3aee3eb6f080
b284c2c54939c0611621097dd2e5df12aff2d1ad
refs/heads/master
2023-03-18T05:23:05.865276
2021-03-10T16:17:22
2021-03-10T16:17:22
274,733,380
6
0
null
null
null
null
UTF-8
Python
false
false
1,571
py
class Solution: def strStr(self, haystack: str, needle: str) -> int: if len(needle) == 0: return 0 for idx, char in enumerate(haystack): if char != needle[0]: continue if idx >= len(haystack)-len(needle)+1: break flag = ...
[ "rgrishigajra@gmail.com" ]
rgrishigajra@gmail.com
4af32b350a156374d6174230398882e97084160a
b337914e9d67e5110b85d0f155f53130241b6c2e
/tools/plan_generation_no_mpi/plan_generator_no_mpi.py
f99c8f33d530837b5800f3be12b2fd2de794a12b
[ "Apache-2.0" ]
permissive
XiaoleiShi-NV/HugeCTR
84c16ed3f242889545ab8dede6d31d039fd188da
01fa71e87d6a7af75a246309bf3d0590bf4760aa
refs/heads/master
2023-02-26T20:28:15.316255
2021-02-10T05:03:09
2021-02-10T05:03:09
290,641,254
0
0
Apache-2.0
2020-09-11T05:44:16
2020-08-27T01:13:19
null
UTF-8
Python
false
false
11,912
py
#!/usr/bin/env python3 from timeit import default_timer import numpy as np from ortools.linear_solver import pywraplp import json import argparse from topology_parser_no_mpi import get_topology_matrix, parse_conf parser = argparse.ArgumentParser(description="create transfer plan.") parser.add_argument("hugectr_conf...
[ "zehuanw@nvidia.com" ]
zehuanw@nvidia.com
1769cbd3f3c2590c6e4f409cf8c45ece994abcd5
1dd72195bc08460df7e5bb82d3b7bac7a6673f49
/api/app/schemas/forecasts.py
9d9a8da38fb290f57cca1b03d97e79acb161f2e7
[ "Apache-2.0", "MIT" ]
permissive
bcgov/wps
c4347c39cadfad6711502d47776abc8d03895593
0ba707b0eddc280240964efa481988df92046e6a
refs/heads/main
2023-08-19T00:56:39.286460
2023-08-16T18:03:06
2023-08-16T18:03:06
235,861,506
35
9
Apache-2.0
2023-09-11T21:35:07
2020-01-23T18:42:10
Python
UTF-8
Python
false
false
1,789
py
""" This module contains pydantic schemas relating to forecasts made by weather forecasters for the API. """ from datetime import datetime from typing import List, Optional from pydantic import BaseModel from app.schemas.stations import WeatherStation class NoonForecastValue(BaseModel): """ Data structure for a n...
[ "noreply@github.com" ]
bcgov.noreply@github.com
d67198a559c24afa88a2bcbd078c8808f8fc7a04
6490638f15a2dfbe0cec9725186f9784d57c92f0
/UnitTest/testTKIcustom.py
8a162e6d0e69c8cd5465130152f5cac69407f7ab
[ "MIT" ]
permissive
khawatkom/SpacePyLibrary
af9c490ef796b9d37a13298c41df1fb5bf6b3cee
c94415e9d85519f345fc56938198ac2537c0c6d0
refs/heads/master
2020-05-14T21:52:39.388979
2019-04-17T17:06:04
2019-04-17T17:06:04
181,970,668
1
0
null
2019-04-17T21:26:44
2019-04-17T21:26:44
null
UTF-8
Python
false
false
5,861
py
#!/usr/bin/env python3 #****************************************************************************** # (C) 2018, Stefan Korner, Austria * # * # The Space Python Library is free software; you can redi...
[ "korner-hajek@gmx.at" ]
korner-hajek@gmx.at
f29d52b091f3a4bb28d9afbac3cea26ae9c0ac06
6817457f2f7cb635e84d5ac23c76873628fb04cf
/src/dama/clf/extended/w_sklearn.py
b222367f5ad9b7efc27bfda922c6ddd4472667bf
[ "Apache-2.0" ]
permissive
elaeon/dama_ml
5d9a63e0daabe332a08b13813de57d9ed2608015
8b56c62a28c69987fc5dbd8a47406a3a22214371
refs/heads/master
2021-10-26T05:24:10.166028
2019-04-11T00:55:44
2019-04-11T00:55:44
58,218,206
2
0
null
null
null
null
UTF-8
Python
false
false
6,212
py
from sklearn.calibration import CalibratedClassifierCV from dama.clf.wrappers import SKL, SKLP from sklearn.ensemble import RandomForestClassifier from sklearn.ensemble import ExtraTreesClassifier from sklearn.linear_model import LogisticRegression as LReg from sklearn.linear_model import SGDClassifier as SGDClassif fr...
[ "mara80@gmail.com" ]
mara80@gmail.com
ca66343d9ba3459c573b89cb668965beb0d463d4
10b3f8b1bb2d43a053558e2974b1190ec5af9ab3
/test/functional/combine_logs.py
3bf15a0a2e8690a7d858ee05c5320f83b04c9197
[ "MIT" ]
permissive
Satoex/Sato
ff4683226c2cedb14203a86af68ae168e3c45400
fda51ccc241ca426e838e1ba833c7eea26f1aedd
refs/heads/master
2022-07-27T23:30:32.734477
2022-01-29T17:44:00
2022-01-29T17:44:00
346,001,467
6
8
null
null
null
null
UTF-8
Python
false
false
4,882
py
#!/usr/bin/env python3 # Copyright (c) 2016 The Bitcoin Core developers # Copyright (c) 2017-2020 The Sato Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """ Combine logs from multiple sato nodes as well as the te...
[ "78755872+Satoex@users.noreply.github.com" ]
78755872+Satoex@users.noreply.github.com
379ce5a88df4146a6a81d1bd3fb580c9d0fa2788
ef3a7391b0a5c5d8e276355e97cbe4de621d500c
/venv/Lib/site-packages/caffe2/python/examples/resnet50_trainer.py
19a82c6419541bef54d269dcbec11cb16c325c35
[ "Apache-2.0" ]
permissive
countBMB/BenjiRepo
143f6da5d198ea6f06404b4559e1f4528b71b3eb
79d882263baaf2a11654ca67d2e5593074d36dfa
refs/heads/master
2022-12-11T07:37:04.807143
2019-12-25T11:26:29
2019-12-25T11:26:29
230,090,428
1
1
Apache-2.0
2022-12-08T03:21:09
2019-12-25T11:05:59
Python
UTF-8
Python
false
false
19
py
imagenet_trainer.py
[ "bengmen92@gmail.com" ]
bengmen92@gmail.com
4807d483d49670c4629649564ada3ace84b4589c
e8b17e54553580f7b5a8502b9dc5f0c083de176b
/random_predict.py
a1f595c307f6194ba74c695ab0729edf352f1cc5
[]
no_license
Abdulk084/learning-to-smell-starter-kit
6ef7e50e3924569397b3b1b969b12e79cf637d80
a1ae8010544f2aec4713a1f6e237e9221bb41de9
refs/heads/master
2022-12-10T17:49:31.187132
2020-09-08T06:24:54
2020-09-08T06:24:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,538
py
#!/usr/bin/env python import pandas as pd import json import os import random TRAINING_DATASET_PATH = os.getenv("TRAINING_DATASET_PATH", "data/train.csv") TEST_DATASET_PATH = os.getenv("TEST_DATASET_PATH", "data/test.csv") VOCABULARY_PATH = os.getenv("VOCABULARY_PATH", "data/vocabulary.txt") vocabulary = open(VO...
[ "spmohanty91@gmail.com" ]
spmohanty91@gmail.com
1523e7cb38a444f9c0ef7b16259a60240d443a2d
5ca5a7120c3c147b3ae86c2271c60c82745997ea
/my_python/my_selenium/unit/calculator.py
a7ccabe1ea6545eb6226726a385468a9d265cb0e
[]
no_license
JR1QQ4/auto_test
6b9ea7bd317fd4338ac0964ffd4042b293640af3
264b991b4dad72986e2aeb1a30812baf74e42bc6
refs/heads/main
2023-03-21T01:32:29.192030
2021-03-16T14:07:11
2021-03-16T14:07:11
321,591,405
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
#!/usr/bin/python # -*- coding:utf-8 -*- class Calculator: """用于完成两个数的加减乘除""" def __init__(self, a: int, b: int): self.a = int(a) self.b = int(b) def add(self): return self.a + self.b def sub(self): return self.a - self.b def mul(self): return self.a * se...
[ "chenjunrenyx@163.com" ]
chenjunrenyx@163.com
4c2cce297a5abcafcb6a6b4d99aba3224553d89d
8bb4a472344fda15985ac322d14e8f4ad79c7553
/Python3-Core/src/main/prompto/utils/TypeUtils.py
09dc8887eedf502790e8276de0d47a8281f420c3
[]
no_license
prompto/prompto-python3
c6b356f5af30c6826730ba7f2ad869f341983a2d
64bd3d97d4702cc912097d41d961f7ab3fd82bee
refs/heads/master
2022-12-24T12:33:16.251468
2022-11-27T17:37:56
2022-11-27T17:37:56
32,623,633
4
0
null
2019-05-04T11:06:05
2015-03-21T07:17:25
Python
UTF-8
Python
false
false
1,717
py
from datetime import datetime, timedelta, time, date from uuid import UUID from prompto.type.AnyType import AnyType from prompto.type.DateTimeType import DateTimeType from prompto.type.DateType import DateType from prompto.type.DecimalType import DecimalType from prompto.type.DocumentType import DocumentType from prom...
[ "eric.vergnaud@wanadoo.fr" ]
eric.vergnaud@wanadoo.fr
8eb599db7580dbe2253a11b21da76b72cdb713b4
7907dd80d51da495f8fc82885231cd1c43d38235
/hms/hms_auth/migrations/0037_auto_20210318_0114.py
1e4593d661f3b4460fefd066b3e1092b27e82980
[]
no_license
opexzy/HMS-Backend
5a54b3818a3a921cf4b7090249ba0a8d91417efd
650af551b6c385db9dbae0ebe1544834b6ac5d4c
refs/heads/master
2023-03-29T02:22:08.798354
2021-04-02T03:11:36
2021-04-02T03:11:36
336,312,643
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
# Generated by Django 3.1.2 on 2021-03-18 00:14 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('hms_auth', '0036_auto_20210224_1205'), ] operations = [ migrations.AlterField( ...
[ "mayluv@hotmail.co.uk" ]
mayluv@hotmail.co.uk
52c1d54860f5a724d384c57293c7b9a466d747ac
f3997f566695a78d09fcab688db88499223dca17
/PCA_beating_rod/pca_analysis.py
c380b4d7532196c05bb26f05f19b0536d1e302b1
[]
no_license
melampyge/CollectiveFilament
600d7a426d88a7f8f31702edb2b1fea7691372d2
7d2659bee85c955c680eda019cbff6e2b93ecff2
refs/heads/master
2020-07-23T05:58:55.383746
2017-06-25T14:55:14
2017-06-25T14:55:14
94,351,294
0
0
null
null
null
null
UTF-8
Python
false
false
8,203
py
#!/usr/local/bin/python2.7 import numpy as np #import matplotlib #matplotlib.use('Agg') #import matplotlib.pyplot as plt import sys import math import os import pma import performance_toolsWrapper from scipy import ndimage try: infilename = sys.argv[1] except: print 'Usage: ' + sys.argv[0] + ' parameter...
[ "ozer.duman@gmail.com" ]
ozer.duman@gmail.com
957f471307989c9d8772e7238cd1efbfd5eba7ac
12123592a54c4f292ed6a8df4bcc0df33e082206
/py3/pgms/sec4/dbmwrite.py
693b32452af840e11825c93236679fd897960809
[]
no_license
alvinooo/advpython
b44b7322915f832c8dce72fe63ae6ac7c99ef3d4
df95e06fd7ba11b0d2329f4b113863a9c866fbae
refs/heads/master
2021-01-23T01:17:22.487514
2017-05-30T17:51:47
2017-05-30T17:51:47
92,860,630
0
0
null
null
null
null
UTF-8
Python
false
false
846
py
#!/usr/bin/env python3 # dbmwrite.py - write dbm persistence import dbm media = { "jazz" : "miles davis", "rock" : "sting", "pop" : "billy joel", "color" : "fantasia", "black & white" : "pyscho" } db = dbm.open("media", 'n') # open new dbm for (key, value) in ...
[ "alvin.heng@teradata.com" ]
alvin.heng@teradata.com
d335dba116df4dd09412709d6935b355b7041bf1
db3a0578ef5d79cee7f9e96fa3fd291bbaaf9eb4
/Harder/auto-high-low.py
849c3a6ade60fa80377f8a68fbb4aea2a305a206
[ "MIT" ]
permissive
otisgbangba/python-lessons
0477a766cda6bc0e2671e4cce2f95bc62c8d3c43
a29f5383b56b21e6b0bc21aa9acaec40ed4df3cc
refs/heads/master
2022-11-03T22:10:52.845204
2020-06-13T15:42:40
2020-06-13T15:42:40
261,255,751
1
0
MIT
2020-05-04T17:48:12
2020-05-04T17:48:11
null
UTF-8
Python
false
false
1,981
py
from random import randint from math import log2, pow import logging logging.basicConfig(format='%(message)s', level=logging.INFO) POWERS_OF_TEN_FOR_HIGHEST = range(3, 13, 3) NUM_TRIALS = 1000 class AiGuesser: def __init__(self, highest, smart=False): self.low = 1 self.high = self.highest = highest...
[ "daveb@davebsoft.com" ]
daveb@davebsoft.com
d259aaa367faf862842406b57317dc60c26f193f
8a932874900d869626a05aa49d2ecbe6394b70e3
/Predictions_Results/Prefix Size/process_prefix_size.py
5a064ab56274e9946355b02e9af40ea2f6fa9913
[]
no_license
guptam/edbn
253918f38c3651fa459ab795946d3656240232ba
e54a6678582a620c12848185c56251d1209631f7
refs/heads/master
2022-11-29T11:55:02.548888
2020-08-05T10:02:12
2020-08-05T10:02:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,018
py
import pandas as pd from ICPM2020 import processresults as pr import matplotlib.pyplot as plt import numpy as np tableau20 = [(31, 119, 180), (174, 199, 232), (255, 127, 14), (255, 187, 120), (44, 160, 44), (152, 223, 138), (214, 39, 40), (255, 152, 150), (148, 103, 189), (197, 176, 213), (14...
[ "stephen.pauwels@uantwerpen.be" ]
stephen.pauwels@uantwerpen.be
0ce64543067dcca2b3249a7887e6127daf9703d9
3b7474148c07df7f4755106a3d0ada9b2de5efdc
/training/c17_numpy/e11-functions.py
afb7d67cf7b9c0d79b1daeb59ad843c7882f0be8
[]
no_license
juancsosap/pythontraining
7f67466846138f32d55361d64de81e74a946b484
1441d6fc9544042bc404d5c7efffd119fce33aa7
refs/heads/master
2021-08-26T05:37:15.851025
2021-08-11T22:35:23
2021-08-11T22:35:23
129,974,006
1
2
null
null
null
null
UTF-8
Python
false
false
1,450
py
import numpy as np # pip install numpy arreglo = np.arange(1, 10, dtype=np.int32).reshape((3, 3)) print('Numpy Array:\n{}'.format(arreglo)) print() print('Numpy EXP') print(np.exp(arreglo), end='\n\n') print('Numpy SQRT') print(np.sqrt(arreglo), end='\n\n') print('Numpy SIN') print(np.sin(arreglo), end='\n\n') p...
[ "user.nuage@gmail.com" ]
user.nuage@gmail.com
b7364e5200550f1a62b013c9a31ad1f09456bf67
d66ba9654d9eb57807b4a63ef9991a3a6868dc1a
/gw_proxy/src/utils/Tiny_Core_Linux.py
cf5d2cf20a0d84d18b83ea018e7078a66f678f3a
[ "Apache-2.0" ]
permissive
nirvishek/k8-vmware
bcef1afcdf559c9f1c2b1f6df3d606612140d4c7
986c153b61e028a033b62aa6d198b068a4ed0eb0
refs/heads/main
2023-02-26T02:12:53.681127
2021-01-28T21:18:27
2021-01-28T23:18:21
321,978,494
0
0
Apache-2.0
2020-12-16T12:40:24
2020-12-16T12:40:24
null
UTF-8
Python
false
false
864
py
from osbot_utils.utils import Http from osbot_utils.utils.Files import file_exists, file_not_exists from k8_vmware.vsphere.Sdk import Sdk class Tiny_Core_Linux: def __init__(self): self.url_core_iso = 'https://distro.ibiblio.org/tinycorelinux/11.x/x86/release/Core-current.iso' self.path_c...
[ "dinis.cruz@owasp.org" ]
dinis.cruz@owasp.org
e2c0f008d336589dced2351413ff88b9d5b4281e
c51ed0c36d532276211497c8d7e5dda68eb6c303
/host_management/forms.py
dd095db488dee74b66c05fc3c819baf5fed392e2
[]
no_license
pwgraham91/restauPro
75f56f1c1b4aaa8c5d1465765802fa71955f96ae
bc6f278e0aa1603e2da4c8fd560fad7db7ab148c
refs/heads/master
2022-12-07T20:28:43.579613
2015-04-21T05:06:11
2015-04-21T05:06:11
25,218,369
0
0
null
2022-11-22T00:31:59
2014-10-14T17:35:19
Python
UTF-8
Python
false
false
2,023
py
__author__ = 'GoldenGate' from django.contrib.auth.forms import UserCreationForm from host_management.models import Restaurant, Table, Party from django import forms class RestaurantUserCreationForm(UserCreationForm): class Meta: model = Restaurant fields = ("username", "restaurant_name", "passwor...
[ "pwgraham91@gmail.com" ]
pwgraham91@gmail.com
8a64cb00552e6580f6e1742d81030502a79857a6
dadb7de8dc4b43aff916fead4cf36e7b80131b02
/utils/config.py
bfc6b31d7b3c3d68dbe547ec3cb60eafb3a2c011
[ "MIT" ]
permissive
EuphoriaYan/ICCRE
71f92559f417a6bec19de07f7ab3bd2f0edd589a
0f5a969a0ab195161d1995540a7464d14836ed99
refs/heads/master
2022-12-02T04:53:52.567908
2020-09-22T18:30:57
2020-09-22T18:30:57
228,592,004
2
1
MIT
2022-11-22T17:22:23
2019-12-17T10:30:12
Python
UTF-8
Python
false
false
2,153
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import os import sys root_path = "/".join(os.path.realpath(__file__).split("/")[:-2]) if root_path not in sys.path: sys.path.insert(0, root_path) import json import copy import numpy as np class Config(object): @classmethod def from_dict(cls, js...
[ "ysq58000@foxmail.com" ]
ysq58000@foxmail.com
a4c34f95186f06fe8a9ef03e5bedb9225500580d
964e2271f88f329dd1424476c78268413e822a42
/py3/lib/python3.4/encodings/iso8859_5.py
16dc63e1593c4aceae097a446745fceddac0b3bc
[]
no_license
LukaszMalucha/test-REST
af06152d01e2a9849cea86f622cc75ba783aa80e
d7b7784d8706b8bc30ecf4d17f6d78135be8999f
refs/heads/master
2020-04-24T23:32:51.914750
2019-02-25T19:03:47
2019-02-25T19:03:47
172,347,961
1
0
null
null
null
null
UTF-8
Python
false
false
41
py
/usr/lib/python3.4/encodings/iso8859_5.py
[ "lucasmalucha@gmail.com" ]
lucasmalucha@gmail.com
f197c48d5914c7e16cf60cf71d89129ae17c0962
c3c31b6079fb1355dea1d06f4ed192ed94b71977
/colour/plotting/notation.py
31b85ea76501cbf4522f2b35573122f7cd45b595
[ "BSD-3-Clause" ]
permissive
scooperly/colour
90df4267710578940cdc8a3619cc5daff59e0f3e
97fdee4e3efcdbb4eea3b342ed4cb5a478b79246
refs/heads/develop
2021-01-16T02:27:10.473178
2016-01-20T09:55:18
2016-01-20T09:55:18
51,117,031
0
0
null
2016-02-05T00:55:48
2016-02-05T00:55:47
null
UTF-8
Python
false
false
3,474
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Colour Notation Systems Plotting ================================ Defines the colour notation systems plotting objects: - :func:`single_munsell_value_function_plot` - :func:`multi_munsell_value_function_plot` """ from __future__ import division import numpy as ...
[ "thomas.mansencal@gmail.com" ]
thomas.mansencal@gmail.com
25a3e4b6c0a87de13abe948fe628b7fda4d978db
aaa204ad7f134b526593c785eaa739bff9fc4d2a
/dev/prepare_release_issue.py
fb37b1f02d1e0823c614e34a0d272415ccfbf79c
[ "Apache-2.0", "BSD-3-Clause", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
cfei18/incubator-airflow
913b40efa3d9f1fdfc5e299ce2693492c9a92dd4
ffb2078eb5546420864229cdc6ee361f89cab7bd
refs/heads/master
2022-09-28T14:44:04.250367
2022-09-19T16:50:23
2022-09-19T16:50:23
88,665,367
0
1
Apache-2.0
2021-02-05T16:29:42
2017-04-18T20:00:03
Python
UTF-8
Python
false
false
10,966
py
#!/usr/bin/env python3 # 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 # "L...
[ "noreply@github.com" ]
cfei18.noreply@github.com
2f619d66bee492832a3308586a3824b4b147d4f0
59199c7e4e8a829fc7bce0774e2a3c9b62a68c39
/old_casa_scripts/210528.rx230.cal.withplots.py
1bec761ba58ab32eabe1b932935356e6f2fa5300
[]
no_license
Smithsonian/sma-data-reduction
379a9913b07e1fb067d70cb79c6ac7245d5bd781
9580e2464ad36ab7cd11e487bb1fdf296479f3fb
refs/heads/main
2023-09-01T21:51:04.439609
2023-08-09T22:00:02
2023-08-09T22:00:02
345,712,396
7
0
null
null
null
null
UTF-8
Python
false
false
25,194
py
# Based on Todd Hunter's CASA calibration script, # modified by Charlie Qi 05/2021 # revised on 12/2021 for flux cal # The measurement set is generated with CASA 5.7.2-4. import os # CASA 5 from tasks import (listobs, delmod, flagdata, plotms, setjy, bandpass, gaincal, applycal, blcal, fluxscale) ...
[ "koch.eric.w@gmail.com" ]
koch.eric.w@gmail.com
a5f7d83e1f21531db1f00816532156b4bd95d015
a462a24ff937e151e8151f3a1bdc9c3714b12c0e
/2021EJOR/scripts/mebbrcwd/mebbrcwd_10_2001.py
c0b57107f69f8968f36897fd2ccc3be7c4000e74
[]
no_license
noeliarico/kemeny
b4cbcac57203237769252de2c50ce959aa4ca50e
50819f8bf0d19fb29a0b5c6d2ee031e8a811497d
refs/heads/main
2023-03-29T14:36:37.931286
2023-03-16T09:04:12
2023-03-16T09:04:12
330,797,494
0
0
null
null
null
null
UTF-8
Python
false
false
218,421
py
import numpy as np import pandas as pd import time from kemeny import algorithms as alg from kemeny import sc rep = 3 results = np.zeros(0).reshape(0,7+rep) ############################################################## om = np.array([ [0,1026,1050,1044,1005,955,1001,1018,1083,1004], [975,0,1025,943,931,974,968,1047...
[ "noeliarico@uniovi.es" ]
noeliarico@uniovi.es
6cce651989ad608654630975aa3433f505c17f3c
4a011d4456de06a96ccd7851fd05dec22fc649db
/website/drawquest/apps/comment_freeze/views.py
fef6eb328a3f22dc642f9bea9f1ad6cb8ca73e74
[ "BSD-3-Clause" ]
permissive
pillows/canvas
82373da9e883d6ba652d81958badee3f440cd8e6
4ecf386dc08c5d093b814ef4d08dfb71d1fd5604
refs/heads/patch
2021-01-24T21:07:30.362750
2015-12-31T05:10:11
2015-12-31T05:10:11
45,960,362
0
0
null
2015-12-31T05:11:59
2015-11-11T04:50:04
Python
UTF-8
Python
false
false
581
py
from canvas.redis_models import redis from canvas.shortcuts import r2r_jinja from drawquest.apps.comment_freeze import signals def comment_freeze(request): ctx = {} if request.method == 'POST': ts = request.POST['comment_freeze_ts'] if ts: redis.set('dq:comment_freeze_ts', ts) ...
[ "alex.ehlke@gmail.com" ]
alex.ehlke@gmail.com
cbde44f4f0ab5f598947f1bb947505fdd36556a4
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03612/s217984849.py
a053dc5f93bb9abb308a3be7b871f1bd6bbe0956
[]
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
287
py
n = int(input()) l = list(map(int,input().split())) count = 0 if l[0] == 1: l[1] = l[0] count += 1 for i in range(1,n): if l[i] == i+1: if i != n-1: if l[i+1] == i+2: l[i],l[i+1] = l[i+1],l[i] i+=1 else: l[i] = l[i-1] count += 1 print(count)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a3711cca123871c4a006b373e7e63c4c4d39fa3f
406e590a2eafe82b28541713e1ca1c9e6247322f
/test/dataset/symmetric/test_1.py
5a22057ffef25d36c638149658d0e3af0d7da2d0
[ "MIT" ]
permissive
yuhangwang/MirrorAI
45469987f1916625a67460199d23870fdaa79f5e
e5c790204c2597a71fc7bc44ecea3f195f815f7d
refs/heads/master
2021-04-29T06:30:30.494766
2017-04-14T16:07:48
2017-04-14T16:07:48
77,966,603
0
1
null
null
null
null
UTF-8
Python
false
false
386
py
from MirrorAI.dataset import symmetric import numpy def test(): height = 3 width = 2 low = 1 high = 9 count = 2 result = symmetric.sample( count, height, width, low, high) print("results") for i, d in enumerate(result['data']): print(nump...
[ "stevenaura@live.com" ]
stevenaura@live.com
73e051dc59888390a1c42f5f23e19315f2c76555
a8db8ac98b1df5e3020e15bd4b191582b983f655
/PKUTreeMaker/test/CrabJobsSrc/SingleMu/crab3_analysis_smuE.py
5650d846b0d5c54c9484965aabe2089229678854
[]
no_license
JINGFFF/fullRun2VBSWG
9ced38082fbe6794207acb06dd3efaf75df4f7d1
8d26c28e93c1562ce38e7b3dabd07902b68420ab
refs/heads/master
2023-01-12T08:22:52.450034
2020-11-08T07:26:22
2020-11-08T07:26:22
258,943,758
0
0
null
null
null
null
UTF-8
Python
false
false
1,346
py
from WMCore.Configuration import Configuration config = Configuration() config.section_("General") config.General.requestName = 'fullrun2_2017_smuE_v1' config.General.transferLogs = True config.section_("JobType") config.JobType.maxMemoryMB = 3000 config.JobType.pluginName = 'Analysis' config.JobType.inputFiles =['...
[ "15827238926@163.com" ]
15827238926@163.com
fcc208a0ae140078f87103dc5c2d90769e61e322
73f6ebc05f80295eb58f242c3449efddc262d50d
/CountCompleteTreeNode.py
8e78a669b944947f20b613c807956d2f1b55348d
[]
no_license
sainihimanshu1999/Trees-Question
ef7df3e4c402545d2ae355ce2c7baee87eb3ba6f
058cf898397e02e3768c8d5a804d3f93ea2eb40f
refs/heads/main
2023-05-07T01:42:27.077246
2021-05-21T17:26:00
2021-05-21T17:26:00
367,812,940
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
''' In this question we are given a complete tree and we have to use this to our advantange, in complete binary tree max number of node are equal to 2**h where h is the height of the tree, we check depth of left and right subtree and if they are equal we recurr in root.right else we recurr in root.left ''' def count...
[ "sainihimanshu.1999@gmail.com" ]
sainihimanshu.1999@gmail.com
32b61c344b9a5278c861ffcd42516d083006a0cc
061697209d98caa5aee25ae3db54791bdad1f39e
/astrom_lmircam_soln/__init__.py
9ab8dd204836d4081f2de9fee0188d2ea10bc6f0
[]
no_license
mwanakijiji/dewarp
e80e67096251e6333a5ad6514bf29cb4b45c51ac
fc89d85b1e7f11b6434b32205c861b76ccfac660
refs/heads/master
2023-08-17T15:20:24.082129
2019-12-10T03:18:04
2019-12-10T03:18:04
112,388,099
0
0
null
2023-09-06T17:33:28
2017-11-28T20:55:04
Jupyter Notebook
UTF-8
Python
false
false
2,835
py
# created by E.S., 22 Nov 2016 # revised 2017 Dec import os import subprocess import numpy as np from scipy.ndimage import rotate, map_coordinates path=os.path.dirname(__file__) dateStringAsterism = 'ut_2017_11_06' dateStringPinholes = 'ut_2017_11_08' generalStem = os.path.expanduser('~')+'/../../media/unasemaje/Sea...
[ "spalding@email.arizona.edu" ]
spalding@email.arizona.edu
eae33935d7f56b55f37604ec3e96fce8e802004a
cf6a50732d708a3a3db0f297b73cb6f449a00b44
/Practice9_Control_Structures_if/Prac9_8_Refractor.py
5b39ddf9cda2543a72eec16e1a2991d1c8d940e0
[]
no_license
subash319/PythonDepth
9fe3920f4b0a25be02a9abbeeb60976853ab812e
0de840b7776009e8e4362d059af14afaac6a8879
refs/heads/master
2022-11-16T03:03:56.874422
2020-07-17T01:19:39
2020-07-17T01:19:39
266,921,459
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
# marks = input('Enter marks - ') # marks = int(marks) # # if marks >= 70: # grade = 'A' # elif marks >= 60: # grade = 'B' # elif marks >= 50: # grade = 'C' # elif marks >= 40: # grade = 'D' # else: # grade = 'E' # print(grade) # Suppose most of the students get E grade or D grade and very less stu...
[ "subas319@gmail.com" ]
subas319@gmail.com
7231d8912587909c69af8386755b630dac32c282
4717e299b70d658f607becacd5f202cdba904181
/tests/test_config_filtering.py
90548873e93936505126329183b3edf193e46f83
[ "MIT" ]
permissive
deets/yocto-pi-lap-timer
8ea4840320675cb3c22a73fc25199fb96d379f9b
857ea7e27ed3df979fbf22129da428430a40426c
refs/heads/master
2023-01-24T06:36:28.649809
2023-01-01T18:13:37
2023-01-01T18:13:37
245,871,535
0
0
MIT
2023-01-20T22:30:26
2020-03-08T19:04:35
C++
UTF-8
Python
false
false
2,451
py
# -*- coding: utf-8 -*- # Copyright: 2020, Diez B. Roggisch, Berlin . All rights reserved. import sys import pathlib import io layer_files_directory = pathlib.Path(__file__).parent.parent / \ "layers" / "meta-laptimer" / "recipes-bootconf" \ / "bootconf" / "files" assert layer_files_directory.exists() sys.pa...
[ "deets@web.de" ]
deets@web.de
1bf7d1a0700ab3e4cf55f79985d7c4d3163ef8c6
726c2e900e54ad268922bee2779b13b200911de8
/forsta_auth/celery.py
fde82a437848b97a8c7fde1c6a4e8844910da54f
[ "MIT" ]
permissive
forsta-iam/forsta-auth
0c59ea8f48d0019af65c9dcafaf665ac86aab673
9bc8c7c1033d95404c46fa351c7b689cc546a4d4
refs/heads/master
2022-12-10T16:36:09.384458
2019-10-22T09:04:31
2019-10-22T09:41:01
187,878,763
0
0
MIT
2022-12-08T06:41:20
2019-05-21T16:50:33
Python
UTF-8
Python
false
false
329
py
import os from celery import Celery from django.apps import apps app = Celery(__package__) # Using a string here means the worker will not have to # pickle the object when using Windows. app.config_from_object('django.conf:settings', namespace='CELERY') app.autodiscover_tasks(lambda: [n.name for n in apps.get_app_co...
[ "alexander.dutton@it.ox.ac.uk" ]
alexander.dutton@it.ox.ac.uk
7b02f8d44b07b71f58a8f6f11f708f20486cfd88
1bba82345900327ed1c128e8046dc91f90a0ccb5
/abstract/management/commands/reindex.py
e2068e8c0da22ae5a6e72da470cdb222db0b4537
[ "MIT" ]
permissive
dchaplinsky/ragoogle
40bd093682e41d1ee2a77f446c69d09e82bb3948
dccb3d29334c3220ea12c46c725c443c8bd725c0
refs/heads/master
2021-06-11T10:07:41.142843
2020-10-12T10:30:39
2020-10-12T10:30:39
136,800,715
3
3
MIT
2021-03-19T23:20:02
2018-06-10T10:51:30
CSS
UTF-8
Python
false
false
3,007
py
from datetime import date from dateutil.relativedelta import relativedelta from django.core.management.base import BaseCommand, CommandError from django.apps import apps as django_apps from search.search_tools import get_apps_with_data_model from elasticsearch.helpers import parallel_bulk from elasticsearch_dsl.conne...
[ "dchaplinsky@conversionscience.co.uk" ]
dchaplinsky@conversionscience.co.uk
39d05fa80ce9393a5515bd48d473d671924a4041
b7c4169d6e93142aefacbd08e59ce87b8020b409
/filterpy/stats/stats.py
e4e17e5af76dd196c3dc5f58410dc6fb3d3fd9a0
[ "MIT" ]
permissive
Censio/filterpy
a4414f9ee02c63a173c6ced31299ab59c78b206f
f6fde8f6c7f2cbb6818c9e9107d2e61da7cf3174
refs/heads/master
2023-04-10T21:47:06.559751
2021-08-12T17:09:40
2021-08-12T17:09:40
42,183,351
0
0
MIT
2022-09-30T20:09:50
2015-09-09T14:24:02
Python
UTF-8
Python
false
false
9,179
py
# -*- coding: utf-8 -*- """Copyright 2015 Roger R Labbe Jr. FilterPy library. http://github.com/rlabbe/filterpy Documentation at: https://filterpy.readthedocs.org Supporting book at: https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python This is licensed under an MIT license. See the readme.MD file for mo...
[ "rlabbejr@gmail.com" ]
rlabbejr@gmail.com
b21ebbd5712dd5f7783558cd730afe7db12cac28
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02382/s899710737.py
efe9560cff543f5d9ec39f54bc1969263a5464d5
[]
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
584
py
# -*- coding: utf-8 -*- import sys import os import math def distance(v0, v1, p): n = len(v0) s = 0 for i in range(n): diff = abs(v0[i] - v1[i]) s += diff ** p return s ** (1/p) def chebyshev(v0, v1): n = len(v0) ret = 0 for i in range(n): diff = abs(v0[i] - v1[i])...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
ff8db9e4ad41d5298773e2adf63f7091849e6a66
017a3f73771f7fd0b56837b0849ce7c5c89bb3ce
/stock/admin.py
bee8146d5dcc142b6e23ddae58fdccd465fb480c
[]
no_license
konradkrasno/storage_manager_api
2921705c91095169af2765f2bcb3db3fe545646a
de906860ba036312727e62e95886673e425c5d30
refs/heads/master
2023-04-08T02:52:52.581749
2021-03-27T15:46:40
2021-03-27T15:46:40
348,853,068
0
0
null
2021-03-27T15:46:41
2021-03-17T21:10:30
Python
UTF-8
Python
false
false
363
py
from django.contrib import admin from .models import Stock, StockPosition @admin.register(Stock) class StockAdmin(admin.ModelAdmin): pass @admin.register(StockPosition) class StockPositionAdmin(admin.ModelAdmin): list_display = [ "product", "quantity", "minimal_quantity", "av...
[ "konradkrasno@gmail.com" ]
konradkrasno@gmail.com
6e2363fb594818c51cf4e9c1ac9c22825d52967a
1dacbf90eeb384455ab84a8cf63d16e2c9680a90
/pkgs/sympy-1.0-py27_0/lib/python2.7/site-packages/sympy/physics/quantum/grover.py
ac4979d4a0c4c95f00010272d0e6eae2ee409c76
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown" ]
permissive
wangyum/Anaconda
ac7229b21815dd92b0bd1c8b7ec4e85c013b8994
2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6
refs/heads/master
2022-10-21T15:14:23.464126
2022-10-05T12:10:31
2022-10-05T12:10:31
76,526,728
11
10
Apache-2.0
2022-10-05T12:10:32
2016-12-15T05:26:12
Python
UTF-8
Python
false
false
9,895
py
"""Grover's algorithm and helper functions. Todo: * W gate construction (or perhaps -W gate based on Mermin's book) * Generalize the algorithm for an unknown function that returns 1 on multiple qubit states, not just one. * Implement _represent_ZGate in OracleGate """ from __future__ import print_function, divisio...
[ "wgyumg@mgail.com" ]
wgyumg@mgail.com
338c8aaf25a12fe396100bee57b5d9ce6e358d36
6ddb8662046feeb56f0511b95be86c83f7aa4f09
/munge/02-test.py
535038d0c9837b63d1b9c59b8a0e680cdd9b93d1
[]
no_license
paulhendricks/kaggle-otto-group-product-classification-challenge
f1b2d82ca1b687b9a4a1c9dd0cf925aa425981a8
533f68c0d52b48c270375625ddd33452c484bb22
refs/heads/master
2021-01-10T05:25:24.239929
2015-11-20T21:14:33
2015-11-20T21:14:33
46,582,749
1
1
null
null
null
null
UTF-8
Python
false
false
113
py
import pandas as pd train = pd.read_csv("../data/original/test.csv") train.to_csv("../data/prepped/test.csv")
[ "paul.hendricks.2013@owu.edu" ]
paul.hendricks.2013@owu.edu
fed2e968c7d93deba884af33916c52b582f12f3b
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/225/users/4008/codes/1798_2564.py
8690bcc5c8d196c83113b01976dc11ae80f36939
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
330
py
from numpy import* gols = array(eval(input("Gol:"))) golsc = array(eval(input("gol adversario: "))) i = 3 cont = zeros(i, dtype=int) for n in range(size(gols)): if(gols[n] > golsc[n]): cont[0] = 1 + cont[0] elif(gols[n] < golsc[n]): cont[2] = 1 + cont[2] elif(gols[n] == golsc[n]): cont[1] = 1 + cont[1] print(...
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
14659b0dad4f76d544e32fc8b26174dd10085b6c
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/4/kat.py
dc708d5268932e9a9960d00c5c93f0279aa546bc
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
e4f4fe46e7395a20a3e244cbd8703d17112ff216
ddc47b938d7ce1ccc3e239291b8db26eeca71226
/w3w3w3/Dictionaries Hash Table Hashmap/hashtable.py
04e3fd9b019efa63332d80b88c8e435241508089
[]
no_license
abderrahmanesaad/python-climb-learning-tutorial
fad70b0d3d5cadf871198cffcb35be15402c63d4
8d32f8c50cb878d79d6e7b53c116e25f8ac8faf6
refs/heads/main
2023-06-19T01:11:09.672766
2021-07-17T06:12:01
2021-07-17T06:12:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,207
py
class HashTable: def __init__(self): self.size = 10 self.hashmap = [[] for _ in range(0, self.size)] #print(self.hashmap) def hashing_func(self, key): hashed_key = hash(key) % self.size return hashed_key def set(self, key, value): hash_key = self.hashing_fun...
[ "lucifercaonima@gmail.com" ]
lucifercaonima@gmail.com
17840821a8363e8c0ea432cd52c4613339d35c85
fa4e5513fc069f0b7aeed1d86b78081c05253822
/jophiel/spiders/scrapy/http/request/__init__.py
40b66a1b6f4f0fa77e8c0d085e9737174eaf8d9f
[]
no_license
dreamfrog/jophiel
b0f00c62a8061030cd4a5a075cc8faf9686d44b8
1c51a16eca7201c0dec9bb94acd25f5a4038a862
refs/heads/master
2021-01-01T05:47:43.157268
2013-09-23T12:15:18
2013-09-23T12:15:18
3,557,963
0
1
null
2023-03-20T11:56:29
2012-02-27T06:31:50
Python
UTF-8
Python
false
false
3,478
py
""" This module implements the Request class which is used to represent HTTP requests in Scrapy. See documentation in docs/topics/request-response.rst """ import copy from w3lib.url import safe_url_string from scrapy.http.headers import Headers from scrapy.utils.trackref import object_ref from scrapy.utils.decorato...
[ "liuzz1983@gmail.com" ]
liuzz1983@gmail.com
aa46466e2274547cf61130fde1fa791fd956cf64
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2065/60833/274491.py
ebb2eb7d4fc5b70390a743414ddfe33d6b969831
[]
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
596
py
str1=str(input()) str1=str1.strip() if((str1[0]!="-")&(str1[0]!="+")&(str1.isdigit()==False)): print(0) else: xishu=1 if(str1[0]=="-"): xishu=-1 str1=str1[1:] elif(str1[0]=="+"): str1=str1[1:] i=0 result="" while(i>=0): if str1[i].isdigit(): result...
[ "1069583789@qq.com" ]
1069583789@qq.com
62a3e7c57c5e455ef2d496bfec4a98f076015616
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/7/sj4.py
b8a323c99f3c58b4a628b2b1c28b7b85729bc668
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
e3b0f14d4853824e89c22f00406bc85df822d3a4
264e1792bd2bef3a7ce301d531c939c24e6797bc
/backend/home/migrations/0002_load_initial_data.py
25cb6a4843a7bd2c545ba840b8c29ece0dd4f2df
[]
no_license
crowdbotics-apps/text-app-19220
268943bbb6b7635a2102854ccf351d7210b91fcc
1a1d6a969489b72d9af4b10dd4d0888d1f045f5f
refs/heads/master
2022-11-23T16:43:10.916784
2020-07-28T16:42:49
2020-07-28T16:42:49
283,270,448
0
0
null
null
null
null
UTF-8
Python
false
false
1,330
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "Minecraft Animation" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "Home...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
b6c4a10ac9f1b7884f4696aee9fb8b24c290f754
0465d0c34ca577e796f0ce2f8c80ba1eb032c81f
/tests/tempest/tempest/api/compute/servers/test_list_server_filters.py
326334c424741856d35928c18b4ae89e25277221
[ "Apache-2.0" ]
permissive
rajeev1689/vio
587cc9537dc098707893469470eba829c9277d35
32085124b8922689f88342dd9774c2234a409289
refs/heads/master
2021-01-22T13:42:46.802855
2016-07-18T15:36:31
2016-07-18T15:36:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,292
py
# Copyright 2012 OpenStack Foundation # 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 requ...
[ "xiaoy@vmware.com" ]
xiaoy@vmware.com
f76147701dadee1d5c59e4691c888dc15bd41f65
f9391e564c78b05c2554ba7dfbc10f8411d4f329
/big-data/map-reduce/init.py
3e4c989f26a67b21a27723124d859a9adb30f229
[]
no_license
Pyc9Jaan/bsuir
ae9ae4ec9a835904e3ee9b2e919d7026692a9787
52b3fe31101d9b4e595da030145177c17cc6ea36
refs/heads/master
2023-03-27T03:29:26.309494
2020-10-03T12:40:41
2020-10-03T12:40:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
#!/usr/bin/env python3 import os import json import pandas as pd from pymongo import MongoClient FILE_PATH = os.path.join(os.path.dirname(__file__), 'data/BlackFriday.csv') def connect(name = 'orders'): client = MongoClient() db=client['black-friday'] collection = db[name] return collection if __nam...
[ "ivan.pazhitnykh@gmail.com" ]
ivan.pazhitnykh@gmail.com
c687add44d10aa96a13521b5a6f8680a65b20fb9
70922de165319283d640821fd42ea1806da402c0
/supervised_learning/0x12-transformer_apps/1-dataset.py
790748d6f5fc120dadb4c9e217cf3484ab81d82d
[]
no_license
ikki2530/holbertonschool-machine_learning
bdd8152d575a99281e2cce105cf87442ec07f2fb
0b56aa0e92d65d4a5832cc994769834fbcfbe0ac
refs/heads/main
2023-07-07T00:49:03.675328
2021-08-11T10:27:56
2021-08-11T10:27:56
317,352,924
0
0
null
null
null
null
UTF-8
Python
false
false
1,731
py
#!/usr/bin/env python3 """Loads and preps a dataset for machine translation""" import tensorflow.compat.v2 as tf import tensorflow_datasets as tfds class Dataset: """Loads and preps a dataset for machine translation""" def __init__(self): """Constructor""" self.data_train = tfds.load('ted_hrlr...
[ "dagomez2530@gmail.com" ]
dagomez2530@gmail.com
8946b0691f0bbbb8fe266cfa70bca11c57b539fd
551b75f52d28c0b5c8944d808a361470e2602654
/huaweicloud-sdk-dms/huaweicloudsdkdms/v2/model/show_queue_tags_response.py
27dc54ab4ce30c1d710473794233832fb46c5305
[ "Apache-2.0" ]
permissive
wuchen-huawei/huaweicloud-sdk-python-v3
9d6597ce8ab666a9a297b3d936aeb85c55cf5877
3683d703f4320edb2b8516f36f16d485cff08fc2
refs/heads/master
2023-05-08T21:32:31.920300
2021-05-26T08:54:18
2021-05-26T08:54:18
370,898,764
0
0
NOASSERTION
2021-05-26T03:50:07
2021-05-26T03:50:07
null
UTF-8
Python
false
false
2,911
py
# coding: utf-8 import pprint import re import six from huaweicloudsdkcore.sdk_response import SdkResponse class ShowQueueTagsResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dic...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
74255164130f32b93f8a5870aa37c39726cca509
b0a81dd83111a478e099bfbc264bbb081a772b82
/dashboard/dashboard/pinpoint/handlers/new.py
49e8e437961c009514a588e81f317e0c0ad93b79
[ "BSD-3-Clause" ]
permissive
stephendonner/catapult
efc1d3a33f941fbf4c9d166df3d8f325ccce8c09
93b7358c3cf04df1129e0510f17fef388a4c3ec0
refs/heads/master
2020-03-12T21:31:25.610959
2018-04-24T00:48:58
2018-04-24T05:43:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,161
py
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import json import webapp2 from dashboard.api import api_auth from dashboard.common import namespaced_stored_object from dashboard.pinpoint.models import ch...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
be83ee86d05506ca75c955a4f07316b9fc36f502
781e2692049e87a4256320c76e82a19be257a05d
/all_data/cs61a/untarred backup/14.py
4e83b774195b987150395febf9e9701c13452190
[]
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
890
py
def num_common_letters(goal_word, guess): """Returns the number of letters in goal_word that are also in guess. As per the rules of the game, goal_word cannot have any repeated letters, but guess is allowed to have repeated letters. goal_word and guess are assumed to be of the same length. goal_word...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
d0f52a630dfa382ad1eb4408932cb0c9fc7ae098
c68d238ac786a42c4dd47d4ab5820709aa4dcdb3
/ExFin/communication/migrations/0029_resume.py
c533345d1e31f01407364e112383cfc6cca5770f
[]
no_license
tenebranum/ExFin
b78d2a9651d5b9e8fb0fae3adccc48f7897221d2
7ac7b7a0be00537a6a600721009f4a28eb90c3ab
refs/heads/master
2022-12-14T21:17:02.334600
2022-09-21T10:33:27
2022-09-21T10:33:27
139,338,729
0
0
null
2022-12-08T00:59:15
2018-07-01T15:07:52
Python
UTF-8
Python
false
false
1,614
py
# Generated by Django 2.0.2 on 2018-03-17 23:09 import django.core.validators from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('vacancy', '0008_auto_20180313_1609'), ('communication', '0028_delete_agreement'), ...
[ "vetal969696@gmail.com" ]
vetal969696@gmail.com
949a04980e8be8ed7256bdb2e759b8aac2a4a133
71dc727f9056934cd51692f8a3d26cf0dda44ef0
/sample-programs/week6/gas_mileage_with_functions.py
611d125b4cc050e8c6796ff93e571f56db3212c8
[ "MIT" ]
permissive
justinclark-dev/CSC110
9d255020a50bbfdb195465c3e742dd2fcd61e3a4
d738ec33b757ba8fa9cf35b2214c184d532367a0
refs/heads/master
2022-12-08T08:08:30.667241
2020-09-04T01:05:34
2020-09-04T01:05:34
232,606,910
0
1
MIT
2020-09-04T02:05:47
2020-01-08T16:28:37
Python
UTF-8
Python
false
false
1,437
py
# gas_mileage_with_functions.py # Demonstrates the recommended structure for programs that # make use of function definitions. # CSC 110 # Fall 2011 def main(): # Introduction print('Welcome to the gas mileage calculator!\n') # Input with Validation Loops user_miles = float(input('Enter the num...
[ "justinclark.dev@gmail.com" ]
justinclark.dev@gmail.com
e7256218a74af6620b8451eff3436615493fe463
a2c53c861392136ed9db7fefcf3a0cafb1ccb7e2
/testfupdates_dev_9259/urls.py
5c3a88b1deebcf7de3050b854b87f2220a9f16b1
[]
no_license
crowdbotics-apps/testfupdates-dev-9259
75e2e58a26be0a22ffa57cbc1af8ad9d3c227f60
ce260ccf4c00c3d1d6fefe028b2c985145cc742d
refs/heads/master
2022-12-02T11:31:50.833437
2020-08-22T10:57:04
2020-08-22T10:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,979
py
"""testfupdates_dev_9259 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
2d145acf3f5fe102f92dbcdd45edd474af96612f
146143036ef6a0bf2346eef9881db3ac85059008
/kdl_wagtail/core/migrations/0015_auto_20190505_0046.py
dbbd2cab4a764852d9345de833a641e738be7149
[ "MIT" ]
permissive
kingsdigitallab/django-kdl-wagtail
bc5a26420fcef3a25c6a42b0c5bb5f8643d32951
457623a35057f88ee575397ac2c68797f35085e1
refs/heads/master
2023-01-06T02:43:48.073289
2021-10-08T19:25:56
2021-10-08T19:25:56
168,135,935
3
0
MIT
2022-12-26T20:39:03
2019-01-29T10:27:05
Python
UTF-8
Python
false
false
3,465
py
# Generated by Django 2.1.7 on 2019-05-04 23:46 from django.db import migrations, models import django.db.models.deletion import modelcluster.fields import wagtail.core.fields class Migration(migrations.Migration): dependencies = [ ('wagtailcore', '0040_page_draft_title'), ('wagtailimages', '002...
[ "geoffroy.noel@kcl.ac.uk" ]
geoffroy.noel@kcl.ac.uk
ba461892c42178adf6fac31a9fa650458d4d5c1c
a8124c3361ec462e076fbe246c3571672a28a54b
/python3/dash_apps/dash_t_19_create_range_date_picker.py
205f905387dff8bd9e39fa694d2e0c382d4487ab
[ "MIT" ]
permissive
ashifujjmanRafi/code-snippets
80ea1300fb2bb5bf4bc1c2fb01222a42127c0438
24bd4b81564887822a0801a696001fcbeb6a7a75
refs/heads/master
2023-02-17T04:35:32.779975
2021-01-12T02:14:47
2021-01-12T02:14:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,320
py
import dash import dash_core_components as dcc import dash_html_components as html import pandas as pd import numpy as np import plotly.graph_objs as go from datetime import datetime as dt app = dash.Dash() app.layout = html.Div([ html.H1(children='Choose a country', style={ 'textAlign...
[ "nahid.cseru@gmail.com" ]
nahid.cseru@gmail.com
50a599f6e89411719a2b7a61f56ceeb0b9b27cc8
0308ca5b152a082c1a206a1a136fd45e79b48143
/usvao/VAO/software/security/vaologin/rc/1.0rc4/src/main/python/vaologin/authenticate.py
29b2e5f77240d4b85aaca07730ac0f22df069b7b
[]
no_license
Schwarzam/usvirtualobservatory
b609bf21a09c187b70e311a4c857516284049c31
53fe6c14cc9312d048326acfa25377e3eac59858
refs/heads/master
2022-03-28T23:38:58.847018
2019-11-27T16:05:47
2019-11-27T16:05:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,359
py
#!/usr/bin/env python """ functions for a VAO-compliant OpenID Relying Party. Based on consumer.py in Janrain, Inc., OpenID implementation examples (c. 2005-2008, Janrain, Inc.) """ from __future__ import with_statement import pickle, os, sys, time, re, urllib from vaologin.utils import ConfigurationError, Authenticat...
[ "usvirtualobservatory@5a1e9bf7-f4d4-f7d4-5b89-e7d39643c4b5" ]
usvirtualobservatory@5a1e9bf7-f4d4-f7d4-5b89-e7d39643c4b5
f7b02db96ad657e3c6fb2941d8cc921807825d42
a56252fda5c9e42eff04792c6e16e413ad51ba1a
/resources/usr/lib/python2.7/dist-packages/numpy/testing/nosetester.py
4e1897a87b5d74ff58016e2d45396cc79cd70409
[ "Apache-2.0" ]
permissive
edawson/parliament2
4231e692565dbecf99d09148e75c00750e6797c4
2632aa3484ef64c9539c4885026b705b737f6d1e
refs/heads/master
2021-06-21T23:13:29.482239
2020-12-07T21:10:08
2020-12-07T21:10:08
150,246,745
0
0
Apache-2.0
2019-09-11T03:22:55
2018-09-25T10:21:03
Python
UTF-8
Python
false
false
57
py
../../../../../share/pyshared/numpy/testing/nosetester.py
[ "szarate@dnanexus.com" ]
szarate@dnanexus.com
eb9869dbba8ba20e1c6839c924023911bda8d2fe
07c78840a1d6547795c4927edde997638b8e7b7b
/peripheral/opamp_u2237/config/opamp.py
bccaf4eb50fc23f5c3f6558cd05e19da2c94ee3e
[ "LicenseRef-scancode-unknown-license-reference", "ISC", "LicenseRef-scancode-public-domain" ]
permissive
zhuyi7891/csp
b8dd1f71d963d27b2f841bac1dc8ff93a53d58b2
d61c00a0c2d9375860eb165900ee9ef369db5161
refs/heads/master
2020-06-14T13:57:39.737274
2019-05-16T11:59:59
2019-05-17T18:49:00
195,020,933
0
1
null
2019-07-03T09:21:25
2019-07-03T09:21:25
null
UTF-8
Python
false
false
20,693
py
# coding: utf-8 """***************************************************************************** * Copyright (C) 2019 Microchip Technology Inc. and its subsidiaries. * * Subject to your compliance with these terms, you may use Microchip software * and any derivatives exclusively with Microchip products. It is your * re...
[ "http://support.microchip.com" ]
http://support.microchip.com
d7d6a82a00bb0fd4f15f6e426f87eab8261ec2a8
7907eca411c9786565c67e9a38262885b8c3ba4a
/Quotation/migrations/0006_auto_20181207_0938.py
0beb51a0b03a7be0a34b5a8101a7fc96f4c4d2e5
[]
no_license
milankar999/aeprocurex
5dca3bd3bc28769b48891e2aed50fd43cc408658
8df0298371101b0f84aca35837c6e3d63a115687
refs/heads/master
2022-12-15T16:48:51.805507
2019-12-23T05:38:42
2019-12-23T05:38:42
164,388,225
0
0
null
2022-12-08T01:31:25
2019-01-07T06:29:56
HTML
UTF-8
Python
false
false
397
py
# Generated by Django 2.1.3 on 2018-12-07 04:08 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Quotation', '0005_quotationtracker_status'), ] operations = [ migrations.RenameField( model_name='quotationtracker', old_nam...
[ "milan.kar@aeprocurex.com" ]
milan.kar@aeprocurex.com