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
1dc90019573b41fd04ccda4e3a6b90bc90a27b7a
48b6546e0cf0aeba23f802c005dbcb863f8ceecb
/searching-algorithms/linear_search.py
1da3586fe8a61e11198ed6a4335d78e697ab93b3
[]
no_license
panu2306/Data-Structure-Programs
42bc1b592fc070eed9c16a192d27103593723061
a4cb5fb496b672492e19468868a2da266d7d76aa
refs/heads/master
2022-11-14T23:04:20.609617
2022-11-14T18:01:21
2022-11-14T18:01:21
148,877,607
1
0
null
null
null
null
UTF-8
Python
false
false
343
py
def linearSearch(a, searchElement): arraySize = len(a) for i in range(0, arraySize): if(a[i] == searchElement): return 1 return -1 a = [1, 4, 2, 5, 3] searchElement = 5 result = linearSearch(a, searchElement) print("Element is not present in array") if(result == -1) else print("Element...
[ "pranavbhendawade@gmail.com" ]
pranavbhendawade@gmail.com
4206b96806030b27e6a032f97cb22dfdb1822a45
d42f7d4f2377f67797d41b2f75347c5330d34953
/fabfile/france.local.py
319441ef820b3e39735a14277588f4449a76011b
[ "WTFPL" ]
permissive
phreephree/addok
8d92893b791416e0169e6c74f5842868833478e9
320d145e72964d54eb33742f0329e9f46f5c5ab5
refs/heads/master
2021-08-24T06:51:04.971611
2017-12-08T13:44:40
2017-12-08T13:44:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
QUERY_PROCESSORS_PYPATHS = [ 'addok.helpers.text.check_query_length', "addok_france.extract_address", "addok_france.clean_query", "addok_france.remove_leading_zeros", ] SEARCH_RESULT_PROCESSORS_PYPATHS = [ "addok.helpers.results.match_housenumber", "addok_france.make_labels", "addok.helpers....
[ "yb@enix.org" ]
yb@enix.org
d2619d839aa6f5611e6030cf62cb0f38db8c7b50
c3cff86728d436e4e7b522b1382d96f8e32611ff
/minidjango/utils/types.py
6df56e1950ad1a53a82390965a13bada3545b9c2
[]
no_license
pahaz/lesson2
6189ce3d3c06c040b27d283ae0754eed6c496b43
aea2e09e98e5562476a5d15447e15e127f900d43
refs/heads/master
2023-08-26T20:27:08.697314
2016-04-15T12:26:09
2016-04-15T12:26:09
55,223,164
1
2
null
null
null
null
UTF-8
Python
false
false
3,387
py
import collections from io import BytesIO import io __author__ = 'pahaz' class MultiValueDict(collections.UserDict): """ >>> d = MultiValueDict() >>> d['foo'] = ['bar'] >>> d['foo'] 'bar' >>> d = MultiValueDict({'foo': ['v1', 'v2']}) >>> d['foo'] 'v1' >>> d.getlist('foo') ['v...
[ "pahaz.blinov@gmail.com" ]
pahaz.blinov@gmail.com
5b5cfdbc293e4fea4032ad37a2ddd1f57d91ab27
4999d470db3128d6b2d904babf1446d62a9a6cc2
/flask_project/app.py
ae20cc5f3b6b108c0d979f90fd5d9a9704534c78
[]
no_license
love-adela/jungle_admission
2ade66d7a828965f250f5eac9b971a9a84eddb88
bf3c3f52c61c6dded256245e28aaf30ab2ec5ffa
refs/heads/main
2023-01-01T17:16:16.756328
2020-10-29T09:27:55
2020-10-29T09:27:55
306,814,071
0
0
null
null
null
null
UTF-8
Python
false
false
612
py
from flask import Flask, render_template app = Flask(__name__) @app.route('/') def home(): return render_template('index.html') @app.route('/test', methods=['GET']) def test_get(): received_title = request.args.get('given_title') print(received_title) return jsonify({'result': 'success', 'msg': '이 요청은...
[ "love.adelar@gmail.com" ]
love.adelar@gmail.com
7ff6e8fd5a803d6d9e9157afe6eacd17efe5e4a0
0c3f4769e91bf7bea8f9ce74a6dd11e092638bc4
/tests/test_ingest_title.py
613caef04600cc33de74fa6ad3a98fe50d745030
[ "MIT" ]
permissive
ourresearch/journalsdb
392ea36282b17154289f1845628cc4706d3c59e9
718b118b8e97da9a07f89c2cd2bae207a9217b66
refs/heads/main
2022-10-29T10:05:59.410041
2022-10-26T18:31:21
2022-10-26T18:31:21
331,048,946
9
0
null
2021-04-03T16:34:12
2021-01-19T16:56:22
Python
UTF-8
Python
false
false
728
py
from ingest.journals.journals_new_journal import NewJournal from models.journal import ISSNMetaData def test_clean_title_print(): issn_md = ISSNMetaData() nj = NewJournal(issn_md) title_with_print = nj.clean_title("Cooking Today (Print)") assert title_with_print == "Cooking Today" def test_clean_tit...
[ "caseym@gmail.com" ]
caseym@gmail.com
ae4a4cd38051c792e2d024de49626d30f9f91601
8c917dc4810e2dddf7d3902146280a67412c65ea
/v_7/NISS/common_shamil_v3/hr_custom/report/promotion_report.py
28508ee80d1f425d9b4ed82fa841a66a554347f0
[]
no_license
musabahmed/baba
d0906e03c1bbd222d3950f521533f3874434b993
0b997095c260d58b026440967fea3a202bef7efb
refs/heads/master
2021-10-09T02:37:32.458269
2018-12-20T06:00:00
2018-12-20T06:00:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,012
py
import time import pooler #import rml_parse import copy from report import report_sxw import pdb import re class promotion_report(report_sxw.rml_parse): _name = 'report.promotion.report' def __init__(self, cr, uid, name, context): super(promotion_report, self).__init__(cr, uid, name, context=context) ...
[ "bakry@exp-sa.com" ]
bakry@exp-sa.com
dd31b52d075a85e5b53ed2def7f9ba0e2cdb578c
6813299c28aab1e49f724c0b62c147b201cfaad4
/keystone/manage/__init__.py
899bf4a64f2e122f26e7b33a0a2b07789f3e92d7
[]
no_license
emonty/test-deb-keystone
dbe460bc29f667d625c9b13d2006ebdfc2a96cdb
1d374a52fc2c91c604abfc448d12324922a585a6
refs/heads/master
2021-01-22T06:54:26.712546
2011-08-19T20:59:54
2011-08-19T20:59:54
2,236,393
0
0
null
null
null
null
UTF-8
Python
false
false
8,989
py
#!/usr/bin/env python # vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # Copyright 2011 OpenStack LLC. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "Lice...
[ "mordred@inaugust.com" ]
mordred@inaugust.com
ce3e467bee2432e67dcc978a34ac48c49a0424b6
466912406272829982f75854cf0104c6ce8c9814
/data/nlp/fund/gongshang.py
818b29f17f8deb811cc1922bc2142c0840229a65
[]
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
1,884
py
# -*- coding: utf-8 -*- __author__ = 'victor' import os import sys reload(sys) sys.setdefaultencoding('utf-8') sys.path.append(os.path.join(os.path.split(os.path.realpath(__file__))[0], '..')) sys.path.append(os.path.join(os.path.split(os.path.realpath(__file__))[0], '../../util')) import db as dbcon import loghelper...
[ "hush_guo@163.com" ]
hush_guo@163.com
ed8d5a9e266a052caacfc08d036eb4aa9618228c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02886/s131934757.py
9c2208d916bb0fd3e3065d0aabe691293dfc81f2
[]
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
177
py
#!/usr/bin/env python3 N = int(input()) D = [int(s) for s in input().split()] life = 0 for i in range(N): for j in range(i+1, N): life += D[i] * D[j] print(life)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
36a6f635c959bf4b4b5b30b9756599e5d0831ffd
108db0d378354947b94b0d649fdb2779c8b7957f
/jwtauth/jwtauth/settings.py
51713e79093067e6196f4aa3a8c2f50e6eee1390
[]
no_license
P-iyushRaj/DRF-WORK
25f2676f62694ea5619397a2e10aca0947dbe902
21ca80a6027f110e7213fe7ee3e783bcfe357089
refs/heads/master
2023-03-27T13:25:03.928779
2021-03-27T04:14:20
2021-03-27T04:14:20
346,010,139
0
0
null
null
null
null
UTF-8
Python
false
false
3,372
py
""" Django settings for jwtauth project. Generated by 'django-admin startproject' using Django 3.0.1. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os #...
[ "piyush@gmail.com" ]
piyush@gmail.com
00d156d0f2a3e03443c4a9aa53137d649e2d9735
18a846d1d598d193976437fbefdf144a13e0404b
/mezzanine/utils/models.py
ff1d2ea8f18a782a0a0e607e836138d0e185fa25
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
kowalej/mezzanine
8282195c99717625856510474f4f9583a36c7cf6
96915c33325fd74277a630c27069e4c92482e951
refs/heads/master
2021-01-17T22:25:25.495684
2012-04-16T11:59:21
2012-04-16T11:59:21
3,392,468
0
0
null
null
null
null
UTF-8
Python
false
false
3,343
py
from django.core.exceptions import ImproperlyConfigured from django.db.models import Model, Field def base_concrete_model(abstract, instance): """ Used in methods of abstract models to find the super-most concrete (non abstract) model in the inheritance chain that inherits from the given abstract mod...
[ "steve@jupo.org" ]
steve@jupo.org
b1cbfa625f10b9e309d35cfdf8103961d6a183cb
2dd4b89f60bd22d96ca6043666816069ba060875
/TPplots/circos_convert_contigs_coords.py
4458d301054967ca4be4740ced7df70f80b3440b
[]
no_license
liaochenlanruo/TPplots
4d65b970f3a105c48a1a66aeb176e299f4bb3cea
4d0ed24f9b5b7fcd80942abb5f22167d1aba38c6
refs/heads/master
2023-07-19T13:22:25.278304
2021-09-07T14:13:01
2021-09-07T14:13:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,444
py
#!/usr/bin/env python # python 2.7.5 requires biopython ########### promer2circos ############ def get_contig(location, contig_coordlist, contig_pos): # print 'location', location # print contig_coordlist for i, one_contig in enumerate(contig_coordlist): if location >= one_contig[1] and location <...
[ "trestan.pillonel@gmail.com" ]
trestan.pillonel@gmail.com
d08097d57e86dac2468c68b27434003012380081
17cad1d357380875243b804ffd13882f1a7d61a8
/0x01-python-if_else_loops_functions/5-print_comb2.py
261080a0c9b07790c69df208dff6f370a248541f
[]
no_license
Abdou-Hidoussi/holbertonschool-higher_level_programming
9a0c0714b63ccd9823798adb51eb4f395ab375dc
1dd37cc5f848d1f37884e6ffbe9598eae8c4f30e
refs/heads/master
2023-03-05T00:02:25.283646
2021-02-18T20:42:26
2021-02-18T20:42:26
291,713,076
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
#!/usr/bin/python3 for x in range(0, 99): print("{:02d}, ".format(x), end='') print(x + 1)
[ "hidoussiabdou5@gmail.com" ]
hidoussiabdou5@gmail.com
8020130f940f8f456909b2b56cec135d85f0a20b
8bf56892667d732c67ed0ae43fe7b08923893c71
/version4.py
2d633cee8aa4adf9a88167e0e1eb32f2e21b3da3
[]
no_license
erhan-orun/BuildTable
8a3ff82a979a19f7f2b975b88c690a5f769510a0
546e14a548d22d0ac237c2c8e544e152e33002bd
refs/heads/master
2023-09-01T16:27:32.695756
2021-11-02T06:22:15
2021-11-02T06:22:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,908
py
import datetime as dt import tkinter as tk from tkinter import * from tkinter import ttk class App(tk.Tk): def __init__(self, *args, **kwargs): tk.Tk.__init__(self, *args, **kwargs) self.root = tk.Tk() self.tree = ttk.Treeview(self.root, selectmode='extended') self.tree["columns"]...
[ "erhan0494@gmail.com" ]
erhan0494@gmail.com
1750d9bd2d2d74e5249e0afd3dbfb651013e01bd
cf7d6b1f45efe4d97389da2918b4f1b04673e66f
/utils/utils.py
310d39b1f1996389d1f52e5ffaffd0b292de8091
[]
no_license
metehancekic/deep_noise_rejection
4d1379c16fe57ed95aa152d39f33bf36d1c501a9
fd8e260e489f421fe7bd30c7ab8e9d397305247a
refs/heads/master
2022-06-18T09:07:52.907752
2020-05-12T18:46:07
2020-05-12T18:46:07
262,714,744
0
0
null
null
null
null
UTF-8
Python
false
false
3,431
py
""" Utilities PyTorch Example Run python -m deep_adv.utils.utils """ import torch import torch.nn as nn import torch.nn.functional as F import torch.backends.cudnn as cudnn import numpy as np import os from tqdm import tqdm from deepillusion.torchattacks import PGD def save_perturbed_images(args, model, device...
[ "metehancekic@umail.ucsb.edu" ]
metehancekic@umail.ucsb.edu
21d2f7e2323d617b60c05ef764ccd5f70ec6a1c2
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/34/usersdata/82/13368/submittedfiles/moedas.py
7c8cb901e522ee6f3565298cf8f75f60a478e842
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
# -*- coding: utf-8 -*- from __future__ import division a= int(input('Digite o valor de a:')) b= int(input('Digite o valor de b:')) c= int(input('Digite o valor de c:')) qa= 0 qb= 0 contador=0 while qa<=(c//a): qb=(c-qa*a)//b if qa*a+qb*b==c: contador=contador+1 break else: qa=qa+...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
afaefeacf6a86365775689c2eb6cfda2d6b6b824
7f031e500bb73f084f932a166c3398672a3b8027
/config.py
0dbbc38f5b3b39dd4a87cfdac60b95503a2eff92
[]
no_license
Guangzhan/nlp_demo
109fb0ed7f6bfc3469ac71cc59106449c1927ec5
4e88515968156461326dff3046c8bba14a12e32f
refs/heads/master
2020-09-13T16:38:58.744704
2019-11-20T03:37:56
2019-11-20T03:37:56
222,843,808
0
0
null
2019-11-20T03:35:08
2019-11-20T03:35:07
null
UTF-8
Python
false
false
1,025
py
__author__ = 'yangbin1729' import os basedir = os.path.abspath(os.path.dirname(__file__)) class Config: SECRET_KEY = '123@456#789$012%' class DevelopmentConfig(Config): DEBUG = True MODEL_DIR = os.path.join(basedir, 'models') Word2Vec_DIR = os.path.join(MODEL_DIR, '...
[ "360661716@qq.com" ]
360661716@qq.com
15106812cf7653e88c461073845014f9006b8bb3
8b4bb6cc0478b0bb535cc1bcf619b67bddf6c155
/sorting/Frequency_Queries .py
a2fa8ac8735c99dcab94e98f8a7927fb8a7dc2e4
[]
no_license
PiyushChandra17/HackerRank_DSA
2da943fcbc09918ba09757b6b0849c42f49bbd22
609b8272bf56006833aa8d5385ef331605bcc0e1
refs/heads/master
2022-12-02T17:56:26.648609
2020-08-08T18:37:11
2020-08-08T18:37:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
989
py
#!/bin/python3 import math import os import random import re import sys from collections import Counter # Complete the freqQuery function below. def freqQuery(queries): freq = Counter() cnt = Counter() arr = [] for q in queries: if q[0] == 1: cnt[freq[q[1]]] -= 1 freq[...
[ "noreply@github.com" ]
PiyushChandra17.noreply@github.com
bd5bfdad4fb1f2096c2f1618a38e3041863b7c38
958fc2764dedf880b0027bcc00d4f042e0fb61b0
/natas5.py
2e2861fe33ce2f0ffd5ed00472e3b163cebfe8c4
[]
no_license
marciopocebon/overthewire_natas_solutions
ee950249341abd639042efea8fd817c0951c68b9
67c726c74f9e7c0840a4b1c3b633a4bbc185f4a3
refs/heads/master
2021-01-04T01:06:18.654269
2018-10-15T22:33:38
2018-10-15T22:33:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
#!/usr/bin/env python import requests import re username = 'natas5' password = 'iX6IOfmpN7AYOQGPwtn3fXpbaJVJcHfq' # headers = { "Referer" : "http://natas5.natas.labs.overthewire.org/" } cookies = { "loggedin" : "1" } url = 'http://%s.natas.labs.overthewire.org/' % username # response = requests.get(url, auth = (us...
[ "johnhammond010@gmail.com" ]
johnhammond010@gmail.com
2cbf15f90fb9026a383dca7a34fb3f4ca4d06a7d
fa89ef4a8eb06dc2015d7116637f230b6891eb8d
/refinery/units/formats/pe/dotnet/__init__.py
187abebc117fd0d022f710618937f9f2e1c730b3
[ "BSD-3-Clause" ]
permissive
binref/refinery
f61878d9fddf616fee8edf226df22f6a35238940
4c7c3717ae45543b9d7bae60a4af4c00993cf719
refs/heads/master
2023-08-17T17:02:34.357138
2023-08-14T08:43:05
2023-08-14T08:43:05
228,019,736
439
48
NOASSERTION
2023-09-11T10:26:02
2019-12-14T12:32:06
Python
UTF-8
Python
false
false
2,459
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import json from typing import Any from enum import Enum from hashlib import md5, sha1, sha256, sha512 from zlib import crc32 from refinery.units import Arg, Unit from refinery.units.encoding.hex import hex from refinery.units.encoding.esc import esc from refinery.units....
[ "rattle@nullteilerfrei.de" ]
rattle@nullteilerfrei.de
c90c46d63978b7b8df5aa9b6761c81c9b33f0160
ce9d475cebeaec9cf10c467c577cb05c3b431fad
/code/chapter_22_example_07.py
14c8271ee19d7a4d7aae1a0b9ae7a72b488b3952
[]
no_license
Sundarmax/two-scoops-of-django-2.0-code-examples
9c8f98d145aaa5498bb558fc5125379cd39003e5
a15b2d4c240e879c03d2facf8592a644e27eb348
refs/heads/master
2022-04-19T10:14:53.795688
2020-03-04T15:16:25
2020-03-04T15:16:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,147
py
""" Using This Code Example ========================= The code examples provided are provided by Daniel Greenfeld and Audrey Roy of Two Scoops Press to help you reference Two Scoops of Django: Best Practices for Django 1.11 for Django 2.0 projects. Code Samples follow PEP-0008, with exceptions made for the purposes o...
[ "pydanny@gmail.com" ]
pydanny@gmail.com
d6ab0ddce5ea53451beeea5d56de10025e55a93e
f805cf2eef884fa0670332208b1b70ed8549751d
/parametres/urls.py
3cc11de2d7d0e22a6ae2ac1a737dbbceacd4524a
[]
no_license
parheto10/agro_tracability
8314ad73f2504dd90af4600938065ca18d93ab07
42520a3a2753707ed1100b5cdfb680bf7e00c80f
refs/heads/master
2023-08-05T16:17:02.481499
2021-10-08T16:54:10
2021-10-08T16:54:10
414,891,821
0
2
null
null
null
null
UTF-8
Python
false
false
6,456
py
from django.urls import path # from cooperatives.views import parcelle_list from .views import ( connexion, loggout, index, detail_coop, map_parcelles, coop_parcelles, catre_parcelles, catre_parcelles_coop # projet, # # pepiniere, # # detail_pepiniere, # # formation, ...
[ "parheto10@gmail.com" ]
parheto10@gmail.com
6578c2d9e7c4ebe710d7ec7ba3661cb86e8b6c35
411a600c355e34f8a3d158a1de6b22f0f509aa18
/hw2/hw2-copy-figures.py
0440c833791a9c594c3ed8532298d41ec10fc7cf
[]
no_license
eggachecat/pynn
e216e6cd5f0c9671ef5009e1422bdaa801f7b0f4
74a75ee56483be22b520b418b5a52ae176f4a8e1
refs/heads/master
2021-01-11T00:37:58.010712
2016-12-31T17:25:38
2016-12-31T17:25:38
70,506,707
0
0
null
null
null
null
UTF-8
Python
false
false
762
py
import shutil, errno import os def copyanything(src, dst): try: shutil.copytree(src, dst) except OSError as exc: # python >2.5 if exc.errno == errno.ENOTDIR: shutil.copy(src, dst) else: raise results = [988970911, 941530379, 349685028, 783952587, 156884050, 449777493, 983...
[ "sunao_0626@hotmail.com" ]
sunao_0626@hotmail.com
76cc67eda36092c76628d9d8c651dd0f974afeda
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/app/cmd/data/CreateDataInStructureBackgroundCmd.pyi
5722a33e1967b7c8c164d39a1314696abfc50abb
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
3,914
pyi
import ghidra.framework.cmd import ghidra.framework.model import ghidra.util.task import java.lang class CreateDataInStructureBackgroundCmd(ghidra.framework.cmd.BackgroundCommand): """ Background command to create data across a selection inside of a structure. """ @overload def __init__(self,...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
554ddb63741d0c1664dbeb9b2eae63e3ea3ff840
d60ee49abaee6c74c5b777f8f112a7f75f71f029
/genome/variants2/filter/VCF/somatic/genes/indels/common_rsid.py
e24057ae9cd0d708b82f81fa0fea1cf630326aea
[]
no_license
ak352/melanomics
41530f623b4bfdbd5c7b952debcb47622d1a8e88
fc5e6fdb1499616fb25a8dc05259add8a65aeca0
refs/heads/master
2020-12-24T16:14:42.271416
2015-08-06T12:48:52
2015-08-06T12:48:52
18,439,919
0
0
null
null
null
null
UTF-8
Python
false
false
2,026
py
import sys def ParseFields(line): fields = {} var = line[:-1].split("\t") for x in range(0, len(var)): fields[var[x]] = x return fields def read_tsv(infile): with open(infile) as f: var = ParseFields(next(f)) for line in f: record = {} line ...
[ "ak@uni.fake" ]
ak@uni.fake
4e44339e8aa9e97762dd77cc73821e37bf44948a
8613ec7f381a6683ae24b54fb2fb2ac24556ad0b
/boot/hard/knight.py
906fb70920ec67cbdcdac0eaf27502fa1a44eb0f
[]
no_license
Forest-Y/AtCoder
787aa3c7dc4d999a71661465349428ba60eb2f16
f97209da3743026920fb4a89fc0e4d42b3d5e277
refs/heads/master
2023-08-25T13:31:46.062197
2021-10-29T12:54:24
2021-10-29T12:54:24
301,642,072
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
x, y = map(int, input().split()) mod = 10 ** 9 + 7 if (x + y) % 3 != 0: ans = 0 else: n, m = (2 * x - y) / 3, (2 * y - x) / 3 ans = 0 if n >= 0 and m >= 0: n, m = int(n), int(m) ans = 1 for i in range(min(m, n)): ans = ans * (n + m - i) % mod ans *= pow(...
[ "yuuya15009@gmail.com" ]
yuuya15009@gmail.com
dbf7273504313e2c22795c47ad2dc7bcb84860ae
2f86dda1ede21eb5fd0ad9bd32efb7de4c268efd
/citizen/spiders/spider.py
71e50c1ffc85a415075fb41f56e5e3ced9e7f37f
[]
no_license
SimeonYS/citizen
5a08c0108f2d1509ee34c4c40234a4bd406ca026
69dd47e459e251e18d6ecd18a8b6b86df64ceb59
refs/heads/main
2023-04-01T08:50:36.399086
2021-03-30T13:18:29
2021-03-30T13:18:29
353,007,978
0
0
null
null
null
null
UTF-8
Python
false
false
1,073
py
import re import scrapy from scrapy.loader import ItemLoader from ..items import CitizenItem from itemloaders.processors import TakeFirst pattern = r'(\xa0)?' class CitizenSpider(scrapy.Spider): name = 'citizen' start_urls = ['https://www.citizens-bank.com/news/'] def parse(self, response): post_links = respons...
[ "simeon.simeonov@ADPVT.com" ]
simeon.simeonov@ADPVT.com
0dc7a3414e2450000801ac10defe6303bb854684
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/ml/azure-ai-ml/azure/ai/ml/_restclient/v2023_02_01_preview/operations/_code_versions_operations.py
75708494a685cf14484d28bba1f2f28657048b8f
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-python-cwi", "PSF-2.0", "LGPL-2.0-or-later", "GPL-3.0-or-later", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "Python-2.0", "MPL-2.0", "LicenseRef-scancode-other-copyleft", ...
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
22,838
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
Azure.noreply@github.com
0dbf512149e37a7f23588db495fee8f788b3ee6c
edf510cc5bbbe24469d8ff262c022b33b4d80a75
/tacotron2/data/text/symbols.py
3608a7a394aeac2cffae9ed87a7c4183ba9886b1
[ "Apache-2.0", "MIT" ]
permissive
rheehot/Tacotron2
e8b8a4be614708800b10b9fa7829264407510fa8
ddbe55b426397d40cadd14f5040c55ba7c25615d
refs/heads/master
2022-12-26T14:13:39.966498
2020-10-06T18:34:57
2020-10-06T18:34:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
736
py
""" from https://github.com/keithito/tacotron """ ''' Defines the set of symbols used in text input to the model. The default is a set of ASCII characters that works well for English or text that has been run through Unidecode. For other data, you can modify _characters. See TRAINING_DATA.md for details. ''' from tac...
[ "sh951011@gmail.com" ]
sh951011@gmail.com
8d2bea60b5b2b31185d035449eb07b04603efb6d
f76ba1e72ed81d85450f2584ddbb9b033396a3db
/alembic/versions/20210306_212825_.py
303ec6cd6ce7b1e84e2bc2a92f015e4e69b8404b
[ "MIT" ]
permissive
webclinic017/magnet-migrade
0e4823c32a6734628b0d3fc119f9c20ea1f9a167
b5669b34a6a3b845df8df96dfedaf967df6b88e2
refs/heads/main
2023-05-07T02:45:20.594756
2021-06-08T02:14:24
2021-06-08T02:14:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,800
py
"""empty message Revision ID: 20210306_212825 Revises: 20210306_151508 Create Date: 2021-03-06 21:28:25.744854 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import postgresql # revision identifiers, used by Alembic. revision = "20210306_212825" down_revision = "20210306_151508" branch_l...
[ "y-sasahara@ys-method.com" ]
y-sasahara@ys-method.com
31bb29c24f4df0a7d8e86690e72edab6a5cdcf44
a2b6bc9bdd2bdbe5871edb613065dd2397175cb3
/easy/Linked List Cycle.py
ef76a4e5ca516e9b8d0abae3a86665e3f9b96c72
[]
no_license
Asunqingwen/LeetCode
ed8d2043a31f86e9e256123439388d7d223269be
b7c59c826bcd17cb1333571eb9f13f5c2b89b4ee
refs/heads/master
2022-09-26T01:46:59.790316
2022-09-01T08:20:37
2022-09-01T08:20:37
95,668,066
0
0
null
null
null
null
UTF-8
Python
false
false
1,722
py
# -*- coding: utf-8 -*- # @Time : 2019/9/25 0025 15:17 # @Author : 没有蜡笔的小新 # @E-mail : sqw123az@sina.com # @FileName: Linked List Cycle.py # @Software: PyCharm # @Blog :https://blog.csdn.net/Asunqingwen # @GitHub :https://github.com/Asunqingwen """ Given a linked list, determine if it has a cycle in it. To re...
[ "sqw123az@sina.com" ]
sqw123az@sina.com
8b90d101850fc61cbc1c2b0fdcc37cce6600ae8c
058f1b9c83aa55c4803851f7880de00767491c00
/test/test_search.py
28b1174531fa143844710aced51a3f97565242a1
[ "MIT" ]
permissive
samsammurphy/sat-search
f9a017ded12486e95826f62cc67fc2533010cbd5
d81e4774a41990b73b55db4b1e05b21062dd957c
refs/heads/master
2020-05-22T15:17:31.071946
2019-02-14T21:37:34
2019-02-14T21:37:34
186,404,233
0
0
MIT
2019-05-13T11:12:42
2019-05-13T11:12:42
null
UTF-8
Python
false
false
3,123
py
import os import glob import json import unittest import satsearch.config as config from satstac import Item from satsearch.search import SatSearchError, Search class Test(unittest.TestCase): path = os.path.dirname(__file__) results = [] @classmethod def setUpClass(cls): fnames = glob.glob...
[ "matt.a.hanson@gmail.com" ]
matt.a.hanson@gmail.com
dd6003a357da5d293ef2ebc35647330ad910df9f
17e9441138f8ad09eab3d017c0fa13fa27951589
/blog19-Iris/test07-show.py
6f86adb80886cf72e2411f2a744018f4f6a03e69
[]
no_license
My-lsh/Python-for-Data-Mining
159a09e76b35efd46ca3e32ad6dd2174847d5ec4
f2dd0b8f3c4f5f51a10613dff99041bca4fd64c5
refs/heads/master
2023-03-26T08:48:32.088713
2021-03-25T14:57:07
2021-03-25T14:57:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
import pandas import matplotlib.pyplot as plt url = "https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data" names = ['sepal-length', 'sepal-width', 'petal-length', 'petal-width', 'class'] dataset = pandas.read_csv(url, names=names) from pandas.plotting import scatter_matrix scatter_matrix(...
[ "noreply@github.com" ]
My-lsh.noreply@github.com
bceaaba35117b38f3ff8200721312099d8f48e8f
53dd5d2cfb79edc87f6c606bbfb7d0bedcf6da61
/.history/EMR/SBSteat_20190605153204.py
aa2a19ba3ef7566408312123afa1ed7895fdf977
[]
no_license
cyc19950621/python
4add54894dc81187211aa8d45e5115903b69a182
d184b83e73334a37d413306d3694e14a19580cb0
refs/heads/master
2020-04-11T20:39:34.641303
2019-07-02T12:54:49
2019-07-02T12:54:49
162,078,640
0
0
null
null
null
null
UTF-8
Python
false
false
951
py
def SBS(A,B): if A==0 or B ==0: return 0 elif set(A)<=set(B) or set(B)<=set(A): return 1 else: return len(set(A)&set(B)) /len(set(A)|set(B)) def StrToList(A): C=[] for i in A: C.append(i) return C import re f = open('D:\DeepLearning ER\Z1006014.txt','r',errors=...
[ "1044801968@qq.com" ]
1044801968@qq.com
566ff4df4c434e2553096332053b6321ca1e06a3
0e8e9bef32f40f5d0fd8c302293ae66732770b66
/2015/pythonlearn/fromLiaoxuefeng/0078aiohttp.py
f04a0ede82976e6b39b25ff3a8cc8145103a4a43
[]
no_license
tuouo/selfstudy
4a33ec06d252388816ad38aa44838e2b728178d4
139a0d63477298addfff5b9ea8d39fab96734f25
refs/heads/master
2021-01-24T18:37:31.023908
2018-03-01T02:55:16
2018-03-01T02:55:16
84,453,967
0
0
null
null
null
null
UTF-8
Python
false
false
773
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import asyncio from aiohttp import web def index(rerquest): return web.Response(body = b'<h1>Index</h1>') def hi(request): yield from asyncio.sleep(0.5) text = '<h1>hello, %s!</h1>' % request.match_info['name'] return web.Response(body = text.encode('utf...
[ "ltytuotuo@gmail.com" ]
ltytuotuo@gmail.com
0df5d9ca5055a7189593c2e924ba6b44c8cfa9cc
172d4078d886b05cea2abdcf7aa458308c48458b
/apache/staging.wsgi
16c1eba3c84abcd084102c377378178d0c68aecb
[]
no_license
elhoyos/forest
9066569e42266bcd529c1d6d510119a23a819a65
55fca9770a4e24e7c35b8a47d3b27225a760625e
refs/heads/master
2020-05-16T13:50:33.403078
2019-03-26T19:58:26
2019-03-26T19:58:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
468
wsgi
import os, sys, site # enable the virtualenv site.addsitedir('/var/www/forest/forest/ve/lib/python2.6/site-packages') # paths we might need to pick up the project's settings sys.path.append('/var/www/') sys.path.append('/var/www/forest/') sys.path.append('/var/www/forest/forest/') os.environ['DJANGO_SETTINGS_MODULE'...
[ "anders@columbia.edu" ]
anders@columbia.edu
d097f3000c69a5e673b71706ec7a9dd3bdfa960b
3b3eac834008a2f4df4506d8dc2ba4364a7b67e2
/nail_model_test.py
c0f962cae3a7e7d12e3c498b6bca757bb120dbf5
[]
no_license
pokepetter/ggj2020_orion_oregano
37811f1a8b65b95bada0c1e5f6cd35d57e160e8f
439e4e64018e51e52a7cfb3c6c0b1617aba6056f
refs/heads/master
2020-12-26T11:01:28.343068
2020-02-03T18:34:34
2020-02-03T18:34:34
237,488,524
1
0
null
null
null
null
UTF-8
Python
false
false
264
py
from ursina import * app = Ursina() nail_model = Entity( model=Prismatoid( base_shape=Circle(10), path=(Vec3(0,0,0), Vec3(0,.9+.5,0), Vec3(0,.91+.5,0), Vec3(0,1+.5,0)), thicknesses=(.2,.2,1,1), )) EditorCamera() app.run()
[ "pokepetter@gmail.com" ]
pokepetter@gmail.com
16ec1caa2a401310021e53bf465c49945a16b916
11a809229e50f113eaa4528bd7dc05c30183ad4a
/SWS4D/_version.py
16771c1acf41206d071238bc85bb1c58ad7ae281
[]
no_license
davidmashburn/SWS4D
24468fe809ad2ddbd6a8b77fe8f738509c9c7878
aea8ee3d8c46aa7273c9522bdcbf63609431c126
refs/heads/master
2021-01-19T23:32:35.938005
2016-12-06T20:39:45
2016-12-06T20:39:45
88,991,494
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
__version_info__ = (0,2,7,0) __version__ = '.'.join(map(str,__version_info__))
[ "david.n.mashburn@gmail.com" ]
david.n.mashburn@gmail.com
29bb0154e69c61470509628247e814b0b21d2bdd
7af3888ea81123df246a73aa12c3b88c3b1e8440
/darwinist/sdef.py
dd58f41cda23cd9c54436cbec32e6dbae69547c3
[]
no_license
gregorynicholas/darwinist
b29a08b2fe966e662cd94cc25d659406b3dce263
2a5e3d027a569b61ad54096463e2d97c95f9c029
refs/heads/master
2020-05-29T09:53:16.669213
2015-03-21T16:37:36
2015-03-21T16:37:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,309
py
#!/usr/bin/env python """ Module to create application dictionaries for appscript using command line sdef tool """ import os from subprocess import check_output from lxml import etree as ET class SDEFError(Exception): def __str__(self): return self.args[0] class SDEF(object): def __init__(self,path):...
[ "hile@iki.fi" ]
hile@iki.fi
9646828aff8f61b37679c1833438c421c508b961
46234633cc7b66684af52f5b131834955115c80e
/train/gen/adv/models/particles/v4_Adam_trunc4_limit100/lib.py
12d4000398f71ed515e5ef88ffa57b4285c6e13c
[ "MIT" ]
permissive
sammysiegel/SubtLeNet
80d2ee5d3beb1699702ddb78162d10eee95eb051
94d1507a8a7c60548b59400109b6c4086ad83141
refs/heads/master
2022-09-05T05:25:53.701377
2020-06-01T15:39:36
2020-06-01T15:39:36
268,620,433
0
0
MIT
2020-06-01T20:04:08
2020-06-01T20:04:08
null
UTF-8
Python
false
false
6,556
py
#!/usr/bin/env python2.7 from _common import * from ..generators.gen import make_coll, generate, get_dims from ..generators import gen as generator ''' some global definitions ''' NEPOCH = 50 VERSION = 4 MODELDIR = environ.get('MODELDIR', 'models/') + '/particles/' BASEDIR = environ['BASEDIR'] OPTIMIZER = 'Adam' _...
[ "sidn@mit.edu" ]
sidn@mit.edu
3f51f53d28ce16889a1cd818a02b4b9acc096912
7bf1dc58ba0884ed957efdb5459ae44851b2b36e
/practice_450/strings/15_paranthesis_checker.py
907deb421b02d77c80a2ca9f344a5fbccafb12d0
[]
no_license
ksaubhri12/ds_algo
672260f07f41bcfc33f8ac23a64085a1f27ab4a5
46505b89371cae3321f48609dd755c7e5cfed302
refs/heads/master
2023-05-12T08:37:06.789111
2023-05-03T03:06:49
2023-05-03T03:06:49
211,793,312
0
0
null
null
null
null
UTF-8
Python
false
false
1,096
py
def parenthesis_checker(string_value: str): opening_brackets = {'[': ']', '(': ')', '{': '}'} opening_brackets_stack = [] answers = True n = len(string_value) for i in range(0, n): element = string_value[i] if element in opening_brackets: opening_brackets_stack.append(e...
[ "kalpesh@getvokal.com" ]
kalpesh@getvokal.com
6e8a3770b5d99511676953e6783f1fc9a9f5ef80
d659810b24ebc6ae29a4d7fbb3b82294c860633a
/aliyun-python-sdk-imageprocess/aliyunsdkimageprocess/request/v20200320/ScreenChestCTRequest.py
9210dc80c110a33d88b645318846fed2be3f7c99
[ "Apache-2.0" ]
permissive
leafcoder/aliyun-openapi-python-sdk
3dd874e620715173b6ccf7c34646d5cb8268da45
26b441ab37a5cda804de475fd5284bab699443f1
refs/heads/master
2023-07-31T23:22:35.642837
2021-09-17T07:49:51
2021-09-17T07:49:51
407,727,896
0
0
NOASSERTION
2021-09-18T01:56:10
2021-09-18T01:56:09
null
UTF-8
Python
false
false
2,190
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...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
98ea4fafb6fc58089c1c4fd892af8ba9a7e65f51
bdaed512916fcf96e5dc915538fe8598aeb2d3cf
/mcex/distributions/special.py
a97815d40b32299438cac098d8f416c9cb2e2a25
[]
no_license
jsalvatier/mcex
9657cc2e8083f4e4dd013baaaceba08f9a48754e
040f49bfd6eb467ef4d50d15de25033b1ba52c55
refs/heads/master
2021-06-18T19:02:07.055877
2017-01-22T01:10:01
2017-01-22T01:10:01
1,455,409
9
3
null
2012-06-21T18:07:36
2011-03-08T17:02:42
Python
UTF-8
Python
false
false
3,820
py
''' Created on Mar 17, 2011 @author: jsalvatier ''' from theano import scalar,tensor import numpy from scipy import special, misc class GammaLn(scalar.UnaryScalarOp): """ Compute gammaln(x) """ @staticmethod def st_impl(x): return special.gammaln(x) def impl(self, x): return G...
[ "jsalvatier@gmail.com" ]
jsalvatier@gmail.com
52a83fa3c2634369a6ddf6a2f9101569c9c107c6
32a6db4d595ef4d308ac0e2ef37c57f65a777bfc
/ZYCami_00_彭小钗/PO/Wx_Element.py
5f9021ea65cb3db03881e667b4966af054d6d0fb
[]
no_license
wangdan377/Python_UI
1c8f0b3d46272d72f849f242c39e035c6b20720b
6c3e23b301ffe14cbd27a5211e48c8f79169dcf9
refs/heads/master
2023-02-17T02:37:34.353523
2021-01-19T11:58:22
2021-01-19T11:58:22
311,855,691
0
0
null
null
null
null
UTF-8
Python
false
false
5,981
py
#!/usr/bin/python # -*- coding: utf-8 -*- from selenium.webdriver.common.by import By from PO.Base_page import Base_Page class Wx_Page(Base_Page): # 微信支付 File_wx = (By.ID, 'com.zhiyun.cama:id/btn_wx') # 微信支付方式的关闭按钮 File_wx_closed = (By.XPATH,'/hierarchy/android.widget.FrameLayout/android.widget.Frame...
[ "1065913054@qq.com" ]
1065913054@qq.com
edcb570bd7fd632da38d368049889cb40b88c7f0
2d0da5d8f45e1906bb2a2eee0901e7fddd5dc7ad
/scripts/run_scripts/pha/run_pha_full1.py
d4a5fdb586a3f61ebb2138440d1c83f19148e4f7
[ "MIT" ]
permissive
akazachk/pha
09afd2fa6764ef9133a8ae91bb189e2896e076c6
4120f70554cb0a149d5ab52e04409302e78059fa
refs/heads/master
2021-09-25T01:02:42.488470
2021-09-15T17:51:34
2021-09-15T17:51:34
194,751,798
1
0
null
null
null
null
UTF-8
Python
false
false
5,410
py
#### ## The inputted file is either [filename].instances or [file].batch. ## (The extension is not important.) ## The first line of this file will be the directory ``stub'', ## and output will be sent to ${PROJ_DIR}/results/instances/stub if batch mode is off, ## and to ${PROJ_DIR}/results/instances/batches/stub/batchn...
[ "None" ]
None
bc842ccaa11ef55ed6395e29a362c7dbae9cc52a
da49837553eab1d9e89b7cf1106776959b8da3b7
/STPT.py
8c7707bdf2641c2b0a62295dadb00be4a8238d98
[]
no_license
sunomon/100at10low10
ee9717450eb081c5a3105411d84b71079414c456
0ea7bd0458a42e0773285d12812168c2c0a3d3a2
refs/heads/main
2023-06-19T09:05:14.678018
2021-07-06T22:50:51
2021-07-06T22:50:51
383,526,471
0
0
null
null
null
null
UTF-8
Python
false
false
10,117
py
import time import pyupbit import datetime import schedule from fbprophet import Prophet access = "PgXnWWPxxv88s7z2PSnz4aoqaYL0gxkRxReK0WDK" secret = "wgCfiEmQVH76s9sblwFKQsOKOp91t2ic3XAHuNsK" def get_target1_price(ticker, k): df = pyupbit.get_ohlcv(ticker, interval="day", count=2) target1_price = df.iloc[0][...
[ "noreply@github.com" ]
sunomon.noreply@github.com
8a46b42a2d6965726648fa8823414ef23617c636
8c382ed6073bfc2dc3fda97d8344628ac669d548
/api/views.py
9cd911c86b7585e256c99cc284ffdbbc84072291
[]
no_license
dmaras1808/ghiro
7a428d69944a2e4173b6603240a2c195c21ed7f4
439d395a1311ac6f802d0ee1402d37e99aeb5f95
refs/heads/master
2021-01-24T01:59:59.225272
2015-08-03T21:40:28
2015-08-03T21:40:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,569
py
# Ghiro - Copyright (C) 2013-2015 Ghiro Developers. # This file is part of Ghiro. # See the file 'docs/LICENSE.txt' for license terms. import json from django.views.decorators.http import require_POST from django.http import HttpResponse from django.views.decorators.csrf import csrf_exempt from django.shortcuts impor...
[ "alessandro@tanasi.it" ]
alessandro@tanasi.it
5ef49b95a868b1d76d979ef9518a54c565787183
481517a085014aefba963d29ff52b56bef6a393e
/abstractdemo.py
77dfa21d3b7352b51566e8f50caccc1c0957b0c9
[]
no_license
27Saidou/cours_python
6d916fe63652e0463bd995dbb9a3ec72c74f4c3d
91820b826ced24bed98525429096e32ff4c036db
refs/heads/main
2022-01-09T09:58:32.514032
2022-01-04T18:37:56
2022-01-04T18:37:56
214,328,534
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
from abc import ABC, abstractmethod class A(ABC): def __init__(self,value): self.value = value @abstractmethod def add(self): pass @abstractmethod def sub(self): pass class Y(A): def add(self): return self.value +100 def sub(self): return self.v...
[ "saidou224dev@hotmail.com" ]
saidou224dev@hotmail.com
438c15de02438222ef6d1d703b882cb426c13720
2a8a6327fb9a7ce8696aa15b197d5170661fb94f
/test/test_invoice_processing_options.py
c8b97d17768201adb01b23cc30c300ec51eeb16a
[]
no_license
moderndatainc/zuora-client
8b88e05132ddf7e8c411a6d7dad8c0baabaa6dad
d50da49ce1b8465c76723496c2561a3b8ebdf07d
refs/heads/master
2021-09-21T19:17:34.752404
2018-08-29T23:24:07
2018-08-29T23:24:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
38,764
py
# coding: utf-8 """ Zuora API Reference # Introduction Welcome to the reference for the Zuora REST API! <a href=\"http://en.wikipedia.org/wiki/REST_API\" target=\"_blank\">REST</a> is a web-service protocol that lends itself to rapid development by using everyday HTTP and JSON technology. The Zuora REST A...
[ "jairo.velasco@alertlogic.com" ]
jairo.velasco@alertlogic.com
591439930127cc0ca00096c759275babb9b9f783
a943cb6da95ec1e06cb480887ba1062a5783527f
/2012-oss-hrs/plot-mg-k.py
fcb7775822791a3f8c6194f2e6dd460fa6fb664e
[]
no_license
andycasey/papers
1b2c882c20b0c65b5899d70dc95825ec53cc9fe2
3d585ad4b6b1c3b40227185fd7b22ea9bdeb8e02
refs/heads/master
2021-01-19T17:24:48.788580
2013-08-13T08:51:02
2013-08-13T08:51:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,266
py
import numpy as np mucciarelli_headers = 'ID Teff logg vt [Fe/H] [Fe/H]_err [Mg/Fe] [Mg/Fe]_err [K/Fe] [K/Fe]_err [Ti/Fe] [Ti/Fe]_err [Ca/Fe] [Ca/Fe]_err' mg_fe, mg_fe_err, k_fe, k_fe_err = range(4) mucciarelli_columns = ['[Mg/Fe]', '[Mg/Fe]_err', '[K/Fe]', '[K/Fe]_err'] mucciarelli_column_indices = [mucciarelli_he...
[ "andycasey@gmail.com" ]
andycasey@gmail.com
f4f7422e1d5486fb475b159c62317c606ffa5580
421d58c6b93b81e0724f8f4576119300eb344252
/influencers/core/migrations/0012_auto_20190130_1417.py
ebc63a175e53a43e7c2a89b47f2eb951d1aca9ef
[]
no_license
momen/influencers
7728228c92a552bdff9ae62f85986ad03bce186e
f9c76cfc2970440112967f9579dc31f77063cb25
refs/heads/master
2020-06-03T22:20:03.881411
2019-06-15T07:48:43
2019-06-15T07:48:43
191,754,739
0
0
null
null
null
null
UTF-8
Python
false
false
487
py
# Generated by Django 2.1.4 on 2019-01-30 14:17 from django.db import migrations import partial_index class Migration(migrations.Migration): dependencies = [ ('core', '0011_auto_20190130_1305'), ] operations = [ migrations.AddIndex( model_name='bank', index=parti...
[ "momennegm@gmail.com" ]
momennegm@gmail.com
e7f6bcc4646a64093c53c52df316962e702eb6fe
2ea8f0e3d7c2eb709e126b069a551e24bb9d40aa
/bin/basenji_test_folds.py
ef85e1bc357503cee43d76187ccb16d7c6ebc442
[ "Apache-2.0" ]
permissive
eniktab/basenji
b593136330a9a8292d665a14ab147ae0b08bfce9
90ce1c19a17f7a9edd4d95039f11755f6865fd8a
refs/heads/master
2022-12-19T05:16:19.952806
2020-09-26T17:32:26
2020-09-26T17:32:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,161
py
#!/usr/bin/env python # Copyright 2019 Calico 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 # https://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agr...
[ "drk@calicolabs.com" ]
drk@calicolabs.com
1d6583954d27d890d2ca28e0d0374a7fff088f35
a721e4ca65b79ce725c7b5b43539c963a3b55290
/Happy_Ladybugs.py
29beb1c6e1f59afc9ca77efce3b5bba9bf91db6d
[]
no_license
joydas65/Hackerrank-Problems
0832d7cfd1de7e5df4dba76326ede735edc9afea
a16b3b0ebb65e7597f8f6417047da4d415a818c7
refs/heads/master
2022-06-21T12:47:55.241409
2022-06-18T18:21:08
2022-06-18T18:21:08
159,071,834
9
0
null
null
null
null
UTF-8
Python
false
false
978
py
for _ in range(int(input())): n = int(input()) b = input() d = dict() flag = 0 for i in b: if i != '_': d[i] = 0 for i in b: if i != '_': d[i] += 1 ...
[ "noreply@github.com" ]
joydas65.noreply@github.com
aeb6d7fa4b40ab287c90e598989a0f927c0abae8
cb94a4cdd7a9df17f9c6f1a03f8f4ff12c916cf3
/Learning_Python_Generators/Exercise_Files/Ch1/01_03/reverse_capital.py
90ff072bda4cd2f9b2ffdfe04074e5da1265685b
[]
no_license
sedstan/LinkedIn-Learning-Python-Course
2b936d0f00703a6e66a872220ed47572123dc7fd
b4584218355bf07aa3d2939b950911eae67adb0b
refs/heads/master
2021-10-11T10:19:13.675662
2019-01-24T17:55:20
2019-01-24T17:55:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
# list of names names_list = ['Adam','Anne','Barry','Brianne','Charlie','Cassandra','David','Dana'] # too long # reverse_uppercase = (name[::-1] for name in (name.upper() for name in names_list)) # breaking it up uppercase = (name.upper() for name in names_list) reverse_uppercase = (name[::-1] for name in up...
[ "sed@wearewhy.co.uk" ]
sed@wearewhy.co.uk
f9ab9a7d39cfc7a0dec43be133584c96e9afa1ef
93b3a69da031d3fa8402ca787cd5d22db9c09bb9
/__init__.py
68076caa6613a8ece58a6522f432a1bd21625059
[]
no_license
Teifion/communique
ab93335d7042776410da34ac28ff8cacda62f73f
d7f96d6c9c524fa5ea03dce37edf57f1424d6710
refs/heads/master
2021-01-01T05:49:43.936323
2013-10-10T21:58:41
2013-10-10T21:58:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,772
py
from .api import register, send def communique_nimblescan(): try: from ..nimblescan import api as ns_api except ImportError: try: from ...nimblescan import api as ns_api except ImportError: return ns_api.register('communique.home', "Notifications", ['com...
[ "sarkalian@gmail.com" ]
sarkalian@gmail.com
f45761d59529cdbe88da05d923c51475464181fa
22fc1933698e339f9de1c7cd8eb0062ef3a8711e
/examples/old-examples/snippets/mgl_new_example_glut.py
1dd466a064a85f41965edb3b9bfdbb29ba08927b
[ "MIT" ]
permissive
einarf/ModernGL
f9a4929e529c560ca3dcc139994b7ff84a271a3f
e4a7f53289043a0ac06130c67edc75b878484a0e
refs/heads/master
2020-04-14T03:53:20.054962
2019-02-28T07:05:19
2019-02-28T07:05:19
163,619,410
1
0
MIT
2018-12-30T21:40:33
2018-12-30T21:40:32
null
UTF-8
Python
false
false
958
py
import sys import struct from OpenGL.GLUT import ( GLUT_DEPTH, GLUT_DOUBLE, GLUT_RGB, glutCreateWindow, glutDisplayFunc, glutInit, glutInitDisplayMode, glutInitWindowSize, glutMainLoop, glutSwapBuffers, ) import ModernGL glutInit(sys.argv) glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH) glutInit...
[ "cprogrammer1994@gmail.com" ]
cprogrammer1994@gmail.com
de7019587d7e630b0b56aa865769304de2aa1f8f
6b79174551f8c5eee7ba5c3d4efe3c921b281d62
/models/register/employee.py
82aee95339589340a18b0e04bce9c8eac6b72852
[]
no_license
Trilokan/manjal
5d99dea0703cdf4e4f4553b2710cfb3ac5f05023
064fd6f3ad429837dd46c59790a54927e9622e1b
refs/heads/master
2020-05-04T20:45:08.449320
2019-05-06T12:41:50
2019-05-06T12:41:50
179,449,768
0
0
null
null
null
null
UTF-8
Python
false
false
5,783
py
# -*- coding: utf-8 -*- from odoo import models, fields, api BLOOD_GROUP = [('a+', 'A+'), ('b+', 'B+'), ('ab+', 'AB+'), ('o+', 'O+'), ('a-', 'A-'), ('b-', 'B-'), ('ab-', 'AB-'), ('o-', 'O-')] GENDER = [('male', 'Male'), ('female', 'Female')] MARITAL_STATUS = [('single', 'Single'), ('married', 'Married'...
[ "ram@hk.com" ]
ram@hk.com
0e251945353b6973051c3cbc43b6db7207b75a99
5a07e47aa8c065622d8d384c6b3b17981b24f0ae
/Batch_6_30/bye.py
ee8b169ee8edd349c32d61494e1f173ffd5f661d
[]
no_license
neelshrma/Old_Python_Codes
629a7c113d56e96014c0d4b8d11126c79789335c
410de97e8d581e55fe53822528a8e38f15e349ef
refs/heads/master
2020-03-29T22:31:03.993335
2018-09-25T13:34:25
2018-09-25T13:34:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
x = int(input("Enter X : ")) y = int(input("Enter Y : ")) z = int(input("Enter Z : ")) print("Value of x = ",x) print("Value of x = ",y) print("Value of z = ",z) print("Yeah vim is awesome")
[ "sachinyadav3496@gmail.com" ]
sachinyadav3496@gmail.com
d635ad120b4155bf1fcdd14cfcada14d8a4f3fb9
f6eb98db168908a99e5c62f440d39acca608b934
/python/pyspark/mllib/recommendation.py
1ee41df2831f55611298884b56c0d69095ec94c0
[]
no_license
BigDataTeng/spark-parent_2.11
64abb51cf77a16d86a2a5314dafb4f33e03d98f3
9e679b5daefea69a29236305e1c8bf2e21ad9190
refs/heads/master
2022-12-14T09:06:08.199862
2019-08-27T09:48:37
2019-08-27T09:48:37
204,673,011
0
0
null
2022-12-05T23:35:44
2019-08-27T09:53:23
Scala
UTF-8
Python
false
false
12,047
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 n...
[ "gao.liu.cn@gmail.com" ]
gao.liu.cn@gmail.com
ae8681babbdc166cc37dcc1a309547c0d4cd968b
551b75f52d28c0b5c8944d808a361470e2602654
/huaweicloud-sdk-smn/huaweicloudsdksmn/v2/model/resource_tag.py
9f8339f814ea3c3cb36b356419316355ec49a31a
[ "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
3,930
py
# coding: utf-8 import pprint import re import six class ResourceTag: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is jso...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
b1baa12a4f9b71aa7c00c72ad4e34ce790b6cb4e
b66746b1d1c0a2800faab41488f2a67ed43255b8
/Knn.py
5c5aa5ea0c3cc8ec1b0c652f9d7fde2654e23aea
[]
no_license
yzsxjhft/emg
28a0501810a86962f6a510fbe9f6d22346b4d963
96075c7124d0e50983221a7b4b4a8a5fba7bb352
refs/heads/master
2020-04-14T13:00:41.374480
2019-09-28T07:02:02
2019-09-28T07:02:02
163,856,955
0
0
null
null
null
null
UTF-8
Python
false
false
2,485
py
import numpy as np import sys class Knn: def __init__(self, k=5): self.k = k self.train_data = None self.train_target = None def fit(self, train_data, train_target): self.train_data = train_data self.train_target = train_target def predict(self, test_data): ...
[ "=" ]
=
5f75c3f5fff85007685d9fa593e2ad9569ba3121
866b6a443c10038b91346d86f6f5054d08de66cc
/main.py
57fe09173644599c48c67cde6f8901aba4bd1393
[]
no_license
Introduction-to-Programming-OSOWSKI/2-2-addition-checker-DevinGoede23
b7422b62f1681713c6d8eea2211be2b11d734f4d
5248b1b21f55f93bd87aaac4e36f7cfb6ec77986
refs/heads/master
2023-08-30T20:08:42.350900
2021-11-11T20:25:25
2021-11-11T20:25:25
427,133,530
0
0
null
null
null
null
UTF-8
Python
false
false
21
py
#WRITE YOUR CODE HERE
[ "66690702+github-classroom[bot]@users.noreply.github.com" ]
66690702+github-classroom[bot]@users.noreply.github.com
1e95b79a26ebe3af47d29ddc95baa5d79727e5b6
6fe0a724e9c5d3975ddb95eebe3032eb213f8840
/tensorflow_datasets/core/visualization/show_examples.py
6d9ac13abe6f9146269e8b465bd6b53e02a37b35
[ "Apache-2.0" ]
permissive
Yohnhahahage/datasets
caf8b7001046bbf1729d016abdeae7f69d75152b
08cf7709095860fe50ec10ea503c4095b69a5cb1
refs/heads/master
2022-12-09T09:36:40.123816
2020-09-22T19:03:15
2020-09-22T19:03:15
297,893,222
1
0
Apache-2.0
2020-09-23T07:46:27
2020-09-23T07:46:26
null
UTF-8
Python
false
false
5,033
py
# coding=utf-8 # Copyright 2020 The TensorFlow Datasets 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 appl...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
7e508f48a7e431f6b7f9011cf995cb87ad12f846
973da85ebe773dc35d6539397e754726e87171b8
/lcopt/parameters.py
ea0570fdab8b51a2f67fdec7f0d0392e27c0746c
[ "BSD-3-Clause" ]
permissive
pjamesjoyce/lcopt
14c49f79a43e9dce220ef760fa9b207105779568
a167ecfa258e62e91af7dac6cbf70be5d63fff93
refs/heads/development
2023-05-22T20:45:50.252163
2020-04-02T09:53:07
2020-04-02T09:53:07
76,573,839
23
6
BSD-3-Clause
2018-10-04T13:38:48
2016-12-15T15:55:48
JavaScript
UTF-8
Python
false
false
4,633
py
from bw2parameters.parameter_set import ParameterSet from collections import OrderedDict from copy import deepcopy class LcoptParameterSet(ParameterSet): """ Subclass of `bw2parameters.parameter_set.ParameterSet` that takes a `lcopt.LcoptModel` and delegates parameter ordering and evaluation to `bw2parameters`...
[ "pjamesjoyce@gmail.com" ]
pjamesjoyce@gmail.com
9298cc195bdd4bd86918dd770c297a04612887b4
1ebf853638e6e0344e3498f5840f055d29d5a311
/code/broadcast_send.py
1a39a6443466904ea4c72734c4f67e1909024233
[]
no_license
LzWaiting/02.PythonNet
07d8b159d5fe3f89100dc1daf262b46bfa7d6fcb
adc317b5c19c339395fbb50c94f843880f03af7a
refs/heads/master
2020-06-09T01:56:20.984921
2019-06-23T12:52:31
2019-06-23T12:52:31
193,347,906
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
from socket import * from time import sleep # 设置目标地址 dest = ('192.168.10.255',9999) s = socket(AF_INET,SOCK_DGRAM) # 设置能够发送广播 s.setsockopt(SOL_SOCKET,SO_BROADCAST,1) while True: sleep(2) try: s.sendto('来呀,带你去看蓝色土耳其'.encode(),dest) except (KeyboardInterrupt,SyntaxError): raise except Exception as e: print(...
[ "910122456@qq.com" ]
910122456@qq.com
dce6fb53f680c6e959e0f66f2fa901accf10520f
15c140fa5f116bcfacb9340aac77692bb4fa3d00
/rafa_care/ext/helpers/tz.py
be3f65e53299ec530b7105d95e1ecba1eda74d25
[]
no_license
thcborges/rafa-care
76ceac3b93a4995729b36539c603ada77350b2fe
9cd2d39938aa998c9ffaf0ecd82027db26a9b514
refs/heads/main
2023-07-14T02:08:25.554888
2021-08-01T14:17:14
2021-08-01T14:17:14
383,315,896
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
from datetime import datetime, timedelta, timezone def convert_tz(timestamp: datetime, diff: int = -3) -> datetime: return timestamp.astimezone(timezone(timedelta(hours=diff)))
[ "thiagoborges@id.uff.br" ]
thiagoborges@id.uff.br
844c6961ba63d9ffe3c2f7755dd9152b2c57135d
f6dfd2373ba1d23ea71a7fd8447e16d797d34138
/hot_100/206_recursive.py
4a1a7fd59583000a6564c313e17743c343ead589
[]
no_license
hwngenius/leetcode
284e65dc1727446a95a1c18edd6ef994692430ba
52f7974f986bfb3802defd214dea5b0f9b280193
refs/heads/master
2023-02-12T02:23:38.003197
2021-01-07T13:55:42
2021-01-07T13:55:42
266,340,286
2
0
null
null
null
null
UTF-8
Python
false
false
345
py
# Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: def reverseList(self, head: ListNode) -> ListNode: if not (head and head.next): return head ans=self.reverseList(head.next) head.next.nex...
[ "1158213354@qq.com" ]
1158213354@qq.com
86d9aa7ff24333c6fabe99130510cfa0aca8fd98
01aa3e4a81500081265bdaec2d127a76ffafbfab
/meraki/api/splash_login_attempts.py
5c7ddb302332314e8d45c7c623be67bf47e2f3e6
[ "MIT" ]
permissive
itbj/meraki-dashboard
0f4ded074a615bf2d3c749779f5efc3165d88446
aa730d4f95b4a0fec180c610eeea56bd71ff48b4
refs/heads/master
2020-12-07T17:29:20.168805
2020-01-09T08:59:46
2020-01-09T08:59:46
232,761,086
2
0
MIT
2020-01-09T08:35:24
2020-01-09T08:35:23
null
UTF-8
Python
false
false
1,473
py
class SplashLoginAttempts(object): def __init__(self, session): super(SplashLoginAttempts, self).__init__() self._session = session def getNetworkSplashLoginAttempts(self, networkId: str, **kwargs): """ **List the splash login attempts for a network** https://api.mer...
[ "shiychen@cisco.com" ]
shiychen@cisco.com
e2600ece0f6e74188c8315daaa20a443fa2f8d35
044833841a6ccbb53f42eb83aa8b7d7fc2f3fc1d
/devito/core/gpu_openmp.py
f41ed6ffa4a92c80ebeb86bdce46bc50b2f80788
[ "MIT" ]
permissive
rawsh/devito
dea02233f34a8e7f62f70ee75e735e469d870044
6aa03bb38b74224f742beb1dbe8df814b45941a0
refs/heads/master
2022-09-04T06:27:09.224315
2020-05-14T17:55:53
2020-05-14T17:55:53
264,086,021
1
0
MIT
2020-05-15T03:25:48
2020-05-15T03:25:48
null
UTF-8
Python
false
false
12,569
py
from functools import partial, singledispatch import cgen as c from devito.core.operator import OperatorCore from devito.data import FULL from devito.exceptions import InvalidOperator from devito.ir.iet import Callable, ElementalFunction, MapExprStmts from devito.logger import warning from devito.mpi.routines import ...
[ "f.luporini12@imperial.ac.uk" ]
f.luporini12@imperial.ac.uk
93881258ce594158332f7e31cfd3a016023ab6d3
9e5304efaffe2a3661211b63bbd9617624339448
/test/espnet2/train/test_reporter.py
a1f9dc35ab2add53dc3f3fc29f64e8ba3ad2e15c
[ "Apache-2.0" ]
permissive
sw005320/espnet-1
bf2749cf6a95e9a42b59d402f4fb7113acc656e9
6ecde88045e1b706b2390f98eb1950ce4075a07d
refs/heads/master
2023-08-05T18:54:33.626616
2020-10-02T18:16:33
2020-10-02T18:16:33
114,056,236
4
1
Apache-2.0
2020-11-22T11:20:02
2017-12-13T01:03:47
Python
UTF-8
Python
false
false
12,347
py
from distutils.version import LooseVersion import logging from pathlib import Path import uuid import numpy as np import pytest import torch from espnet2.train.reporter import aggregate from espnet2.train.reporter import Average from espnet2.train.reporter import ReportedValue from espnet2.train.reporter import Repor...
[ "naoyuki.kamo829@gmail.com" ]
naoyuki.kamo829@gmail.com
420b6a0e980b2356a5ca6e2268c92fde01251ec9
683876019cad0b0d562ac7f9da8c679cb310cfb2
/2015/day07/part2.py
c267b7c7b3336aca216adb0658c6aee619228c27
[]
no_license
CoachEd/advent-of-code
d028bc8c21235361ad31ea55922625adf743b5c8
10850d5d477c0946ef73756bfeb3a6db241cc4b2
refs/heads/master
2023-05-11T05:20:26.951224
2023-05-09T18:54:16
2023-05-09T18:54:16
160,375,311
0
0
null
null
null
null
UTF-8
Python
false
false
2,194
py
import sys import time import numpy as np start_secs = time.time() def hasInstr(s): if s.find('AND') != -1 or s.find('OR') != -1 or s.find('NOT') != -1 or s.find('LSHIFT') != -1 or s.find('RSHIFT') != -1: return True else: return False # read in input file l=[] my_file = open("inp.txt", "r") ...
[ "CoachEd@gmail.com" ]
CoachEd@gmail.com
8fa326a6592555adfd01b1e25a06052b11d92f22
04f4558aa0dc904b8d7c0ab79b80ec11c34f8ccf
/test/test_boatroom.py
af2a4b21de7d53df004de2db2a6c8b49de755108
[ "Apache-2.0" ]
permissive
scubawhere/scubawhere-api-python-client
0fc23ffb97446b0bb0825c93528f954e7d642cf4
9f8578e251492c7667f785df7b7c9d66e71f5c8e
refs/heads/master
2020-12-24T11:10:34.880348
2016-11-08T12:20:45
2016-11-08T12:20:45
73,180,951
0
0
null
null
null
null
UTF-8
Python
false
false
1,515
py
# coding: utf-8 """ Scubawhere API Documentation This is the documentation for scubawhere's RMS API. This API is only to be used by authorized parties with valid auth tokens. [Learn about scubawhere](http://www.scubawhere.com) to become an authorized consumer of our API OpenAPI spec version: 1.0.0 ...
[ "bryan@iqwebcreations.com" ]
bryan@iqwebcreations.com
7d4c853c7c60f91bc251797865adca42be00b83e
b9972ae24a4f261a87997fea963f537abe741dbe
/Chapter01/randint.py
1a1c576a8bd8c0bfcc8b096767c7fb0218d03782
[ "MIT" ]
permissive
PacktPublishing/Secret-Recipes-of-the-Python-Ninja
90503ea9b7dfc59e45f596e8548a3371641162c1
3325cd5a4ed314be5c75552bfa4675f7fe17f8e2
refs/heads/master
2023-02-03T03:01:09.242951
2023-01-30T08:23:38
2023-01-30T08:23:38
133,922,003
18
7
null
2018-05-18T08:00:42
2018-05-18T07:52:51
Python
UTF-8
Python
false
false
183
py
>>> randint(0, 1000) Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'randint' is not defined >>> import random >>> random.randint(0, 1000) 607
[ "subhalaxmin@packtpub.com" ]
subhalaxmin@packtpub.com
194f89b148d7a3b080f6222eddd19b767acc7d69
58a16d44136c7481d855910c39b07798c09c878c
/shotaro/microblog/bin/wheel
e39af8b96b470cd08d9db497e62669844d914041
[]
no_license
shotaro0726/microblog
6af1ffe170bab36d6e7a3055069b3bc1411fbc02
98b493799b9416b644b0a100fdbe4c64c6e94b89
refs/heads/master
2022-04-16T22:18:03.587413
2020-04-18T02:49:25
2020-04-18T02:49:25
256,655,119
0
0
null
null
null
null
UTF-8
Python
false
false
235
#!/Users/macuser/shotaro/microblog/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "shoutaro0726@gmail.com" ]
shoutaro0726@gmail.com
f34fc930bab5ce3a714ffba25d5ebe66941772a3
9949275a60ee6267d59091cab5977b6a45515452
/antspynet/utilities/get_antsxnet_data.py
a74be4812a9140f35641bf127c4c325278cc8ed8
[]
no_license
papasanimohansrinivas/ANTsPyNet
d81be45c984ce260385d28ef9e1bb51463f055b4
8e16b2d17be769d1d8913de7c3a68135e5ebe5ed
refs/heads/master
2023-06-25T02:04:43.456534
2021-07-22T13:51:29
2021-07-22T13:51:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,818
py
import tensorflow as tf def get_antsxnet_data(file_id=None, target_file_name=None, antsxnet_cache_directory=None): """ Download data such as prefabricated templates and spatial priors. Arguments --------- file_id string One of the permitted fil...
[ "ntustison@gmail.com" ]
ntustison@gmail.com
3100deb0f29b301a5dd06ce1413538c7df022b75
ec61b57a99d7683a668f4910c9fad4b1c9335525
/todo/41-firstMissingPositive.py
39b5bd971a07978100e79c13e9e1cb2c2b77d0d0
[]
no_license
savadev/leetcode-2
906f467e793b9636965ab340c7753d9fc15bc70a
20f37130236cc68224082ef056dacd6accb374e3
refs/heads/master
2020-12-28T12:54:08.355317
2018-08-06T00:44:24
2018-08-06T00:44:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
651
py
class Solution(object): def firstMissingPositive(self, nums): """ :type nums: List[int] :rtype: int """ if nums == []: return 1 MIN = min(nums) MAX = max(nums) SUM = sum(nums) acc = 0 for x in range(MIN, MAX ...
[ "nmaswood@cs.uchicago.edu" ]
nmaswood@cs.uchicago.edu
8b4c76e48970902fe165375a9bff089f9bd8547a
25e99a0af5751865bce1702ee85cc5c080b0715c
/python/src/pyprogbook/第二版(博碩)課本範例程式/ch8/RC_8_1.py
917a5b5f0a7c5398cc8649d18a378e6983072f0a
[]
no_license
jasonblog/note
215837f6a08d07abe3e3d2be2e1f183e14aa4a30
4471f95736c60969a718d854cab929f06726280a
refs/heads/master
2023-05-31T13:02:27.451743
2022-04-04T11:28:06
2022-04-04T11:28:06
35,311,001
130
67
null
2023-02-10T21:26:36
2015-05-09T02:04:40
C
UTF-8
Python
false
false
624
py
#RC_8_1: 定義貨幣時間價值的類別 class TimeValue: #終值 def fvfix(self, pv, i, n): #fvfix: 計算終值公式 fv=pv*(1+i)**n return(fv) #現值 def pvfix(self, fv, i, n): #pvfix: 計算現值公式 pv=fv/((1+i)**n) return(pv) #設定初始值 pv=100 fv=115.92...
[ "jason_yao" ]
jason_yao
de72efb471a01079e3b835086bdf362a43ce075b
fc29ccdcf9983a54ae2bbcba3c994a77282ae52e
/Leetcode/813-dp_interval.py
eebabd32aa4ba9891a08ae004244921141caf878
[]
no_license
linnndachen/coding-practice
d0267b197d9789ab4bcfc9eec5fb09b14c24f882
5e77c3d7a0632882d16dd064f0aad2667237ef37
refs/heads/master
2023-09-03T19:26:25.545006
2021-10-16T16:29:50
2021-10-16T16:29:50
299,794,608
0
0
null
null
null
null
UTF-8
Python
false
false
1,774
py
# max(score of sum of avg of each group) class Solution: def largestSumOfAverages(self, A: List[int], K: int) -> float: n = len(A) prefix_sum = [0] * (n+1) # dp = [[0] * (K+1) for _ in range(n)] memo = {} for i in range(n): prefix_sum[i+1] = A[i] + prefix_sum[i] ...
[ "lchen.msc2019@ivey.ca" ]
lchen.msc2019@ivey.ca
b3fcc97c7467ef879e7c063a68bc03ed11f438e1
ffad717edc7ab2c25d5397d46e3fcd3975ec845f
/Python/pyesri/EXAMPLES/try_finally.py
403502b28258223cd220ecccdbaf6d4ea091d6d2
[]
no_license
shaunakv1/esri-developer-conference-2015-training
2f74caea97aa6333aa38fb29183e12a802bd8f90
68b0a19aac0f9755202ef4354ad629ebd8fde6ba
refs/heads/master
2021-01-01T20:35:48.543254
2015-03-09T22:13:14
2015-03-09T22:13:14
31,855,365
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
#!/usr/bin/python try: x = 5 y = "cheese" z = x + y print "Bottom of try" except Exception as err: print err exit() finally: print "Cleaning up..."
[ "shaunakv1@gmail.com" ]
shaunakv1@gmail.com
b0cc56f055ae7cc4900fceed8dec1cb1322b507b
e63a36870512edb7fd947b809631cf153b028997
/surveil/api/hooks.py
18a8ba224fc1247642016889a8ab4fdf84124df5
[ "Apache-2.0" ]
permissive
titilambert/surveil
632c7e65d10e03c675d78f278822015346f5c47a
8feeb64e40ca2bd95ebd60506074192ecdf627b6
refs/heads/master
2020-05-25T13:36:59.708227
2015-06-29T14:07:07
2015-06-29T14:07:07
38,249,530
1
0
null
2015-06-29T13:38:04
2015-06-29T13:38:03
null
UTF-8
Python
false
false
1,253
py
# Copyright 2014 - Savoir-Faire Linux 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 ...
[ "alexandre.viau@savoirfairelinux.com" ]
alexandre.viau@savoirfairelinux.com
12ec553dc3a74926d2a8d0a31bcb4162d631e912
c68b99bf1671d1fb5a1a5a0d6df7bb164dd1d20d
/Medium/**1111-MaximumNestingDepthOfTwoValidParenthesesStrings.py
58c02a74e38a8ba9adc21370c7f5e9fadd219265
[]
no_license
r50206v/Leetcode-Practice
8db9333e2e3d2a335f439d7e9e57e8c36b69ae6d
f9302e93c441f06cc14949605da20978c4289202
refs/heads/master
2022-05-17T18:09:48.857263
2022-04-27T01:02:12
2022-04-27T01:02:12
192,258,017
0
1
null
null
null
null
UTF-8
Python
false
false
1,762
py
# Solution ''' Runtime: 44 ms, faster than 31.28% of Python online submissions for Maximum Nesting Depth of Two Valid Parentheses Strings. Memory Usage: 12.2 MB, less than 100.00% of Python online submissions for Maximum Nesting Depth of Two Valid Parentheses Strings. from: https://leetcode.com/problems/maximum-nesti...
[ "r50206v@gmail.com" ]
r50206v@gmail.com
5e03456ca1fac16e1a05a8cc6d80041b70bfde5c
be55991401aef504c42625c5201c8a9f14ca7c3b
/python全栈3期/IO模型/selectorsDemo01.py
532bbf1784d32868773b2e07e5aa460d2c260c73
[ "Apache-2.0" ]
permissive
BillionsRichard/pycharmWorkspace
adc1f8bb15b58ded489fc8dec0df397601823d2c
709e2681fc6d85ff52fb25717215a365f51073aa
refs/heads/master
2021-09-14T21:12:59.839963
2021-08-08T09:05:37
2021-08-08T09:05:37
143,610,481
0
0
null
null
null
null
UTF-8
Python
false
false
1,131
py
# encoding: utf-8 """ @version: v1.0 @author: Richard @license: Apache Licence @contact: billions.richard@qq.com @site: @software: PyCharm @file: selectorsDemo01.py @time: 2018/6/2 18:53 """ from pprint import pprint as P import selectors import socket SELECTOR = selectors.DefaultSelector() def accept_fu...
[ "295292802@qq.com" ]
295292802@qq.com
c8c79098eb281dfb93aa7a5c3ba0399c3f545203
0ff0bd21faecdeebc3a29fc5860d25fb8f079aae
/rep_k.py
c43b3903b48080a05e6bffc887c6778d0b1d9245
[]
no_license
Ponkiruthika112/codesetkataset2
652297278e84de07d5d3fc5dfa2eb3f995258cab
bd8a96d2fb357ff571f2650fdfca911fba8cc999
refs/heads/master
2020-04-15T09:49:55.421089
2019-02-18T16:18:55
2019-02-18T16:18:55
164,567,329
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
n=list(map(int,input().split())) k=l[-1] a=list(map(int,input().split())) l=list(set(a)) s="" for i in range(0,len(l)): if a.count(l[i])==k: s=s+str(l[i])+" " print(s.strip()) #repeat k times
[ "noreply@github.com" ]
Ponkiruthika112.noreply@github.com
8df66b74e02e272a2ac172cbc9aba54662670f75
b50f43c7c8cba1c0f349870596f12d1a333e6f42
/axonius_api_client/cli/grp_system/grp_settings/cmd_update_section.py
cce5589c8ccc9641e146f3457660e8495c6476f7
[ "MIT" ]
permissive
zahediss/axonius_api_client
190ca466e5de52a98af9b527a5d1c132fd8a5020
8321788df279ffb7794f179a4bd8943fe1ac44c4
refs/heads/master
2023-08-01T14:35:17.095559
2021-09-13T21:04:23
2021-09-13T21:04:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,329
py
# -*- coding: utf-8 -*- """Command line interface for Axonius API Client.""" from ....tools import json_dump from ...context import CONTEXT_SETTINGS, click from ...options import AUTH, SPLIT_CONFIG_OPT, add_options from .grp_common import EXPORT, SECTION, str_section OPTIONS = [*AUTH, EXPORT, SECTION, SPLIT_CONFIG_OPT...
[ "jimbosan@gmail.com" ]
jimbosan@gmail.com
28b92fed6d4c115fe7c615905f1a41b510587860
b44ae8c215c7577616ce94bbddda57d46ff46577
/experiments/convergence/movielens_100K/gaussian_exponential.py
a143962077d68e7428eb01f52aa54a4f6ed764b5
[]
no_license
changchunli/BMF_Priors
06a74d89198b11c0c3ba673a1d4869986cd7bc2d
15b20537eefd36347ed84617882eeea1c453e162
refs/heads/master
2020-03-21T07:50:08.081910
2018-06-10T10:22:04
2018-06-10T10:22:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,267
py
''' Measure convergence on the MovieLens 100K dataset, with the Gaussian + Exponential model. ''' import sys, os project_location = os.path.dirname(__file__)+"/../../../../" sys.path.append(project_location) from BMF_Priors.code.models.bmf_gaussian_exponential import BMF_Gaussian_Exponential from BMF_Priors.data.movi...
[ "tab43@cam.ac.uk" ]
tab43@cam.ac.uk
041808402b9a434766690092176281e5cd6fc449
168bccd6fbd54025edeb526a497f4cd143390608
/Datascience/Bee_Word_Project_old/Bee_Word_Project_bkup/asgi.py
348f1b65e1c401a5530a6c199f263c2a0ada07ce
[]
no_license
mbegumgit/Mumtaz
4e9cdd2b9a9b437cb5b3e0534a673aecc1366bd0
2edbc5e828ba6803580ff90beaf4c7cc7ace23de
refs/heads/master
2022-03-05T18:41:28.474102
2022-02-18T07:33:06
2022-02-18T07:33:06
210,820,610
0
0
null
2022-02-18T09:50:24
2019-09-25T10:43:55
HTML
UTF-8
Python
false
false
409
py
""" ASGI config for Bee_Word_Project project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJA...
[ "you@example.com" ]
you@example.com
598046ba24df38670274f2af60bbeef0dfaf8a4e
268b22da698310c1fd0471f94d61e02782cbaf37
/Week6/week6work/test/app.py
b05a86a61e85ac24690e059365b0a5e5c58330f3
[]
no_license
jayquake/DI-Excersises
0c1147863753fb29a6f688bd73bdd9acc047c180
02cb0ee9baed7fd7736273e8fc68317ba4356e39
refs/heads/master
2020-12-10T11:38:12.225341
2020-05-06T08:34:35
2020-05-06T08:34:35
233,582,928
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
from flask import Flask from flask import render_template import users from forms import LoginForm from flask import request from flask import session from flask import flash app = Flask(__name__) users = users.create_database() app.config['SECRET_KEY'] = 'you-will-never-guess' @app.route('/') def home(): html = ...
[ "jayquake@gmail.com" ]
jayquake@gmail.com
8066a57e0fc178c600664597a65ee9595bc1c3a3
06525f75c7fe5ba75b0737d7b93e48cca9c24706
/django_gotolong/jsched/tasks.py
f08ea74499eb6979c7339b33a028882120f323fd
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
webclinic017/gotolong
029314121c9cb6ce66c95fab6a237aca9a3ecd6c
3bb5ec7c7a5734e7121d308769a3ed8bb01e7f30
refs/heads/master
2022-04-21T08:06:11.669599
2022-04-02T20:13:11
2022-04-02T20:13:11
247,398,353
0
0
null
null
null
null
UTF-8
Python
false
false
1,845
py
# Create your views here. # Create your views here. from django.shortcuts import redirect from django.http import HttpResponseRedirect from datetime import date, timedelta from apscheduler.schedulers.background import BackgroundScheduler from django_gotolong.bhav.views import bhav_fetch from django_gotolong.ftwhl.v...
[ "surinder.kumar.432@gmail.com" ]
surinder.kumar.432@gmail.com
30297a3554de37ae2bbeae152c60ce87fa548148
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/model_control/detailed/transf_RelativeDifference/model_control_one_enabled_RelativeDifference_ConstantTrend_Seasonal_WeekOfYear_ARX.py
301a6ea127790f581fe24c9e7a8e24a8c81520e9
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
180
py
import pyaf.tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['RelativeDifference'] , ['ConstantTrend'] , ['Seasonal_WeekOfYear'] , ['ARX'] );
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
0a3851483a7c2783d20f9210c909db95e5a3effb
ce2e307f8725b7bbe4c9177ed0f6b8bd74ae6cbe
/src/cw_20/models.py
3aec0e1efda9e87be7b828ff9e1b79bcdfbc6885
[]
no_license
alexshchegretsov/Teach_Me_Skills_Django_homeworks
f2a096f60bf8fe2e45693dd2352341529007327c
dcde073292e1cfb15708cdb3dd8d539fae37143a
refs/heads/master
2020-05-25T00:07:36.348802
2019-06-06T12:21:35
2019-06-06T12:21:35
187,528,506
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
from django.db import models class Customer(models.Model): first_name = models.CharField(max_length=200,null=False) last_name = models.CharField(max_length=200, null=False) profession = models.CharField(max_length=200, null=True) age = models.IntegerField() def __str__(self): return f'{se...
[ "nydollz77@gmail.com" ]
nydollz77@gmail.com
df4b35ec2d7b11d26059caeb6712174bde347a30
b8cb10a3c99961f44ac758b3683523627d032680
/runoschool/runo/migrations/0008_auto_20201020_0530.py
735a3a0d26c067a411e76cd8bf585ce29bf7dc25
[]
no_license
samuelatuma1/runoschool
4a2183be4a7e856723fc5368c90edcb79d6ed29e
ed75fb4077cf5ff86b7d546d3346fc4625bee97e
refs/heads/master
2023-01-29T20:22:25.160805
2020-12-14T08:33:13
2020-12-14T08:33:13
312,167,155
1
0
null
null
null
null
UTF-8
Python
false
false
674
py
# Generated by Django 3.1.1 on 2020-10-20 04:30 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('runo', '0007_auto_20201019_1750'), ] operations = [ migrations.RenameField( model_name='welcleaders', old_name='extraImg1', ...
[ "atumasaake@gmail.com" ]
atumasaake@gmail.com
6a0feedd97724c95d4013b2c5c578158cfa386b9
c558fb26ab6cdc46c0a5ad292a34c20b52f96f42
/crud/employee/forms.py
8625d6cb27a789ac7671469062b188b1de343091
[]
no_license
VaultHRMS/HRMS
9dad7e5416f008075ce4e50226e76ca86ae7d9b0
de714c63494a1a1260116a66e54fac8c032fd661
refs/heads/master
2020-08-15T07:37:02.311773
2019-11-05T10:09:44
2019-11-05T10:09:44
215,301,571
0
1
null
null
null
null
UTF-8
Python
false
false
168
py
from django import forms from employee.models import Employee class EmployeeForm(forms.ModelForm): class Meta: model = Employee fields = "__all__"
[ "root@localhost.localdomain" ]
root@localhost.localdomain
5d62effa01623bbc899e69cedeac320b1a623569
e8501308efed70829ba70332d5ed7b956a245a41
/Lab/Lab11/Lab11-4.py
9ce9d856102df3c1961115034eac8160b5366c1b
[]
no_license
Jinmin-Goh/DeepLearningPractice
293f7c41144d64c1044d27dadf16f563d7caabb4
b13cff775ad350deb0fde982610276c7b2fc7798
refs/heads/master
2021-02-28T07:21:51.231203
2020-03-20T17:15:42
2020-03-20T17:15:42
245,673,920
0
0
null
null
null
null
UTF-8
Python
false
false
4,843
py
# Lab 11-4 # Made by: Jinmin Goh # Date: 20200318 # TF layers, fancy coding import tensorflow as tf # import matplotlib.pyplot as plt from tensorflow.examples.tutorials.mnist import input_data tf.set_random_seed(777) # reproducibility mnist = input_data.read_data_sets("MNIST_data/", one_hot=True) # Check out...
[ "eric970901@gmail.com" ]
eric970901@gmail.com
7889902c32c8f1e1a6044d9fe5c296b950de76b0
7b102f9c8f2e3f9240090d1d67af50333a2ba98d
/gbd_2019/mortality_code/full_life_tables/full_lt_run_all.py
267733953868b1857c52050eb98c3f6414fc2308
[]
no_license
Nermin-Ghith/ihme-modeling
9c8ec56b249cb0c417361102724fef1e6e0bcebd
746ea5fb76a9c049c37a8c15aa089c041a90a6d5
refs/heads/main
2023-04-13T00:26:55.363986
2020-10-28T19:51:51
2020-10-28T19:51:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,413
py
import os import sys import argparse import pandas as pd import datetime import random import subprocess import numpy as np import rpy2.robjects as robjects from subprocess import call from multiprocessing import Process from shutil import move from sqlalchemy import create_engine from jobmon.client.swarm.workflow.wo...
[ "cheth@uw.edu" ]
cheth@uw.edu
d46f12c676788ef01cdfbb69ba6c673db8a4a50d
affe6c648b9ce2434919ccbd88d36d969a619f94
/moya/containers.py
84db000ed363867ba8e37c4deb4c9f275fc93932
[ "BSD-3-Clause" ]
permissive
thiagocalheiros/weasyprint_for_awslambda
578c4e8c10aef40f82e36f0a9de5ec31032335f8
4080c49a3fb5fc94fca75bf38e8b10ee1acfb7ce
refs/heads/master
2020-03-18T18:19:08.855086
2018-05-31T19:32:40
2018-05-31T19:32:40
135,084,321
0
0
null
2018-05-27T21:52:46
2018-05-27T21:52:46
null
UTF-8
Python
false
false
3,050
py
from __future__ import unicode_literals from __future__ import print_function from .compat import PY2, text_type, implements_to_string from .urltools import urlencode from threading import Lock if PY2: from urlparse import parse_qsl else: from urllib.parse import parse_qsl from collections import OrderedDi...
[ "thiagovccalheiros@gmail.com" ]
thiagovccalheiros@gmail.com
3f9fb9d22bc078f7448e8a2437c435ac8a8a2f3c
9a7c84122bb5d52a4feeea37e6434adf844fe10a
/drf/SpiderPlatform/SpiderPlatform/wsgi.py
fcd3b77ab8b295e18bfa4df1b7562bfd1d0cb535
[]
no_license
yangwen1997/code
f4dc17850b186860d6304efb8dd92a189f6b5e12
e697ca24405372c9320ed170478b16b4d539b13f
refs/heads/master
2022-12-10T21:50:37.361086
2020-08-14T01:02:12
2020-08-14T01:02:12
148,280,123
5
0
null
2022-12-08T10:49:07
2018-09-11T07:44:21
HTML
UTF-8
Python
false
false
406
py
""" WSGI config for SpiderPlatform project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANG...
[ "1120021365@qq.com" ]
1120021365@qq.com
daff31afed353adf8d2c6c28cfc9180c89b9fffc
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_corning.py
55f3a44638ba8fcc4697231b72956c80f298f130
[ "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
218
py
#calss header class _CORNING(): def __init__(self,): self.name = "CORNING" self.definitions = corn self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['corn']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
46fef4fb96cf282a8ebbeeff3f92d583c9c9beca
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_058/ch23_2019_09_16_18_49_35_451655.py
ff62dbbbbbfe3a0b1e8e382db69bd27edc33dfd8
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
def verifica_idade(x): if x>=21: return "Libeirado EUA e BRASIL" elif x>=18: return "Liberado EUA" else: return "Não está liberado"
[ "you@example.com" ]
you@example.com
8370c8f3e10ffb2ae7e3c1ef790b16d98bc32461
4114e7371af1da819a1c7a11ccc63a7961fd3c11
/tensorbridge/src/main/python/TFServer.py
8c272f4ca236cb6aba45066135f3da4938be9f43
[ "Apache-2.0" ]
permissive
BBN-E/LearnIt
dad4e71da2e2028875807545ce75801067a7dd37
4f602f113cac9f4a7213b348a42c0fef23e2739c
refs/heads/master
2022-12-18T22:15:11.877626
2021-09-09T04:28:31
2021-09-09T04:28:31
193,987,875
8
2
Apache-2.0
2022-12-10T21:02:36
2019-06-26T22:53:56
Java
UTF-8
Python
false
false
1,494
py
from flask import Flask, request, g, Response, jsonify import sys import json import os def initDecoder(decoderClass,paramsFile): if len(decoderClass) == 0: print "Empty decoder class not permitted" sys.exit(1) parts = decoderClass.split('.') module = ".".join(parts[:-1]) print "Attempt...
[ "hqiu@bbn.com" ]
hqiu@bbn.com
43bb0e8f257aadaa0d1d098de741248fe249b3d3
a12a4be7e8c792b4c1f2765d3e7a43056e9196b0
/17-letter-combinations-of-a-phone-number/17-letter-combinations-of-a-phone-number.py
dcf91ce053c7b299be5f62a8c2801c58805c2e6d
[]
no_license
fdas3213/Leetcode
d4b7cfab70446b3f6a961252a55b36185bc87712
1335d5759c41f26eb45c8373f33ee97878c4a638
refs/heads/master
2022-05-28T16:24:15.856679
2022-05-19T21:56:35
2022-05-19T21:56:35
94,024,751
0
0
null
null
null
null
UTF-8
Python
false
false
885
py
class Solution: def letterCombinations(self, digits: str) -> List[str]: #2. backtrack res = [] if not digits: return res self.digit_map = {"1":"", "2":"abc","3":"def","4":"ghi", "5":"jkl","6":"mno","7":"pqrs","8":"tuv", "9":"wxyz"} ...
[ "szx9404@gmail.com" ]
szx9404@gmail.com